@syncfusion/ej2-base
Version:
A common package of Essential JS 2 base libraries, methods and class definitions
1 lines • 265 kB
JavaScript
!function(M,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((M=M||self).ej={})}(this,function(h){"use strict";var f="ej2_instances",b=0,d=!1;function v(M,t){return t.unshift(void 0),new(Function.prototype.bind.apply(M,t))}function B(t){var e,M=new Uint16Array(5),N=((window.msCrypto||window.crypto).getRandomValues(M),"ej2"+function(M){for(var t="",e=0;e<5;e++)t+=(e?",":"")+M[parseInt(e.toString(),10)];return t}(M)),i=function(M){M.source===window&&"string"==typeof M.data&&M.data.length<=32&&M.data===N&&(t(),e())};return window.addEventListener("message",i,!1),window.postMessage(N,"*"),e=function(){window.removeEventListener("message",i),t=i=N=void 0}}function m(M,t){for(var e=t,N=M.replace(/\[/g,".").replace(/\]/g,"").split("."),i=0;i<N.length&&!Q(e);i++)e=e[N[parseInt(i.toString(),10)]];return e}function z(M,t,e){for(var N,i=M.replace(/\[/g,".").replace(/\]/g,"").split("."),M=e||{},g=M,D=i.length,I=0;I<D;I++)"__proto__"!==(N=i[parseInt(I.toString(),10)])&&"constructor"!==N&&"prototype"!==N&&(I+1===D?g[""+N]=void 0===t?{}:t:U(g[""+N])&&(g[""+N]={}),g=g[""+N]);return M}function P(M,t){delete M[""+t]}var F="undefined"!=typeof window?window:{};function T(M){return!U(M)&&M.constructor==={}.constructor}function I(M,t){if(!U(t))for(var e=M,N=t,i="deepMerge",g=0,D=Object.keys(t);g<D.length;g++){var I=D[g];U(e[i])||-1===e[i].indexOf(I)||!T(N[""+I])&&!Array.isArray(N[""+I])?e[""+I]=N[""+I]:u(e[""+I],e[""+I],N[""+I],!0)}}function u(M,t,e,D){for(var I=M&&"object"==typeof M?M:{},N=arguments.length,i=[M,t,e,D],g=(D&&(N-=1),1);g<N;g++)!function(M){if(!i[parseInt(M.toString(),10)])return;var g=i[parseInt(M.toString(),10)];Object.keys(g).forEach(function(M){var t,e=I[""+M],N=g[""+M],i=Array.isArray(N)&&Array.isArray(e)&&N.length!==e.length,i=!d||!(e instanceof Event||i);D&&i&&(T(N)||Array.isArray(N))?T(N)?(t=e||{},Array.isArray(t)&&Object.prototype.hasOwnProperty.call(t,"isComplexArray")?u(t,{},N,D):I[""+M]=u(t,{},N,D)):(t=d?e&&Object.keys(N).length:e||[],I[""+M]=u([],t,N,t&&t.length||N&&N.length)):I[""+M]=N})}(g);return I}function U(M){return null==M}function Q(M){return void 0===M}function R(N,i){var g;return function(){for(var M=this,t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];clearTimeout(g),g=setTimeout(function(){return g=null,N.apply(M,t)},i)}}function G(M,t){return M===t||!(M===document||!M)&&G(M.parentNode,t)}function H(M){try{throw new Error(M)}catch(M){throw new Error(M.message+"\n"+M.stack)}}function Z(){return d}function W(){var M;if("undefined"!=typeof window)return M=new Uint16Array(5),(window.msCrypto||window.crypto).getRandomValues(M)}var J={latn:{_digits:"0123456789",_type:"numeric"}},K={decimal:".",group:",",percentSign:"%",plusSign:"+",minusSign:"-",infinity:"∞",nan:"NaN",exponential:"E"},X=[0,1,2,3,4,5,6,7,8,9],Y=(M.getMainObject=function(M,t){return m(d?t:"main."+t,M)},M.getNumberingSystem=function(M){return m("supplemental.numberingSystems",M)||this.numberingSystems},M.reverseObject=function(M,t){for(var e={},N=0,i=t||Object.keys(M);N<i.length;N++){var g=i[N];Object.prototype.hasOwnProperty.call(e,M[""+g])||(e[M[""+g]]=g)}return e},M.getSymbolRegex=function(M){M=M.map(function(M){return M.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}).join("|");return new RegExp(M,"g")},M.getSymbolMatch=function(M){for(var t={},e=0,N=Object.keys(K);e<N.length;e++){var i=N[e];t[M[""+i]]=K[""+i]}return t},M.constructRegex=function(M){for(var t=M.length,e="",N=0;N<t;N++)e+=N!==t-1?M[parseInt(N.toString(),10)]+"|":M[parseInt(N.toString(),10)];return e},M.convertValueParts=function(M,t,e){return M.replace(t,function(M){return e[""+M]})},M.getDefaultNumberingSystem=function(M){var t={};return t.obj=m("numbers",M),t.nSystem=m("defaultNumberingSystem",t.obj),t},M.getCurrentNumericOptions=function(M,t,e,N){var i,g={},M=this.getDefaultNumberingSystem(M);return Q(M.nSystem)&&!N||Q(t=N?m("obj.mapperDigits",M):m(M.nSystem+"._digits",t))||(g.numericPair=this.reverseObject(t,X),i=RegExp,g.numberParseRegex=new i(this.constructRegex(t),"g"),g.numericRegex="["+t[0]+"-"+t[9]+"]",e&&(g.numericRegex=t[0]+"-"+t[9],g.symbolNumberSystem=m(N?"numberSymbols":"symbols-numberSystem-"+M.nSystem,M.obj),g.symbolMatch=this.getSymbolMatch(g.symbolNumberSystem),g.numberSystem=M.nSystem)),g},M.getNumberMapper=function(M,t,e){var N={mapper:{}},M=this.getDefaultNumberingSystem(M);if(!Q(M.nSystem)){N.numberSystem=M.nSystem,N.numberSymbols=m("symbols-numberSystem-"+M.nSystem,M.obj),N.timeSeparator=m("timeSeparator",N.numberSymbols);var i=m(M.nSystem+"._digits",t);if(!Q(i))for(var g=0,D=X;g<D.length;g++){var I=D[g];N.mapper[parseInt(I.toString(),10)]=i[parseInt(I.toString(),10)]}}return N},M.nPair="numericPair",M.nRegex="numericRegex",M.numberingSystems=J,M);function M(){}var V={DJF:"Fdj",ERN:"Nfk",ETB:"Br",NAD:"$",ZAR:"R",XAF:"FCFA",GHS:"GH₵",XDR:"XDR",AED:"د.إ.",BHD:"د.ب.",DZD:"د.ج.",EGP:"ج.م.",ILS:"₪",IQD:"د.ع.",JOD:"د.ا.",KMF:"CF",KWD:"د.ك.",LBP:"ل.ل.",LYD:"د.ل.",MAD:"د.م.",MRU:"أ.م.",OMR:"ر.ع.",QAR:"ر.ق.",SAR:"ر.س.",SDG:"ج.س.",SOS:"S",SSP:"£",SYP:"ل.س.",TND:"د.ت.",YER:"ر.ي.",CLP:"$",INR:"₹",TZS:"TSh",EUR:"€",AZN:"₼",RUB:"₽",BYN:"Br",ZMW:"K",BGN:"лв.",NGN:"₦",XOF:"CFA",BDT:"৳",CNY:"¥",BAM:"КМ",UGX:"USh",USD:"$",CZK:"Kč",GBP:"£",DKK:"kr.",KES:"Ksh",CHF:"CHF",MVR:"ރ.",BTN:"Nu.",XCD:"EC$",AUD:"$",BBD:"$",BIF:"FBu",BMD:"$",BSD:"$",BWP:"P",BZD:"$",CAD:"$",NZD:"$",FJD:"$",FKP:"£",GIP:"£",GMD:"D",GYD:"$",HKD:"$",IDR:"Rp",JMD:"$",KYD:"$",LRD:"$",MGA:"Ar",MOP:"MOP$",MUR:"Rs",MWK:"MK",MYR:"RM",PGK:"K",PHP:"₱",PKR:"Rs",RWF:"RF",SBD:"$",SCR:"SR",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",ANG:"NAf.",SZL:"E",TOP:"T$",TTD:"$",VUV:"VT",WST:"WS$",ARS:"$",BOB:"Bs",BRL:"R$",COP:"$",CRC:"₡",CUP:"$",DOP:"$",GTQ:"Q",HNL:"L",MXN:"$",NIO:"C$",PAB:"B/.",PEN:"S/",PYG:"₲",UYU:"$",VES:"Bs.S",IRR:"ريال",GNF:"FG",CDF:"FC",HTG:"G",XPF:"FCFP",HRK:"kn",HUF:"Ft",AMD:"֏",ISK:"kr",JPY:"¥",GEL:"₾",CVE:"",KZT:"₸",KHR:"៛",KPW:"₩",KRW:"₩",KGS:"сом",AOA:"Kz",LAK:"₭",MZN:"MTn",MKD:"ден",MNT:"₮",BND:"$",MMK:"K",NOK:"kr",NPR:"रु",AWG:"Afl.",SRD:"$",PLN:"zł",AFN:"؋",STN:"Db",MDL:"L",RON:"lei",UAH:"₴",LKR:"රු.",ALL:"Lekë",RSD:"дин.",TJS:"смн",THB:"฿",TMT:"m.",TRY:"₺",UZS:"сўм",VND:"₫",TWD:"NT$"};h.defaultCurrencyCode="USD";var _=null,$=null;function q(M){h.defaultCurrencyCode=M}function MM(M){_=M}function tM(M){$=M}var a,eM,NM,iM,gM,DM,IM,J=RegExp,nM={"en-US":{d:"M/d/y",D:"EEEE, MMMM d, y",f:"EEEE, MMMM d, y h:mm a",F:"EEEE, MMMM d, y h:mm:s a",g:"M/d/y h:mm a",G:"M/d/yyyy h:mm:ss tt",m:"MMMM d",M:"MMMM d",r:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",R:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",t:"h:mm tt",T:"h:m:s tt",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",U:"dddd, MMMM d, yyyy h:mm:ss tt",y:"MMMM yyyy",Y:"MMMM yyyy"}};function rM(M,t,e,N,i){var g,e=e||"date";return i?g=TM({skeleton:M},i).format||TM({skeleton:"d"},"en-US").format:(-1!==a.basicPatterns.indexOf(M)?(g=m(e+"Formats."+M,t),"dateTime"===e&&(i=m("dateFormats."+M,t),e=m("timeFormats."+M,t),g=g.replace("{1}",i).replace("{0}",e))):g=m("dateTimeFormats.availableFormats."+M,t),Q(g)&&"yMd"===M&&(g="M/d/y")),g}function jM(M,t,e,N){var i={},e=e||"gregorian";return i.parserObject=Y.getMainObject(M,t)||(d?a.blazorDefaultObject:a.defaultObject),N?i.numericObject=m("numbers",i.parserObject):(M=d?"dates":"dates.calendars."+e,i.dateObject=m(M,i.parserObject)),i}function oM(M,t,e,N){return m(M+"Formats-numberSystem-"+t+(N?".accounting":".standard"),e)||(N?m(M+"Formats-numberSystem-"+t+".standard",e):"")}function zM(M){var t=M.match(a.dateConverterMapper);return t&&d?(t=3===t[0].length?"EEE":"EEEE",M.replace(a.dateConverterMapper,t)):M}function TM(M,t){var e=M.format||M.skeleton,t=m((t||"en-US")+"."+e,nM);return(t=t||m("en-US."+e,nM))&&(t=zM(t),M.format=t.replace(/tt/,"a")),M}function uM(M){var t=M.match(a.formatRegex),e={},N=t[1].toUpperCase();return e.isAccount="A"===N,e.type=a.patternMatcher[""+N],1<M.length&&(e.fractionDigits=parseInt(t[2],10)),e}function aM(M,t,e,N){var i=N?{}:{nlead:"",nend:""},M=M.match(a.customRegex);return M&&(N||(i.nlead=AM(M[1],e),i.nend=AM(M[10],e),i.groupPattern=M[4]),N=M[7])&&t&&(U(e=N.match(eM))?i.minimumFraction=0:i.minimumFraction=e.length,i.maximumFraction=N.length-1),i}function AM(M,t){return M?(M=M.replace(a.defaultCurrency,t),""===t?M.trim():M):""}function cM(M,t,e,N){return!N&&(m("currencies."+t+(e?"."+e:".symbol"),M)||m("currencies."+t+".symbol-alt-narrow",M))||"$"}function yM(M,t,e){var N,i,g={type:"decimal",minimumFractionDigits:0,maximumFractionDigits:0},D=M.match(a.customRegex);return U(D)||""===D[5]&&"N/A"!==M?g.type=void 0:(g.nlead=D[1],g.nend=D[10],N=!!(M=D[6]).match(/ $/g),i=-1!==M.replace(/ $/g,"").indexOf(" "),D=(g.useGrouping=-1!==M.indexOf(",")||i,M=M.replace(/,/g,""),M=/\s$/.test(M)?M.replace(/ /g,""):M,D[7]),-1!==M.indexOf("0")&&(g.minimumIntegerDigits=M.length-M.indexOf("0")),!U(D)&&(g.minimumFractionDigits=D.lastIndexOf("0"),g.maximumFractionDigits=D.lastIndexOf("#"),-1===g.minimumFractionDigits&&(g.minimumFractionDigits=0),-1===g.maximumFractionDigits||g.maximumFractionDigits<g.minimumFractionDigits)&&(g.maximumFractionDigits=g.minimumFractionDigits),U(t)?u(g,sM([g.nlead,g.nend],"%","%")):(t.isCustomFormat=!0,u(g,sM([g.nlead,g.nend],"$",t.currencySymbol)),g.isCurrency||u(g,sM([g.nlead,g.nend],"%",t.percentSymbol))),U(e)||(M=oM(g.type,t.numberMapper.numberSystem,e,!1),g.useGrouping&&(g.groupSeparator=i?" ":t.numberMapper.numberSymbols[NM[2]],g.groupData=_.getGroupingDetails(M.split(";")[0])),g.nlead=g.nlead.replace(/'/g,""),g.nend=N?" "+g.nend.replace(/'/g,""):g.nend.replace(/'/g,""))),g}function sM(M,t,e){for(var N={nlead:M[0],nend:M[1]},i=0;i<2;i++){var g=M[parseInt(i.toString(),10)],D=g.indexOf(t);if(-1!==D&&(D<g.indexOf("'")||D>g.lastIndexOf("'"))){N[""+IM[parseInt(i.toString(),10)]]=g.substr(0,D)+e+g.substr(D+1),N[""+IM[""+t]]=!0,N.type=N.isCurrency?"currency":"percent";break}}return N}function EM(M,t){var e;return M=-1!==M.indexOf(",")?(e=M.split(","))[0]+m("numberMapper.numberSymbols.group",t)+e[1].replace(".",m("numberMapper.numberSymbols.decimal",t)):M.replace(".",m("numberMapper.numberSymbols.decimal",t))}function LM(M,t,e){M+=".";for(var N=0;N<t;N++)M+="0";if(t<e)for(var i=e-t,g=0;g<i;g++)M+="#";return M}function OM(M,t){for(var M=M.split("."),e="",N=0;N<t;N++)e+="0";return M[1]?e+"."+M[1]:e}function lM(M){var t=M.split("."),e=t[0],N=3-e.length%3;M="";for(var i=(e=(N&&1==N?"#":2==N?"##":"")+e).length-1;0<i;i-=3)M=","+e[i-2]+e[i-1]+e[parseInt(i.toString(),10)]+M;return M=M.slice(1),t[1]?M+"."+t[1]:M}(a=h.IntlBase||(h.IntlBase={})).negativeDataRegex=/^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,a.customRegex=/^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0# ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,a.latnParseRegex=/0|1|2|3|4|5|6|7|8|9/g,eM=/[0-9]/g,a.defaultCurrency="$",NM=["infinity","nan","group","decimal"],iM=/G|M|L|H|c|'| a|yy|y|EEEE|E/g,gM={G:"",M:"m",L:"m",H:"h",c:"d","'":'"'," a":" AM/PM",yy:"yy",y:"yyyy",EEEE:"dddd",E:"ddd"},a.dateConverterMapper=/dddd|ddd/gi,a.islamicRegex=/^islamic/,DM={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6},a.formatRegex=new J("(^[ncpae]{1})([0-1]?[0-9]|20)?$","i"),a.currencyFormatRegex=new J("(^[ca]{1})([0-1]?[0-9]|20)?$","i"),a.curWithoutNumberRegex=/(c|a)$/gi,IM={$:"isCurrency","%":"isPercent","-":"isNegative",0:"nlead",1:"nend"},a.dateParseRegex=/([a-z])\1*|'([^']|'')+'|''|./gi,a.basicPatterns=["short","medium","long","full"],a.defaultObject={dates:{calendars:{gregorian:{months:{"stand-alone":{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}}},days:{"stand-alone":{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}}},dayPeriods:{format:{wide:{am:"AM",pm:"PM"}}},eras:{eraNames:{0:"Before Christ","0-alt-variant":"Before Common Era",1:"Anno Domini","1-alt-variant":"Common Era"},eraAbbr:{0:"BC","0-alt-variant":"BCE",1:"AD","1-alt-variant":"CE"},eraNarrow:{0:"B","0-alt-variant":"BCE",1:"A","1-alt-variant":"CE"}},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y"}}},islamic:{months:{"stand-alone":{abbreviated:{1:"Muh.",2:"Saf.",3:"Rab. I",4:"Rab. II",5:"Jum. I",6:"Jum. II",7:"Raj.",8:"Sha.",9:"Ram.",10:"Shaw.",11:"Dhuʻl-Q.",12:"Dhuʻl-H."},narrow:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},wide:{1:"Muharram",2:"Safar",3:"Rabiʻ I",4:"Rabiʻ II",5:"Jumada I",6:"Jumada II",7:"Rajab",8:"Shaʻban",9:"Ramadan",10:"Shawwal",11:"Dhuʻl-Qiʻdah",12:"Dhuʻl-Hijjah"}}},days:{"stand-alone":{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}}},dayPeriods:{format:{wide:{am:"AM",pm:"PM"}}},eras:{eraNames:{0:"AH"},eraAbbr:{0:"AH"},eraNarrow:{0:"AH"}},dateFormats:{full:"EEEE, MMMM d, y G",long:"MMMM d, y G",medium:"MMM d, y G",short:"M/d/y GGGGG"},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y G",yyyy:"y G",yyyyM:"M/y GGGGG",yyyyMd:"M/d/y GGGGG",yyyyMEd:"E, M/d/y GGGGG",yyyyMMM:"MMM y G",yyyyMMMd:"MMM d, y G",yyyyMMMEd:"E, MMM d, y G",yyyyMMMM:"MMMM y G",yyyyQQQ:"QQQ y G",yyyyQQQQ:"QQQQ y G"}}}},timeZoneNames:{hourFormat:"+HH:mm;-HH:mm",gmtFormat:"GMT{0}",gmtZeroFormat:"GMT"}},numbers:{currencies:{USD:{displayName:"US Dollar",symbol:"$","symbol-alt-narrow":"$"},EUR:{displayName:"Euro",symbol:"€","symbol-alt-narrow":"€"},GBP:{displayName:"British Pound","symbol-alt-narrow":"£"}},defaultNumberingSystem:"latn",minimumGroupingDigits:"1","symbols-numberSystem-latn":{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},"decimalFormats-numberSystem-latn":{standard:"#,##0.###"},"percentFormats-numberSystem-latn":{standard:"#,##0%"},"currencyFormats-numberSystem-latn":{standard:"¤#,##0.00",accounting:"¤#,##0.00;(¤#,##0.00)"},"scientificFormats-numberSystem-latn":{standard:"#E0"}}},a.blazorDefaultObject={numbers:{mapper:{0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9"},mapperDigits:"0123456789",numberSymbols:{decimal:".",group:",",plusSign:"+",minusSign:"-",percentSign:"%",nan:"NaN",timeSeparator:":",infinity:"∞"},timeSeparator:":",currencySymbol:"$",currencypData:{nlead:"$",nend:"",groupSeparator:",",groupData:{primary:3},maximumFraction:2,minimumFraction:2},percentpData:{nlead:"",nend:"%",groupSeparator:",",groupData:{primary:3},maximumFraction:2,minimumFraction:2},percentnData:{nlead:"-",nend:"%",groupSeparator:",",groupData:{primary:3},maximumFraction:2,minimumFraction:2},currencynData:{nlead:"($",nend:")",groupSeparator:",",groupData:{primary:3},maximumFraction:2,minimumFraction:2},decimalnData:{nlead:"-",nend:"",groupData:{primary:3},maximumFraction:2,minimumFraction:2},decimalpData:{nlead:"",nend:"",groupData:{primary:3},maximumFraction:2,minimumFraction:2}},dates:{dayPeriods:{am:"AM",pm:"PM"},dateSeperator:"/",days:{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}},months:{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}},eras:{1:"AD"}}},a.monthIndex={3:"abbreviated",4:"wide",5:"narrow",1:"abbreviated"},a.month="months",a.days="days",a.patternMatcher={C:"currency",P:"percent",N:"decimal",A:"currency",E:"scientific"},a.getResultantPattern=rM,a.getDependables=jM,a.getSymbolPattern=oM,a.ConvertDateToWeekFormat=zM,a.compareBlazorDateFormats=TM,a.getProperNumericSkeleton=uM,a.getFormatData=aM,a.changeCurrencySymbol=AM,a.getCurrencySymbol=cM,a.customFormat=function(M,t,e){for(var N={},i=M.split(";"),g=["pData","nData","zeroData"],D=0;D<i.length;D++)N[""+g[parseInt(D.toString(),10)]]=yM(i[parseInt(D.toString(),10)],t,e);return U(N.nData)&&(N.nData=u({},N.pData),N.nData.nlead=U(t)?"-"+N.nData.nlead:t.minusSymbol+N.nData.nlead),N},a.customNumberFormat=yM,a.isCurrencyPercent=sM,a.getDateSeparator=function(M){return(M=(m("dateFormats.short",M)||"").match(/[dM]([^dM])[dM]/i))?M[1]:"/"},a.getActualDateTimeFormat=function(M,t,e,N){var i,g=jM(e,M,t.calendar),M=(t=d?TM(t,M):t).format||rM(t.skeleton,g.dateObject,t.type);return N&&(-1!==(M=M.replace(iM,function(M){return gM[""+M]})).indexOf("z")&&(t=M.match(/z/g).length,N=void 0,(i={timeZone:{}}).numMapper=Y.getNumberMapper(g.parserObject,Y.getNumberingSystem(e)),i.timeZone=m("dates.timeZoneNames",g.parserObject),e=(new Date).getTimezoneOffset(),g=(g=t<4?"+H;-H":i.timeZone.hourFormat).replace(/:/g,i.numMapper.timeSeparator),N=0===e?i.timeZone.gmtZeroFormat:(N=$.getTimeZoneValue(e,g),i.timeZone.gmtFormat.replace(/\{0\}/,N)),M=M.replace(/[z]+/,'"'+N+'"')),M=M.replace(/ $/,"")),M},a.processSymbol=EM,a.getActualNumberFormat=function(M,t,e,N){var i,g,D,M=jM(e,M,"",!0),I={custom:!0},n=M.numericObject,r={},j=(t.format||"").match(a.currencyFormatRegex),o=a.formatRegex.test(t.format)?uM(t.format||"N"):{},z={};return j&&(z.numberMapper=d?u({},M.numericObject):Y.getNumberMapper(M.parserObject,Y.getNumberingSystem(e),!0),e=d?m("currencySymbol",M.numericObject):cM(M.numericObject,t.currency||h.defaultCurrencyCode,t.altSymbol),g=(M=(M=oM("currency",z.numberMapper.numberSystem,M.numericObject,/a/i.test(t.format))).replace(/\u00A4/g,e)).split(";"),r.hasNegativePattern=!!d||1<g.length,r.nData=d?m(o.type+"nData",n):aM(g[1]||"-"+g[0],!0,e),r.pData=d?m(o.type+"pData",n):aM(g[0],!1,e),j[2]||t.minimumFractionDigits||t.maximumFractionDigits||(i=aM(M.split(";")[0],!0,"",!0).minimumFraction)),a.formatRegex.test(t.format)||!t.format?(u(I,uM(t.format||"N")),I.custom=!1,D="###0",(I.fractionDigits||t.minimumFractionDigits||t.maximumFractionDigits||i)&&(I.fractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits=I.fractionDigits),D=LM(D,i||I.fractionDigits||t.minimumFractionDigits||0,t.maximumFractionDigits||0)),t.minimumIntegerDigits&&(D=OM(D,t.minimumIntegerDigits)),t.useGrouping&&(D=lM(D)),("currency"===I.type||I.type&&d)&&(d&&"currency"!==I.type&&(r.pData=m(I.type+"pData",n),r.nData=m(I.type+"nData",n)),o=D,D=r.pData.nlead+o+r.pData.nend,r.hasNegativePattern||d)&&(D+=";"+r.nData.nlead+o+r.nData.nend),"percent"!==I.type||d||(D+=" %")):D=t.format.replace(/'/g,'"'),D=0<Object.keys(z).length?N?D:EM(D,z):D},a.fractionDigitsPattern=LM,a.minimumIntegerPattern=OM,a.groupingPattern=lM,a.getWeekData=function(M,t){var e="sun",t=m("supplemental.weekData.firstDay",t),M=(M=/en-/.test(M)?M.slice(3):M).slice(0,2).toUpperCase()+M.substr(2);return t&&(e=t[""+M]||t[M.slice(0,2)]||"sun"),DM[""+e]},a.replaceBlazorCurrency=function(M,t,e){var N=m(e||"",V);if(t!==N)for(var i=0,g=M;i<g.length;i++){var D=g[i];D.nend=D.nend.replace(t,N),D.nlead=D.nlead.replace(t,N)}},a.getWeekOfYear=function(M,t){var e,N=new Date(M.getFullYear(),0,1),i=0<=(i=N.getDay())?i:i+7,N=Math.floor((M.getTime()-N.getTime()-6e4*(M.getTimezoneOffset()-N.getTimezoneOffset()))/864e5)+1;return i<4?52<(e=Math.floor((N+i-t-1)/7)+1)&&(e=(M=0<=(M=new Date(M.getFullYear()+1,0,1).getDay())?M:M+7)<4?1:53):e=Math.floor((N+i-t-1)/7),e};var xM=/^(.*?):[ \t]*([^\r\n]*)$/gm,J=(SM.prototype.send=function(M){var e=this,N=(this.data=U(M)?this.data:M,{cancel:!1,httpRequest:null});return new Promise(function(M,t){e.httpRequest=new XMLHttpRequest,e.httpRequest.onreadystatechange=function(){e.stateChange(M,t)},U(e.onLoad)||(e.httpRequest.onload=e.onLoad),U(e.onProgress)||(e.httpRequest.onprogress=e.onProgress),U(e.onAbort)||(e.httpRequest.onabort=e.onAbort),U(e.onError)||(e.httpRequest.onerror=e.onError),U(e.onUploadProgress)||(e.httpRequest.upload.onprogress=e.onUploadProgress),e.httpRequest.open(e.type,e.url,e.mode),U(e.data)||null===e.contentType||e.httpRequest.setRequestHeader("Content-Type",e.contentType||"application/json; charset=utf-8"),e.beforeSend&&(N.httpRequest=e.httpRequest,e.beforeSend(N)),N.cancel||e.httpRequest.send(U(e.data)?null:e.data)})},SM.prototype.successHandler=function(M){return this.onSuccess&&this.onSuccess(M,this),M},SM.prototype.failureHandler=function(M){return this.onFailure&&this.onFailure(this.httpRequest),M},SM.prototype.stateChange=function(M,t){var e=this.httpRequest.responseText;if(this.dataType&&"json"===this.dataType.toLowerCase())if(""===e)e=void 0;else try{e=JSON.parse(e)}catch(M){}4===this.httpRequest.readyState&&(200<=this.httpRequest.status&&this.httpRequest.status<=299||304===this.httpRequest.status?M(this.successHandler(e)):this.emitError?t(new Error(this.failureHandler(this.httpRequest.statusText))):M())},SM.prototype.getResponseHeader=function(M){for(var t={},e=xM.exec(this.httpRequest.getAllResponseHeaders());e;)t[e[1].toLowerCase()]=e[2],e=xM.exec(this.httpRequest.getAllResponseHeaders());M=t[M.toLowerCase()];return U(M)?null:M},SM);function SM(M,t,e,N){this.mode=!0,this.emitError=!0,this.options={},"string"==typeof M?(this.url=M,this.type=t?t.toUpperCase():"GET",this.mode=!!U(e)||e):"object"==typeof M&&(this.options=M,I(this,this.options)),this.type=this.type?this.type.toUpperCase():"GET",this.contentType=void 0!==this.contentType?this.contentType:N}CM.prototype.send=function(M){var g=this,D={"application/json":"json","multipart/form-data":"formData","application/octet-stream":"blob","application/x-www-form-urlencoded":"formData"};try{U(this.fetchRequest)&&"GET"===this.type?this.fetchRequest=new Request(this.url,{method:this.type}):U(this.fetchRequest)&&(this.data=U(M)?this.data:M,this.fetchRequest=new Request(this.url,{method:this.type,headers:{"Content-Type":this.contentType},body:this.data}));var t={cancel:!1,fetchRequest:this.fetchRequest};return(this.triggerEvent(this.beforeSend,t),t.cancel)?null:(this.fetchResponse=fetch(this.fetchRequest),this.fetchResponse.then(function(M){if(g.triggerEvent(g.onLoad,M),!M.ok)throw M;for(var t="text",e=0,N=Object.keys(D);e<N.length;e++){var i=N[e];M.headers.get("Content-Type")&&-1!==M.headers.get("Content-Type").indexOf(i)&&(t=D[i])}return M[t]()}).then(function(M){return g.triggerEvent(g.onSuccess,M,g),M}).catch(function(M){var t={};return g.emitError&&(g.triggerEvent(g.onFailure,M),t=Promise.reject(M)),t}))}catch(M){return M}},CM.prototype.triggerEvent=function(M,t,e){U(M)||"function"!=typeof M||M(t,e)};var pM=CM;function CM(M,t,e){this.type="GET",this.emitError=!0,"string"==typeof M?(this.url=M,this.type=U(t)?this.type:t.toUpperCase(),this.contentType=e):T(M)&&0<Object.keys(M).length&&I(this,M),this.contentType=U(this.contentType)?"application/json; charset=utf-8":this.contentType}var wM=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i,hM=/msie|trident/i,dM=/Trident\/7\./,mM=/(ipad|iphone|ipod touch)/i,UM=/(ipad|iphone|ipod touch);.*os 7_\d|(ipad|iphone|ipod touch);.*os 8_\d/i,QM=/android/i,YM=/trident|windows phone|edge/i,kM=/(version)[ /]([\w.]+)/i,fM={OPERA:/(opera|opr)(?:.*version|)[ /]([\w.]+)/i,EDGE:/(edge)(?:.*version|)[ /]([\w.]+)/i,CHROME:/(chrome|crios)[ /]([\w.]+)/i,PANTHOMEJS:/(phantomjs)[ /]([\w.]+)/i,SAFARI:/(safari)[ /]([\w.]+)/i,WEBKIT:/(webkit)[ /]([\w.]+)/i,MSIE:/(msie|trident) ([\w.]+)/i,MOZILLA:/(mozilla)(?:.*? rv:([\w.]+)|)/i},A=("undefined"!=typeof window&&(window.browserDetails=window.browserDetails||{}),g.extractBrowserDetail=function(){for(var M={culture:{}},t=[],e=0,N=Object.keys(fM);e<N.length;e++){var i=N[e];if(t=g.userAgent.match(fM[""+i])){if(M.name="opr"===t[1].toLowerCase()?"opera":t[1].toLowerCase(),M.name="crios"===t[1].toLowerCase()?"chrome":M.name,M.version=t[2],M.culture.name=M.culture.language=navigator.language,g.userAgent.match(dM)){M.name="msie";break}i=g.userAgent.match(kM);"safari"===M.name&&i&&(M.version=i[2]);break}}return M},g.getEvent=function(M){var t={start:{isPointer:"pointerdown",isTouch:"touchstart",isDevice:"mousedown"},move:{isPointer:"pointermove",isTouch:"touchmove",isDevice:"mousemove"},end:{isPointer:"pointerup",isTouch:"touchend",isDevice:"mouseup"},cancel:{isPointer:"pointercancel",isTouch:"touchcancel",isDevice:"mouseleave"}};return g.isPointer?t[""+M].isPointer:g.isTouch?t[""+M].isTouch+(g.isDevice?"":" "+t[""+M].isDevice):t[""+M].isDevice},g.getTouchStartEvent=function(){return g.getEvent("start")},g.getTouchEndEvent=function(){return g.getEvent("end")},g.getTouchMoveEvent=function(){return g.getEvent("move")},g.getTouchCancelEvent=function(){return g.getEvent("cancel")},g.isSafari=function(){return g.isDevice&&g.isIos&&g.isTouch&&"undefined"!=typeof window&&-1===window.navigator.userAgent.toLowerCase().indexOf("iphone")&&-1<window.navigator.userAgent.toLowerCase().indexOf("safari")},g.getValue=function(M,t){var e="undefined"!=typeof window?window.browserDetails:{};return"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints&&!0===g.isTouch&&!fM.CHROME.test(navigator.userAgent)&&(e.isIos=!0,e.isDevice=!0,e.isTouch=!0,e.isPointer=!0,e.isPointer="pointerEnabled"in window.navigator),"undefined"!=typeof window&&window.Capacitor&&"ios"===window.Capacitor.getPlatform()&&(e.isPointer=!1),void 0===e[""+M]?e[""+M]=t.test(g.userAgent):e[""+M]},Object.defineProperty(g,"userAgent",{get:function(){return g.uA},set:function(M){g.uA=M,window.browserDetails={}},enumerable:!0,configurable:!0}),Object.defineProperty(g,"info",{get:function(){return Q(window.browserDetails.info)?window.browserDetails.info=g.extractBrowserDetail():window.browserDetails.info},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isIE",{get:function(){return g.getValue("isIE",hM)},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isTouch",{get:function(){return Q(window.browserDetails.isTouch)?window.browserDetails.isTouch="ontouchstart"in window.navigator||window&&window.navigator&&0<window.navigator.maxTouchPoints||"ontouchstart"in window:window.browserDetails.isTouch},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isPointer",{get:function(){return Q(window.browserDetails.isPointer)?window.browserDetails.isPointer="pointerEnabled"in window.navigator:window.browserDetails.isPointer},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isMSPointer",{get:function(){return Q(window.browserDetails.isMSPointer)?window.browserDetails.isMSPointer="msPointerEnabled"in window.navigator:window.browserDetails.isMSPointer},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isDevice",{get:function(){return g.getValue("isDevice",wM)},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isIos",{get:function(){return g.getValue("isIos",mM)},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isIos7",{get:function(){return g.getValue("isIos7",UM)},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isAndroid",{get:function(){return g.getValue("isAndroid",QM)},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isWebView",{get:function(){return Q(window.browserDetails.isWebView)&&(window.browserDetails.isWebView=!(Q(window.cordova)&&Q(window.PhoneGap)&&Q(window.phonegap)&&"object"!==window.forge)),window.browserDetails.isWebView},enumerable:!0,configurable:!0}),Object.defineProperty(g,"isWindows",{get:function(){return g.getValue("isWindows",YM)},enumerable:!0,configurable:!0}),Object.defineProperty(g,"touchStartEvent",{get:function(){return Q(window.browserDetails.touchStartEvent)?window.browserDetails.touchStartEvent=g.getTouchStartEvent():window.browserDetails.touchStartEvent},enumerable:!0,configurable:!0}),Object.defineProperty(g,"touchMoveEvent",{get:function(){return Q(window.browserDetails.touchMoveEvent)?window.browserDetails.touchMoveEvent=g.getTouchMoveEvent():window.browserDetails.touchMoveEvent},enumerable:!0,configurable:!0}),Object.defineProperty(g,"touchEndEvent",{get:function(){return Q(window.browserDetails.touchEndEvent)?window.browserDetails.touchEndEvent=g.getTouchEndEvent():window.browserDetails.touchEndEvent},enumerable:!0,configurable:!0}),Object.defineProperty(g,"touchCancelEvent",{get:function(){return Q(window.browserDetails.touchCancelEvent)?window.browserDetails.touchCancelEvent=g.getTouchCancelEvent():window.browserDetails.touchCancelEvent},enumerable:!0,configurable:!0}),g.uA="undefined"!=typeof navigator?navigator.userAgent:"",g);function g(){}r.addOrGetEventData=function(M){return"__eventList"in M?M.__eventList.events:(M.__eventList={},M.__eventList.events=[])},r.add=function(M,t,e,N,i){var g=r.addOrGetEventData(M),D=i?R(e,i):e;N&&(D=D.bind(N));for(var I=t.split(" "),n=0;n<I.length;n++)g.push({name:I[parseInt(n.toString(),10)],listener:e,debounce:D}),A.isIE?M.addEventListener(I[parseInt(n.toString(),10)],D):M.addEventListener(I[parseInt(n.toString(),10)],D,{passive:!1});return D},r.remove=function(M,t,g){for(var D=r.addOrGetEventData(M),I=t.split(" "),e=0;e<I.length;e++)!function(e){var N,i=-1;D&&0!==D.length&&D.some(function(M,t){return M.name===I[parseInt(e.toString(),10)]&&M.listener===g&&(i=t,N=M.debounce,!0)}),-1!==i&&D.splice(i,1),N&&M.removeEventListener(I[parseInt(e.toString(),10)],N)}(e)},r.clearEvents=function(M){for(var t=r.addOrGetEventData(M),e=u([],void 0,t),N=0;N<e.length;N++){var i=e[parseInt(N.toString(),10)];M.removeEventListener(i.name,i.debounce),t.shift()}},r.trigger=function(M,t,e){for(var N=0,i=r.addOrGetEventData(M);N<i.length;N++){var g=i[N];g.name===t&&g.debounce.call(this,e)}};var n=r;function r(){}var bM=function(){return(bM=Object.assign||function(M){for(var t,e=1,N=arguments.length;e<N;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(M[i]=t[i]);return M}).apply(this,arguments)},vM=/^svg|^path|^g/;function c(M,t){M=vM.test(M)?document.createElementNS("http://www.w3.org/2000/svg",M):document.createElement(M);return void 0!==t&&(M.innerHTML=t.innerHTML||"",void 0!==t.className&&(M.className=t.className),void 0!==t.id&&(M.id=t.id),void 0!==t.styles&&(M.style.cssText=t.styles),void 0!==t.attrs)&&ZM(M,t.attrs),M}function BM(M,t){for(var e=FM(t),N=RegExp,i=0,g=M;i<g.length;i++)for(var D=g[i],I=0,n=e;I<n.length;I++){var r,j=n[I];T(D)?U(r=m("attributes.className",D))?z("attributes.className",j,D):new N("\\b"+j+"\\b","i").test(r)||z("attributes.className",r+" "+j,D):D.classList.contains(j)||D.classList.add(j)}return M}function PM(M,t){for(var e=FM(t),N=0,i=M;N<i.length;N++){var g=i[N],D=T(g);if(D?m("attributes.className",g):""!==g.className)for(var I=0,n=e;I<n.length;I++){var r,j,o=n[I];D?(-1!==(j=(r=m("attributes.className",g).split(" ")).indexOf(o))&&r.splice(j,1),z("attributes.className",r.join(" "),g)):g.classList.remove(o)}}return M}function FM(M){var t=[];return"string"==typeof M?t.push(M):t=M,t}function RM(M){return""===M.style.visibility&&0<M.offsetWidth}function GM(M){M.querySelectorAll("script").forEach(function(M){var t=document.createElement("script");t.text=M.innerHTML,document.head.appendChild(t),HM(t)})}function HM(M){var t=M.parentNode;if(t)return t.removeChild(M)}function ZM(M,t){for(var e=M,N=0,i=Object.keys(t);N<i.length;N++){var g=i[N];T(e)?e.attributes[""+("tabindex"===g?"tabIndex":g)]=t[""+g]:e.setAttribute(g,t[""+g])}return e}function WM(M,t,e){return void 0===t&&(t=document),M=KM(M),t.querySelector(M)}function JM(M,t,e){return void 0===t&&(t=document),M=KM(M),t.querySelectorAll(M)}function KM(M){var t=/(!|"|\$|%|&|'|\(|\)|\*|\/|:|;|<|=|\?|@|\]|\^|`|{|}|\||\+|~)/g;if(M.match(/#[0-9]/g)||M.match(t)){for(var e=M.split(","),N=0;N<e.length;N++){for(var i,g=e[parseInt(N.toString(),10)].split(" "),D=0;D<g.length;D++)-1<g[parseInt(D.toString(),10)].indexOf("#")&&(g[parseInt(D.toString(),10)].match(/\[.*\]/)||!(i=g[parseInt(D.toString(),10)].split("#"))[1].match(/^\d/)&&!i[1].match(t)||((i=g[parseInt(D.toString(),10)].split("."))[0]=i[0].replace(/#/,"[id='")+"']",g[parseInt(D.toString(),10)]=i.join(".")));e[parseInt(N.toString(),10)]=g.join(" ")}return e.join(",")}return M}function XM(M,t){var e=M;if("function"==typeof e.closest)return e.closest(t);for(;e&&1===e.nodeType;){if(_M(e,t))return e;e=e.parentNode}return null}function VM(t,e){void 0!==e&&Object.keys(e).forEach(function(M){t.style[""+M]=e[""+M]})}function _M(M,t){var e=M.matches||M.msMatchesSelector||M.webkitMatchesSelector;return e?e.call(M,t):-1!==[].indexOf.call(document.querySelectorAll(t),M)}t.prototype.on=function(M,t,e,N){U(t)||(e=e||this.context,this.notExist(M)?this.boundedEvents[""+M]=[{handler:t,context:e,id:N}]:U(N)?this.isHandlerPresent(this.boundedEvents[""+M],t)||this.boundedEvents[""+M].push({handler:t,context:e}):-1===this.ranArray.indexOf(N)&&(this.ranArray.push(N),this.boundedEvents[""+M].push({handler:t,context:e,id:N})))},t.prototype.off=function(M,t,e){if(!this.notExist(M)){var N=m(M,this.boundedEvents);if(t){for(var i=0;i<N.length;i++)if(e){if(N[parseInt(i.toString(),10)].id===e){N.splice(i,1);var g=this.ranArray.indexOf(e);-1!==g&&this.ranArray.splice(g,1);break}}else if(t===N[parseInt(i.toString(),10)].handler){N.splice(i,1);break}}else delete this.boundedEvents[""+M]}},t.prototype.notify=function(M,t,e,N){if(!this.notExist(M)){if(t&&(t.name=M),M=m(M,this.boundedEvents).slice(0),window.Blazor)return this.blazorCallback(M,t,e,N,0);for(var i=0,g=M;i<g.length;i++){var D=g[i];D.handler.call(D.context,t)}}e&&e.call(this,t)},t.prototype.blazorCallback=function(t,e,N,i,g){var D=this,I=g===t.length-1;if(g<t.length){var n=t[parseInt(g.toString(),10)],M=n.handler.call(n.context,e);if(M&&"function"==typeof M.then){if(!N)return M;M.then(function(M){if(M="string"==typeof M&&D.isJson(M)?JSON.parse(M,D.dateReviver):M,u(e,e,M,!0),!N||!I)return D.blazorCallback(t,e,N,i,g+1);N.call(n.context,e)}).catch(function(M){i&&i.call(n.context,"string"==typeof M&&D.isJson(M)?JSON.parse(M,D.dateReviver):M)})}else{if(!N||!I)return this.blazorCallback(t,e,N,i,g+1);N.call(n.context,e)}}},t.prototype.dateReviver=function(M,t){return"string"==typeof t&&null!==t.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/)?new Date(t):t},t.prototype.isJson=function(M){try{JSON.parse(M)}catch(M){return!1}return!0},t.prototype.destroy=function(){this.boundedEvents=this.context=void 0},t.prototype.offIntlEvents=function(){var M=this.boundedEvents.notifyExternalChange;if(M){for(var t=0;t<M.length;t++){var e=M[parseInt(t.toString(),10)].context;e&&e.detectFunction&&e.randomId&&e.isReactMock&&(this.off("notifyExternalChange",e.detectFunction,e.randomId),t--)}this.boundedEvents.notifyExternalChange.length||delete this.boundedEvents.notifyExternalChange}},t.prototype.notExist=function(M){return!1===Object.prototype.hasOwnProperty.call(this.boundedEvents,M)||this.boundedEvents[""+M].length<=0},t.prototype.isHandlerPresent=function(M,t){for(var e=0,N=M;e<N.length;e++)if(N[e].handler===t)return!0;return!1};var $M=t;function t(M){this.ranArray=[],this.boundedEvents={},U(M)||(this.context=M)}var qM=new RegExp("]"),i=(N.prototype.setProperties=function(M,t){var e=this.isProtectedOnChange;this.isProtectedOnChange=!!t,I(this,M),!0!==t?(I(this.changedProperties,M),this.dataBind()):d&&this.isRendered&&this.serverDataBind(M),this.finalUpdate(),this.changedProperties={},this.oldProperties={},this.isProtectedOnChange=e},N.callChildDataBind=function(M,t){for(var e=0,N=Object.keys(M);e<N.length;e++){var i=N[e];if(t[""+i]instanceof Array)for(var g=0,D=t[""+i];g<D.length;g++){var I=D[g];void 0!==I.dataBind&&I.dataBind()}else t[""+i].dataBind()}},N.prototype.clearChanges=function(){this.finalUpdate(),this.changedProperties={},this.oldProperties={},this.childChangedProperties={}},N.prototype.dataBind=function(){var M,t,e;N.callChildDataBind(this.childChangedProperties,this),Object.getOwnPropertyNames(this.changedProperties).length&&(M=this.isProtectedOnChange,t=this.changedProperties,e=this.oldProperties,this.clearChanges(),this.isProtectedOnChange=!0,this.onPropertyChanged(t,e),this.isProtectedOnChange=M)},N.prototype.serverDataBind=function(M){d&&(u(this.bulkChanges,{},M=M||{},!0),M="sfBlazor",this.allowServerDataBinding)&&window[M].updateModel&&(window[M].updateModel(this),this.bulkChanges={})},N.prototype.saveChanges=function(M,t,e){var N;d&&((N={})[""+M]=t,this.serverDataBind(N)),this.isProtectedOnChange||(this.oldProperties[""+M]=e,this.changedProperties[""+M]=t,this.finalUpdate(),this.finalUpdate=B(this.dataBind.bind(this)))},N.prototype.addEventListener=function(M,t){this.modelObserver.on(M,t)},N.prototype.removeEventListener=function(M,t){this.modelObserver.off(M,t)},N.prototype.trigger=function(M,t,e,N){var i,g,D,I=this;if(!0!==this.isDestroyed)return i=this.isProtectedOnChange,this.isProtectedOnChange=!1,g=this.modelObserver.notify(M,t,e,N),qM.test(M)&&((M=m(M,this))?window.Blazor?(D=M.call(this,t))&&"function"==typeof D.then?e?D.then(function(M){e&&(M="string"==typeof M&&I.modelObserver.isJson(M)?JSON.parse(M):M,e.call(I,M))}).catch(function(M){N&&(M="string"==typeof M&&I.modelObserver.isJson(M)?JSON.parse(M):M,N.call(I,M))}):g=D:e&&e.call(this,t):(M.call(this,t),e&&e.call(this,t)):e&&e.call(this,t)),this.isProtectedOnChange=i,g},N.prototype.addInstance=function(){var M="e-"+this.getModuleName().toLowerCase();BM([this.element],["e-lib",M]),U(this.element.ej2_instances)?z("ej2_instances",[this],this.element):this.element.ej2_instances.push(this)},N.prototype.destroy=function(){var t=this;this.element.ej2_instances=this.element.ej2_instances?this.element.ej2_instances.filter(function(M){return h.proxyToRaw?h.proxyToRaw(M)!==h.proxyToRaw(t):M!==t}):[],PM([this.element],["e-"+this.getModuleName()]),0===this.element.ej2_instances.length&&PM([this.element],["e-lib"]),this.clearChanges(),this.modelObserver.destroy(),this.isDestroyed=!0},N);function N(M,t){this.isRendered=!1,this.isComplexArraySetter=!1,this.isServerRendered=!1,this.allowServerDataBinding=!0,this.isProtectedOnChange=!0,this.properties={},this.changedProperties={},this.oldProperties={},this.bulkChanges={},this.refreshing=!1,this.ignoreCollectionWatch=!1,this.finalUpdate=function(){},this.childChangedProperties={},this.modelObserver=new $M(this),Q(t)||(this.element="string"==typeof t?document.querySelector(t):t,U(this.element))||(this.isProtectedOnChange=!1,this.addInstance()),Q(M)||this.setProperties(M,!0),this.isDestroyed=!1}function Mt(M,t){var e,N="string"==typeof M?document.getElementById(M):M;if(N&&N.ej2_instances)for(e=0;e<N.ej2_instances.length;e++){var i=N.ej2_instances[parseInt(e.toString(),10)];if("string"==typeof t){if(t===i.getModuleName())return i}else if(i instanceof t)return i}}function tt(M,t,e,N){return Object.prototype.hasOwnProperty.call(M.properties,t)&&M.properties[""+t]instanceof N||(M.properties[""+t]=v(N,[M,t,e])),M.properties[""+t]}function et(M,t,e,N,i,g){for(var D=[],I=e?e.length:0,n=0;n<I;n++){var r,j=N;g&&(j=N(e[parseInt(n.toString(),10)],M)),i?((r=v(j,[M,t,{},!0])).setProperties(e[parseInt(n.toString(),10)],!0),D.push(r)):D.push(v(j,[M,t,e[parseInt(n.toString(),10)],!1]))}return D}function Nt(M,t){return function(){return Object.prototype.hasOwnProperty.call(this.properties,t)||(this.properties[""+t]=M),this.properties[""+t]}}function it(t,N,i){return function(){var e=this,M=(Object.prototype.hasOwnProperty.call(this.properties,N)||(M=et(this,N,t,i,!1),this.properties[""+N]=M),void 0!==this.controlParent&&this.controlParent.ignoreCollectionWatch||this.ignoreCollectionWatch);return Object.prototype.hasOwnProperty.call(this.properties[""+N],"push")||M||["push","pop"].forEach(function(M){var D,I,n,t={value:(D=M,I=N,n=e.properties[""+N],function(){for(var M=[],t=0;t<arguments.length;t++)M[t]=arguments[t];var e=this.propName?this.getParentKey()+"."+I+"-":I+"-";switch(D){case"push":for(var N=0;N<M.length;N++){var i=M[parseInt(N.toString(),10)],g=(Array.prototype[""+D].apply(n,[i]),gt(e+(n.length-1),i,!this.controlParent,D));this.serverDataBind(g,M[parseInt(N.toString(),10)],!1,D)}break;case"pop":Array.prototype[""+D].apply(n);g=gt(e+n.length,null,!this.controlParent,D);this.serverDataBind(g,{ejsAction:"pop"},!1,D)}return n}.bind(e)),configurable:!0};Object.defineProperty(e.properties[""+N],M,t)}),Object.prototype.hasOwnProperty.call(this.properties[""+N],"isComplexArray")||Object.defineProperty(this.properties[""+N],"isComplexArray",{value:!0}),this.properties[""+N]}}function gt(M,t,e,N){var i=M;return e&&((i={})[""+M]=t)&&"object"==typeof t&&(i[""+M].ejsAction=N),i}function e(g){return function(M,t){var e,N,i={set:function(M){var t;this.properties[""+N]!==M&&(t=Object.prototype.hasOwnProperty.call(this.properties,N)?this.properties[""+N]:e,this.saveChanges(N,M,t),this.properties[""+N]=M)},get:Nt(e=g,N=t),enumerable:!0,configurable:!0};Object.defineProperty(M,t,i),nt(M,t,"prop",g)}}function Dt(r,j){return function(M,t){var e,N,i,g,D,I,n={set:function(M){tt(this,D,g,I).setProperties(M)},get:(e=g=r,N=D=t,i=I=j,function(){return tt(this,N,e,i)}),enumerable:!0,configurable:!0};Object.defineProperty(M,t,n),nt(M,t,"complexProp",r,j)}}function D(){return function(M,N){var t={set:function(M){var t,e=this.properties[""+N];e!==M&&(t=function M(t,e){{var N;return!1===Object.prototype.hasOwnProperty.call(t,"parentObj")?{context:t,prefix:e}:((N=m("propName",t))&&(e=N+"-"+e),M(m("parentObj",t),e))}}(this,N),!1===Q(e)&&t.context.removeEventListener(t.prefix,e),t.context.addEventListener(t.prefix,M),this.properties[""+N]=M)},get:Nt(void 0,N),enumerable:!0,configurable:!0};Object.defineProperty(M,N,t),nt(M,N,"event")}}function It(M){}function nt(M,t,e,N,i){Q(M.propList)&&(M.propList={props:[],complexProps:[],colProps:[],events:[],propNames:[],complexPropNames:[],colPropNames:[],eventNames:[]}),M.propList[e+"s"].push({propertyName:t,defaultValue:N,type:i}),M.propList[e+"Names"].push(t)}function rt(M){if(Q(M.prototype.builderObject)){M.prototype.builderObject={properties:{},propCollections:[],add:function(){this.isPropertyArray=!0,this.propCollections.push(u({},this.properties,{}))}};for(var t=/complex/,e=0,N=Object.keys(M.prototype.propList);e<N.length;e++)for(var i=N[e],g=0,D=M.prototype.propList[""+i];g<D.length;g++)!function(e){t.test(i)?M.prototype.builderObject[e.propertyName]=function(M){var t={};return I(t,rt(e.type)),M(t),M=t.isPropertyArray?t.propCollections:u({},t.properties,{}),this.properties[e.propertyName]=M,t.properties={},t.propCollections=[],t.isPropertyArray=!1,this}:M.prototype.builderObject[e.propertyName]=function(M){return this.properties[e.propertyName]=M,this}}(D[g])}return M.prototype.builderObject}jt=function(M,t){return(jt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(M,t){M.__proto__=t}:function(M,t){for(var e in t)t.hasOwnProperty(e)&&(M[e]=t[e])}))(M,t)};var jt,ot,zt,j=function(M,t,e,N){var i,g=arguments.length,D=g<3?t:null===N?N=Object.getOwnPropertyDescriptor(t,e):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(M,t,e,N);else for(var I=M.length-1;0<=I;I--)(i=M[I])&&(D=(g<3?i(D):3<g?i(t,e,D):i(t,e))||D);return 3<g&&D&&Object.defineProperty(t,e,D),D},j=(function(M,t){function e(){this.constructor=M}jt(M,t),M.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}(o,ot=i),(zt=o).prototype.animate=function(M,t){var e=this.getModel(t=t||{});if("string"==typeof M)for(var N=0,i=Array.prototype.slice.call(JM(M,document));N<i.length;N++){var g=i[N];e.element=g,zt.delayAnimation(e)}else e.element=M,zt.delayAnimation(e)},o.stop=function(M,t){M.style.animation="",M.removeAttribute("e-animate");var e=M.getAttribute("e-animation-id");e&&(e=parseInt(e,10),cancelAnimationFrame(e),M.removeAttribute("e-animation-id")),t&&t.end&&t.end.call(this,t)},o.delayAnimation=function(M){"Disable"===h.animationMode||h.animationMode===h.GlobalAnimationMode.Disable?(M.begin&&M.begin.call(this,M),M.end&&M.end.call(this,M)):M.delay?setTimeout(function(){zt.applyAnimation(M)},M.delay):zt.applyAnimation(M)},o.applyAnimation=function(e){var N=this,i=e.timeStamp=0,g=0,D=0,I=e.duration,n=(e.element.setAttribute("e-animate","true"),function(M){try{var t;M?(D=0===D?M:D,e.timeStamp=M+e.timeStamp-D,D=M,!i&&e.begin&&e.begin.call(N,e),i+=1,t=e.timeStamp/i,e.timeStamp<I&&e.timeStamp+t<I&&e.element.getAttribute("e-animate")?(e.element.style.animation=e.name+" "+e.duration+"ms "+e.timingFunction,e.progress&&e.progress.call(N,e),requestAnimationFrame(n)):(cancelAnimationFrame(g),e.element.removeAttribute("e-animation-id"),e.element.removeAttribute("e-animate"),e.element.style.animation="",e.end&&e.end.call(N,e))):(g=requestAnimationFrame(n),e.element.setAttribute("e-animation-id",g.toString()))}catch(M){cancelAnimationFrame(g),e.element.removeAttribute("e-animation-id"),e.fail&&e.fail.call(N,M)}});n()},o.prototype.getModel=function(M){return{name:M.name||this.name,delay:M.delay||this.delay,duration:(void 0!==M.duration?M:this).duration,begin:M.begin||this.begin,end:M.end||this.end,fail:M.fail||this.fail,progress:M.progress||this.progress,timingFunction:this.easing[M.timingFunction]||M.timingFunction||this.easing[this.timingFunction]}},o.prototype.onPropertyChanged=function(M,t){},o.prototype.getModuleName=function(){return"animation"},o.prototype.destroy=function(){},j([e("FadeIn")],o.prototype,"name",void 0),j([e(400)],o.prototype,"duration",void 0),j([e("ease")],o.prototype,"timingFunction",void 0),j([e(0)],o.prototype,"delay",void 0),j([D()],o.prototype,"progress",void 0),j([D()],o.prototype,"begin",void 0),j([D()],o.prototype,"end",void 0),j([D()],o.prototype,"fail",void 0),zt=j([It],o));function o(M){M=ot.call(this,M,void 0)||this;return M.easing={ease:"cubic-bezier(0.250, 0.100, 0.250, 1.000)",linear:"cubic-bezier(0.250, 0.250, 0.750, 0.750)",easeIn:"cubic-bezier(0.420, 0.000, 1.000, 1.000)",easeOut:"cubic-bezier(0.000, 0.000, 0.580, 1.000)",easeInOut:"cubic-bezier(0.420, 0.000, 0.580, 1.000)",elasticInOut:"cubic-bezier(0.5,-0.58,0.38,1.81)",elasticIn:"cubic-bezier(0.17,0.67,0.59,1.81)",elasticOut:"cubic-bezier(0.7,-0.75,0.99,1.01)"},M}function Tt(M){var t,e,N,i=M.target,g=this.rippleOptions.selector,g=g?XM(i,g):i;!g||this.rippleOptions&&XM(i,this.rippleOptions.ignore)||(i=g.getBoundingClientRect(),N=M.pageX-document.body.scrollLeft,M=M.pageY-(!document.body.scrollTop&&document.documentElement?document.documentElement:document.body).scrollTop,t=Math.max(Math.abs(N-i.left),Math.abs(N-i.right)),e=Math.max(Math.abs(M-i.top),Math.abs(M-i.bottom)),e=2*(t=Math.sqrt(t*t+e*e))+"px",N=N-i.left-t,M=M-i.top-t,this.rippleOptions&&this.rippleOptions.isCenterRipple&&(M=N=0,e="100%"),g.classList.add("e-ripple"),i=c("div",{className:"e-ripple-element",styles:"width: "+e+";height: "+e+";left: "+N+"px;top: "+M+"px;transition-duration: "+this.rippleOptions.duration.toString()+"ms;"}),g.appendChild(i),window.getComputedStyle(i).getPropertyValue("opacity"),i.style.transform="scale(1)",g!==this.parent&&n.add(g,"mouseleave",at,{parent:this.parent,rippleOptions:this.rippleOptions}))}function ut(M){At(M,this)}function at(M){At(M,this)}function At(M,t){var e,N=t.rippleOptions.duration,i=M.target,g=t.rippleOptions.selector,D=g?XM(i,g):i;D&&-1!==D.className.indexOf("e-ripple")&&(g=JM(".e-ripple-element",D),(e=g[g.length-1])&&(e.style.opacity="0.5"),t.parent!==D&&n.remove(D,"mouseleave",at),setTimeout(function(){e&&e.parentNode&&e.parentNode.removeChild(e),D.getElementsByClassName("e-ripple-element").length||D.classList.remove("e-ripple"),t.done&&t.done(M)},N))}h.isRippleEnabled=!1,(Gt=h.GlobalAnimationMode||(h.GlobalAnimationMode={})).Default="Default",Gt.Enable="Enable",Gt.Disable="Disable";yt.prototype.inject=function(M,t){var e=M.length;if(0===e)this.clean();else{this.loadedModules.length&&this.clearUnusedModule(M);for(var N=0;N<e;N++)for(var i=M[parseInt(N.toString(),10)],g=0,D=t;g<D.length;g++){var I,n=D[g],r=i.member;n&&n.prototype.getModuleName()===i.member&&!this.isModuleLoaded(r)&&(I=v(n,i.args),r=this.getMemberName(r),i.isProperty?z(r,n,this.parent):z(r,I,this.parent),(n=i).member=r,this.loadedModules.push(n))}}},yt.prototype.clean=function(){for(var M=0,t=this.loadedModules;M<t.length;M++){var e=t[M];e.isProperty||m(e.member,this.parent).destroy()}this.loadedModules=[]},yt.prototype.getNonInjectedModules=function(M){var t=this;return M.filter(function(M){return!t.isModuleLoaded(M.member)})},yt.prototype.clearUnusedModule=function(M){for(var t=this,e=M.map(function