UNPKG

@syncfusion/ej2

Version:

A modern JavaScript UI toolkit that has been built from the ground up to be lightweight, responsive, modular and touch friendly. It is written in TypeScript and has no external dependencies.

10 lines 28.1 MB
/*! * filename: ej2.min.js * version : 31.1.22 * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under * applicable laws. */ var ej=function(u){"use strict";var A="ej2_instances",m=0,Y=!1;function f(e,t){return t.unshift(void 0),new(Function.prototype.bind.apply(e,t))}function y(t){var i,e=new Uint16Array(5),n=((window.msCrypto||window.crypto).getRandomValues(e),"ej2"+function(e){for(var t="",i=0;i<5;i++)t+=(i?",":"")+e[parseInt(i.toString(),10)];return t}(e)),o=function(e){e.source===window&&"string"==typeof e.data&&e.data.length<=32&&e.data===n&&(t(),i())};return window.addEventListener("message",o,!1),window.postMessage(n,window.location.origin),i=function(){window.removeEventListener("message",o),t=o=n=void 0}}function R(e,t){for(var i=t,n=e.replace(/\[/g,".").replace(/\]/g,"").split("."),o=0;o<n.length&&!ee(i);o++)i=i[n[parseInt(o.toString(),10)]];return i}function S(e,t,i){for(var n,o=e.replace(/\[/g,".").replace(/\]/g,"").split("."),e=i||{},r=e,s=o.length,a=0;a<s;a++)"__proto__"!==(n=o[parseInt(a.toString(),10)])&&"constructor"!==n&&"prototype"!==n&&(a+1===s?r[""+n]=void 0===t?{}:t:Ue(r[""+n])&&(r[""+n]={}),r=r[""+n]);return e}function C(e,t){delete e[""+t]}var w="undefined"!=typeof window?window:{};function v(e){return!Ue(e)&&e.constructor==={}.constructor}function T(e,t){return e[""+t]}function I(e,t){if(!Ue(t))for(var i=e,n=t,o=0,r=Object.keys(t);o<r.length;o++){var s=r[o];Ue(i.deepMerge)||-1===i.deepMerge.indexOf(s)||!v(n[""+s])&&!Array.isArray(n[""+s])?i[""+s]=n[""+s]:Te(i[""+s],i[""+s],n[""+s],!0)}}function Te(e,t,i,s){for(var a=e&&"object"==typeof e?e:{},n=arguments.length,o=[e,t,i,s],r=(s&&(n-=1),1);r<n;r++)!function(e){if(!o[parseInt(e.toString(),10)])return;var r=o[parseInt(e.toString(),10)];Object.keys(r).forEach(function(e){var t,i=a[""+e],n=r[""+e],o=Array.isArray(n)&&Array.isArray(i)&&n.length!==i.length,o=!Y||!(i instanceof Event||o);s&&o&&(v(n)||Array.isArray(n))?v(n)?(t=i||{},Array.isArray(t)&&Object.prototype.hasOwnProperty.call(t,"isComplexArray")?Te(t,{},n,s):a[""+e]=Te(t,{},n,s)):(t=Y?i&&Object.keys(n).length:i||[],a[""+e]=Te([],t,n,t&&t.length||n&&n.length)):a[""+e]=n})}(r);return a}function Ue(e){return null==e}function ee(e){return void 0===e}function P(e){return e+"_"+m++}function b(n,o){var r;return function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];clearTimeout(r),r=setTimeout(function(){return r=null,n.apply(e,t)},o)}}function D(e){var t=Object.prototype.toString;return"[object Array]"===t.call(e)&&"[object Object]"===t.call(e[0])}function M(e,t){return e===t||!(e===document||!e)&&M(e.parentNode,t)}function F(e){try{throw new Error(e)}catch(e){throw new Error(e.message+"\n"+e.stack)}}function L(e,t){var i=document.createElement("div"),n=[].slice.call(document.getElementsByTagName("head")[0].querySelectorAll("base, link, style")),o=[].slice.call(document.getElementsByTagName("body")[0].querySelectorAll("link, style"));if(o.length)for(var r=0,s=o.length;r<s;r++)n.push(o[parseInt(r.toString(),10)]);var a="";Ue(t)&&(t=window.open("","print","height=452,width=1024,tabbar=no")),i.appendChild(e.cloneNode(!0));for(var l=0,s=n.length;l<s;l++)a+=n[parseInt(l.toString(),10)].outerHTML;t.document.write("<!DOCTYPE html> <html><head>"+a+"</head><body>"+i.innerHTML+"<script> (function() { window.ready = true; })(); <\/script></body></html>"),t.document.close(),t.focus();var h=setInterval(function(){t.ready&&(t.print(),t.close(),clearInterval(h))},500);return t}function E(e){e+="";return e.match(/auto|cm|mm|in|px|pt|pc|%|em|ex|ch|rem|vw|vh|vmin|vmax/)?e:e+"px"}function O(){return Y}function N(e){return e instanceof Node||!Y||Ue(e.xPath)?e:document.evaluate(e.xPath,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}function _(e,t){e="string"==typeof e?document.querySelector(e):e;if(e[A])for(var i=0,n=e[A];i<n.length;i++){var o=n[i];if(o instanceof t)return o}return null}function K(){var e;if("undefined"!=typeof window)return e=new Uint16Array(5),(window.msCrypto||window.crypto).getRandomValues(e)}var J={latn:{_digits:"0123456789",_type:"numeric"}},X={decimal:".",group:",",percentSign:"%",plusSign:"+",minusSign:"-",infinity:"∞",nan:"NaN",exponential:"E"},Z=[0,1,2,3,4,5,6,7,8,9],$=(te.getMainObject=function(e,t){return R(Y?t:"main."+t,e)},te.getNumberingSystem=function(e){return R("supplemental.numberingSystems",e)||this.numberingSystems},te.reverseObject=function(e,t){for(var i={},n=0,o=t||Object.keys(e);n<o.length;n++){var r=o[n];Object.prototype.hasOwnProperty.call(i,e[""+r])||(i[e[""+r]]=r)}return i},te.getSymbolRegex=function(e){e=e.map(function(e){return e.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}).join("|");return new RegExp(e,"g")},te.getSymbolMatch=function(e){for(var t={},i=0,n=Object.keys(X);i<n.length;i++){var o=n[i];t[e[""+o]]=X[""+o]}return t},te.constructRegex=function(e){for(var t=e.length,i="",n=0;n<t;n++)i+=n!==t-1?e[parseInt(n.toString(),10)]+"|":e[parseInt(n.toString(),10)];return i},te.convertValueParts=function(e,t,i){return e.replace(t,function(e){return i[""+e]})},te.getDefaultNumberingSystem=function(e){var t={};return t.obj=R("numbers",e),t.nSystem=R("defaultNumberingSystem",t.obj),t},te.getCurrentNumericOptions=function(e,t,i,n){var o,r={},e=this.getDefaultNumberingSystem(e);return ee(e.nSystem)&&!n||ee(t=n?R("obj.mapperDigits",e):R(e.nSystem+"._digits",t))||(r.numericPair=this.reverseObject(t,Z),o=RegExp,r.numberParseRegex=new o(this.constructRegex(t),"g"),r.numericRegex="["+t[0]+"-"+t[9]+"]",i&&(r.numericRegex=t[0]+"-"+t[9],r.symbolNumberSystem=R(n?"numberSymbols":"symbols-numberSystem-"+e.nSystem,e.obj),r.symbolMatch=this.getSymbolMatch(r.symbolNumberSystem),r.numberSystem=e.nSystem)),r},te.getNumberMapper=function(e,t,i){var n={mapper:{}},e=this.getDefaultNumberingSystem(e);if(!ee(e.nSystem)){n.numberSystem=e.nSystem,n.numberSymbols=R("symbols-numberSystem-"+e.nSystem,e.obj),n.timeSeparator=R("timeSeparator",n.numberSymbols);var o=R(e.nSystem+"._digits",t);if(!ee(o))for(var r=0,s=Z;r<s.length;r++){var a=s[r];n.mapper[parseInt(a.toString(),10)]=o[parseInt(a.toString(),10)]}}return n},te.nPair="numericPair",te.nRegex="numericRegex",te.numberingSystems=J,te);function te(){}var ne={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$"};var he="USD",de=null,ce=null;function pe(e){he=e}function ge(e){de=e}function ue(e){ce=e}var Ae,me,fe,ye,Ce,we,ve,be,J=RegExp,Be={"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 Se(e,t,i,n,o){var r,i=i||"date";return o?r=De({skeleton:e},o).format||De({skeleton:"d"},"en-US").format:(-1!==me.basicPatterns.indexOf(e)?(r=R(i+"Formats."+e,t),"dateTime"===i&&(o=R("dateFormats."+e,t),i=R("timeFormats."+e,t),r=r.replace("{1}",o).replace("{0}",i))):r=R("dateTimeFormats.availableFormats."+e,t),ee(r)&&"yMd"===e&&(r="M/d/y")),r}function Ie(e,t,i,n){var o={},i=i||"gregorian";return o.parserObject=$.getMainObject(e,t)||(Y?me.blazorDefaultObject:me.defaultObject),n?o.numericObject=R("numbers",o.parserObject):(e=Y?"dates":"dates.calendars."+i,o.dateObject=R(e,o.parserObject)),o}function Ee(e,t,i,n){return R(e+"Formats-numberSystem-"+t+(n?".accounting":".standard"),i)||(n?R(e+"Formats-numberSystem-"+t+".standard",i):"")}function xe(e){var t=e.match(me.dateConverterMapper);return t&&Y?(t=3===t[0].length?"EEE":"EEEE",e.replace(me.dateConverterMapper,t)):e}function De(e,t){var i=e.format||e.skeleton,t=R((t||"en-US")+"."+i,Be);return(t=t||R("en-US."+i,Be))&&(t=xe(t),e.format=t.replace(/tt/,"a")),e}function Me(e){var t=e.match(me.formatRegex),i={},n=t[1].toUpperCase();return i.isAccount="A"===n,i.type=me.patternMatcher[""+n],1<e.length&&(i.fractionDigits=parseInt(t[2],10)),i}function ke(e,t,i,n){var o=n?{}:{nlead:"",nend:""},e=e.match(me.customRegex);return e&&(n||(o.nlead=Fe(e[1],i),o.nend=Fe(e[10],i),o.groupPattern=e[4]),n=e[7])&&t&&(Ue(i=n.match(fe))?o.minimumFraction=0:o.minimumFraction=i.length,o.maximumFraction=n.length-1),o}function Fe(e,t){return e?(e=e.replace(me.defaultCurrency,t),""===t?e.trim():e):""}function Qe(e,t,i,n){return!n&&(R("currencies."+t+(i?"."+i:".symbol"),e)||R("currencies."+t+".symbol-alt-narrow",e))||"$"}function Pe(e,t,i){var n,o,r={type:"decimal",minimumFractionDigits:0,maximumFractionDigits:0},s=e.match(me.customRegex);return Ue(s)||""===s[5]&&"N/A"!==e?r.type=void 0:(r.nlead=s[1],r.nend=s[10],n=!!(e=s[6]).match(/ $/g),o=-1!==e.replace(/ $/g,"").indexOf(" "),s=(r.useGrouping=-1!==e.indexOf(",")||o,e=e.replace(/,/g,""),e=/\s$/.test(e)?e.replace(/ /g,""):e,s[7]),-1!==e.indexOf("0")&&(r.minimumIntegerDigits=e.length-e.indexOf("0")),!Ue(s)&&(r.minimumFractionDigits=s.lastIndexOf("0"),r.maximumFractionDigits=s.lastIndexOf("#"),-1===r.minimumFractionDigits&&(r.minimumFractionDigits=0),-1===r.maximumFractionDigits||r.maximumFractionDigits<r.minimumFractionDigits)&&(r.maximumFractionDigits=r.minimumFractionDigits),Ue(t)?Te(r,Re([r.nlead,r.nend],"%","%")):(t.isCustomFormat=!0,Te(r,Re([r.nlead,r.nend],"$",t.currencySymbol)),r.isCurrency||Te(r,Re([r.nlead,r.nend],"%",t.percentSymbol))),Ue(i)||(e=Ee(r.type,t.numberMapper.numberSystem,i,!1),r.useGrouping&&(r.groupSeparator=o?" ":t.numberMapper.numberSymbols[ye[2]],r.groupData=de.getGroupingDetails(e.split(";")[0])),r.nlead=r.nlead.replace(/'/g,""),r.nend=n?" "+r.nend.replace(/'/g,""):r.nend.replace(/'/g,""))),r}function Re(e,t,i){for(var n={nlead:e[0],nend:e[1]},o=0;o<2;o++){var r=e[parseInt(o.toString(),10)],s=r.indexOf(t);if(-1!==s&&(s<r.indexOf("'")||s>r.lastIndexOf("'"))){n[""+be[parseInt(o.toString(),10)]]=r.substr(0,s)+i+r.substr(s+1),n[""+be[""+t]]=!0,n.type=n.isCurrency?"currency":"percent";break}}return n}function Le(e,t){var i;return e=-1!==e.indexOf(",")?(i=e.split(","))[0]+R("numberMapper.numberSymbols.group",t)+i[1].replace(".",R("numberMapper.numberSymbols.decimal",t)):e.replace(".",R("numberMapper.numberSymbols.decimal",t))}function Oe(e,t,i){e+=".";for(var n=0;n<t;n++)e+="0";if(t<i)for(var o=i-t,r=0;r<o;r++)e+="#";return e}function Ne(e,t){for(var e=e.split("."),i="",n=0;n<t;n++)i+="0";return e[1]?i+"."+e[1]:i}function He(e){var t=e.split("."),i=t[0],n=3-i.length%3;e="";for(var o=(i=(n&&1==n?"#":2==n?"##":"")+i).length-1;0<o;o-=3)e=","+i[o-2]+i[o-1]+i[parseInt(o.toString(),10)]+e;return e=e.slice(1),t[1]?e+"."+t[1]:e}(me=Ae=Ae||{}).negativeDataRegex=/^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,me.customRegex=/^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0# ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,me.latnParseRegex=/0|1|2|3|4|5|6|7|8|9/g,fe=/[0-9]/g,me.defaultCurrency="$",ye=["infinity","nan","group","decimal"],Ce=/G|M|L|H|c|'| a|yy|y|EEEE|E/g,we={G:"",M:"m",L:"m",H:"h",c:"d","'":'"'," a":" AM/PM",yy:"yy",y:"yyyy",EEEE:"dddd",E:"ddd"},me.dateConverterMapper=/dddd|ddd/gi,me.islamicRegex=/^islamic/,ve={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6},me.formatRegex=new J("(^[ncpae]{1})([0-1]?[0-9]|20)?$","i"),me.currencyFormatRegex=new J("(^[ca]{1})([0-1]?[0-9]|20)?$","i"),me.curWithoutNumberRegex=/(c|a)$/gi,be={$:"isCurrency","%":"isPercent","-":"isNegative",0:"nlead",1:"nend"},me.dateParseRegex=/([a-z])\1*|'([^']|'')+'|''|./gi,me.basicPatterns=["short","medium","long","full"],me.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"}}},me.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"}}},me.monthIndex={3:"abbreviated",4:"wide",5:"narrow",1:"abbreviated"},me.month="months",me.days="days",me.patternMatcher={C:"currency",P:"percent",N:"decimal",A:"currency",E:"scientific"},me.getResultantPattern=Se,me.getDependables=Ie,me.getSymbolPattern=Ee,me.ConvertDateToWeekFormat=xe,me.compareBlazorDateFormats=De,me.getProperNumericSkeleton=Me,me.getFormatData=ke,me.changeCurrencySymbol=Fe,me.getCurrencySymbol=Qe,me.customFormat=function(e,t,i){for(var n={},o=e.split(";"),r=["pData","nData","zeroData"],s=0;s<o.length;s++)n[""+r[parseInt(s.toString(),10)]]=Pe(o[parseInt(s.toString(),10)],t,i);return Ue(n.nData)&&(n.nData=Te({},n.pData),n.nData.nlead=Ue(t)?"-"+n.nData.nlead:t.minusSymbol+n.nData.nlead),n},me.customNumberFormat=Pe,me.isCurrencyPercent=Re,me.getDateSeparator=function(e){return(e=(R("dateFormats.short",e)||"").match(/[dM]([^dM])[dM]/i))?e[1]:"/"},me.getActualDateTimeFormat=function(e,t,i,n){var o,r=Ie(i,e,t.calendar),e=(t=Y?De(t,e):t).format||Se(t.skeleton,r.dateObject,t.type);return n&&(-1!==(e=e.replace(Ce,function(e){return we[""+e]})).indexOf("z")&&(t=e.match(/z/g).length,n=void 0,(o={timeZone:{}}).numMapper=$.getNumberMapper(r.parserObject,$.getNumberingSystem(i)),o.timeZone=R("dates.timeZoneNames",r.parserObject),i=(new Date).getTimezoneOffset(),r=(r=t<4?"+H;-H":o.timeZone.hourFormat).replace(/:/g,o.numMapper.timeSeparator),n=0===i?o.timeZone.gmtZeroFormat:(n=ce.getTimeZoneValue(i,r),o.timeZone.gmtFormat.replace(/\{0\}/,n)),e=e.replace(/[z]+/,'"'+n+'"')),e=e.replace(/ $/,"")),e},me.processSymbol=Le,me.getActualNumberFormat=function(e,t,i,n){var o,r,s,e=Ie(i,e,"",!0),a={custom:!0},l=e.numericObject,h={},d=(t.format||"").match(me.currencyFormatRegex),c=me.formatRegex.test(t.format)?Me(t.format||"N"):{},p={};return d&&(p.numberMapper=Y?Te({},e.numericObject):$.getNumberMapper(e.parserObject,$.getNumberingSystem(i),!0),i=Y?R("currencySymbol",e.numericObject):Qe(e.numericObject,t.currency||he,t.altSymbol),r=(e=(e=Ee("currency",p.numberMapper.numberSystem,e.numericObject,/a/i.test(t.format))).replace(/\u00A4/g,i)).split(";"),h.hasNegativePattern=!!Y||1<r.length,h.nData=Y?R(c.type+"nData",l):ke(r[1]||"-"+r[0],!0,i),h.pData=Y?R(c.type+"pData",l):ke(r[0],!1,i),d[2]||t.minimumFractionDigits||t.maximumFractionDigits||(o=ke(e.split(";")[0],!0,"",!0).minimumFraction)),me.formatRegex.test(t.format)||!t.format?(Te(a,Me(t.format||"N")),a.custom=!1,s="###0",(a.fractionDigits||t.minimumFractionDigits||t.maximumFractionDigits||o)&&(a.fractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits=a.fractionDigits),s=Oe(s,o||a.fractionDigits||t.minimumFractionDigits||0,t.maximumFractionDigits||0)),t.minimumIntegerDigits&&(s=Ne(s,t.minimumIntegerDigits)),t.useGrouping&&(s=He(s)),("currency"===a.type||a.type&&Y)&&(Y&&"currency"!==a.type&&(h.pData=R(a.type+"pData",l),h.nData=R(a.type+"nData",l)),c=s,s=h.pData.nlead+c+h.pData.nend,h.hasNegativePattern||Y)&&(s+=";"+h.nData.nlead+c+h.nData.nend),"percent"!==a.type||Y||(s+=" %")):s=t.format.replace(/'/g,'"'),s=0<Object.keys(p).length?n?s:Le(s,p):s},me.fractionDigitsPattern=Oe,me.minimumIntegerPattern=Ne,me.groupingPattern=He,me.getWeekData=function(e,t){var i="sun",t=R("supplemental.weekData.firstDay",t),e=(e=/en-/.test(e)?e.slice(3):e).slice(0,2).toUpperCase()+e.substr(2);return t&&(i=t[""+e]||t[e.slice(0,2)]||"sun"),ve[""+i]},me.replaceBlazorCurrency=function(e,t,i){var n=R(i||"",ne);if(t!==n)for(var o=0,r=e;o<r.length;o++){var s=r[o];s.nend=s.nend.replace(t,n),s.nlead=s.nlead.replace(t,n)}},me.getWeekOfYear=function(e,t){var i,n=new Date(e.getFullYear(),0,1),o=0<=(o=n.getDay())?o:o+7,n=Math.floor((e.getTime()-n.getTime()-6e4*(e.getTimezoneOffset()-n.getTimezoneOffset()))/864e5)+1;return o<4?52<(i=Math.floor((n+o-t-1)/7)+1)&&(i=(e=0<=(e=new Date(e.getFullYear()+1,0,1).getDay())?e:e+7)<4?1:53):i=Math.floor((n+o-t-1)/7),i};var Ve=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ge=(je.prototype.send=function(e){var i=this,n=(this.data=Ue(e)?this.data:e,{cancel:!1,httpRequest:null});return new Promise(function(e,t){i.httpRequest=new XMLHttpRequest,i.httpRequest.onreadystatechange=function(){i.stateChange(e,t)},Ue(i.onLoad)||(i.httpRequest.onload=i.onLoad),Ue(i.onProgress)||(i.httpRequest.onprogress=i.onProgress),Ue(i.onAbort)||(i.httpRequest.onabort=i.onAbort),Ue(i.onError)||(i.httpRequest.onerror=i.onError),Ue(i.onUploadProgress)||(i.httpRequest.upload.onprogress=i.onUploadProgress),i.httpRequest.open(i.type,i.url,i.mode),Ue(i.data)||null===i.contentType||i.httpRequest.setRequestHeader("Content-Type",i.contentType||"application/json; charset=utf-8"),i.beforeSend&&(n.httpRequest=i.httpRequest,i.beforeSend(n)),n.cancel||i.httpRequest.send(Ue(i.data)?null:i.data)})},je.prototype.successHandler=function(e){return this.onSuccess&&this.onSuccess(e,this),e},je.prototype.failureHandler=function(e){return this.onFailure&&this.onFailure(this.httpRequest),e},je.prototype.stateChange=function(e,t){var i=this.httpRequest.responseText;if(this.dataType&&"json"===this.dataType.toLowerCase())if(""===i)i=void 0;else try{i=JSON.parse(i)}catch(e){}4===this.httpRequest.readyState&&(200<=this.httpRequest.status&&this.httpRequest.status<=299||304===this.httpRequest.status?e(this.successHandler(i)):this.emitError?t(new Error(this.failureHandler(this.httpRequest.statusText))):e())},je.prototype.getResponseHeader=function(e){for(var t={},i=Ve.exec(this.httpRequest.getAllResponseHeaders());i;)t[i[1].toLowerCase()]=i[2],i=Ve.exec(this.httpRequest.getAllResponseHeaders());e=t[e.toLowerCase()];return Ue(e)?null:e},je);function je(e,t,i,n){this.mode=!0,this.emitError=!0,this.options={},"string"==typeof e?(this.url=e,this.type=t?t.toUpperCase():"GET",this.mode=!!Ue(i)||i):"object"==typeof e&&(this.options=e,I(this,this.options)),this.type=this.type?this.type.toUpperCase():"GET",this.contentType=void 0!==this.contentType?this.contentType:n}ze.prototype.send=function(e){var r=this,s={"application/json":"json","multipart/form-data":"formData","application/octet-stream":"blob","application/x-www-form-urlencoded":"formData"};try{Ue(this.fetchRequest)&&"GET"===this.type?this.fetchRequest=new Request(this.url,{method:this.type}):Ue(this.fetchRequest)&&(this.data=Ue(e)?this.data:e,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(e){if(r.triggerEvent(r.onLoad,e),!e.ok)throw e;for(var t="text",i=0,n=Object.keys(s);i<n.length;i++){var o=n[i];e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf(o)&&(t=s[o])}return e[t]()}).then(function(e){return r.triggerEvent(r.onSuccess,e,r),e}).catch(function(e){var t={};return r.emitError&&(r.triggerEvent(r.onFailure,e),t=Promise.reject(e)),t}))}catch(e){return e}},ze.prototype.triggerEvent=function(e,t,i){Ue(e)||"function"!=typeof e||e(t,i)};var Ye=ze;function ze(e,t,i){this.type="GET",this.emitError=!0,"string"==typeof e?(this.url=e,this.type=Ue(t)?this.type:t.toUpperCase(),this.contentType=i):v(e)&&0<Object.keys(e).length&&I(this,e),this.contentType=Ue(this.contentType)?"application/json; charset=utf-8":this.contentType}var We=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i,_e=/msie|trident/i,Ke=/Trident\/7\./,Je=/(ipad|iphone|ipod touch)/i,Xe=/(ipad|iphone|ipod touch);.*os 7_\d|(ipad|iphone|ipod touch);.*os 8_\d/i,qe=/android/i,Ze=/trident|windows phone|edge/i,$e=/(version)[ /]([\w.]+)/i,et={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},Q=("undefined"!=typeof window&&(window.browserDetails=window.browserDetails||{}),tt.extractBrowserDetail=function(){for(var e={culture:{}},t=[],i=0,n=Object.keys(et);i<n.length;i++){var o=n[i];if(t=tt.userAgent.match(et[""+o])){if(e.name="opr"===t[1].toLowerCase()?"opera":t[1].toLowerCase(),e.name="crios"===t[1].toLowerCase()?"chrome":e.name,e.version=t[2],e.culture.name=e.culture.language=navigator.language,tt.userAgent.match(Ke)){e.name="msie";break}o=tt.userAgent.match($e);"safari"===e.name&&o&&(e.version=o[2]);break}}return e},tt.getEvent=function(e){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 tt.isPointer?t[""+e].isPointer:tt.isTouch?t[""+e].isTouch+(tt.isDevice?"":" "+t[""+e].isDevice):t[""+e].isDevice},tt.getTouchStartEvent=function(){return tt.getEvent("start")},tt.getTouchEndEvent=function(){return tt.getEvent("end")},tt.getTouchMoveEvent=function(){return tt.getEvent("move")},tt.getTouchCancelEvent=function(){return tt.getEvent("cancel")},tt.isSafari=function(){return tt.isDevice&&tt.isIos&&tt.isTouch&&"undefined"!=typeof window&&-1===window.navigator.userAgent.toLowerCase().indexOf("iphone")&&-1<window.navigator.userAgent.toLowerCase().indexOf("safari")},tt.getValue=function(e,t){var i="undefined"!=typeof window?window.browserDetails:{};return"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints&&!0===tt.isTouch&&!et.CHROME.test(navigator.userAgent)&&(i.isIos=!0,i.isDevice=!0,i.isTouch=!0,i.isPointer=!0,i.isPointer="pointerEnabled"in window.navigator),"undefined"!=typeof window&&window.Capacitor&&"ios"===window.Capacitor.getPlatform()&&(i.isPointer=!1),void 0===i[""+e]?i[""+e]=t.test(tt.userAgent):i[""+e]},Object.defineProperty(tt,"userAgent",{get:function(){return tt.uA},set:function(e){tt.uA=e,window.browserDetails={}},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"info",{get:function(){return ee(window.browserDetails.info)?window.browserDetails.info=tt.extractBrowserDetail():window.browserDetails.info},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isIE",{get:function(){return tt.getValue("isIE",_e)},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isTouch",{get:function(){return ee(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(tt,"isPointer",{get:function(){return ee(window.browserDetails.isPointer)?window.browserDetails.isPointer="pointerEnabled"in window.navigator:window.browserDetails.isPointer},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isMSPointer",{get:function(){return ee(window.browserDetails.isMSPointer)?window.browserDetails.isMSPointer="msPointerEnabled"in window.navigator:window.browserDetails.isMSPointer},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isDevice",{get:function(){return tt.getValue("isDevice",We)},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isIos",{get:function(){return tt.getValue("isIos",Je)},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isIos7",{get:function(){return tt.getValue("isIos7",Xe)},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isAndroid",{get:function(){return tt.getValue("isAndroid",qe)},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isWebView",{get:function(){return ee(window.browserDetails.isWebView)&&(window.browserDetails.isWebView=!(ee(window.cordova)&&ee(window.PhoneGap)&&ee(window.phonegap)&&"object"!==window.forge)),window.browserDetails.isWebView},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"isWindows",{get:function(){return tt.getValue("isWindows",Ze)},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"touchStartEvent",{get:function(){return ee(window.browserDetails.touchStartEvent)?window.browserDetails.touchStartEvent=tt.getTouchStartEvent():window.browserDetails.touchStartEvent},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"touchMoveEvent",{get:function(){return ee(window.browserDetails.touchMoveEvent)?window.browserDetails.touchMoveEvent=tt.getTouchMoveEvent():window.browserDetails.touchMoveEvent},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"touchEndEvent",{get:function(){return ee(window.browserDetails.touchEndEvent)?window.browserDetails.touchEndEvent=tt.getTouchEndEvent():window.browserDetails.touchEndEvent},enumerable:!0,configurable:!0}),Object.defineProperty(tt,"touchCancelEvent",{get:function(){return ee(window.browserDetails.touchCancelEvent)?window.browserDetails.touchCancelEvent=tt.getTouchCancelEvent():window.browserDetails.touchCancelEvent},enumerable:!0,configurable:!0}),tt.uA="undefined"!=typeof navigator?navigator.userAgent:"",tt);function tt(){}it.addOrGetEventData=function(e){return"__eventList"in e?e.__eventList.events:(e.__eventList={},e.__eventList.events=[])},it.add=function(e,t,i,n,o){var r=it.addOrGetEventData(e),s=o?b(i,o):i;n&&(s=s.bind(n));for(var a=t.split(" "),l=0;l<a.length;l++)r.push({name:a[parseInt(l.toString(),10)],listener:i,debounce:s}),Q.isIE?e.addEventListener(a[parseInt(l.toString(),10)],s):e.addEventListener(a[parseInt(l.toString(),10)],s,{passive:!1});return s},it.remove=function(e,t,r){for(var s=it.addOrGetEventData(e),a=t.split(" "),i=0;i<a.length;i++)!function(i){var n,o=-1;s&&0!==s.length&&s.some(function(e,t){return e.name===a[parseInt(i.toString(),10)]&&e.listener===r&&(o=t,n=e.debounce,!0)}),-1!==o&&s.splice(o,1),n&&e.removeEventListener(a[parseInt(i.toString(),10)],n)}(i)},it.clearEvents=function(e){for(var t=it.addOrGetEventData(e),i=Te([],void 0,t),n=0;n<i.length;n++){var o=i[parseInt(n.toString(),10)];e.removeEventListener(o.name,o.debounce),t.shift()}},it.trigger=function(e,t,i){for(var n=0,o=it.addOrGetEventData(e);n<o.length;n++){var r=o[n];r.name===t&&r.debounce.call(this,i)}};var x=it;function it(){}var nt=function(){return(nt=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ot=/^svg|^path|^g/;function U(e,t){e=ot.test(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return void 0!==t&&(e.innerHTML=t.innerHTML||"",void 0!==t.className&&(e.className=t.className),void 0!==t.id&&(e.id=t.id),void 0!==t.styles&&(e.style.cssText=t.styles),void 0!==t.attrs)&&ct(e,t.attrs),e}function rt(e,t){var i=e.style.cssText.split(";").reduce(function(e,t){var t=t.split(":"),i=t[0],t=t[1];return i&&t&&(e[i.trim()]=t.trim()),e},{}),n=t.split(";").reduce(function(e,t){var t=t.split(":"),i=t[0],t=t[1];return i&&t&&(e[i.trim()]=t.trim()),e},{}),o=document.createElement("div");Object.keys(nt({},i,n)).forEach(function(e){o.style.setProperty(e,n[e]||i[e])}),e.style.cssText=o.style.cssText}function H(e,t){for(var i=st(t),n=RegExp,o=0,r=e;o<r.length;o++)for(var s=r[o],a=0,l=i;a<l.length;a++){var h,d=l[a];v(s)?Ue(h=R("attributes.className",s))?S("attributes.className",d,s):new n("\\b"+d+"\\b","i").test(h)||S("attributes.className",h+" "+d,s):s.classList.contains(d)||s.classList.add(d)}return e}function V(e,t){for(var i=st(t),n=0,o=e;n<o.length;n++){var r=o[n],s=v(r);if(s?R("attributes.className",r):""!==r.className)for(var a=0,l=i;a<l.length;a++){var h,d,c=l[a];s?(-1!==(d=(h=R("attributes.className",r).split(" ")).indexOf(c))&&h.splice(d,1),S("attributes.className",h.join(" "),r)):r.classList.remove(c)}}return e}function st(e){var t=[];return"string"==typeof e?t.push(e):t=e,t}function at(e){return""===e.style.visibility&&0<e.offsetWidth}function lt(e,t,i){for(var n=document.createDocumentFragment(),o=0,r=e;o<r.length;o++){var s=r[o];n.appendChild(s)}return t.insertBefore(n,t.firstElementChild),i&&dt(t),e}function ht(e,t,i){var n=document.createDocumentFragment();if(e instanceof NodeList)for(;0<e.length;)n.appendChild(e[0]);else for(var o=0,r=e;o<r.length;o++){var s=r[o];n.appendChild(s)}return t.appendChild(n),i&&dt(t),e}function dt(e){e.querySelectorAll("script").forEach(function(e){var t=document.createElement("script");t.text=e.innerHTML,document.head.appendChild(t),z(t)})}function z(e){var t=e.parentNode;if(t)return t.removeChild(e)}function re(e){var t=e.parentNode;x.clearEvents(e),t.removeChild(e)}function ct(e,t){for(var i=e,n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];v(i)?i.attributes[""+("tabindex"===r?"tabIndex":r)]=t[""+r]:i.setAttribute(r,t[""+r])}return i}function se(e,t,i){return void 0===t&&(t=document),e=gt(e),t.querySelector(e)}function pt(e,t,i){return void 0===t&&(t=document),e=gt(e),t.querySelectorAll(e)}function gt(e){var t=/(!|"|\$|%|&|'|\(|\)|\*|\/|:|;|<|=|\?|@|\]|\^|`|{|}|\||\+|~)/g;if(e.match(/#[0-9]/g)||e.match(t)){for(var i=e.split(","),n=0;n<i.length;n++){for(var o,r=i[parseInt(n.toString(),10)].split(" "),s=0;s<r.length;s++)-1<r[parseInt(s.toString(),10)].indexOf("#")&&(r[parseInt(s.toString(),10)].match(/\[.*\]/)||!(o=r[parseInt(s.toString(),10)].split("#"))[1].match(/^\d/)&&!o[1].match(t)||((o=r[parseInt(s.toString(),10)].split("."))[0]=o[0].replace(/#/,"[id='")+"']",r[parseInt(s.toString(),10)]=o.join(".")));i[parseInt(n.toString(),10)]=r.join(" ")}return i.join(",")}return e}function G(e,t){var i=e;if("function"==typeof i.closest)return i.closest(t);for(;i&&1===i.nodeType;){if(mt(i,t))return i;i=i.parentNode}return null}function ut(t,i){void 0!==i&&Object.keys(i).forEach(function(e){t.style[""+e]=i[""+e]})}function At(e,t,i){H([e],t),V([e],i)}function mt(e,t){var i=e.matches||e.msMatchesSelector||e.webkitMatchesSelector;return i?i.call(e,t):-1!==[].indexOf.call(document.querySelectorAll(t),e)}yt.prototype.on=function(e,t,i,n){Ue(t)||(i=i||this.context,this.notExist(e)?this.boundedEvents[""+e]=[{handler:t,context:i,id:n}]:Ue(n)?this.isHandlerPresent(this.boundedEvents[""+e],t)||this.boundedEvents[""+e].push({handler:t,context:i}):-1===this.ranArray.indexOf(n)&&(this.ranArray.push(n),this.boundedEvents[""+e].push({handler:t,context:i,id:n})))},yt.prototype.off=function(e,t,i){if(!this.notExist(e)){var n=R(e,this.boundedEvents);if(t){for(var o=0;o<n.length;o++)if(i){if(n[parseInt(o.toString(),10)].id===i){n.splice(o,1);var r=this.ranArray.indexOf(i);-1!==r&&this.ranArray.splice(r,1);break}}else if(t===n[parseInt(o.toString(),10)].handler){n.splice(o,1);break}}else delete this.boundedEvents[""+e]}},yt.prototype.notify=function(e,t,i,n){if(!this.notExist(e)){if(t&&(t.name=e),e=R(e,this.boundedEvents).slice(0),window.Blazor)return this.blazorCallback(e,t,i,n,0);for(var o=0,r=e;o<r.length;o++){var s=r[o];s.handler.call(s.context,t)}}i&&i.call(this,t)},yt.prototype.blazorCallback=function(t,i,n,o,r){var s=this,a=r===t.length-1;if(r<t.length){var l=t[parseInt(r.toString(),10)],e=l.handler.call(l.context,i);if(e&&"function"==typeof e.then){if(!n)return e;e.then(function(e){if(e="string"==typeof e&&s.isJson(e)?JSON.parse(e,s.dateReviver):e,Te(i,i,e,!0),!n||!a)return s.blazorCallback(t,i,n,o,r+1);n.call(l.context,i)}).catch(function(e){o&&o.call(l.context,"string"==typeof e&&s.isJson(e)?JSON.parse(e,s.dateReviver):e)})}else{if(!n||!a)return this.blazorCallback(t,i,n,o,r+1);n.call(l.context,i)}}},yt.prototype.dateReviver=function(e,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},yt.prototype.isJson=function(e){try{JSON.parse(e)}catch(e){return!1}return!0},yt.prototype.destroy=function(){this.boundedEvents=this.context=void 0},yt.prototype.offIntlEvents=function(){var e=this.boundedEvents.notifyExternalChange;if(e){for(var t=0;t<e.length;t++){var i=e[parseInt(t.toString(),10)].context;i&&i.detectFunction&&i.randomId&&i.isReactMock&&(this.off("notifyExternalChange",i.detectFunction,i.randomId),t--)}this.boundedEvents.notifyExternalChange.length||delete this.boundedEvents.notifyExternalChange}},yt.prototype.notExist=function(e){return!1===Object.prototype.hasOwnProperty.call(this.boundedEvents,e)||this.boundedEvents[""+e].length<=0},yt.prototype.isHandlerPresent=function(e,t){for(var i=0,n=e;i<n.length;i++)if(n[i].handler===t)return!0;return!1};var ft=yt;function yt(e){this.ranArray=[],this.boundedEvents={},Ue(e)||(this.context=e)}var Ct,wt=new RegExp("]"),vt=(bt.prototype.setProperties=function(e,t){var i=this.isProtectedOnChange;this.isProtectedOnChange=!!t,I(this,e),!0!==t?(I(this.changedProperties,e),this.dataBind()):Y&&this.isRendered&&this.serverDataBind(e),this.finalUpdate(),this.changedProperties={},this.oldProperties={},this.isProtectedOnChange=i},bt.callChildDataBind=function(e,t){for(var i=0,n=Object.keys(e);i<n.length;i++){var o=n[i];if(t[""+o]instanceof Array)for(var r=0,s=t[""+o];r<s.length;r++){var a=s[r];void 0!==a.dataBind&&a.dataBind()}else t[""+o].dataBind()}},bt.prototype.clearChanges=function(){this.finalUpdate(),this.changedProperties={},this.oldProperties={},this.childChangedProperties={}},bt.prototype.dataBind=function(){var e,t,i;bt.callChildDataBind(this.childChangedProperties,this),Object.getOwnPropertyNames(this.changedProperties).length&&(e=this.isProtectedOnChange,t=this.changedProperties,i=this.oldProperties,this.clearChanges(),this.isProtectedOnChange=!0,this.onPropertyChanged(t,i),this.isProtectedOnChange=e)},bt.prototype.serverDataBind=function(e){Y&&(Te(this.bulkChanges,{},e=e||{},!0),this.allowServerDataBinding)&&window.sfBlazor.updateModel&&(window.sfBlazor.updateModel(this),this.bulkChanges={})},bt.prototype.saveChanges=function(e,t,i){var n;Y&&((n={})[""+e]=t,this.serverDataBind(n)),this.isProtectedOnChange||(this.oldProperties[""+e]=i,this.changedProperties[""+e]=t,this.finalUpdate(),this.finalUpdate=y(this.dataBind.bind(this)))},bt.prototype.addEventListener=function(e,t){this.modelObserver.on(e,t)},bt.prototype.removeEventListener=function(e,t){this.modelObserver.off(e,t)},bt.prototype.trigger=function(e,t,i,n){var o,r,s,a=this;if(!0!==this.isDestroyed)return o=this.isProtectedOnChange,this.isProtectedOnChange=!1,r=this.modelObserver.notify(e,t,i,n),wt.test(e)&&((e=R(e,this))?window.Blazor?(s=e.call(this,t))&&"function"==typeof s.then?i?s.then(function(e){i&&(e="string"==typeof e&&a.modelObserver.isJson(e)?JSON.parse(e):e,i.call(a,e))}).catch(function(e){n&&(e="string"==typeof e&&a.modelObserver.isJson(e)?JSON.parse(e):e,n.call(a,e))}):r=s:i&&i.call(this,t):(e.call(this,t),i&&i.call(this,t)):i&&i.call(this,t)),this.isProtectedOnChange=o,r},bt.prototype.addInstance=function(){var e="e-"+this.getModuleName().toLowerCase();H([this.element],["e-lib",e]),Ue(this.element.ej2_instances)?S("ej2_instances",[this],this.element):this.element.ej2_instances.push(this)},bt.prototype.destroy=function(){var t=this;this.element.ej2_instances=this.element.ej2_instances?this.element.ej2_instances.filter(function(e){return Ct?Ct(e)!==Ct(t):e!==t}):[],V([this.element],["e-"+this.getModuleName()]),0===this.element.ej2_instances.length&&V([this.element],["e-lib"]),this.clearChanges(),this.modelObserver.destroy(),this.isDestroyed=!0},bt);function bt(e,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 ft(this),ee(t)||(this.element="string"==typeof t?document.querySelector(t):t,Ue(this.element))||(this.isProtectedOnChange=!1,this.addInstance()),ee(e)||this.setProperties(e,!0),this.isDestroyed=!1}function Bt(e,t){var i,n="string"==typeof e?document.getElementById(e):e;if(n&&n.ej2_instances)for(i=0;i<n.ej2_instances.length;i++){var o=n.ej2_instances[parseInt(i.toString(),10)];if("string"==typeof t){if(t===o.getModuleName())return o}else if(o instanceof t)return o}}function St(e,t,i,n){return Object.prototype.hasOwnProperty.call(e.properties,t)&&e.properties[""+t]instanceof n||(e.properties[""+t]=f(n,[e,t,i])),e.properties[""+t]}function It(e,t,i,n,o,r){for(var s=[],a=i?i.length:0,l=0;l<a;l++){var h,d=n;r&&(d=n(i[parseInt(l.toString(),10)],e)),o?((h=f(d,[e,t,{},!0])).setProperties(i[parseInt(l.toString(),10)],!0),s.push(h)):s.push(f(d,[e,t,i[parseInt(l.toString(),10)],!1]))}return s}function Et(e,t){return function(){return Object.prototype.hasOwnProperty.call(this.properties,t)||(this.properties[""+t]=e),this.properties[""+t]}}function xt(t,n,o){return function(){var i=this,e=(Object.prototype.hasOwnProperty.call(this.properties,n)||(e=It(this,n,t,o,!1),this.properties[""+n]=e),void 0!==this.controlParent&&this.controlParent.ignoreCollectionWatch||this.ignoreCollectionWatch);return Object.prototype.hasOwnProperty.call(this.properties[""+n],"push")||e||["push","pop"].forEach(function(e){var s,a,l,t={value:(s=e,a=n,l=i.properties[""+n],function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=this.propName?this.getParentKey()+"."+a+"-":a+"-";switch(s){case"push":for(var n=0;n<e.length;n++){var o=e[parseInt(n.toString(),10)],r=(Array.prototype[""+s].apply(l,[o]),Dt(i+(l.length-1),o,!this.controlParent,s));this.serverDataBind(r,e[parseInt(n.toString(),10)],!1,s)}break;case"pop":Array.prototype[""+s].apply(l);r=Dt(i+l.length,null,!this.controlParent,s);this.serverDataBind(r,{ejsAction:"pop"},!1,s)}return l}.bind(i)),configurable:!0};Object.defineProperty(i.properties[""+n],e,t)}),Object.prototype.hasOwnProperty.call(this.properties[""+n],"isComplexArray")||Object.defineProperty(this.properties[""+n],"isComplexArray",{value:!0}),this.properties[""+n]}}function Dt(e,t,i,n){var o=e;return i&&((o={})[""+e]=t)&&"object"==typeof t&&(o[""+e].ejsAction=n),o}function e(r){return function(e,t){var i,n,o={set:function(e){var t;this.properties[""+n]!==e&&(t=Object.prototype.hasOwnProperty.call(this.properties,n)?this.properties[""+n]:i,this.saveChanges(n,e,t),this.properties[""+n]=e)},get:Et(i=r,n=t),enumerable:!0,configurable:!0};Object.defineProperty(e,t,o),Qt(e,t,"prop",r)}}function t(h,d){return function(e,t){var i,n,o,r,s,a,l={set:function(e){St(this,s,r,a).setProperties(e)},get:(i=r=h,n=s=t,o=a=d,function(){return St(this,n,i,o)}),enumerable:!0,configurable:!0};Object.defineProperty(e,t,l),Qt(e,t,"complexProp",h,d)}}function Mt(h){return function(e,t){var i,n,o,r,s,a,l={set:(r={},function(e){var t=a(e,this);St(this,s,r,t).setProperties(e)}),get:(i={},n=s=t,o=a=h,function(){var e=o({});return Object.prototype.hasOwnProperty.call(this.properties,n)?this.properties[""+n]:St(this,n,i,e)}),enumerable:!0,configurable:!0};Object.defineProperty(e,t,l),Qt(e,t,"complexProp",{},h)}}function kt(s,a){return function(e,t){var i,n,o,r={set:function(e){this.isComplexArraySetter=!0;var t=It(this,n,i,o,!1),e=It(this,n,e,o,!0);this.isComplexArraySetter=!1,this.saveChanges(n,e,t),this.properties[""+n]=e},get:xt(i=s,n=t,o=a),enumerable:!0,configurable:!0};Object.defineProperty(e,t,r),Qt(e,t,"colProp",s,a)}}function Tt(h){return function(e,t){var i,n,o,r,s,a,l={set:(r=[],function(e){var t=Object.prototype.hasOwnProperty.call(this.properties,s)?this.properties[""+s]:r,e=It(this,s,e,a,!0,!0);this.saveChanges(s,e,t),this.properties[""+s]=e}),get:(i=[],n=s=t,o=a=h,function(){var e=o({});return Object.prototype.hasOwnProperty.call(this.properties,n)||(e=It(this,n,i,e,!1),this.properties[""+n]=e),this.properties[""+n]}),enumerable:!0,configurable:!0};Object.defineProperty(e,t,l),Qt(e,t,"colProp",{},h)}}function i(){return function(e,n){var t={set:function(e){var t,i=this.properties[""+n];i!==e&&(t=function e(t,i){{var n;return!1===Object.prototype.hasOwnProperty.call(t,"parentObj")?{context:t,prefix:i}:((n=R("propName",t))&&(i=n+"-"+i),e(R("parentObj",t),i))}}(this,n),!1===ee(i)&&t.context.removeEventListener(t.prefix,i),t.context.addEventListener(t.prefix,e),this.properties[""+n]=e)},get:Et(void 0,n),enumerable:!0,configurable:!0};Object.defineProperty(e,n,t),Qt(e,n,"event")}}function Ft(e){}function Qt(e,t,i,n,o){ee(e.propList)&&(e.propList={props:[],complexProps:[],colProps:[],events:[],propNames:[],complexPropNames:[],colPropNames:[],eventNames:[]}),e.propList[i+"s"].push({propertyName:t,defaultValue:n,type:o}),e.propList[i+"Names"].push(t)}function Pt(e){if(ee(e.prototype.builderObject)){e.prototype.builderObject={properties:{},propCollections:[],add:function(){this.isPropertyArray=!0,this.propCollections.push(Te({},this.properties,{}))}};for(var t=/complex/,i=0,n=Object.keys(e.prototype.propList);i<n.length;i++)for(var o=n[i],r=0,s=e.prototype.propList[""+o];r<s.length;r++)!function(i){t.test(o)?e.prototype.builderObject[i.propertyName]=function(e){var t={};return I(t,Pt(i.type)),e(t),e=t.isPropertyArray?t.propCollections:Te({},t.properties,{}),this.properties[i.propertyName]=e,t.properties={},t.propCollections=[],t.isPropertyArray=!1,this}:e.prototype.builderObject[i.propertyName]=function(e){return this.properties[i.propertyName]=e,this}}(s[r])}return e.prototype.builderObject}Rt=function(e,t){return(Rt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])}))(e,t)};var Rt,Lt,Ot,J=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(s=(r<3?o(s):3<r?o(t,i,s):o(t,i))||s);return 3<r&&s&&Object.defineProperty(t,i,s),s},Nt=(function(e,t){function i(){this.constructor=e}Rt(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(Ht,Lt=vt),(Ot=Ht).prototype.animate=function(e,t){var i=this.getModel(t=t||{});if("string"==typeof e)for(var n=0,o=Array.prototype.slice.call(pt(e,document));n<o.length;n++){var r=o[n];i.element=r,Ot.delayAnimation(i)}else i.element=e,Ot.delayAnimation(i)},Ht.stop=function(e,t){e.style.animation="",e.removeAttribute("e-animate");var i=e.getAttribute("e-animation-id");i&&(i=parseInt(i,10),cancelAnimationFrame(i),e.removeAttribute("e-animation-id")),t&&t.end&&t.end.call(this,t)},Ht.delayAnimation=function(e){"Disable"===zt||zt===Wt.Disable?(e.begin&&e.begin.call(this,e),e.end&&e.end.call(this,e)):e.delay?setTimeout(function(){Ot.applyAnimation(e)},e.delay):Ot.applyAnimation(e)},Ht.applyAnimation=function(i){var n=this,o=i.timeStamp=0,r=0,s=0,a=i.duration,l=(i.element.setAttribute("e-animate","true"),function(e){try{var t;e?(s=0===s?e:s,i.timeStamp=e+i.timeStamp-s,s=e,!o&&i.begin&&i.begin.call(n,i),o+=1,t=i.timeStamp/o,i.timeStamp<a&&i.timeStamp+t<a&&i.element.getAttribute("e-animate")?(i.element.style.animation=i.name+" "+i.duration+"ms "+i.timingFunction,i.progress&&i.progress.call(n,i),requestAnimationFrame(l)):(cancelAnimationFrame(r),i.element.removeAttribute("e-animation-id"),i.element.removeAttribute("e-animate"),i.element.style.animation="",i.end&&i.end.call(n,i))):(r=requestAnimationFrame(l),i.element.setAttribute("e-animation-