@syncfusion/ej2-base
Version:
A common package of Essential JS 2 base libraries, methods and class definitions
10 lines • 272 kB
JavaScript
/*!
* filename: ej2-base.min.js
* version : 33.1.45
* 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.
*/
!function(M,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SyncfusionBase=t():M.SyncfusionBase=t()}(self,()=>(()=>{"use strict";var M={d:(t,e)=>{for(var i in e)M.o(e,i)&&!M.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o:(M,t)=>Object.prototype.hasOwnProperty.call(M,t),r:M=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(M,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(M,"__esModule",{value:!0})}},t={};M.r(t),M.d(t,{Ajax:()=>J,Animation:()=>at,Base:()=>fM,Browser:()=>NM,ChildProperty:()=>pt,Collection:()=>et,CollectionFactory:()=>it,Complex:()=>Mt,ComplexFactory:()=>tt,Component:()=>Ce,CreateBuilder:()=>nt,Draggable:()=>Qe,Droppable:()=>ke,Event:()=>Nt,EventHandler:()=>gM,Fetch:()=>K,GlobalAnimationMode:()=>Et,HijriParser:()=>xt,Internationalization:()=>Xt,IntlBase:()=>G,KeyboardEvents:()=>Pe,L10n:()=>Fe,ModuleLoader:()=>St,NotifyPropertyChanges:()=>gt,Observer:()=>QM,Position:()=>Ue,Property:()=>qM,SanitizeHtmlHelper:()=>di,SwipeSettings:()=>He,Touch:()=>We,addClass:()=>oM,addInstance:()=>d,animationMode:()=>st,append:()=>TM,attributes:()=>sM,blazorCultureFormats:()=>Z,blazorTemplates:()=>yi,classList:()=>CM,cldrData:()=>Wt,cloneNode:()=>mM,closest:()=>LM,compareElementParent:()=>O,compile:()=>Ei,componentList:()=>Ne,containerObject:()=>j,containsClass:()=>dM,createElement:()=>nM,createInstance:()=>D,createLicenseOverlay:()=>Ae,debounce:()=>s,defaultCulture:()=>Jt,defaultCurrencyCode:()=>b,deleteObject:()=>o,detach:()=>AM,disableBlazorMode:()=>g,enableBlazorMode:()=>p,enableRipple:()=>Ot,enableRtl:()=>qt,enableVersionBasedPersistence:()=>pe,extend:()=>T,formatUnit:()=>S,getAttributeOrDefault:()=>SM,getComponent:()=>kM,getDefaultDateObject:()=>ee,getElement:()=>w,getEnumValue:()=>a,getInstance:()=>h,getNumberDependable:()=>te,getNumericObject:()=>Me,getRandomId:()=>si,getTemplateEngine:()=>xi,getUniqueID:()=>y,getValue:()=>n,getVersion:()=>ce,includeInnerHTML:()=>hM,initializeCSPTemplate:()=>Si,isBlazor:()=>C,isNullOrUndefined:()=>c,isObject:()=>z,isObjectArray:()=>l,isRippleEnabled:()=>lt,isUndefined:()=>A,isVisible:()=>aM,loadCldr:()=>$t,matches:()=>wM,merge:()=>u,onIntlChange:()=>Ht,pdfViewerSDKComponents:()=>ge,prepend:()=>uM,print:()=>x,proxyToRaw:()=>UM,queryParams:()=>E,registerLicense:()=>ae,remove:()=>yM,removeChildInstance:()=>bM,removeClass:()=>jM,resetBlazorTemplate:()=>Oi,rightToLeft:()=>Zt,rippleEffect:()=>ut,select:()=>EM,selectAll:()=>lM,setCulture:()=>Vt,setCurrencyCode:()=>_t,setDateFormat:()=>R,setDefaultCurrencyCode:()=>P,setGlobalAnimation:()=>Lt,setImmediate:()=>I,setNumberFormat:()=>F,setProxyToRaw:()=>vM,setStyleAttribute:()=>pM,setTemplateEngine:()=>Li,setValue:()=>r,siblings:()=>xM,spreadsheetEditorSDKComponents:()=>De,throwError:()=>L,uniqueID:()=>m,updateBlazorTemplate:()=>li,updateCSSText:()=>rM,validateLicense:()=>Te,versionBasedStatePersistence:()=>Se,wordEditorSDKComponents:()=>Ie});var e="ej2_instances",i=0,N=!1;function g(){N=!1}function D(M,t){var e=t;return e.unshift(void 0),new(Function.prototype.bind.apply(M,e))}function I(M){var t,e=new Uint16Array(5);(window.msCrypto||window.crypto).getRandomValues(e);var i="ej2"+function(M){for(var t="",e=0;e<5;e++)t+=(e?",":"")+M[parseInt(e.toString(),10)];return t}(e),N=function(e){e.source===window&&"string"==typeof e.data&&e.data.length<=32&&e.data===i&&(M(),t())};window.addEventListener("message",N,!1);var g=0===window.location.origin.indexOf("file://")?"*":window.location.origin;return window.postMessage(i,g),t=function(){window.removeEventListener("message",N),M=N=i=void 0}}function n(M,t){for(var e=t,i=M.replace(/\[/g,".").replace(/\]/g,"").split("."),N=0;N<i.length&&!A(e);N++)e=e[i[parseInt(N.toString(),10)]];return e}function r(M,t,e){var i,N,g=M.replace(/\[/g,".").replace(/\]/g,"").split("."),D=e||{},I=D,n=g.length;for(i=0;i<n;i++)"__proto__"!==(N=g[parseInt(i.toString(),10)])&&"constructor"!==N&&"prototype"!==N&&(i+1===n?I[""+N]=void 0===t?{}:t:c(I[""+N])&&(I[""+N]={}),I=I[""+N]);return D}function o(M,t){delete M[""+t]}var j="undefined"!=typeof window?window:{};function z(M){return!c(M)&&M.constructor==={}.constructor}function a(M,t){return M[""+t]}function u(M,t){if(!c(t))for(var e=M,i=t,N="deepMerge",g=0,D=Object.keys(t);g<D.length;g++){var I=D[g];c(e[""+N])||-1===e[""+N].indexOf(I)||!z(i[""+I])&&!Array.isArray(i[""+I])?e[""+I]=i[""+I]:T(e[""+I],e[""+I],i[""+I],!0)}}function T(M,t,e,i){var N=M&&"object"==typeof M?M:{},g=arguments.length,D=[M,t,e,i];i&&(g-=1);for(var I=function(M){if(!D[parseInt(M.toString(),10)])return"continue";var t=D[parseInt(M.toString(),10)];Object.keys(t).forEach(function(M){var e,g=N[""+M],D=t[""+M],I=Array.isArray(D)&&Array.isArray(g)&&D.length!==g.length,n=!C()||!(g instanceof Event||I);i&&n&&(z(D)||Array.isArray(D))?z(D)?(e=g||{},Array.isArray(e)&&Object.prototype.hasOwnProperty.call(e,"isComplexArray")?T(e,{},D,i):N[""+M]=T(e,{},D,i)):(e=C()?g&&Object.keys(D).length:g||[],N[""+M]=T([],e,D,e&&e.length||D&&D.length)):N[""+M]=D})},n=1;n<g;n++)I(n);return N}function c(M){return null==M}function A(M){return void 0===M}function y(M){return M+"_"+i++}function s(M,t){var e;return function(){for(var i=this,N=[],g=0;g<arguments.length;g++)N[g]=arguments[g];clearTimeout(e),e=setTimeout(function(){return e=null,M.apply(i,N)},t)}}function E(M){for(var t=[],e=0,i=Object.keys(M);e<i.length;e++){var N=i[e];t.push(encodeURIComponent(N)+"="+encodeURIComponent(""+M[""+N]))}return t.join("&")}function l(M){var t=Object.prototype.toString;return"[object Array]"===t.call(M)&&"[object Object]"===t.call(M[0])}function O(M,t){return M===t||!(M===document||!M)&&O(M.parentNode,t)}function L(M){try{throw new Error(M)}catch(M){throw new Error(M.message+"\n"+M.stack)}}function x(M,t){var e=document.createElement("div"),i=[].slice.call(document.getElementsByTagName("head")[0].querySelectorAll("base, link, style")),N=[].slice.call(document.getElementsByTagName("body")[0].querySelectorAll("link, style"));if(N.length)for(var g=0,D=N.length;g<D;g++)i.push(N[parseInt(g.toString(),10)]);var I="";c(t)&&(t=window.open("","print","height=452,width=1024,tabbar=no")),e.appendChild(M.cloneNode(!0));var n=0;for(D=i.length;n<D;n++)I+=i[parseInt(n.toString(),10)].outerHTML;t.document.write("<!DOCTYPE html> <html><head>"+I+"</head><body>"+e.innerHTML+"<script> (function() { window.ready = true; })(); <\/script></body></html>"),t.document.close(),t.focus();var r=setInterval(function(){t.ready&&(t.print(),t.close(),clearInterval(r))},500);return t}function S(M){var t=M+"";return t.match(/auto|cm|mm|in|px|pt|pc|%|em|ex|ch|rem|vw|vh|vmin|vmax/)?t:t+"px"}function p(){N=!0}function C(){return N}function w(M){var t="xPath";return M instanceof Node||!C()||c(M[""+t])?M:document.evaluate(M[""+t],document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}function h(M,t){var i="string"==typeof M?document.querySelector(M):M;if(i[""+e])for(var N=0,g=i[""+e];N<g.length;N++){var D=g[N];if(D instanceof t)return D}return null}function d(M,t){var i="string"==typeof M?document.querySelector(M):M;i[""+e]?i[""+e].push(t):i[""+e]=[t]}function m(){if("undefined"!=typeof window){var M=new Uint16Array(5);return(window.msCrypto||window.crypto).getRandomValues(M)}}var U={latn:{_digits:"0123456789",_type:"numeric"}},Q={decimal:".",group:",",percentSign:"%",plusSign:"+",minusSign:"-",infinity:"∞",nan:"NaN",exponential:"E"},Y=[0,1,2,3,4,5,6,7,8,9],f=function(){function M(){}return M.getMainObject=function(M,t){return n(C()?t:"main."+t,M)},M.getNumberingSystem=function(M){return n("supplemental.numberingSystems",M)||this.numberingSystems},M.reverseObject=function(M,t){for(var e={},i=0,N=t||Object.keys(M);i<N.length;i++){var g=N[i];Object.prototype.hasOwnProperty.call(e,M[""+g])||(e[M[""+g]]=g)}return e},M.getSymbolRegex=function(M){var t=M.map(function(M){return M.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}).join("|");return new RegExp(t,"g")},M.getSymbolMatch=function(M){for(var t={},e=0,i=Object.keys(Q);e<i.length;e++){var N=i[e];t[M[""+N]]=Q[""+N]}return t},M.constructRegex=function(M){for(var t=M.length,e="",i=0;i<t;i++)e+=i!==t-1?M[parseInt(i.toString(),10)]+"|":M[parseInt(i.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=n("numbers",M),t.nSystem=n("defaultNumberingSystem",t.obj),t},M.getCurrentNumericOptions=function(M,t,e,i){var N={},g=this.getDefaultNumberingSystem(M);if(!A(g.nSystem)||i){var D=i?n("obj.mapperDigits",g):n(g.nSystem+"._digits",t);if(!A(D)){N.numericPair=this.reverseObject(D,Y);var I=RegExp;N.numberParseRegex=new I(this.constructRegex(D),"g"),N.numericRegex="["+D[0]+"-"+D[9]+"]",e&&(N.numericRegex=D[0]+"-"+D[9],N.symbolNumberSystem=n(i?"numberSymbols":"symbols-numberSystem-"+g.nSystem,g.obj),N.symbolMatch=this.getSymbolMatch(N.symbolNumberSystem),N.numberSystem=g.nSystem)}}return N},M.getNumberMapper=function(M,t,e){var i={mapper:{}},N=this.getDefaultNumberingSystem(M);if(!A(N.nSystem)){i.numberSystem=N.nSystem,i.numberSymbols=n("symbols-numberSystem-"+N.nSystem,N.obj),i.timeSeparator=n("timeSeparator",i.numberSymbols);var g=n(N.nSystem+"._digits",t);if(!A(g))for(var D=0,I=Y;D<I.length;D++){var r=I[D];i.mapper[parseInt(r.toString(),10)]=g[parseInt(r.toString(),10)]}}return i},M.nPair="numericPair",M.nRegex="numericRegex",M.numberingSystems=U,M}(),k={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 b="USD",v=null,B=null;function P(M){b=M}function F(M){v=M}function R(M){B=M}var G,H=RegExp,Z={"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(M){M.negativeDataRegex=/^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,M.customRegex=/^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0# ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,M.latnParseRegex=/0|1|2|3|4|5|6|7|8|9/g;var t=/[0-9]/g;M.defaultCurrency="$";var e=["infinity","nan","group","decimal"],i=/G|M|L|H|c|'| a|B|yy|y|EEEE|E/g,N={G:"",M:"m",L:"m",H:"h",c:"d","'":'"'," a":" AM/PM",B:"AM/PM",yy:"yy",y:"yyyy",EEEE:"dddd",E:"ddd"};M.dateConverterMapper=/dddd|ddd/gi;M.islamicRegex=/^islamic/;var g={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};M.formatRegex=new H("(^[ncpae]{1})([0-1]?[0-9]|20)?$","i"),M.currencyFormatRegex=new H("(^[ca]{1})([0-1]?[0-9]|20)?$","i"),M.curWithoutNumberRegex=/(c|a)$/gi;var D={$:"isCurrency","%":"isPercent","-":"isNegative",0:"nlead",1:"nend"};function I(t,e,i,N,g){var D,I=i||"date";if(g)D=z({skeleton:t},g).format||z({skeleton:"d"},"en-US").format;else{if(-1!==M.basicPatterns.indexOf(t)){if(D=n(I+"Formats."+t,e),"dateTime"===I){var r=n("dateFormats."+t,e),o=n("timeFormats."+t,e);D=D.replace("{1}",r).replace("{0}",o)}}else D=n("dateTimeFormats.availableFormats."+t,e);A(D)&&"yMd"===t&&(D="M/d/y")}return D}function r(t,e,i,N){var g={},D=i||"gregorian";if(g.parserObject=f.getMainObject(t,e)||(C()?M.blazorDefaultObject:M.defaultObject),N)g.numericObject=n("numbers",g.parserObject);else{var I=C()?"dates":"dates.calendars."+D;g.dateObject=n(I,g.parserObject)}return g}function o(M,t,e,i){return n(M+"Formats-numberSystem-"+t+(i?".accounting":".standard"),e)||(i?n(M+"Formats-numberSystem-"+t+".standard",e):"")}function j(t){var e=t.match(M.dateConverterMapper);if(e&&C()){var i=3===e[0].length?"EEE":"EEEE";return t.replace(M.dateConverterMapper,i)}return t}function z(M,t){var e=M.format||M.skeleton,i=n((t||"en-US")+"."+e,Z);return i||(i=n("en-US."+e,Z)),i&&(i=j(i),M.format=i.replace(/tt/,"a")),M}function a(t){var e=t.match(M.formatRegex),i={},N=e[1].toUpperCase();return i.isAccount="A"===N,i.type=M.patternMatcher[""+N],t.length>1&&(i.fractionDigits=parseInt(e[2],10)),i}function u(e,i,N,g){var D=g?{}:{nlead:"",nend:""},I=e.match(M.customRegex);if(I){g||(D.nlead=y(I[1],N),D.nend=y(I[10],N),D.groupPattern=I[4]);var n=I[7];if(n&&i){var r=n.match(t);c(r)?D.minimumFraction=0:D.minimumFraction=r.length,D.maximumFraction=n.length-1}}return D}function y(t,e){return t?(t=t.replace(M.defaultCurrency,e),""===e?t.trim():t):""}function s(M,t,e,i){return i?"$":n("currencies."+t+(e?"."+e:".symbol"),M)||n("currencies."+t+".symbol-alt-narrow",M)||"$"}function E(t,i,N){var g={type:"decimal",minimumFractionDigits:0,maximumFractionDigits:0},D=t.match(M.customRegex);if(c(D)||""===D[5]&&"N/A"!==t)return g.type=void 0,g;g.nlead=D[1],g.nend=D[10];var I=D[6],n=!!I.match(/ $/g),r=-1!==I.replace(/ $/g,"").indexOf(" ");g.useGrouping=-1!==I.indexOf(",")||r,I=I.replace(/,/g,""),I=/\s$/.test(I)?I.replace(/ /g,""):I;var j=D[7];if(-1!==I.indexOf("0")&&(g.minimumIntegerDigits=I.length-I.indexOf("0")),c(j)||(g.minimumFractionDigits=j.lastIndexOf("0"),g.maximumFractionDigits=j.lastIndexOf("#"),-1===g.minimumFractionDigits&&(g.minimumFractionDigits=0),(-1===g.maximumFractionDigits||g.maximumFractionDigits<g.minimumFractionDigits)&&(g.maximumFractionDigits=g.minimumFractionDigits)),c(i)?T(g,l([g.nlead,g.nend],"%","%")):(i.isCustomFormat=!0,T(g,l([g.nlead,g.nend],"$",i.currencySymbol)),g.isCurrency||T(g,l([g.nlead,g.nend],"%",i.percentSymbol))),!c(N)){var z=o(g.type,i.numberMapper.numberSystem,N,!1);g.useGrouping&&(g.groupSeparator=r?" ":i.numberMapper.numberSymbols[e[2]],g.groupData=v.getGroupingDetails(z.split(";")[0])),g.nlead=g.nlead.replace(/'/g,""),g.nend=n?" "+g.nend.replace(/'/g,""):g.nend.replace(/'/g,"")}return g}function l(M,t,e){for(var i={nlead:M[0],nend:M[1]},N=0;N<2;N++){var g=M[parseInt(N.toString(),10)],I=g.indexOf(t);if(-1!==I&&(I<g.indexOf("'")||I>g.lastIndexOf("'"))){i[""+D[parseInt(N.toString(),10)]]=g.substr(0,I)+e+g.substr(I+1),i[""+D[""+t]]=!0,i.type=i.isCurrency?"currency":"percent";break}}return i}function O(M,t){if(-1!==M.indexOf(",")){var e=M.split(",");M=e[0]+n("numberMapper.numberSymbols.group",t)+e[1].replace(".",n("numberMapper.numberSymbols.decimal",t))}else M=M.replace(".",n("numberMapper.numberSymbols.decimal",t));return M}function L(M,t,e){M+=".";for(var i=0;i<t;i++)M+="0";if(t<e)for(var N=e-t,g=0;g<N;g++)M+="#";return M}function x(M,t){for(var e=M.split("."),i="",N=0;N<t;N++)i+="0";return e[1]?i+"."+e[1]:i}function S(M){var t=M.split("."),e=t[0],i=3-e.length%3;M="";for(var N=(e=(i&&1===i?"#":2===i?"##":"")+e).length-1;N>0;N-=3)M=","+e[N-2]+e[N-1]+e[parseInt(N.toString(),10)]+M;return M=M.slice(1),t[1]?M+"."+t[1]:M}M.dateParseRegex=/([a-z])\1*|'([^']|'')+'|''|./gi,M.basicPatterns=["short","medium","long","full"],M.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"}}},M.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"}}},M.monthIndex={3:"abbreviated",4:"wide",5:"narrow",1:"abbreviated"},M.month="months",M.days="days",M.patternMatcher={C:"currency",P:"percent",N:"decimal",A:"currency",E:"scientific"},M.getResultantPattern=I,M.getDependables=r,M.getSymbolPattern=o,M.ConvertDateToWeekFormat=j,M.compareBlazorDateFormats=z,M.getProperNumericSkeleton=a,M.getFormatData=u,M.changeCurrencySymbol=y,M.getCurrencySymbol=s,M.customFormat=function(M,t,e){for(var i={},N=M.split(";"),g=["pData","nData","zeroData"],D=0;D<N.length;D++)i[""+g[parseInt(D.toString(),10)]]=E(N[parseInt(D.toString(),10)],t,e);return c(i.nData)&&(i.nData=T({},i.pData),i.nData.nlead=c(t)?"-"+i.nData.nlead:t.minusSymbol+i.nData.nlead),i},M.customNumberFormat=E,M.isCurrencyPercent=l,M.getDateSeparator=function(M){var t=(n("dateFormats.short",M)||"").match(/[dM]([^dM])[dM]/i);return t?t[1]:"/"},M.getActualDateTimeFormat=function(M,t,e,g){var D=r(e,M,t.calendar);C()&&(t=z(t,M));var o=t.format||I(t.skeleton,D.dateObject,t.type);if(g){if(o=o.replace(i,function(M){return N[""+M]}),-1!==o.indexOf("z")){var j=o.match(/z/g).length,a=void 0,u={timeZone:{}};u.numMapper=f.getNumberMapper(D.parserObject,f.getNumberingSystem(e)),u.timeZone=n("dates.timeZoneNames",D.parserObject);var T=(new Date).getTimezoneOffset(),c=j<4?"+H;-H":u.timeZone.hourFormat;c=c.replace(/:/g,u.numMapper.timeSeparator),0===T?a=u.timeZone.gmtZeroFormat:(a=B.getTimeZoneValue(T,c),a=u.timeZone.gmtFormat.replace(/\{0\}/,a)),o=o.replace(/[z]+/,'"'+a+'"')}o=o.replace(/ $/,"")}return o},M.processSymbol=O,M.getActualNumberFormat=function(t,e,i,N){var g,D,I=r(i,t,"",!0),j={custom:!0},z=I.numericObject,c={},A=(e.format||"").match(M.currencyFormatRegex),y=M.formatRegex.test(e.format)?a(e.format||"N"):{},E={};if(A){E.numberMapper=C()?T({},I.numericObject):f.getNumberMapper(I.parserObject,f.getNumberingSystem(i),!0);var l=C()?n("currencySymbol",I.numericObject):s(I.numericObject,e.currency||b,e.altSymbol),p=o("currency",E.numberMapper.numberSystem,I.numericObject,/a/i.test(e.format)),w=(p=p.replace(/\u00A4/g,l)).split(";");c.hasNegativePattern=!!C()||w.length>1,c.nData=C()?n(y.type+"nData",z):u(w[1]||"-"+w[0],!0,l),c.pData=C()?n(y.type+"pData",z):u(w[0],!1,l),A[2]||e.minimumFractionDigits||e.maximumFractionDigits||(g=u(p.split(";")[0],!0,"",!0).minimumFraction)}if(M.formatRegex.test(e.format)||!e.format){if(T(j,a(e.format||"N")),j.custom=!1,D="###0",j.fractionDigits||e.minimumFractionDigits||e.maximumFractionDigits||g){j.fractionDigits&&(e.minimumFractionDigits=e.maximumFractionDigits=j.fractionDigits),D=L(D,g||j.fractionDigits||e.minimumFractionDigits||0,e.maximumFractionDigits||0)}if(e.minimumIntegerDigits&&(D=x(D,e.minimumIntegerDigits)),e.useGrouping&&(D=S(D)),"currency"===j.type||j.type&&C()){C()&&"currency"!==j.type&&(c.pData=n(j.type+"pData",z),c.nData=n(j.type+"nData",z));var h=D;D=c.pData.nlead+h+c.pData.nend,(c.hasNegativePattern||C())&&(D+=";"+c.nData.nlead+h+c.nData.nend)}"percent"!==j.type||C()||(D+=" %")}else D=e.format.replace(/'/g,'"');return Object.keys(E).length>0&&(D=N?D:O(D,E)),D},M.fractionDigitsPattern=L,M.minimumIntegerPattern=x,M.groupingPattern=S,M.getWeekData=function(M,t){var e="sun",i=n("supplemental.weekData.firstDay",t),N=M;return/en-/.test(N)&&(N=N.slice(3)),N=N.slice(0,2).toUpperCase()+N.substr(2),i&&(e=i[""+N]||i[N.slice(0,2)]||"sun"),g[""+e]},M.replaceBlazorCurrency=function(M,t,e){var i=n(e||"",k);if(t!==i)for(var N=0,g=M;N<g.length;N++){var D=g[N];D.nend=D.nend.replace(t,i),D.nlead=D.nlead.replace(t,i)}},M.getWeekOfYear=function(M,t){var e,i=new Date(M.getFullYear(),0,1),N=i.getDay();N=N>=0?N:N+7;var g=Math.floor((M.getTime()-i.getTime()-6e4*(M.getTimezoneOffset()-i.getTimezoneOffset()))/864e5)+1;if(N<4){if((e=Math.floor((g+N-t-1)/7)+1)>52){var D=new Date(M.getFullYear()+1,0,1).getDay();e=(D=D>=0?D:D+7)<4?1:53}}else e=Math.floor((g+N-t-1)/7);return e}}(G||(G={}));var W=/^(.*?):[ \t]*([^\r\n]*)$/gm,J=function(){function M(M,t,e,i){this.mode=!0,this.emitError=!0,this.options={},"string"==typeof M?(this.url=M,this.type=t?t.toUpperCase():"GET",this.mode=!!c(e)||e):"object"==typeof M&&(this.options=M,u(this,this.options)),this.type=this.type?this.type.toUpperCase():"GET",this.contentType=void 0!==this.contentType?this.contentType:i}return M.prototype.send=function(M){var t=this;this.data=c(M)?this.data:M;var e={cancel:!1,httpRequest:null};return new Promise(function(M,i){t.httpRequest=new XMLHttpRequest,t.httpRequest.onreadystatechange=function(){t.stateChange(M,i)},c(t.onLoad)||(t.httpRequest.onload=t.onLoad),c(t.onProgress)||(t.httpRequest.onprogress=t.onProgress),c(t.onAbort)||(t.httpRequest.onabort=t.onAbort),c(t.onError)||(t.httpRequest.onerror=t.onError),c(t.onUploadProgress)||(t.httpRequest.upload.onprogress=t.onUploadProgress),t.httpRequest.open(t.type,t.url,t.mode),c(t.data)||null===t.contentType||t.httpRequest.setRequestHeader("Content-Type",t.contentType||"application/json; charset=utf-8"),t.beforeSend&&(e.httpRequest=t.httpRequest,t.beforeSend(e)),e.cancel||t.httpRequest.send(c(t.data)?null:t.data)})},M.prototype.successHandler=function(M){return this.onSuccess&&this.onSuccess(M,this),M},M.prototype.failureHandler=function(M){return this.onFailure&&this.onFailure(this.httpRequest),M},M.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&&(this.httpRequest.status>=200&&this.httpRequest.status<=299||304===this.httpRequest.status?M(this.successHandler(e)):this.emitError?t(new Error(this.failureHandler(this.httpRequest.statusText))):M())},M.prototype.getResponseHeader=function(M){for(var t={},e=W.exec(this.httpRequest.getAllResponseHeaders());e;)t[e[1].toLowerCase()]=e[2],e=W.exec(this.httpRequest.getAllResponseHeaders());var i=t[M.toLowerCase()];return c(i)?null:i},M}(),K=function(){function M(M,t,e){this.type="GET",this.emitError=!0,"string"==typeof M?(this.url=M,this.type=c(t)?this.type:t.toUpperCase(),this.contentType=e):z(M)&&Object.keys(M).length>0&&u(this,M),this.contentType=c(this.contentType)?"application/json; charset=utf-8":this.contentType}return M.prototype.send=function(M){var t=this,e={"application/json":"json","multipart/form-data":"formData","application/octet-stream":"blob","application/x-www-form-urlencoded":"formData"};try{c(this.fetchRequest)&&"GET"===this.type?this.fetchRequest=new Request(this.url,{method:this.type}):c(this.fetchRequest)&&(this.data=c(M)?this.data:M,this.fetchRequest=new Request(this.url,{method:this.type,headers:{"Content-Type":this.contentType},body:this.data}));var i={cancel:!1,fetchRequest:this.fetchRequest};return this.triggerEvent(this.beforeSend,i),i.cancel?null:(this.fetchResponse=fetch(this.fetchRequest),this.fetchResponse.then(function(M){if(t.triggerEvent(t.onLoad,M),!M.ok)throw M;for(var i="text",N=0,g=Object.keys(e);N<g.length;N++){var D=g[N];M.headers.get("Content-Type")&&-1!==M.headers.get("Content-Type").indexOf(D)&&(i=e[D])}return M[i]()}).then(function(M){return t.triggerEvent(t.onSuccess,M,t),M}).catch(function(M){var e={};return t.emitError&&(t.triggerEvent(t.onFailure,M),e=Promise.reject(M)),e}))}catch(M){return M}},M.prototype.triggerEvent=function(M,t,e){c(M)||"function"!=typeof M||M(t,e)},M}(),X=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i,V=/msie|trident/i,_=/Trident\/7\./,$=/(ipad|iphone|ipod touch)/i,q=/(ipad|iphone|ipod touch);.*os 7_\d|(ipad|iphone|ipod touch);.*os 8_\d/i,MM=/android/i,tM=/trident|windows phone|edge/i,eM=/(version)[ /]([\w.]+)/i,iM={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};"undefined"!=typeof window&&(window.browserDetails=window.browserDetails||{});var NM=function(){function M(){}return M.extractBrowserDetail=function(){for(var t={culture:{}},e=[],i=0,N=Object.keys(iM);i<N.length;i++){var g=N[i];if(e=M.userAgent.match(iM[""+g])){if(t.name="opr"===e[1].toLowerCase()?"opera":e[1].toLowerCase(),t.name="crios"===e[1].toLowerCase()?"chrome":t.name,t.version=e[2],t.culture.name=t.culture.language=navigator.language,M.userAgent.match(_)){t.name="msie";break}var D=M.userAgent.match(eM);"safari"===t.name&&D&&(t.version=D[2]);break}}return t},M.getEvent=function(t){var e={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 M.isPointer?e[""+t].isPointer:M.isTouch?e[""+t].isTouch+(M.isDevice?"":" "+e[""+t].isDevice):e[""+t].isDevice},M.getTouchStartEvent=function(){return M.getEvent("start")},M.getTouchEndEvent=function(){return M.getEvent("end")},M.getTouchMoveEvent=function(){return M.getEvent("move")},M.getTouchCancelEvent=function(){return M.getEvent("cancel")},M.isSafari=function(){return M.isDevice&&M.isIos&&M.isTouch&&"undefined"!=typeof window&&-1===window.navigator.userAgent.toLowerCase().indexOf("iphone")&&window.navigator.userAgent.toLowerCase().indexOf("safari")>-1},M.getValue=function(t,e){var i="undefined"!=typeof window?window.browserDetails:{};return"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1&&!0===M.isTouch&&!iM.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[""+t]?i[""+t]=e.test(M.userAgent):i[""+t]},Object.defineProperty(M,"userAgent",{get:function(){return M.uA},set:function(t){M.uA=t,window.browserDetails={}},enumerable:!0,configurable:!0}),Object.defineProperty(M,"info",{get:function(){return A(window.browserDetails.info)?window.browserDetails.info=M.extractBrowserDetail():window.browserDetails.info},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isIE",{get:function(){return M.getValue("isIE",V)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isTouch",{get:function(){return A(window.browserDetails.isTouch)?window.browserDetails.isTouch="ontouchstart"in window.navigator||window&&window.navigator&&window.navigator.maxTouchPoints>0||"ontouchstart"in window:window.browserDetails.isTouch},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isPointer",{get:function(){return A(window.browserDetails.isPointer)?window.browserDetails.isPointer="pointerEnabled"in window.navigator:window.browserDetails.isPointer},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isMSPointer",{get:function(){return A(window.browserDetails.isMSPointer)?window.browserDetails.isMSPointer="msPointerEnabled"in window.navigator:window.browserDetails.isMSPointer},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isDevice",{get:function(){return M.getValue("isDevice",X)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isIos",{get:function(){return M.getValue("isIos",$)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isIos7",{get:function(){return M.getValue("isIos7",q)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isAndroid",{get:function(){return M.getValue("isAndroid",MM)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isWebView",{get:function(){return A(window.browserDetails.isWebView)?(window.browserDetails.isWebView=!(A(window.cordova)&&A(window.PhoneGap)&&A(window.phonegap)&&"object"!==window.forge),window.browserDetails.isWebView):window.browserDetails.isWebView},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isWindows",{get:function(){return M.getValue("isWindows",tM)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"touchStartEvent",{get:function(){return A(window.browserDetails.touchStartEvent)?window.browserDetails.touchStartEvent=M.getTouchStartEvent():window.browserDetails.touchStartEvent},enumerable:!0,configurable:!0}),Object.defineProperty(M,"touchMoveEvent",{get:function(){return A(window.browserDetails.touchMoveEvent)?window.browserDetails.touchMoveEvent=M.getTouchMoveEvent():window.browserDetails.touchMoveEvent},enumerable:!0,configurable:!0}),Object.defineProperty(M,"touchEndEvent",{get:function(){return A(window.browserDetails.touchEndEvent)?window.browserDetails.touchEndEvent=M.getTouchEndEvent():window.browserDetails.touchEndEvent},enumerable:!0,configurable:!0}),Object.defineProperty(M,"touchCancelEvent",{get:function(){return A(window.browserDetails.touchCancelEvent)?window.browserDetails.touchCancelEvent=M.getTouchCancelEvent():window.browserDetails.touchCancelEvent},enumerable:!0,configurable:!0}),M.uA="undefined"!=typeof navigator?navigator.userAgent:"",M}(),gM=function(){function M(){}return M.addOrGetEventData=function(M){return"__eventList"in M?M.__eventList.events:(M.__eventList={},M.__eventList.events=[])},M.add=function(t,e,i,N,g){var D,I=M.addOrGetEventData(t);D=g?s(i,g):i,N&&(D=D.bind(N));for(var n=e.split(" "),r=0;r<n.length;r++)I.push({name:n[parseInt(r.toString(),10)],listener:i,debounce:D}),NM.isIE?t.addEventListener(n[parseInt(r.toString(),10)],D):t.addEventListener(n[parseInt(r.toString(),10)],D,{passive:!1});return D},M.remove=function(t,e,i){for(var N=M.addOrGetEventData(t),g=e.split(" "),D=function(M){var e,D=-1;N&&0!==N.length&&N.some(function(t,N){return t.name===g[parseInt(M.toString(),10)]&&t.listener===i&&(D=N,e=t.debounce,!0)}),-1!==D&&N.splice(D,1),e&&t.removeEventListener(g[parseInt(M.toString(),10)],e)},I=0;I<g.length;I++)D(I)},M.clearEvents=function(t){for(var e=M.addOrGetEventData(t),i=T([],void 0,e),N=0;N<i.length;N++){var g=i[parseInt(N.toString(),10)];t.removeEventListener(g.name,g.debounce),e.shift()}},M.trigger=function(t,e,i){for(var N=0,g=M.addOrGetEventData(t);N<g.length;N++){var D=g[N];D.name===e&&D.debounce.call(this,i)}},M}(),DM=function(){return DM=Object.assign||function(M){for(var t,e=1,i=arguments.length;e<i;e++)for(var N in t=arguments[e])Object.prototype.hasOwnProperty.call(t,N)&&(M[N]=t[N]);return M},DM.apply(this,arguments)},IM=/^svg|^path|^g/;function nM(M,t){var e=IM.test(M)?document.createElementNS("http://www.w3.org/2000/svg",M):document.createElement(M);return void 0===t||(e.innerHTML=t.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&&sM(e,t.attrs)),e}function rM(M,t){var e=M.style.cssText.split(";").reduce(function(M,t){var e=t.split(":"),i=e[0],N=e[1];return i&&N&&(M[i.trim()]=N.trim()),M},{}),i=t.split(";").reduce(function(M,t){var e=t.split(":"),i=e[0],N=e[1];return i&&N&&(M[i.trim()]=N.trim()),M},{}),N=document.createElement("div");Object.keys(DM({},e,i)).forEach(function(M){N.style.setProperty(M,i[M]||e[M])}),M.style.cssText=N.style.cssText}function oM(M,t){for(var e=zM(t),i=RegExp,N=0,g=M;N<g.length;N++)for(var D=g[N],I=0,o=e;I<o.length;I++){var j=o[I];if(z(D)){var a=n("attributes.className",D);c(a)?r("attributes.className",j,D):new i("\\b"+j+"\\b","i").test(a)||r("attributes.className",a+" "+j,D)}else D.classList.contains(j)||D.classList.add(j)}return M}function jM(M,t){for(var e=zM(t),i=0,N=M;i<N.length;i++){var g=N[i],D=z(g);if(D?n("attributes.className",g):""!==g.className)for(var I=0,o=e;I<o.length;I++){var j=o[I];if(D){var a=n("attributes.className",g).split(" "),u=a.indexOf(j);-1!==u&&a.splice(u,1),r("attributes.className",a.join(" "),g)}else g.classList.remove(j)}}return M}function zM(M){var t=[];return"string"==typeof M?t.push(M):t=M,t}function aM(M){var t=M;return""===t.style.visibility&&t.offsetWidth>0}function uM(M,t,e){for(var i=document.createDocumentFragment(),N=0,g=M;N<g.length;N++){var D=g[N];i.appendChild(D)}return t.insertBefore(i,t.firstElementChild),e&&cM(t),M}function TM(M,t,e){var i=document.createDocumentFragment();if(M instanceof NodeList)for(;M.length>0;)i.appendChild(M[0]);else for(var N=0,g=M;N<g.length;N++){var D=g[N];i.appendChild(D)}return t.appendChild(i),e&&cM(t),M}function cM(M){M.querySelectorAll("script").forEach(function(M){var t=document.createElement("script");t.text=M.innerHTML,document.head.appendChild(t),AM(t)})}function AM(M){var t=M.parentNode;if(t)return t.removeChild(M)}function yM(M){var t=M.parentNode;gM.clearEvents(M),t.removeChild(M)}function sM(M,t){for(var e=M,i=0,N=Object.keys(t);i<N.length;i++){var g=N[i];if(z(e)){var D=g;"tabindex"===g&&(D="tabIndex"),e.attributes[""+D]=t[""+g]}else e.setAttribute(g,t[""+g])}return e}function EM(M,t,e){return void 0===t&&(t=document),M=OM(M),t.querySelector(M)}function lM(M,t,e){return void 0===t&&(t=document),M=OM(M),t.querySelectorAll(M)}function OM(M){if(-1!==M.indexOf("\\#"))return M;var t=/(!|"|\$|%|&|'|\(|\)|\*|\/|:|;|<|=|\?|@|\]|\^|`|{|}|\||\+|~)/g;if(M.match(/#[0-9]/g)||M.match(t)){for(var e=M.split(","),i=0;i<e.length;i++){for(var N=e[parseInt(i.toString(),10)].split(" "),g=0;g<N.length;g++)if(N[parseInt(g.toString(),10)].indexOf("#")>-1&&!N[parseInt(g.toString(),10)].match(/\[.*\]/)){var D=N[parseInt(g.toString(),10)].split("#");if(D[1].match(/^\d/)||D[1].match(t)){var I=N[parseInt(g.toString(),10)].split(".");I[0]=I[0].replace(/#/,"[id='")+"']",N[parseInt(g.toString(),10)]=I.join(".")}}e[parseInt(i.toString(),10)]=N.join(" ")}return e.join(",")}return M}function LM(M,t){var e=M;if("function"==typeof e.closest)return e.closest(t);for(;e&&1===e.nodeType;){if(wM(e,t))return e;e=e.parentNode}return null}function xM(M){for(var t=[],e=0,i=Array.prototype.slice.call(M.parentNode.childNodes);e<i.length;e++){var N=i[e];N.nodeType===Node.ELEMENT_NODE&&M!==N&&t.push(N)}return t}function SM(M,t,e){var i,N=z(M);return c(i=N?n("attributes."+t,M):M.getAttribute(t))&&e&&(N?M.attributes[""+t]=e:M.setAttribute(t,e.toString()),i=e),i}function pM(M,t){void 0!==t&&Object.keys(t).forEach(function(e){M.style[""+e]=t[""+e]})}function CM(M,t,e){oM([M],t),jM([M],e)}function wM(M,t){var e=M.matches||M.msMatchesSelector||M.webkitMatchesSelector;return e?e.call(M,t):-1!==[].indexOf.call(document.querySelectorAll(t),M)}function hM(M,t){M.innerHTML=t}function dM(M,t){return z(M)?new RegExp("\\b"+t+"\\b","i").test(M.attributes.className):M.classList.contains(t)}function mM(M,t){return z(M)?t?T({},{},M,!0):void 0:M.cloneNode(t)}var UM,QM=function(){function M(M){this.ranArray=[],this.boundedEvents={},c(M)||(this.context=M)}return M.prototype.on=function(M,t,e,i){if(!c(t)){var N=e||this.context;this.notExist(M)?this.boundedEvents[""+M]=[{handler:t,context:N,id:i}]:c(i)?this.isHandlerPresent(this.boundedEvents[""+M],t)||this.boundedEvents[""+M].push({handler:t,context:N}):-1===this.ranArray.indexOf(i)&&(this.ranArray.push(i),this.boundedEvents[""+M].push({handler:t,context:N,id:i}))}},M.prototype.off=function(M,t,e){if(!this.notExist(M)){var i=n(M,this.boundedEvents);if(t){for(var N=0;N<i.length;N++)if(e){if(i[parseInt(N.toString(),10)].id===e){i.splice(N,1);var g=this.ranArray.indexOf(e);-1!==g&&this.ranArray.splice(g,1);break}}else if(t===i[parseInt(N.toString(),10)].handler){i.splice(N,1);break}}else delete this.boundedEvents[""+M]}},M.prototype.notify=function(M,t,e,i){if(this.notExist(M))e&&e.call(this,t);else{t&&(t.name=M);var N=n(M,this.boundedEvents).slice(0);if(window.Blazor)return this.blazorCallback(N,t,e,i,0);for(var g=0,D=N;g<D.length;g++){var I=D[g];I.handler.call(I.context,t)}e&&e.call(this,t)}},M.prototype.blazorCallback=function(M,t,e,i,N){var g=this,D=N===M.length-1;if(N<M.length){var I=M[parseInt(N.toString(),10)],n=I.handler.call(I.context,t);if(n&&"function"==typeof n.then){if(!e)return n;n.then(function(n){if(n="string"==typeof n&&g.isJson(n)?JSON.parse(n,g.dateReviver):n,T(t,t,n,!0),!e||!D)return g.blazorCallback(M,t,e,i,N+1);e.call(I.context,t)}).catch(function(M){i&&i.call(I.context,"string"==typeof M&&g.isJson(M)?JSON.parse(M,g.dateReviver):M)})}else{if(!e||!D)return this.blazorCallback(M,t,e,i,N+1);e.call(I.context,t)}}},M.prototype.dateReviver=function(M,t){return C&&"string"==typeof t&&null!==t.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/)?new Date(t):t},M.prototype.isJson=function(M){try{JSON.parse(M)}catch(M){return!1}return!0},M.prototype.destroy=function(){this.boundedEvents=this.context=void 0},M.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}},M.prototype.notExist=function(M){return!1===Object.prototype.hasOwnProperty.call(this.boundedEvents,M)||this.boundedEvents[""+M].length<=0},M.prototype.isHandlerPresent=function(M,t){for(var e=0,i=M;e<i.length;e++){if(i[e].handler===t)return!0}return!1},M}(),YM=new RegExp("]"),fM=function(){function M(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 QM(this),A(t)||(this.element="string"==typeof t?document.querySelector(t):t,c(this.element)||(this.isProtectedOnChange=!1,this.addInstance())),A(M)||this.setProperties(M,!0),this.isDestroyed=!1}return M.prototype.setProperties=function(M,t){var e=this.isProtectedOnChange;this.isProtectedOnChange=!!t,u(this,M),!0!==t?(u(this.changedProperties,M),this.dataBind()):C()&&this.isRendered&&this.serverDataBind(M),this.finalUpdate(),this.changedProperties={},this.oldProperties={},this.isProtectedOnChange=e},M.callChildDataBind=function(M,t){for(var e=0,i=Object.keys(M);e<i.length;e++){var N=i[e];if(t[""+N]instanceof Array)for(var g=0,D=t[""+N];g<D.length;g++){var I=D[g];void 0!==I.dataBind&&I.dataBind()}else t[""+N].dataBind()}},M.prototype.clearChanges=function(){this.finalUpdate(),this.changedProperties={},this.oldProperties={},this.childChangedProperties={}},M.prototype.dataBind=function(){if(M.callChildDataBind(this.childChangedProperties,this),Object.getOwnPropertyNames(this.changedProperties).length){var t=this.isProtectedOnChange,e=this.changedProperties,i=this.oldProperties;this.clearChanges(),this.isProtectedOnChange=!0,this.onPropertyChanged(e,i),this.isProtectedOnChange=t}},M.prototype.serverDataBind=function(M){if(C()){M=M||{},T(this.bulkChanges,{},M,!0);var t="sfBlazor";this.allowServerDataBinding&&window[""+t].updateModel&&(window[""+t].updateModel(this),this.bulkChanges={})}},M.prototype.saveChanges=function(M,t,e){if(C()){var i={};i[""+M]=t,this.serverDataBind(i)}this.isProtectedOnChange||(this.oldProperties[""+M]=e,this.changedProperties[""+M]=t,this.finalUpdate(),this.finalUpdate=I(this.dataBind.bind(this)))},M.prototype.addEventListener=function(M,t){this.modelObserver.on(M,t)},M.prototype.removeEventListener=function(M,t){this.modelObserver.off(M,t)},M.prototype.trigger=function(M,t,e,i){var N=this;if(!0!==this.isDestroyed){var g=this.isProtectedOnChange;this.isProtectedOnChange=!1;var D=this.modelObserver.notify(M,t,e,i);if(YM.test(M)){var I=n(M,this);if(I){if(window.Blazor){var r=I.call(this,t);r&&"function"==typeof r.then?e?r.then(function(M){e&&(M="string"==typeof M&&N.modelObserver.isJson(M)?JSON.parse(M):M,e.call(N,M))}).catch(function(M){i&&(M="string"==typeof M&&N.modelObserver.isJson(M)?JSON.parse(M):M,i.call(N,M))}):D=r:e&&e.call(this,t)}else I.call(this,t),e&&e.call(this,t)}else e&&e.call(this,t)}return this.isProtectedOnChange=g,D}},M.prototype.addInstance=function(){var M="e-"+this.getModuleName().toLowerCase();oM([this.element],["e-lib",M]),c(this.element.ej2_instances)?r("ej2_instances",[this],this.element):this.element.ej2_instances.push(this)},M.prototype.destroy=function(){var M=this;this.element.ej2_instances=this.element.ej2_instances?this.element.ej2_instances.filter(function(t){return UM?UM(t)!==UM(M):t!==M}):[],jM([this.element],["e-"+this.getModuleName()]),0===this.element.ej2_instances.length&&jM([this.element],["e-lib"]),this.clearChanges(),this.modelObserver.destroy(),this.isDestroyed=!0},M}();function kM(M,t){var e,i,N="string"==typeof M?document.getElementById(M):M;if(N&&N.ej2_instances)for(i=0;i<N.ej2_instances.length;i++){if(e=N.ej2_instances[parseInt(i.toString(),10)],"string"==typeof t){if(t===e.getModuleName())return e}else if(e instanceof t)return e}}function bM(M){for(var t=[].slice.call(M.getElementsByClassName("e-control")),e=0;e<t.length;e++){var i=t[parseInt(e.toString(),10)].classList[1].split("e-")[1],N=kM(t[parseInt(e.toString(),10)],i);A(N)||N.destroy()}}var vM=function(M){UM=M};function BM(M,t,e,i){return Object.prototype.hasOwnProperty.call(M.properties,t)&&M.properties[""+t]instanceof i||(M.properties[""+t]=D(i,[M,t,e])),M.properties[""+t]}function PM(M,t,e,i,N,g){for(var I=[],n=e?e.length:0,r=0;r<n;r++){var o=i;if(g&&(o=i(e[parseInt(r.toString(),10)],M)),N){var j=D(o,[M,t,{},!0]);j.setProperties(e[parseInt(r.toString(),10)],!0),I.push(j)}else I.push(D(o,[M,t,e[parseInt(r.toString(),10)],!1]))}return I}function FM(M,t){return function(){return Object.prototype.hasOwnProperty.call(this.properties,t)||(this.properties[""+t]=M),this.properties[""+t]}}function RM(M,t){return function(e){if(this.properties[""+t]!==e){var i=Object.prototype.hasOwnProperty.call(this.properties,t)?this.properties[""+t]:M;this.saveChanges(t,e,i),this.properties[""+t]=e}}}function GM(M,t,e){return function(){return BM(this,t,M,e)}}function HM(M,t,e){return function(i){BM(this,t,M,e).setProperties(i)}}function ZM(M,t,e){return function(){var i=e({});return Object.prototype.hasOwnProperty.call(this.properties,t)?this.properties[""+t]:BM(this,t,M,i)}}function WM(M,t,e){return function(i){var N=e(i,this);BM(this,t,M,N).setProperties(i)}}function JM(M,t,e){return function(){var i=this;if(!Object.prototype.hasOwnProperty.call(this.properties,t)){var N=PM(this,t,M,e,!1);this.properties[""+t]=N}var g=void 0!==this.controlParent&&this.controlParent.ignoreCollectionWatch||this.ignoreCollectionWatch;return Object.prototype.hasOwnProperty.call(this.properties[""+t],"push")||g||["push","pop"].forEach(function(M){var N={value:_M(M,t,e,i.properties[""+t]).bind(i),configurable:!0};Object.defineProperty(i.properties[""+t],M,N)}),Object.prototype.hasOwnProperty.call(this.properties[""+t],"isComplexArray")||Object.defineProperty(this.properties[""+t],"isComplexArray",{value:!0}),this.properties[""+t]}}function KM(M,t,e){return function(i){this.isComplexArraySetter=!0;var N=PM(this,t,M,e,!1),g=PM(this,t,i,e,!0);this.isComplexArraySetter=!1,this.saveChanges(t,g,N),this.properties[""+t]=g}}function XM(M,t,e){return function(i){var N=Object.prototype.hasOwnProperty.call(this.properties,t)?this.properties[""+t]:M,g=PM(this,t,i,e,!0,!0);this.saveChanges(t,g,N),this.properties[""+t]=g}}function VM(M,t,e){return function(){var i=e({});if(!Object.prototype.hasOwnProperty.call(this.properties,t)){var N=PM(this,t,M,i,!1);this.properties[""+t]=N}return this.properties[""+t]}}function _M(M,t,e,i){return function(){for(var e=[],N=0;N<arguments.length;N++)e[N]=arguments[N];var g=this.propName?this.getParentKey()+"."+t+"-":t+"-";switch(M){case"push":for(var D=0;D<e.length;D++){var I=e[parseInt(D.toString(),10)];Array.prototype[""+M].apply(i,[I]);var