@syncfusion/ej2-base
Version:
A common package of Essential JS 2 base libraries, methods and class definitions
10 lines • 197 kB
JavaScript
/*!
* filename: ej2-base.umd.min.js
* version : 21.1.35
* Copyright Syncfusion Inc. 2001 - 2020. 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(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.ej={})}(this,function(e){"use strict";function t(e,t){var M=t;return M.unshift(void 0),new(Function.prototype.bind.apply(e,M))}function M(e){var t,M=new Uint16Array(5);(window.msCrypto||window.crypto).getRandomValues(M);var i="ej2"+function(e){for(var t="",M=0;M<5;M++)t+=(M?",":"")+e[parseInt(M.toString(),10)];return t}(M),n=function(M){M.source===window&&"string"==typeof M.data&&M.data.length<=32&&M.data===i&&(e(),t())};return window.addEventListener("message",n,!1),window.postMessage(i,"*"),t=function(){window.removeEventListener("message",n),e=n=i=void 0}}function i(e,t){for(var M=t,i=e.replace(/\[/g,".").replace(/\]/g,"").split("."),n=0;n<i.length&&!u(M);n++)M=M[i[parseInt(n.toString(),10)]];return M}function n(e,t,M){var i,n,r=e.replace(/\[/g,".").replace(/\]/g,"").split("."),o=M||{},a=o,s=r.length;for(i=0;i<s;i++)n=r[parseInt(i.toString(),10)],i+1===s?a[""+n]=void 0===t?{}:t:N(a[""+n])&&(a[""+n]={}),a=a[""+n];return o}function r(e,t){delete e[""+t]}function o(e){return!N(e)&&e.constructor==={}.constructor}function a(e,t){if(!N(t))for(var M=e,i=t,n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];N(M.deepMerge)||-1===M.deepMerge.indexOf(a)||!o(i[""+a])&&!Array.isArray(i[""+a])?M[""+a]=i[""+a]:s(M[""+a],M[""+a],i[""+a],!0)}}function s(e,t,M,i){var n=e&&"object"==typeof e?e:{},r=arguments.length;i&&(r-=1);for(var a=function(e){if(!N[e])return"continue";var t=N[e];Object.keys(t).forEach(function(e){var M,r=n[""+e],a=t[""+e],N=Array.isArray(a)&&Array.isArray(r)&&a.length!==r.length,u=!D()||!(r instanceof Event||N);i&&u&&(o(a)||Array.isArray(a))?o(a)?(M=r||{},Array.isArray(M)&&M.hasOwnProperty("isComplexArray")?s(M,{},a,i):n[""+e]=s(M,{},a,i)):(M=D()?r&&Object.keys(a).length:r||[],n[""+e]=s([],M,a,M&&M.length||a&&a.length)):n[""+e]=a})},N=arguments,u=1;u<r;u++)a(u);return n}function N(e){return void 0===e||null===e}function u(e){return void 0===e}function c(e,t){var M;return function(){var i=this,n=arguments;clearTimeout(M),M=setTimeout(function(){return M=null,e.apply(i,n)},t)}}function g(e,t){var M=e;return M===t||!(M===document||!M)&&g(M.parentNode,t)}function j(e){try{throw new Error(e)}catch(e){throw e.message+"\n"+e.stack}}function D(){return ie}function z(){if("undefined"!=typeof window){var e=new Uint16Array(5);return(window.msCrypto||window.crypto).getRandomValues(e)}}function l(e,t){var M=He.test(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return void 0===t?M:(M.innerHTML=t.innerHTML?t.innerHTML:"",void 0!==t.className&&(M.className=t.className),void 0!==t.id&&(M.id=t.id),void 0!==t.styles&&M.setAttribute("style",t.styles),void 0!==t.attrs&&m(M,t.attrs),M)}function y(e,t){for(var M=p(t),r=RegExp,a=0,s=e;a<s.length;a++)for(var u=s[a],c=0,g=M;c<g.length;c++){var j=g[c];if(o(u)){var D=i("attributes.className",u);N(D)?n("attributes.className",j,u):new r("\\b"+j+"\\b","i").test(D)||n("attributes.className",D+" "+j,u)}else u.classList.contains(j)||u.classList.add(j)}return e}function I(e,t){for(var M=p(t),r=0,a=e;r<a.length;r++){var s=a[r],N=o(s);if(N?i("attributes.className",s):""!==s.className)for(var u=0,c=M;u<c.length;u++){var g=c[u];if(N){var j=i("attributes.className",s).split(" "),D=j.indexOf(g);-1!==D&&j.splice(D,1),n("attributes.className",j.join(" "),s)}else s.classList.remove(g)}}return e}function p(e){var t=[];return"string"==typeof e?t.push(e):t=e,t}function h(e){var t=e;return""===t.style.visibility&&t.offsetWidth>0}function d(e){e.querySelectorAll("script").forEach(function(e){var t=document.createElement("script");t.text=e.innerHTML,document.head.appendChild(t),T(t)})}function T(e){var t=e.parentNode;if(t)return t.removeChild(e)}function m(e,t){for(var M=e,i=0,n=Object.keys(t);i<n.length;i++){var r=n[i];if(o(M)){var a=r;"tabindex"===r&&(a="tabIndex"),M.attributes[""+a]=t[""+r]}else M.setAttribute(r,t[""+r])}return M}function A(e,t,M){return void 0===t&&(t=document),e=L(e),t.querySelector(e)}function O(e,t,M){void 0===t&&(t=document),e=L(e);return t.querySelectorAll(e)}function L(e){var t=/(!|"|\$|%|&|'|\(|\)|\*|\/|:|;|<|=|\?|@|\]|\^|`|{|}|\||\+|~)/g;if(e.match(/#[0-9]/g)||e.match(t)){for(var M=e.split(","),i=0;i<M.length;i++){for(var n=M[parseInt(i.toString(),10)].split(" "),r=0;r<n.length;r++)if(n[parseInt(r.toString(),10)].indexOf("#")>-1&&!n[parseInt(r.toString(),10)].match(/\[.*\]/)){var o=n[parseInt(r.toString(),10)].split("#");if(o[1].match(/^\d/)||o[1].match(t)){var a=n[parseInt(r.toString(),10)].split(".");a[0]=a[0].replace(/#/,"[id='")+"']",n[parseInt(r.toString(),10)]=a.join(".")}}M[parseInt(i.toString(),10)]=n.join(" ")}return M.join(",")}return e}function f(e,t){var M=e;if("function"==typeof M.closest)return M.closest(t);for(;M&&1===M.nodeType;){if(S(M,t))return M;M=M.parentNode}return null}function E(e,t){void 0!==t&&Object.keys(t).forEach(function(M){e.style[M]=t[M]})}function S(e,t){var M=e.matches||e.msMatchesSelector||e.webkitMatchesSelector;return M?M.call(e,t):-1!==[].indexOf.call(document.querySelectorAll(t),e)}function x(e,t){var M,i,n="string"==typeof e?document.getElementById(e):e;for(i=0;i<n.ej2_instances.length;i++)if(M=n.ej2_instances[parseInt(i.toString(),10)],"string"==typeof t){if(t===M.getModuleName())return M}else if(M instanceof t)return M}function v(e,M,i,n){return e.properties.hasOwnProperty(M)&&e.properties[M]instanceof n||(e.properties[""+M]=t(n,[e,M,i])),e.properties[""+M]}function w(e,M,i,n,r,o){for(var a=[],s=i?i.length:0,N=0;N<s;N++){var u=n;if(o&&(u=n(i[parseInt(N.toString(),10)],e)),r){var c=t(u,[e,M,{},!0]);c.setProperties(i[parseInt(N.toString(),10)],!0),a.push(c)}else a.push(t(u,[e,M,i[parseInt(N.toString(),10)],!1]))}return a}function Q(e,t){return function(){return this.properties.hasOwnProperty(t)||(this.properties[""+t]=e),this.properties[""+t]}}function Y(e,t,M){return function(){var i=this;if(!this.properties.hasOwnProperty(t)){var n=w(this,t,e,M,!1);this.properties[""+t]=n}var r=void 0!==this.controlParent&&this.controlParent.ignoreCollectionWatch||this.ignoreCollectionWatch;return this.properties[t].hasOwnProperty("push")||r||["push","pop"].forEach(function(e){var M={value:function(e,t,M,i){return function(){for(var M=[],n=0;n<arguments.length;n++)M[n]=arguments[n];var r=this.propName?this.getParentKey()+"."+t+"-":t+"-";switch(e){case"push":for(var o=0;o<M.length;o++){Array.prototype[""+e].apply(i,[M[parseInt(o.toString(),10)]]);var a=k(r+(i.length-1),M[parseInt(o.toString(),10)],!this.controlParent,e);this.serverDataBind(a,M[parseInt(o.toString(),10)],!1,e)}break;case"pop":Array.prototype[""+e].apply(i);var s=k(r+i.length,null,!this.controlParent,e);this.serverDataBind(s,{ejsAction:"pop"},!1,e)}return i}}(e,t,0,i.properties[""+t]).bind(i),configurable:!0};Object.defineProperty(i.properties[""+t],e,M)}),this.properties[t].hasOwnProperty("isComplexArray")||Object.defineProperty(this.properties[""+t],"isComplexArray",{value:!0}),this.properties[""+t]}}function k(e,t,M,i){var n=e;if(M&&(n={},n[""+e]=t,t&&"object"==typeof t)){n[""+e].ejsAction=i}return n}function U(e){return function(t,M){var i={set:function(e,t){return function(M){if(this.properties[""+t]!==M){var i=this.properties.hasOwnProperty(t)?this.properties[t]:e;this.saveChanges(t,M,i),this.properties[""+t]=M}}}(e,M),get:Q(e,M),enumerable:!0,configurable:!0};Object.defineProperty(t,M,i),F(t,M,"prop",e)}}function C(e,t){return function(M,i){var n={set:function(e,t,M){return function(i){v(this,t,e,M).setProperties(i)}}(e,i,t),get:function(e,t,M){return function(){return v(this,t,e,M)}}(e,i,t),enumerable:!0,configurable:!0};Object.defineProperty(M,i,n),F(M,i,"complexProp",e,t)}}function b(){return function(e,t){var M={set:function(e){var M=this.properties[""+t];if(M!==e){var i=V(this,t);!1===u(M)&&i.context.removeEventListener(i.prefix,M),i.context.addEventListener(i.prefix,e),this.properties[""+t]=e}},get:Q(void 0,t),enumerable:!0,configurable:!0};Object.defineProperty(e,t,M),F(e,t,"event")}}function P(e){}function F(e,t,M,i,n){u(e.propList)&&(e.propList={props:[],complexProps:[],colProps:[],events:[],propNames:[],complexPropNames:[],colPropNames:[],eventNames:[]}),e.propList[M+"s"].push({propertyName:t,defaultValue:i,type:n}),e.propList[M+"Names"].push(t)}function R(e){if(u(e.prototype.builderObject)){e.prototype.builderObject={properties:{},propCollections:[],add:function(){this.isPropertyArray=!0,this.propCollections.push(s({},this.properties,{}))}};for(var t=/complex/,M=0,i=Object.keys(e.prototype.propList);M<i.length;M++)for(var n=i[M],r=function(M){t.test(n)?e.prototype.builderObject[M.propertyName]=function(e){var t={};a(t,R(M.type)),e(t);var i;return i=t.isPropertyArray?t.propCollections:s({},t.properties,{}),this.properties[M.propertyName]=i,t.properties={},t.propCollections=[],t.isPropertyArray=!1,this}:e.prototype.builderObject[M.propertyName]=function(e){return this.properties[M.propertyName]=e,this}},o=0,N=e.prototype.propList[""+n];o<N.length;o++){r(N[o])}}return e.prototype.builderObject}function V(e,t){if(!1===e.hasOwnProperty("parentObj"))return{context:e,prefix:t};var M=i("propName",e);return M&&(t=M+"-"+t),V(i("parentObj",e),t)}function W(e){var t=e.target,M=this.rippleOptions.selector,i=M?f(t,M):t;if(!(!i||this.rippleOptions&&f(t,this.rippleOptions.ignore))){var n=i.getBoundingClientRect(),r=e.pageX-document.body.scrollLeft,o=e.pageY-(!document.body.scrollTop&&document.documentElement?document.documentElement.scrollTop:document.body.scrollTop),a=Math.max(Math.abs(r-n.left),Math.abs(r-n.right)),s=Math.max(Math.abs(o-n.top),Math.abs(o-n.bottom)),N=Math.sqrt(a*a+s*s),u=2*N+"px",c=r-n.left-N,g=o-n.top-N;this.rippleOptions&&this.rippleOptions.isCenterRipple&&(c=0,g=0,u="100%"),i.classList.add("e-ripple");var j=l("div",{className:"e-ripple-element",styles:"width: "+u+";height: "+u+";left: "+c+"px;top: "+g+"px;transition-duration: "+this.rippleOptions.duration.toString()+"ms;"});i.appendChild(j),window.getComputedStyle(j).getPropertyValue("opacity"),j.style.transform="scale(1)",i!==this.parent&&Ge.add(i,"mouseleave",G,{parent:this.parent,rippleOptions:this.rippleOptions})}}function B(e){H(e,this)}function G(e){H(e,this)}function H(e,t){var M=t.rippleOptions.duration,i=e.target,n=t.rippleOptions.selector,r=n?f(i,n):i;if(r&&(!r||-1!==r.className.indexOf("e-ripple"))){var o=O(".e-ripple-element",r),a=o[o.length-1];a&&(a.style.opacity="0.5"),t.parent!==r&&Ge.remove(r,"mouseleave",G),setTimeout(function(){a&&a.parentNode&&a.parentNode.removeChild(a),r.getElementsByClassName("e-ripple-element").length||r.classList.remove("e-ripple"),t.done&&t.done(e)},M)}}function Z(e){for(var t="",M=0,i=e;M<i.length;M++){var n=i[M];t+=String.fromCharCode(n)}return t}function J(e){rt=new nt(e)}function X(e,t,M){var i='var str="'+function(e,t,M,i){var n=0,r=[],o=e.match(/class="([^"]+|)\s{2}/g),a="";o&&o.forEach(function(t){a=t.replace(/\s\s+/g," "),e=e.replace(t,a)});return e.replace(kt,"").replace(Gt,"'$1'").replace(Zt,function(e,o,a,s){var N=o.match(Vt);if(N){var u=N[1];if(bt.test(o))o='";} '+o.replace(N[1],u.replace(Bt,function(e){return e=e.trim(),K(e,!Ut.test(e)&&-1===r.indexOf(e),t,r,i)}))+'{ \n str = str + "';else if(Ct.test(o))o='"; '+o.replace(N[1],u.replace(Ht,function(e){return q(e,t,r,i)}))+'{ \n str = str + "';else if(Ft.test(o)){var c=N[1].split(" of ");o='"; '+o.replace(N[1],function(e){return r.push(c[0]),r.push(c[0]+"Index"),"var i"+(n+=1)+"=0; i"+n+" < "+K(c[1],!0,t,r,i)+".length; i"+n+"++"})+"{ \n "+c[0]+"= "+K(c[1],!0,t,r,i)+"[i"+n+"]; \n var "+c[0]+"Index=i"+n+'; \n str = str + "'}else{var g=o.split("("),j=M&&M.hasOwnProperty(g[0])?"this.":"global";j=/\./.test(g[0])?"":j;var D=N[1].split(",");0===N[1].length||/data/.test(D[0])||/window./.test(D[0])||(N[1]="global"===j?t+"."+N[1]:N[1]);if($t.test(o)&&/\]\./gm.test(o)||/@|\$|#/gm.test(o)){/@|\$|#|\]\./gm.test(o)&&(o='"+ '+("global"===j?"":j)+o.replace(N[1],u.replace(_t,function(e){return q(e,t,r,i)}))+'+ "')}else o='" + '+("global"===j?"":j)+o.replace(u,K(N[1].replace(/,( |)data.|,/gi,","+t+".").replace(/,( |)data.window/gi,",window"),"global"!==j,t,r,i))+'+"'}}else Pt.test(o)?o='"; '+o.replace(Pt,'} else { \n str = str + "'):o.match(Rt)?o=o.replace(Rt,'"; \n } \n str = str + "'):/@|#|\$/gm.test(o)?(o.match(Xt)&&(o=$(o)),o='"+'+_(o,-1===r.indexOf(o),t,r)+'"]+"'):o=o.match(Xt)?'"+'+_(o=$(o),-1===r.indexOf(o),t,r)+'"]+"':""!==o?'"+'+K(o.replace(/,/gi,"+"+t+"."),-1===r.indexOf(o),t,r,i)+'+"':" ";return o})}(e,"data",t,M)+"\";var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-■\\s]+)['])/g);\n var hrefRegex = (/(?:href)([\\s='\"./]+)([\\w-./?=&\\\\#\"]+)((.)([\\w)(!-;/?-■\\s]+)['])/g);\n if(str.match(valueRegEx)){\n var check = str.match(valueRegEx);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(valueRegEx)[i].split('value=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n else if (str.match(/(?:href='')/) === null) {\n if(str.match(hrefRegex)) {\n var check = str.match(hrefRegex);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(hrefRegex)[i].split('href=')[1];\n if (check1) {\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n }\n str = str.replace(str, str1);\n }\n }\n return str;";return new Function("data",i).bind(t)}function K(e,t,M,i,n){return!t||Wt.test(e)||-1!==i.indexOf(e.split(".")[0])||n?e:M+"."+e}function _(e,t,M,i){return t&&!Wt.test(e)&&-1===i.indexOf(e.split(".")[0])?M+'["'+e:e}function $(e){return e=e.match(Kt)?e:e.replace(Xt,"\\\\")}function q(e,t,M,i){e=e.trim();if(/\window\./gm.test(e))return e;var n=/'|"/gm;return/@|\$|#/gm.test(e)&&(e=_(e,-1===M.indexOf(e),t,M)+'"]'),Jt.test(e)?function(e,t,M,i){return!t||Wt.test(e)||-1!==i.indexOf(e.split(".")[0])||/^\..*/gm.test(e)?e:M+"."+e}(e,!n.test(e)&&-1===M.indexOf(e),t,M):K(e,!n.test(e)&&-1===M.indexOf(e),t,M,i)}function ee(){return"-"+Math.random().toString(36).substr(2,5)}var te="ej2_instances",Me=0,ie=!1,ne="undefined"!=typeof window?window:{},re={latn:{_digits:"0123456789",_type:"numeric"}},oe={decimal:".",group:",",percentSign:"%",plusSign:"+",minusSign:"-",infinity:"∞",nan:"NaN",exponential:"E"},ae=[0,1,2,3,4,5,6,7,8,9],se=function(){function e(){}return e.getMainObject=function(e,t){return i(D()?t:"main."+t,e)},e.getNumberingSystem=function(e){return i("supplemental.numberingSystems",e)||this.numberingSystems},e.reverseObject=function(e,t){for(var M={},i=0,n=t||Object.keys(e);i<n.length;i++){var r=n[i];M.hasOwnProperty(e[r])||(M[e[r]]=r)}return M},e.getSymbolRegex=function(e){var t=e.map(function(e){return e.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}).join("|");return new RegExp(t,"g")},e.getSymbolMatch=function(e){for(var t={},M=0,i=Object.keys(oe);M<i.length;M++){var n=i[M];t[e[n]]=oe[n]}return t},e.constructRegex=function(e){for(var t=e.length,M="",i=0;i<t;i++)M+=i!==t-1?e[parseInt(i.toString(),10)]+"|":e[parseInt(i.toString(),10)];return M},e.convertValueParts=function(e,t,M){return e.replace(t,function(e){return M[e]})},e.getDefaultNumberingSystem=function(e){var t={};return t.obj=i("numbers",e),t.nSystem=i("defaultNumberingSystem",t.obj),t},e.getCurrentNumericOptions=function(e,t,M,n){var r={},o=this.getDefaultNumberingSystem(e);if(!u(o.nSystem)||n){var a=n?i("obj.mapperDigits",o):i(o.nSystem+"._digits",t);if(!u(a)){r.numericPair=this.reverseObject(a,ae);var s=RegExp;r.numberParseRegex=new s(this.constructRegex(a),"g"),r.numericRegex="["+a[0]+"-"+a[9]+"]",M&&(r.numericRegex=a[0]+"-"+a[9],r.symbolNumberSystem=i(n?"numberSymbols":"symbols-numberSystem-"+o.nSystem,o.obj),r.symbolMatch=this.getSymbolMatch(r.symbolNumberSystem),r.numberSystem=o.nSystem)}}return r},e.getNumberMapper=function(e,t,M){var n={mapper:{}},r=this.getDefaultNumberingSystem(e);if(!u(r.nSystem)){n.numberSystem=r.nSystem,n.numberSymbols=i("symbols-numberSystem-"+r.nSystem,r.obj),n.timeSeparator=i("timeSeparator",n.numberSymbols);var o=i(r.nSystem+"._digits",t);if(!u(o))for(var a=0,s=ae;a<s.length;a++){var N=s[a];n.mapper[N]=o[N]}}return n},e.nPair="numericPair",e.nRegex="numericRegex",e.numberingSystems=re,e}(),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$"};!function(e){var t=[28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990];e.getHijriDate=function(e){var M=e.getDate(),i=e.getMonth(),n=e.getFullYear(),r=i+1,o=n;r<3&&(o-=1,r+=12);var a=Math.floor(o/100),s=a-Math.floor(a/4)-2,N=Math.floor(365.25*(o+4716))+Math.floor(30.6001*(r+1))+M-s-1524,u=N+(s=(a=Math.floor((N-1867216.25)/36524.25))-Math.floor(a/4)+1)+1524,c=Math.floor((u-122.1)/365.25),g=Math.floor(365.25*c),j=Math.floor((u-g)/30.6001);M=u-g-Math.floor(30.6001*j),(i=Math.floor((u-g)/20.6001))>13&&(c+=1,i-=12),i-=1,n=c-4716;var D=N-24e5,z=N-1948084,l=Math.floor(z/10631);z-=10631*l;var y=Math.floor((z-.1335)/(10631/30)),I=30*l+y;z-=Math.floor(y*(10631/30)+.1335);var p=Math.floor((z+28.5001)/29.5);13===p&&(p=12);for(var h=z-Math.floor(29.5001*p-29),d=0;d<t.length&&!(t[parseInt(d.toString(),10)]>D);d++);var T=d+16260,m=Math.floor((T-1)/12),A=m+1,O=T-12*m,L=D-t[d-1]+1;return(L+"").length>2&&(L=h,O=p,A=I),{year:A,month:O,date:L}},e.toGregorian=function(e,M,i){var n=i+t[12*(e-1)+1+(M-1)-16260-1]-1+24e5,r=Math.floor(n+.5),o=Math.floor((r-1867216.25)/36524.25),a=1524+(o=r+1+o-Math.floor(o/4)),s=Math.floor((a-122.1)/365.25),N=Math.floor(365.25*s),u=Math.floor((a-N)/30.6001),c=a-N-Math.floor(30.6001*u),g=u-(u>13.5?13:1),j=s-(g>2.5?4716:4715);return j<=0&&g--,new Date(j+"/"+g+"/"+c)}}(e.HijriParser||(e.HijriParser={}));var ue=/\/MMMMM|MMMM|MMM|a|LLLL|LLL|EEEEE|EEEE|E|K|cccc|ccc|WW|W|G+|z+/gi,ce=["sun","mon","tue","wed","thu","fri","sat"],ge={m:"getMinutes",h:"getHours",H:"getHours",s:"getSeconds",d:"getDate",f:"getMilliseconds"},je={M:"month",d:"day",E:"weekday",c:"weekday",y:"year",m:"minute",h:"hour",H:"hour",s:"second",L:"month",a:"designator",z:"timeZone",Z:"timeZone",G:"era",f:"milliseconds"},De=function(){function t(){}return t.dateFormat=function(t,M,n){var r=this,o=e.IntlBase.getDependables(n,t,M.calendar),a=i("parserObject.numbers",o),N=o.dateObject,c={isIslamic:e.IntlBase.islamicRegex.test(M.calendar)};D()&&M.isServerRendered&&(M=e.IntlBase.compareBlazorDateFormats(M,t));var g=M.format||e.IntlBase.getResultantPattern(M.skeleton,o.dateObject,M.type,!1,D()?t:"");if(c.dateSeperator=D()?i("dateSeperator",N):e.IntlBase.getDateSeparator(o.dateObject),u(g))j("Format options or type given must be invalid");else{g=e.IntlBase.ConvertDateToWeekFormat(g),D()&&(g=g.replace(/tt/,"a")),c.pattern=g,c.numMapper=D()?s({},a):se.getNumberMapper(o.parserObject,se.getNumberingSystem(n));for(var z=0,l=g.match(ue)||[];z<l.length;z++){var y=l[z],I=y.length,p=y[0];switch("K"===p&&(p="h"),p){case"E":case"c":D()?c.weekday=i("days."+e.IntlBase.monthIndex[I],N):c.weekday=o.dateObject[e.IntlBase.days]["stand-alone"][e.IntlBase.monthIndex[I]];break;case"M":case"L":D()?c.month=i("months."+e.IntlBase.monthIndex[I],N):c.month=o.dateObject[e.IntlBase.month]["stand-alone"][e.IntlBase.monthIndex[I]];break;case"a":c.designator=D()?i("dayPeriods",N):i("dayPeriods.format.wide",N);break;case"G":var h=I<=3?"eraAbbr":4===I?"eraNames":"eraNarrow";c.era=D()?i("eras",N):i("eras."+h,o.dateObject);break;case"z":c.timeZone=i("dates.timeZoneNames",o.parserObject)}}}return function(e){return isNaN(e.getDate())?null:r.intDateFormatter(e,c)}},t.intDateFormatter=function(t,M){for(var i="",n=M.pattern.match(e.IntlBase.dateParseRegex),r=this.getCurrentDateValue(t,M.isIslamic),o=0,a=n;o<a.length;o++){var s=a[o],u=s.length,c=s[0];"K"===c&&(c="h");var g=void 0,j="",D=void 0,z=void 0,l="";switch(c){case"M":case"L":g=r.month,u>2?i+=M.month[g]:D=!0;break;case"E":case"c":i+=M.weekday[ce[t.getDay()]];break;case"H":case"h":case"m":case"s":case"d":case"f":if(D=!0,"d"===c)g=r.date;else if("f"===c){D=!1,z=!0;var y=(j=(j=t[ge[c]]().toString()).substring(0,u)).length;if(u!==y){if(u>3)continue;for(var I=0;I<u-y;I++)j="0"+j.toString()}l+=j}else g=t[ge[c]]();"h"===c&&(g=g%12||12);break;case"y":z=!0,l+=r.year,2===u&&(l=l.substr(l.length-2));break;case"a":var p=t.getHours()<12?"am":"pm";i+=M.designator[p];break;case"G":var h=t.getFullYear()<0?0:1,d=M.era[h];N(d)&&(d=M.era[h?0:1]),i+=d||"";break;case"'":i+="''"===s?"'":s.replace(/'/g,"");break;case"z":var T=t.getTimezoneOffset(),m=u<4?"+H;-H":M.timeZone.hourFormat;m=m.replace(/:/g,M.numMapper.timeSeparator),0===T?i+=M.timeZone.gmtZeroFormat:(z=!0,l=this.getTimeZoneValue(T,m)),l=M.timeZone.gmtFormat.replace(/\{0\}/,l);break;case":":i+=M.numMapper.numberSymbols.timeSeparator;break;case"/":i+=M.dateSeperator;break;case"W":D=!0,g=e.IntlBase.getWeekOfYear(t);break;default:i+=s}D&&(z=!0,l=this.checkTwodigitNumber(g,u)),z&&(i+=se.convertValueParts(l,e.IntlBase.latnParseRegex,M.numMapper.mapper))}return i},t.getCurrentDateValue=function(t,M){return M?e.HijriParser.getHijriDate(t):{year:t.getFullYear(),month:t.getMonth()+1,date:t.getDate()}},t.checkTwodigitNumber=function(e,t){var M=e+"";return 2===t&&2!==M.length?"0"+M:M},t.getTimeZoneValue=function(e,t){var M=this,i=t.split(";")[e>0?1:0],n=Math.abs(e);return i=i.replace(/HH?|mm/g,function(e){var t=e.length,i=-1!==e.indexOf("H");return M.checkTwodigitNumber(Math.floor(i?n/60:n%60),t)})},t}(),ze={ms:"minimumSignificantDigits",ls:"maximumSignificantDigits",mf:"minimumFractionDigits",lf:"maximumFractionDigits"},le=["infinity","nan","group","decimal","exponential"],ye=function(){function t(){}return t.numberFormatter=function(t,M,n){var r,o=this,a=s({},M),N={},c={},g=e.IntlBase.getDependables(n,t,"",!0),j=g.numericObject;c.numberMapper=D()?s({},j):se.getNumberMapper(g.parserObject,se.getNumberingSystem(n),!0),c.currencySymbol=D()?i("currencySymbol",j):e.IntlBase.getCurrencySymbol(g.numericObject,a.currency||e.defaultCurrencyCode,M.altSymbol),c.percentSymbol=D()?i("numberSymbols.percentSign",j):c.numberMapper.numberSymbols.percentSign,c.minusSymbol=D()?i("numberSymbols.minusSign",j):c.numberMapper.numberSymbols.minusSign;var z=c.numberMapper.numberSymbols;if(M.format&&!e.IntlBase.formatRegex.test(M.format))N=e.IntlBase.customFormat(M.format,c,g.numericObject);else{if(s(a,e.IntlBase.getProperNumericSkeleton(M.format||"N")),a.isCurrency="currency"===a.type,a.isPercent="percent"===a.type,D()||(r=e.IntlBase.getSymbolPattern(a.type,c.numberMapper.numberSystem,g.numericObject,a.isAccount)),a.groupOne=this.checkValueRange(a.maximumSignificantDigits,a.minimumSignificantDigits,!0),this.checkValueRange(a.maximumFractionDigits,a.minimumFractionDigits,!1,!0),u(a.fractionDigits)||(a.minimumFractionDigits=a.maximumFractionDigits=a.fractionDigits),u(a.useGrouping)&&(a.useGrouping=!0),a.isCurrency&&!D()&&(r=r.replace(/\u00A4/g,e.IntlBase.defaultCurrency)),D())N.nData=s({},{},i(a.type+"nData",j)),N.pData=s({},{},i(a.type+"pData",j)),"currency"===a.type&&M.currency&&e.IntlBase.replaceBlazorCurrency([N.pData,N.nData],c.currencySymbol,M.currency);else{var l=r.split(";");N.nData=e.IntlBase.getFormatData(l[1]||"-"+l[0],!0,c.currencySymbol),N.pData=e.IntlBase.getFormatData(l[0],!1,c.currencySymbol),a.useGrouping&&(a.groupSeparator=z[le[2]],a.groupData=this.getGroupingDetails(l[0]))}if(u(a.minimumFractionDigits)&&(a.minimumFractionDigits=N.nData.minimumFraction),u(a.maximumFractionDigits)){var y=N.nData.maximumFraction;a.maximumFractionDigits=u(y)&&a.isPercent?0:y}var I=a.minimumFractionDigits,p=a.maximumFractionDigits;u(I)||u(p)||I>p&&(a.maximumFractionDigits=I)}return s(N.nData,a),s(N.pData,a),function(e){return isNaN(e)?z[le[1]]:isFinite(e)?o.intNumberFormatter(e,N,c):z[le[0]]}},t.getGroupingDetails=function(t){var M={},i=t.match(e.IntlBase.negativeDataRegex);if(i&&i[4]){var n=i[4],r=n.lastIndexOf(",");if(-1!==r){var o=n.split(".")[0];M.primary=o.length-r-1;var a=n.lastIndexOf(",",r-1);-1!==a&&(M.secondary=r-1-a)}}return M},t.checkValueRange=function(e,t,M,i){var n=i?"f":"s",r=0,o=ze["l"+n],a=ze["m"+n];if(u(e)||(this.checkRange(e,o,i),r++),u(t)||(this.checkRange(t,a,i),r++),2===r){if(!(e<t))return!0;j(a+"specified must be less than the"+o)}else M&&1===r&&j("Both"+a+"and"+a+"must be present");return!1},t.checkRange=function(e,t,M){var i=M?[0,20]:[1,21];(e<i[0]||e>i[1])&&j(t+"value must be within the range"+i[0]+"to"+i[1])},t.intNumberFormatter=function(t,M,i){var n;if(!u(M.nData.type)){t<0?(t*=-1,n=M.nData):n=0===t?M.zeroData||M.pData:M.pData;var r="";return n.isPercent&&(t*=100),n.groupOne?r=this.processSignificantDigits(t,n.minimumSignificantDigits,n.maximumSignificantDigits):(r=this.processFraction(t,n.minimumFractionDigits,n.maximumFractionDigits),n.minimumIntegerDigits&&(r=this.processMinimumIntegers(r,n.minimumIntegerDigits))),"scientific"===n.type&&(r=(r=t.toExponential(n.maximumFractionDigits)).replace("e",i.numberMapper.numberSymbols[le[4]])),r=r.replace(".",i.numberMapper.numberSymbols[le[3]]),r="#,###,,;(#,###,,)"===n.format?this.customPivotFormat(parseInt(r)):r,n.useGrouping&&(r=this.groupNumbers(r,n.groupData.primary,n.groupSeparator||",",i.numberMapper.numberSymbols[le[3]]||".",n.groupData.secondary)),r=se.convertValueParts(r,e.IntlBase.latnParseRegex,i.numberMapper.mapper),"N/A"===n.nlead?n.nlead:n.nlead+r+n.nend}},t.processSignificantDigits=function(e,t,M){var i=e+"";return i.length<t?e.toPrecision(t):(i=e.toPrecision(M),+i+"")},t.groupNumbers=function(e,t,M,i,n){for(var r=!N(n)&&0!==n,o=e.split(i),a=o[0],s=a.length,u="";s>t;)u=a.slice(s-t,s)+(u.length?M+u:""),s-=t,r&&(t=n,r=!1);return o[0]=a.slice(0,s)+(u.length?M:"")+u,o.join(i)},t.processFraction=function(e,t,M){var i=(e+"").split(".")[1],n=i?i.length:0;if(t&&n<t){var r="";if(0!==n){r+=e;for(var o=0;o<t-n;o++)r+="0";return r}return r=e.toFixed(t),e.toFixed(t)}return!N(M)&&(n>M||0===M)?e.toFixed(M):e+""},t.processMinimumIntegers=function(e,t){var M=e.split("."),i=M[0],n=i.length;if(n<t){for(var r=0;r<t-n;r++)i="0"+i;M[0]=i}return M.join(".")},t.customPivotFormat=function(e){if(e>=5e5){var t=(e/=1e6).toString().split("."),M=(t[0],t[1]);return M&&+M.substring(0,1)>=5?Math.ceil(e).toString():Math.floor(e).toString()}return""},t}(),Ie=/^[0-9]*$/,pe={minute:"setMinutes",hour:"setHours",second:"setSeconds",day:"setDate",month:"setMonth",milliseconds:"setMilliseconds"},he=function(){function t(){}return t.dateParser=function(t,M,n){var r=this,o=e.IntlBase.getDependables(n,t,M.calendar),a=se.getCurrentNumericOptions(o.parserObject,se.getNumberingSystem(n),!1,D()),s={};D()&&M.isServerRendered&&(M=e.IntlBase.compareBlazorDateFormats(M,t));var c,g=M.format||e.IntlBase.getResultantPattern(M.skeleton,o.dateObject,M.type,!1,D()?t:""),z="";if(u(g))j("Format options or type given must be invalid");else{g=e.IntlBase.ConvertDateToWeekFormat(g),s={isIslamic:e.IntlBase.islamicRegex.test(M.calendar),pattern:g,evalposition:{},culture:t};for(var l=g.match(e.IntlBase.dateParseRegex)||[],y=l.length,I=0,p=0,h=!1,d=a.numericRegex,T=D()?o.parserObject.numbers:se.getNumberMapper(o.parserObject,se.getNumberingSystem(n)),m=0;m<y;m++){var A=l[parseInt(m.toString(),10)],O=A.length,L="K"===A[0]?"h":A[0],f=void 0,E=void 0,S=je[L],x=2===O?"":"?";switch(h&&(I=p,h=!1),L){case"E":case"c":var v=void 0;v=D()?i("days."+e.IntlBase.monthIndex[O],o.dateObject):o.dateObject[e.IntlBase.days]["stand-alone"][e.IntlBase.monthIndex[O]];var w=se.reverseObject(v);z+="("+Object.keys(w).join("|")+")";break;case"M":case"L":case"d":case"m":case"s":case"h":case"H":case"f":if(E=!0,("M"===L||"L"===L)&&O>2){var Q=void 0;Q=D()?i("months."+e.IntlBase.monthIndex[O],o.dateObject):o.dateObject.months["stand-alone"][e.IntlBase.monthIndex[O]],s[S]=se.reverseObject(Q),z+="("+Object.keys(s[S]).join("|")+")"}else if("f"===L){if(O>3)continue;f=!0,z+="("+d+d+"?"+d+"?)"}else f=!0,z+="("+d+d+x+")";"h"===L&&(s.hour12=!0);break;case"W":z+="("+d+(1===O?"?":"")+d+")";break;case"y":E=f=!0,z+=2===O?"("+d+d+")":"("+d+"{"+O+",})";break;case"a":E=!0;var Y=D()?i("dayPeriods",o.dateObject):i("dayPeriods.format.wide",o.dateObject);s[S]=se.reverseObject(Y),z+="("+Object.keys(s[S]).join("|")+")";break;case"G":E=!0;var k=O<=3?"eraAbbr":4===O?"eraNames":"eraNarrow";s[S]=se.reverseObject(D()?i("eras",o.dateObject):i("eras."+k,o.dateObject)),z+="("+Object.keys(s[S]).join("|")+"?)";break;case"z":E=0!==(new Date).getTimezoneOffset(),s[S]=i("dates.timeZoneNames",o.parserObject);var U=s[S],C=(c=O<4)?"+H;-H":U.hourFormat;C=C.replace(/:/g,T.timeSeparator),z+="("+this.parseTimeZoneRegx(C,U,d)+")?",h=!0,p=c?6:12;break;case"'":z+="("+A.replace(/'/g,"")+")?";break;default:z+="([\\D])"}if(E&&(s.evalposition[""+S]={isNumber:f,pos:m+1+I,hourOnly:c}),m===y-1&&!N(z)){var b=RegExp;s.parserRegex=new b("^"+z+"$","i")}}}return function(t){var M=r.internalDateParse(t,s,a);if(N(M)||!Object.keys(M).length)return null;if(s.isIslamic){var i={},n=M.year,o=M.day,u=M.month,c=n?n+"":"",g=2===c.length;n&&u&&o&&!g||(i=e.HijriParser.getHijriDate(new Date)),g&&(n=parseInt((i.year+"").slice(0,2)+c,10));var j=e.HijriParser.toGregorian(n||i.year,u||i.month,o||i.date);M.year=j.getFullYear(),M.month=j.getMonth()+1,M.day=j.getDate()}return r.getDateObject(M)}},t.getDateObject=function(e,t){var M=t||new Date;M.setMilliseconds(0);var i=e.year,n=e.designator,r=e.timeZone;if(!u(i)){if((i+"").length<=2){i+=100*Math.floor(M.getFullYear()/100)}M.setFullYear(i)}for(var o=0,a=["hour","minute","second","milliseconds","month","day"];o<a.length;o++){var s=a[o],N=e[s];if(u(N)&&"day"===s&&M.setDate(1),!u(N))if("month"===s){if((N-=1)<0||N>11)return new Date("invalid");var c=M.getDate();M.setDate(1),M[pe[s]](N);var g=new Date(M.getFullYear(),N+1,0).getDate();M.setDate(c<g?c:g)}else{if("day"===s){var j=new Date(M.getFullYear(),M.getMonth()+1,0).getDate();if(N<1||N>j)return null}M[pe[s]](N)}}if(!u(n)){var D=M.getHours();"pm"===n?M.setHours(D+(12===D?0:12)):12===D&&M.setHours(0)}if(!u(r)){var z=r-M.getTimezoneOffset();0!==z&&M.setMinutes(M.getMinutes()+z)}return M},t.internalDateParse=function(e,t,M){var i=e.match(t.parserRegex),n={hour:0,minute:0,second:0};if(N(i))return null;for(var r=0,o=Object.keys(t.evalposition);r<o.length;r++){var a=o[r],s=t.evalposition[""+a],c=i[s.pos];if(s.isNumber)n[a]=this.internalNumberParser(c,M);else if("timeZone"!==a||u(c))c="month"!==a||t.isIslamic||"en"!==t.culture&&"en-GB"!==t.culture&&"en-US"!==t.culture?c:c[0].toUpperCase()+c.substring(1).toLowerCase(),n[a]=t[a][c];else{var g=s.pos,j=void 0,D=i[g+1],z=!u(D);s.hourOnly?j=60*this.getZoneValue(z,D,i[g+4],M):(j=60*this.getZoneValue(z,D,i[g+7],M),j+=this.getZoneValue(z,i[g+4],i[g+10],M)),N(j)||(n[""+a]=j)}}return t.hour12&&(n.hour12=!0),n},t.internalNumberParser=function(e,t){return e=se.convertValueParts(e,t.numberParseRegex,t.numericPair),Ie.test(e)?+e:null},t.parseTimeZoneRegx=function(e,t,M){var i,n,r=t.gmtFormat,o="("+M+")("+M+")";return i=e.replace("+","\\+"),i=-1!==e.indexOf("HH")?i.replace(/HH|mm/g,"("+o+")"):i.replace(/H|m/g,"("+o+"?)"),n=i.split(";").map(function(e){return r.replace("{0}",e)}),i=n.join("|")+"|"+t.gmtZeroFormat},t.getZoneValue=function(e,t,M,i){var n=e?t:M;if(!n)return 0;var r=this.internalNumberParser(n,i);return e?-r:r},t}(),de=new RegExp("^([^0-9]*)(([0-9,]*[0-9]+)(.[0-9]+)?)([Ee][+-]?[0-9]+)?([^0-9]*)$"),Te=/,/g,me=["minusSign","infinity"],Ae=function(){function t(){}return t.numberParser=function(t,M,n){var r,o=this,a=e.IntlBase.getDependables(n,t,"",!0),N={custom:!0};e.IntlBase.formatRegex.test(M.format)||!M.format?(s(N,e.IntlBase.getProperNumericSkeleton(M.format||"N")),N.custom=!1,N.fractionDigits||M.maximumFractionDigits&&(N.maximumFractionDigits=M.maximumFractionDigits)):s(N,e.IntlBase.customFormat(M.format,null,null));var u=i("numbers",a.parserObject);r=se.getCurrentNumericOptions(a.parserObject,se.getNumberingSystem(n),!0,D()),N.symbolRegex=se.getSymbolRegex(Object.keys(r.symbolMatch)),N.infinity=r.symbolNumberSystem[me[1]];var c;if(D())N.nData=s({},{},i(N.type+"nData",u)),N.pData=s({},{},i(N.type+"pData",u)),"currency"===N.type&&M.currency&&e.IntlBase.replaceBlazorCurrency([N.pData,N.nData],i("currencySymbol",u),M.currency);else if(c=e.IntlBase.getSymbolPattern(N.type,r.numberSystem,a.numericObject,N.isAccount)){var g=(c=c.replace(/\u00A4/g,e.IntlBase.defaultCurrency)).split(";");N.nData=e.IntlBase.getFormatData(g[1]||"-"+g[0],!0,""),N.pData=e.IntlBase.getFormatData(g[0],!0,"")}return function(e){return o.getParsedNumber(e,N,r)}},t.getParsedNumber=function(e,t,M){var i,n,r,o,a,s;if(-1!==e.indexOf(t.infinity))return 1/0;e=se.convertValueParts(e,t.symbolRegex,M.symbolMatch),0===(e=-1!==(e=se.convertValueParts(e,M.numberParseRegex,M.numericPair)).indexOf("-")?e.replace("-.","-0."):e).indexOf(".")&&(e="0"+e);var u=e.match(de);if(N(u))return NaN;o=u[1],r=u[2];var c=u[5];return a=u[6],i=t.custom?o===t.nData.nlead&&a===t.nData.nend:-1!==o.indexOf(t.nData.nlead)&&-1!==a.indexOf(t.nData.nend),n=i?t.nData.isPercent:t.pData.isPercent,r=r.replace(Te,""),c&&(r+=c),s=+r,("percent"===t.type||n)&&(s/=100),(t.custom||t.fractionDigits)&&(s=parseFloat(s.toFixed(t.custom?i?t.nData.maximumFractionDigits:t.pData.maximumFractionDigits:t.fractionDigits))),t.maximumFractionDigits&&(s=this.convertMaxFracDigits(r,t,s,i)),i&&(s*=-1),s},t.convertMaxFracDigits=function(e,t,M,i){var n=e.split(".");return n[1]&&n[1].length>t.maximumFractionDigits&&(M=+M.toFixed(t.custom?i?t.nData.maximumFractionDigits:t.pData.maximumFractionDigits:t.maximumFractionDigits)),M},t}(),Oe=function(){function e(e){this.ranArray=[],this.boundedEvents={},N(e)||(this.context=e)}return e.prototype.on=function(e,t,M,i){if(!N(t)){var n=M||this.context;this.notExist(e)?this.boundedEvents[""+e]=[{handler:t,context:n}]:N(i)?this.isHandlerPresent(this.boundedEvents[""+e],t)||this.boundedEvents[""+e].push({handler:t,context:n}):-1===this.ranArray.indexOf(i)&&(this.ranArray.push(i),this.boundedEvents[""+e].push({handler:t,context:n,id:i}))}},e.prototype.off=function(e,t,M){if(!this.notExist(e)){var n=i(e,this.boundedEvents);if(t){for(var r=0;r<n.length;r++)if(M){if(n[parseInt(r.toString(),10)].id===M){n.splice(r,1);var o=this.ranArray.indexOf(M);-1!==o&&this.ranArray.splice(o,1);break}}else if(t===n[parseInt(r.toString(),10)].handler){n.splice(r,1);break}}else delete this.boundedEvents[""+e]}},e.prototype.notify=function(e,t,M,n){if(this.notExist(e))M&&M.call(this,t);else{t&&(t.name=e);var r=i(e,this.boundedEvents).slice(0);if(window.Blazor)return this.blazorCallback(r,t,M,n,0);for(var o=0,a=r;o<a.length;o++){var s=a[o];s.handler.call(s.context,t)}M&&M.call(this,t)}},e.prototype.blazorCallback=function(e,t,M,i,n){var r=this,o=n===e.length-1;if(n<e.length){var a=e[parseInt(n.toString(),10)],N=a.handler.call(a.context,t);if(N&&"function"==typeof N.then){if(!M)return N;N.then(function(N){if(N="string"==typeof N&&r.isJson(N)?JSON.parse(N,r.dateReviver):N,s(t,t,N,!0),!M||!o)return r.blazorCallback(e,t,M,i,n+1);M.call(a.context,t)}).catch(function(e){i&&i.call(a.context,"string"==typeof e&&r.isJson(e)?JSON.parse(e,r.dateReviver):e)})}else{if(!M||!o)return this.blazorCallback(e,t,M,i,n+1);M.call(a.context,t)}}},e.prototype.dateReviver=function(e,t){return D&&"string"==typeof t&&null!==t.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/)?new Date(t):t},e.prototype.isJson=function(e){try{JSON.parse(e)}catch(e){return!1}return!0},e.prototype.destroy=function(){this.boundedEvents=this.context=void 0},e.prototype.notExist=function(e){return!1===this.boundedEvents.hasOwnProperty(e)||this.boundedEvents[e].length<=0},e.prototype.isHandlerPresent=function(e,t){for(var M=0,i=e;M<i.length;M++){if(i[M].handler===t)return!0}return!1},e}(),Le=new Oe;e.rightToLeft=!1;var fe={};e.defaultCulture="en-US",e.defaultCurrencyCode="USD";var Ee=["numericObject","dateObject"],Se=function(){function t(e){e&&(this.culture=e)}return t.prototype.getDateFormat=function(e){return De.dateFormat(this.getCulture(),e||{type:"date",skeleton:"short"},fe)},t.prototype.getNumberFormat=function(t){return t&&!t.currency&&(t.currency=e.defaultCurrencyCode),D()&&t&&!t.format&&(t.minimumFractionDigits=0),ye.numberFormatter(this.getCulture(),t||{},fe)},t.prototype.getDateParser=function(e){return he.dateParser(this.getCulture(),e||{skeleton:"short",type:"date"},fe)},t.prototype.getNumberParser=function(e){return D()&&e&&!e.format&&(e.minimumFractionDigits=0),Ae.numberParser(this.getCulture(),e||{format:"N"},fe)},t.prototype.formatNumber=function(e,t){return this.getNumberFormat(t)(e)},t.prototype.formatDate=function(e,t){return this.getDateFormat(t)(e)},t.prototype.parseDate=function(e,t){return this.getDateParser(t)(e)},t.prototype.parseNumber=function(e,t){return this.getNumberParser(t)(e)},t.prototype.getDatePattern=function(t,M){return e.IntlBase.getActualDateTimeFormat(this.getCulture(),t,fe,M)},t.prototype.getNumberPattern=function(t,M){return e.IntlBase.getActualNumberFormat(this.getCulture(),t,fe,M)},t.prototype.getFirstDayOfWeek=function(){return e.IntlBase.getWeekData(this.getCulture(),fe)},t.prototype.getCulture=function(){return this.culture||e.defaultCulture},t}(),xe=RegExp,ve={"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(t){function M(e,M,n,r,o){var s,N=n||"date";if(o)s=a({skeleton:e},o).format||a({skeleton:"d"},"en-US").form