@syncfusion/ej2-base
Version:
A common package of Essential JS 2 base libraries, methods and class definitions
1 lines • 271 kB
JavaScript
this.ej=this.ej||{},this.ej.base=function(M){"use strict";function t(){rt=!1}function e(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"+C(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&&!z(e);N++)e=e[i[parseInt(N.toString(),10)]];return e}function g(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:j(I[""+N])&&(I[""+N]={}),I=I[""+N]);return D}function D(M,t){delete M[""+t]}function I(M){var t={};return!j(M)&&M.constructor===t.constructor}function n(M,t){return M[""+t]}function r(M,t){if(!j(t))for(var e=M,i=t,N=0,g=Object.keys(t);N<g.length;N++){var D=g[N];j(e.deepMerge)||-1===e.deepMerge.indexOf(D)||!I(i[""+D])&&!Array.isArray(i[""+D])?e[""+D]=i[""+D]:o(e[""+D],e[""+D],i[""+D],!0)}}function o(M,t,e,i){var N=M&&"object"==typeof M?M:{},g=arguments.length,D=[M,t,e,i];i&&(g-=1);for(var n=1;n<g;n++)!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],n=Array.isArray(D)&&Array.isArray(g)&&D.length!==g.length,r=!L()||!(g instanceof Event||n);i&&r&&(I(D)||Array.isArray(D))?I(D)?(e=g||{},Array.isArray(e)&&Object.prototype.hasOwnProperty.call(e,"isComplexArray")?o(e,{},D,i):N[""+M]=o(e,{},D,i)):(e=L()?g&&Object.keys(D).length:g||[],N[""+M]=o([],e,D,e&&e.length||D&&D.length)):N[""+M]=D})}(n);return N}function j(M){return void 0===M||null===M}function z(M){return void 0===M}function a(M){return M+"_"+nt++}function u(M,t){var e;return function(){for(var i=this,N=[],g=0;g<arguments.length;g++)N[g]=arguments[g];var D=function(){return e=null,M.apply(i,N)};clearTimeout(e),e=setTimeout(D,t)}}function T(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 c(M){var t=Object.prototype.toString;return"[object Array]"===t.call(M)&&"[object Object]"===t.call(M[0])}function A(M,t){var e=M;return e===t||!(e===document||!e)&&A(e.parentNode,t)}function y(M){try{throw new Error(M)}catch(M){throw new Error(M.message+"\n"+M.stack)}}function s(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="";j(t)&&(t=window.open("","print","height=452,width=1024,tabbar=no")),e.appendChild(M.cloneNode(!0));for(var n=0,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 E(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 l(){rt=!0}function L(){return rt}function O(M){return M instanceof Node||!L()||j(M.xPath)?M:document.evaluate(M.xPath,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}function x(M,t){var e="string"==typeof M?document.querySelector(M):M;if(e[""+It])for(var i=0,N=e[""+It];i<N.length;i++){var g=N[i];if(g instanceof t)return g}return null}function S(M,t){var e="string"==typeof M?document.querySelector(M):M;e[""+It]?e[""+It].push(t):e[""+It]=[t]}function p(){if("undefined"!=typeof window){var M=new Uint16Array(5);return(window.msCrypto||window.crypto).getRandomValues(M)}}function C(M){for(var t="",e=0;e<5;e++)t+=(e?",":"")+M[parseInt(e.toString(),10)];return t}function w(M){return N(M||"",Tt)}function h(t){M.defaultCurrencyCode=t}function d(M){ct=M}function m(M){At=M}function U(M,t){var e=wt.test(M)?document.createElementNS("http://www.w3.org/2000/svg",M):document.createElement(M);return void 0===t?e:(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&&G(e,t.attrs),e)}function Q(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(Ct({},e,i)).forEach(function(M){N.style.setProperty(M,i[M]||e[M])}),M.style.cssText=N.style.cssText}function Y(M,t){for(var e=k(t),i=RegExp,D=0,n=M;D<n.length;D++)for(var r=n[D],o=0,z=e;o<z.length;o++){var a=z[o];if(I(r)){var u=N("attributes.className",r);j(u)?g("attributes.className",a,r):new i("\\b"+a+"\\b","i").test(u)||g("attributes.className",u+" "+a,r)}else r.classList.contains(a)||r.classList.add(a)}return M}function f(M,t){for(var e=k(t),i=0,D=M;i<D.length;i++){var n=D[i],r=I(n);if(r?N("attributes.className",n):""!==n.className)for(var o=0,j=e;o<j.length;o++){var z=j[o];if(r){var a=N("attributes.className",n).split(" "),u=a.indexOf(z);-1!==u&&a.splice(u,1),g("attributes.className",a.join(" "),n)}else n.classList.remove(z)}}return M}function k(M){var t=[];return"string"==typeof M?t.push(M):t=M,t}function v(M){var t=M;return""===t.style.visibility&&t.offsetWidth>0}function b(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&&P(t),M}function B(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&&P(t),M}function P(M){M.querySelectorAll("script").forEach(function(M){var t=document.createElement("script");t.text=M.innerHTML,document.head.appendChild(t),F(t)})}function F(M){var t=M.parentNode;if(t)return t.removeChild(M)}function R(M){var t=M.parentNode;pt.clearEvents(M),t.removeChild(M)}function G(M,t){for(var e=M,i=0,N=Object.keys(t);i<N.length;i++){var g=N[i];if(I(e)){var D=g;"tabindex"===g&&(D="tabIndex"),e.attributes[""+D]=t[""+g]}else e.setAttribute(g,t[""+g])}return e}function H(M,t,e){return void 0===t&&(t=document),M=W(M),t.querySelector(M)}function Z(M,t,e){return void 0===t&&(t=document),M=W(M),t.querySelectorAll(M)}function W(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 J(M,t){var e=M;if("function"==typeof e.closest)return e.closest(t);for(;e&&1===e.nodeType;){if($(e,t))return e;e=e.parentNode}return null}function K(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 X(M,t,e){var i,g=I(M);return i=g?N("attributes."+t,M):M.getAttribute(t),j(i)&&e&&(g?M.attributes[""+t]=e:M.setAttribute(t,e.toString()),i=e),i}function V(M,t){void 0!==t&&Object.keys(t).forEach(function(e){M.style[""+e]=t[""+e]})}function _(M,t,e){Y([M],t),f([M],e)}function $(M,t){var e=M.matches||M.msMatchesSelector||M.webkitMatchesSelector;return e?e.call(M,t):-1!==[].indexOf.call(document.querySelectorAll(t),M)}function q(M,t){M.innerHTML=t}function MM(M,t){return I(M)?new RegExp("\\b"+t+"\\b","i").test(M.attributes.className):M.classList.contains(t)}function tM(M,t){return I(M)?t?o({},{},M,!0):void 0:M.cloneNode(t)}function eM(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 iM(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=eM(t[parseInt(e.toString(),10)],i);z(N)||N.destroy()}}function NM(M,t,i,N){return Object.prototype.hasOwnProperty.call(M.properties,t)&&M.properties[""+t]instanceof N||(M.properties[""+t]=e(N,[M,t,i])),M.properties[""+t]}function gM(M,t,i,N,g,D){for(var I=[],n=i?i.length:0,r=0;r<n;r++){var o=N;if(D&&(o=N(i[parseInt(r.toString(),10)],M)),g){var j=e(o,[M,t,{},!0]);j.setProperties(i[parseInt(r.toString(),10)],!0),I.push(j)}else I.push(e(o,[M,t,i[parseInt(r.toString(),10)],!1]))}return I}function DM(M,t){return function(){return Object.prototype.hasOwnProperty.call(this.properties,t)||(this.properties[""+t]=M),this.properties[""+t]}}function IM(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 nM(M,t,e){return function(){return NM(this,t,M,e)}}function rM(M,t,e){return function(i){NM(this,t,M,e).setProperties(i)}}function oM(M,t,e){return function(){var i=e({});return Object.prototype.hasOwnProperty.call(this.properties,t)?this.properties[""+t]:NM(this,t,M,i)}}function jM(M,t,e){return function(i){var N=e(i,this);NM(this,t,M,N).setProperties(i)}}function zM(M,t,e){return function(){var i=this;if(!Object.prototype.hasOwnProperty.call(this.properties,t)){var N=gM(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:cM(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 aM(M,t,e){return function(i){this.isComplexArraySetter=!0;var N=gM(this,t,M,e,!1),g=gM(this,t,i,e,!0);this.isComplexArraySetter=!1,this.saveChanges(t,g,N),this.properties[""+t]=g}}function uM(M,t,e){return function(i){var N=Object.prototype.hasOwnProperty.call(this.properties,t)?this.properties[""+t]:M,g=gM(this,t,i,e,!0,!0);this.saveChanges(t,g,N),this.properties[""+t]=g}}function TM(M,t,e){return function(){var i=e({});if(!Object.prototype.hasOwnProperty.call(this.properties,t)){var N=gM(this,t,M,i,!1);this.properties[""+t]=N}return this.properties[""+t]}}function cM(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]);n=AM(g+(i.length-1),I,!this.controlParent,M);this.serverDataBind(n,e[parseInt(D.toString(),10)],!1,M)}break;case"pop":Array.prototype[""+M].apply(i);var n=AM(g+i.length,null,!this.controlParent,M);this.serverDataBind(n,{ejsAction:"pop"},!1,M)}return i}}function AM(M,t,e,i){var N=M;if(e&&(N={},N[""+M]=t,t&&"object"==typeof t)){N[""+M].ejsAction=i}return N}function yM(M){return function(t,e){var i={set:IM(M,e),get:DM(M,e),enumerable:!0,configurable:!0};Object.defineProperty(t,e,i),SM(t,e,"prop",M)}}function sM(M,t){return function(e,i){var N={set:rM(M,i,t),get:nM(M,i,t),enumerable:!0,configurable:!0};Object.defineProperty(e,i,N),SM(e,i,"complexProp",M,t)}}function EM(M){return function(t,e){var i={set:jM({},e,M),get:oM({},e,M),enumerable:!0,configurable:!0};Object.defineProperty(t,e,i),SM(t,e,"complexProp",{},M)}}function lM(M,t){return function(e,i){var N={set:aM(M,i,t),get:zM(M,i,t),enumerable:!0,configurable:!0};Object.defineProperty(e,i,N),SM(e,i,"colProp",M,t)}}function LM(M){return function(t,e){var i={set:uM([],e,M),get:TM([],e,M),enumerable:!0,configurable:!0};Object.defineProperty(t,e,i),SM(t,e,"colProp",{},M)}}function OM(){return function(M,t){var e={set:function(M){var e=this.properties[""+t];if(e!==M){var i=wM(this,t);!1===z(e)&&i.context.removeEventListener(i.prefix,e),i.context.addEventListener(i.prefix,M),this.properties[""+t]=M}},get:DM(void 0,t),enumerable:!0,configurable:!0};Object.defineProperty(M,t,e),SM(M,t,"event")}}function xM(M){}function SM(M,t,e,i,N){z(M.propList)&&(M.propList={props:[],complexProps:[],colProps:[],events:[],propNames:[],complexPropNames:[],colPropNames:[],eventNames:[]}),M.propList[e+"s"].push({propertyName:t,defaultValue:i,type:N}),M.propList[e+"Names"].push(t)}function pM(M){if(z(M.prototype.builderObject)){M.prototype.builderObject={properties:{},propCollections:[],add:function(){this.isPropertyArray=!0,this.propCollections.push(o({},this.properties,{}))}};for(var t=/complex/,e=0,i=Object.keys(M.prototype.propList);e<i.length;e++)for(var N=i[e],g=0,D=M.prototype.propList[""+N];g<D.length;g++)!function(e){t.test(N)?M.prototype.builderObject[e.propertyName]=function(M){var t={};r(t,pM(e.type)),M(t);var i;return i=t.isPropertyArray?t.propCollections:o({},t.properties,{}),this.properties[e.propertyName]=i,t.properties={},t.propCollections=[],t.isPropertyArray=!1,this}:M.prototype.builderObject[e.propertyName]=function(M){return this.properties[e.propertyName]=M,this}}(D[g])}return M.prototype.builderObject}function CM(M){var t=function(M){return this.element=M,this};return function(e){return Object.prototype.hasOwnProperty.call(t,"create")||((t.prototype=pM(M)).create=function(){var t=o({},{},this.properties);return this.properties={},new M(t,this.element)}),new t(e)}}function wM(M,t){if(!1===Object.prototype.hasOwnProperty.call(M,"parentObj"))return{context:M,prefix:t};var e=N("propName",M);return e&&(t=e+"-"+t),wM(N("parentObj",M),t)}function hM(t,e,i){var N=dM(e);return!1===N.rippleFlag||void 0===N.rippleFlag&&!M.isRippleEnabled?function(){}:(t.setAttribute("data-ripple","true"),pt.add(t,"mousedown",mM,{parent:t,rippleOptions:N}),pt.add(t,"mouseup",UM,{parent:t,rippleOptions:N,done:i}),pt.add(t,"mouseleave",QM,{parent:t,rippleOptions:N}),St.isPointer&&pt.add(t,"transitionend",QM,{parent:t,rippleOptions:N}),function(){t.removeAttribute("data-ripple"),pt.remove(t,"mousedown",mM),pt.remove(t,"mouseup",UM),pt.remove(t,"mouseleave",QM),pt.remove(t,"transitionend",QM)})}function dM(M){return{selector:M&&M.selector?M.selector:null,ignore:M&&M.ignore?M.ignore:null,rippleFlag:M&&M.rippleFlag,isCenterRipple:M&&M.isCenterRipple,duration:M&&M.duration?M.duration:350}}function mM(M){var t=M.target,e=this.rippleOptions.selector,i=e?J(t,e):t;if(!(!i||this.rippleOptions&&J(t,this.rippleOptions.ignore))){var N=i.getBoundingClientRect(),g=M.pageX-document.body.scrollLeft,D=M.pageY-(!document.body.scrollTop&&document.documentElement?document.documentElement.scrollTop:document.body.scrollTop),I=Math.max(Math.abs(g-N.left),Math.abs(g-N.right)),n=Math.max(Math.abs(D-N.top),Math.abs(D-N.bottom)),r=Math.sqrt(I*I+n*n),o=2*r+"px",j=g-N.left-r,z=D-N.top-r;this.rippleOptions&&this.rippleOptions.isCenterRipple&&(j=0,z=0,o="100%"),i.classList.add("e-ripple");var a=U("div",{className:"e-ripple-element",styles:"width: "+o+";height: "+o+";left: "+j+"px;top: "+z+"px;transition-duration: "+this.rippleOptions.duration.toString()+"ms;"});i.appendChild(a),window.getComputedStyle(a).getPropertyValue("opacity"),a.style.transform="scale(1)",i!==this.parent&&pt.add(i,"mouseleave",QM,{parent:this.parent,rippleOptions:this.rippleOptions})}}function UM(M){YM(M,this)}function QM(M){YM(M,this)}function YM(M,t){var e=t.rippleOptions.duration,i=M.target,N=t.rippleOptions.selector,g=N?J(i,N):i;if(g&&(!g||-1!==g.className.indexOf("e-ripple"))){var D=Z(".e-ripple-element",g),I=D[D.length-1];I&&(I.style.opacity="0.5"),t.parent!==g&&pt.remove(g,"mouseleave",QM),setTimeout(function(){I&&I.parentNode&&I.parentNode.removeChild(I),g.getElementsByClassName("e-ripple-element").length||g.classList.remove("e-ripple"),t.done&&t.done(M)},e)}}function fM(t){return M.isRippleEnabled=t,M.isRippleEnabled}function kM(t){M.animationMode=t}function vM(t){M.defaultCulture=t,_t.notify("notifyExternalChange",{locale:M.defaultCulture})}function bM(t){h(t),_t.notify("notifyExternalChange",{currencyCode:M.defaultCurrencyCode})}function BM(){for(var M=[],t=0;t<arguments.length;t++)M[t]=arguments[t];for(var e=0,i=M;e<i.length;e++){var N=i[e];o($t,N,{},!0)}}function PM(t){void 0===t&&(t=!0),M.rightToLeft=t,_t.notify("notifyExternalChange",{enableRtl:M.rightToLeft})}function FM(t,e){var i=M.IntlBase.getDependables($t,t,"",!0)[te[0]],g=M.IntlBase.getDependables($t,t,"")[te[1]],D=N("defaultNumberingSystem",i),I=L()?N("numberSymbols",i):N("symbols-numberSystem-"+D,i),n=M.IntlBase.getSymbolPattern(e||"decimal",D,i,!1);return o(I,M.IntlBase.getFormatData(n,!0,"",!0),{dateSeparator:M.IntlBase.getDateSeparator(g)})}function RM(t,e){var i=M.IntlBase.getDependables($t,t,"",!0);return M.IntlBase.getCurrencySymbol(i.numericObject,e)}function GM(t){return M.IntlBase.getDependables($t,"",t,!1)[te[1]]}function HM(M){for(var t="",e=0,i=M;e<i.length;e++){var N=i[e];t+=String.fromCharCode(N)}return t}function ZM(M){"undefined"!=typeof window&&(M=window.syncfusionLicenseKey?window.syncfusionLicenseKey:M),oe=new re(M)}function WM(t){M.versionBasedStatePersistence=t}function JM(M,t,e){if("function"==typeof M)return M;var i='var str="'+KM(M,"data",t,e)+"\";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 KM(M,t,e,i){var N=0,g=[],D=M.match(/class="([^"]+|)\s{2}/g),I="";if(D&&D.forEach(function(t){I=t.replace(/\s\s+/g," "),M=M.replace(t,I)}),qe.test(M)){for(var n=!1,r="",o=0;o<M.length;o++)"$"===M[o+""]&&"{"===M[o+1]?n=!0:"}"===M[o+""]&&(n=!1),r+='"'!==M[o+""]||n?M[o+""]:'\\"';M=r}else M=M.replace(/\\?"/g,'\\"');return M.replace(Fe,"").replace(_e,"'$1'").replace(qe,function(M,D,I,n){var r=/@|#|\$/gm,o=D.match(Ke);if(o){var j=o[1];if(He.test(D))D='";} '+D.replace(o[1],j.replace(Ve,function(M){return M=M.trim(),XM(M,!Re.test(M)&&-1===g.indexOf(M),t,g,i)}))+'{ \n str = str + "';else if(Ge.test(D))D='"; '+D.replace(o[1],j.replace($e,function(M){return qM(M,t,g,i)}))+'{ \n str = str + "';else if(We.test(D)){var z=o[1].split(" of ");D='"; '+D.replace(o[1],function(M){return g.push(z[0]),g.push(z[0]+"Index"),"var i"+(N+=1)+"=0; i"+N+" < "+XM(z[1],!0,t,g,i)+".length; i"+N+"++"})+"{ \n "+z[0]+"= "+XM(z[1],!0,t,g,i)+"[i"+N+"]; \n var "+z[0]+"Index=i"+N+'; \n str = str + "'}else{var a=D.split("("),u=e&&Object.prototype.hasOwnProperty.call(e,a[0])?"this.":"global";u=/\./.test(a[0])?"":u;var T=o[1].split(",");0===o[1].length||/data/.test(T[0])||/window./.test(T[0])||(o[1]="global"===u?t+"."+o[1]:o[1]);var c=/@|\$|#/gm,A=/\]\./gm;Ni.test(D)&&A.test(D)||c.test(D)?/@|\$|#|\]\./gm.test(D)&&(D='"+ '+("global"===u?"":u)+D.replace(o[1],j.replace(ii,function(M){return qM(M,t,g,i)}))+'+ "'):D='" + '+("global"===u?"":u)+D.replace(j,XM(o[1].replace(/,( |)data.|,/gi,","+t+".").replace(/,( |)data.window/gi,",window"),"global"!==u,t,g,i))+'+"'}}else Ze.test(D)?D='"; '+D.replace(Ze,'} else { \n str = str + "'):D.match(Je)?D=D.replace(Je,'"; \n } \n str = str + "'):r.test(D)?(D.match(ti)&&(D=$M(D)),D='"+'+_M(D,-1===g.indexOf(D),t,g)+'"]+"'):D=D.match(ti)?'"+'+_M(D=$M(D),-1===g.indexOf(D),t,g)+'"]+"':""!==D?'"+'+XM(D.replace(/,/gi,"+"+t+"."),-1===g.indexOf(D),t,g,i)+'+"':"${}";return D})}function XM(M,t,e,i,N){return!t||Xe.test(M)||-1!==i.indexOf(M.split(".")[0])||N||"true"===M||"false"===M?M:e+"."+M}function VM(M,t,e,i){var N=/^\..*/gm;return!t||Xe.test(M)||-1!==i.indexOf(M.split(".")[0])||N.test(M)?M:e+"."+M}function _M(M,t,e,i){return t&&!Xe.test(M)&&-1===i.indexOf(M.split(".")[0])?e+'["'+M:M}function $M(M){return M.match(ei)?M:M.replace(ti,"\\\\")}function qM(M,t,e,i){if(M=M.trim(),/\window\./gm.test(M))return M;var N=/'|"/gm;return/@|\$|#/gm.test(M)&&(M=_M(M,-1===e.indexOf(M),t,e)+'"]'),Mi.test(M)?VM(M,!N.test(M)&&-1===e.indexOf(M),t,e):XM(M,!N.test(M)&&-1===e.indexOf(M),t,e,i)}function Mt(){return"-"+Math.random().toString(36).substr(2,5)}function tt(M,t,e){var i=ni.compile(M,t,e);return function(M,t,e,N,g,D,I,n){var r=i(M,t,e,I,n);if(L()&&!g){var o=N+Mt();if(Ii[""+N]||(Ii[""+N]=[]),j(D))M.BlazorTemplateId=o,Ii[""+N].push(M);else for(var z=0,a=Object.keys(Ii[""+N][parseInt(D.toString(),10)]);z<a.length;z++){var u=a[z];"BlazorTemplateId"!==u&&M[""+u]&&(Ii[""+N][parseInt(D.toString(),10)][""+u]=M[""+u]),"BlazorTemplateId"===u&&(o=Ii[""+N][parseInt(D.toString(),10)][""+u])}return"rowTemplate"===e?[U("tr",{id:o,className:"e-blazor-template"})]:[U("div",{id:o,className:"e-blazor-template"})]}if("string"==typeof r){if(Di.test(r))return(T=U("svg",{innerHTML:r})).childNodes;var T=U(gi.test(r)?"table":"div",{innerHTML:r});return T.childNodes}return r}}function et(M,t,e,i,N){if(L()){window.sfBlazor.updateTemplate(t,Ii[""+M],M,e,N),!1!==i&&(Ii[""+M]=[])}}function it(M,t,e){var i=document.getElementById(M);if(i)for(var N=i.getElementsByClassName("blazor-inner-template"),g=0;g<N.length;g++){var D=" ";D=j(e)?N[parseInt(g.toString(),10)].getAttribute("data-templateId"):N[parseInt(e.toString(),10)].getAttribute("data-templateId");var I=document.getElementById(D);if(I)for(var n=I.childNodes.length,r=0;r<n;r++)j(e)?N[parseInt(g.toString(),10)].appendChild(I.childNodes[0]):(N[parseInt(e.toString(),10)].appendChild(I.childNodes[0]),g=N.length)}}function Nt(M){ni.compile=M.compile}function gt(){return ni.compile}function Dt(M,t){var e;return M.prototype.CSPTemplate=!0,j(t)?e=M:(e=M.bind(t)).prototype=Object.create(M.prototype),e}var It="ej2_instances",nt=0,rt=!1,ot="undefined"!=typeof window?window:{},jt={latn:{_digits:"0123456789",_type:"numeric"}},zt={decimal:".",group:",",percentSign:"%",plusSign:"+",minusSign:"-",infinity:"∞",nan:"NaN",exponential:"E"},at=[0,1,2,3,4,5,6,7,8,9],ut=function(){function M(){}return M.getMainObject=function(M,t){return N(L()?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(zt);e<i.length;e++){var N=i[e];t[M[""+N]]=zt[""+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 g={},D=this.getDefaultNumberingSystem(M);if(!z(D.nSystem)||i){var I=i?N("obj.mapperDigits",D):N(D.nSystem+"._digits",t);if(!z(I)){g.numericPair=this.reverseObject(I,at);var n=RegExp;g.numberParseRegex=new n(this.constructRegex(I),"g"),g.numericRegex="["+I[0]+"-"+I[9]+"]",e&&(g.numericRegex=I[0]+"-"+I[9],g.symbolNumberSystem=N(i?"numberSymbols":"symbols-numberSystem-"+D.nSystem,D.obj),g.symbolMatch=this.getSymbolMatch(g.symbolNumberSystem),g.numberSystem=D.nSystem)}}return g},M.getNumberMapper=function(M,t,e){var i={mapper:{}},g=this.getDefaultNumberingSystem(M);if(!z(g.nSystem)){i.numberSystem=g.nSystem,i.numberSymbols=N("symbols-numberSystem-"+g.nSystem,g.obj),i.timeSeparator=N("timeSeparator",i.numberSymbols);var D=N(g.nSystem+"._digits",t);if(!z(D))for(var I=0,n=at;I<n.length;I++){var r=n[I];i.mapper[parseInt(r.toString(),10)]=D[parseInt(r.toString(),10)]}}return i},M.nPair="numericPair",M.nRegex="numericRegex",M.numberingSystems=jt,M}(),Tt={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$"};M.defaultCurrencyCode="USD";var ct=null,At=null,yt=RegExp,st={"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 e(M,e,i,g,D){var n,r=i||"date";if(D)n=I({skeleton:M},D).format||I({skeleton:"d"},"en-US").format;else{if(-1!==t.basicPatterns.indexOf(M)){if(n=N(r+"Formats."+M,e),"dateTime"===r){var o=N("dateFormats."+M,e),j=N("timeFormats."+M,e);n=n.replace("{1}",o).replace("{0}",j)}}else n=N("dateTimeFormats.availableFormats."+M,e);z(n)&&"yMd"===M&&(n="M/d/y")}return n}function i(M,e,i,g){var D={},I=i||"gregorian";if(D.parserObject=ut.getMainObject(M,e)||(L()?t.blazorDefaultObject:t.defaultObject),g)D.numericObject=N("numbers",D.parserObject);else{var n=L()?"dates":"dates.calendars."+I;D.dateObject=N(n,D.parserObject)}return D}function g(M,t,e,i){return N(M+"Formats-numberSystem-"+t+(i?".accounting":".standard"),e)||(i?N(M+"Formats-numberSystem-"+t+".standard",e):"")}function D(M){var e=M.match(t.dateConverterMapper);if(e&&L()){var i=3===e[0].length?"EEE":"EEEE";return M.replace(t.dateConverterMapper,i)}return M}function I(M,t){var e=M.format||M.skeleton,i=N((t||"en-US")+"."+e,st);return i||(i=N("en-US."+e,st)),i&&(i=D(i),M.format=i.replace(/tt/,"a")),M}function n(M){var e=M.match(t.formatRegex),i={},N=e[1].toUpperCase();return i.isAccount="A"===N,i.type=t.patternMatcher[""+N],M.length>1&&(i.fractionDigits=parseInt(e[2],10)),i}function r(M,e,i,N){var g=N?{}:{nlead:"",nend:""},D=M.match(t.customRegex);if(D){N||(g.nlead=a(D[1],i),g.nend=a(D[10],i),g.groupPattern=D[4]);var I=D[7];if(I&&e){var n=I.match(d);j(n)?g.minimumFraction=0:g.minimumFraction=n.length,g.maximumFraction=I.length-1}}return g}function a(M,e){return M?(M=M.replace(t.defaultCurrency,e),""===e?M.trim():M):""}function u(M,t,e,i){var g=e?"."+e:".symbol";return i?"$":N("currencies."+t+g,M)||N("currencies."+t+".symbol-alt-narrow",M)||"$"}function T(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)]]=c(N[parseInt(D.toString(),10)],t,e);return j(i.nData)&&(i.nData=o({},i.pData),i.nData.nlead=j(t)?"-"+i.nData.nlead:t.minusSymbol+i.nData.nlead),i}function c(M,e,i){var N={type:"decimal",minimumFractionDigits:0,maximumFractionDigits:0},D=M.match(t.customRegex);if(j(D)||""===D[5]&&"N/A"!==M)return N.type=void 0,N;N.nlead=D[1],N.nend=D[10];var I=D[6],n=!!I.match(/ $/g),r=-1!==I.replace(/ $/g,"").indexOf(" ");N.useGrouping=-1!==I.indexOf(",")||r,I=I.replace(/,/g,""),I=/\s$/.test(I)?I.replace(/ /g,""):I;var z=D[7];if(-1!==I.indexOf("0")&&(N.minimumIntegerDigits=I.length-I.indexOf("0")),j(z)||(N.minimumFractionDigits=z.lastIndexOf("0"),N.maximumFractionDigits=z.lastIndexOf("#"),-1===N.minimumFractionDigits&&(N.minimumFractionDigits=0),(-1===N.maximumFractionDigits||N.maximumFractionDigits<N.minimumFractionDigits)&&(N.maximumFractionDigits=N.minimumFractionDigits)),j(e)?o(N,A([N.nlead,N.nend],"%","%")):(e.isCustomFormat=!0,o(N,A([N.nlead,N.nend],"$",e.currencySymbol)),N.isCurrency||o(N,A([N.nlead,N.nend],"%",e.percentSymbol))),!j(i)){var a=g(N.type,e.numberMapper.numberSystem,i,!1);N.useGrouping&&(N.groupSeparator=r?" ":e.numberMapper.numberSymbols[m[2]],N.groupData=ct.getGroupingDetails(a.split(";")[0])),N.nlead=N.nlead.replace(/'/g,""),N.nend=n?" "+N.nend.replace(/'/g,""):N.nend.replace(/'/g,"")}return N}function A(M,t,e){for(var i={nlead:M[0],nend:M[1]},N=0;N<2;N++){var g=M[parseInt(N.toString(),10)],D=g.indexOf(t);if(-1!==D&&(D<g.indexOf("'")||D>g.lastIndexOf("'"))){i[""+k[parseInt(N.toString(),10)]]=g.substr(0,D)+e+g.substr(D+1),i[""+k[""+t]]=!0,i.type=i.isCurrency?"currency":"percent";break}}return i}function y(M){var t=(N("dateFormats.short",M)||"").match(/[dM]([^dM])[dM]/i);return t?t[1]:"/"}function s(M,t,g,D){var n=i(g,M,t.calendar);L()&&(t=I(t,M));var r=t.format||e(t.skeleton,n.dateObject,t.type);if(D){if(-1!==(r=r.replace(U,function(M){return Q[""+M]})).indexOf("z")){var o=r.match(/z/g).length,j=void 0,z={timeZone:{}};z.numMapper=ut.getNumberMapper(n.parserObject,ut.getNumberingSystem(g)),z.timeZone=N("dates.timeZoneNames",n.parserObject);var a=(new Date).getTimezoneOffset(),u=o<4?"+H;-H":z.timeZone.hourFormat;u=u.replace(/:/g,z.numMapper.timeSeparator),0===a?j=z.timeZone.gmtZeroFormat:(j=At.getTimeZoneValue(a,u),j=z.timeZone.gmtFormat.replace(/\{0\}/,j)),r=r.replace(/[z]+/,'"'+j+'"')}r=r.replace(/ $/,"")}return r}function E(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(e,D,I,j){var z,a=i(I,e,"",!0),T={custom:!0},c=a.numericObject,A={},y=(D.format||"").match(t.currencyFormatRegex),s=t.formatRegex.test(D.format)?n(D.format||"N"):{},l={};if(y){l.numberMapper=L()?o({},a.numericObject):ut.getNumberMapper(a.parserObject,ut.getNumberingSystem(I),!0);var p=L()?N("currencySymbol",a.numericObject):u(a.numericObject,D.currency||M.defaultCurrencyCode,D.altSymbol),C=g("currency",l.numberMapper.numberSystem,a.numericObject,/a/i.test(D.format)),w=(C=C.replace(/\u00A4/g,p)).split(";");A.hasNegativePattern=!!L()||w.length>1,A.nData=L()?N(s.type+"nData",c):r(w[1]||"-"+w[0],!0,p),A.pData=L()?N(s.type+"pData",c):r(w[0],!1,p),y[2]||D.minimumFractionDigits||D.maximumFractionDigits||(z=r(C.split(";")[0],!0,"",!0).minimumFraction)}var h;if(t.formatRegex.test(D.format)||!D.format){if(o(T,n(D.format||"N")),T.custom=!1,h="###0",T.fractionDigits||D.minimumFractionDigits||D.maximumFractionDigits||z){T.fractionDigits&&(D.minimumFractionDigits=D.maximumFractionDigits=T.fractionDigits),h=O(h,z||T.fractionDigits||D.minimumFractionDigits||0,D.maximumFractionDigits||0)}if(D.minimumIntegerDigits&&(h=x(h,D.minimumIntegerDigits)),D.useGrouping&&(h=S(h)),"currency"===T.type||T.type&&L()){L()&&"currency"!==T.type&&(A.pData=N(T.type+"pData",c),A.nData=N(T.type+"nData",c));var d=h;h=A.pData.nlead+d+A.pData.nend,(A.hasNegativePattern||L())&&(h+=";"+A.nData.nlead+d+A.nData.nend)}"percent"!==T.type||L()||(h+=" %")}else h=D.format.replace(/'/g,'"');return Object.keys(l).length>0&&(h=j?h:E(h,l)),h}function O(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}function p(M,t){var e=Y,i=N("supplemental.weekData.firstDay",t),g=M;return/en-/.test(g)&&(g=g.slice(3)),g=g.slice(0,2).toUpperCase()+g.substr(2),i&&(e=i[""+g]||i[g.slice(0,2)]||Y),f[""+e]}function C(M,t,e){var i=w(e);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)}}function h(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}t.negativeDataRegex=/^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,t.customRegex=/^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0# ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,t.latnParseRegex=/0|1|2|3|4|5|6|7|8|9/g;var d=/[0-9]/g;t.defaultCurrency="$";var m=["infinity","nan","group","decimal"],U=/G|M|L|H|c|'| a|yy|y|EEEE|E/g,Q={G:"",M:"m",L:"m",H:"h",c:"d","'":'"'," a":" AM/PM",yy:"yy",y:"yyyy",EEEE:"dddd",E:"ddd"};t.dateConverterMapper=/dddd|ddd/gi;var Y="sun";t.islamicRegex=/^islamic/;var f={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};t.formatRegex=new yt("(^[ncpae]{1})([0-1]?[0-9]|20)?$","i"),t.currencyFormatRegex=new yt("(^[ca]{1})([0-1]?[0-9]|20)?$","i"),t.curWithoutNumberRegex=/(c|a)$/gi;var k={$:"isCurrency","%":"isPercent","-":"isNegative",0:"nlead",1:"nend"};t.dateParseRegex=/([a-z])\1*|'([^']|'')+'|''|./gi,t.basicPatterns=["short","medium","long","full"],t.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"}}},t.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"}}},t.monthIndex={3:"abbreviated",4:"wide",5:"narrow",1:"abbreviated"},t.month="months",t.days="days",t.patternMatcher={C:"currency",P:"percent",N:"decimal",A:"currency",E:"scientific"},t.getResultantPattern=e,t.getDependables=i,t.getSymbolPattern=g,t.ConvertDateToWeekFormat=D,t.compareBlazorDateFormats=I,t.getProperNumericSkeleton=n,t.getFormatData=r,t.changeCurrencySymbol=a,t.getCurrencySymbol=u,t.customFormat=T,t.customNumberFormat=c,t.isCurrencyPercent=A,t.getDateSeparator=y,t.getActualDateTimeFormat=s,t.processSymbol=E,t.getActualNumberFormat=l,t.fractionDigitsPattern=O,t.minimumIntegerPattern=x,t.groupingPattern=S,t.getWeekData=p,t.replaceBlazorCurrency=C,t.getWeekOfYear=h}(M.IntlBase||(M.IntlBase={}));var Et=/^(.*?):[ \t]*([^\r\n]*)$/gm,lt="GET",Lt=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():lt,this.mode=!!j(e)||e):"object"==typeof M&&(this.options=M,r(this,this.options)),this.type=this.type?this.type.toUpperCase():lt,this.contentType=void 0!==this.contentType?this.contentType:i}return M.prototype.send=function(M){var t=this;this.data=j(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)},j(t.onLoad)||(t.httpRequest.onload=t.onLoad),j(t.onProgress)||(t.httpRequest.onprogress=t.onProgress),j(t.onAbort)||(t.httpRequest.onabort=t.onAbort),j(t.onError)||(t.httpRequest.onerror=t.onError),j(t.onUploadProgress)||(t.httpRequest.upload.onprogress=t.onUploadProgress),t.httpRequest.open(t.type,t.url,t.mode),j(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(j(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=Et.exec(this.httpRequest.getAllResponseHeaders());e;)t[e[1].toLowerCase()]=e[2],e=Et.exec(this.httpRequest.getAllResponseHeaders());var i=t[M.toLowerCase()];return j(i)?null:i},M}(),Ot=function(){function M(M,t,e){this.type="GET",this.emitError=!0,"string"==typeof M?(this.url=M,this.type=j(t)?this.type:t.toUpperCase(),this.contentType=e):I(M)&&Object.keys(M).length>0&&r(this,M),this.contentType=j(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{j(this.fetchRequest)&&"GET"===this.type?this.fetchRequest=new Request(this.url,{method:this.type}):j(this.fetchRequest)&&(this.data=j(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){j(M)||"function"!=typeof M||M(t,e)},M}(),xt={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 St=function(){function M(){}return M.extractBrowserDetail=function(){for(var t={culture:{}},e=[],i=0,N=Object.keys(xt);i<N.length;i++){var g=N[i];if(e=M.userAgent.match(xt[""+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(/Trident\/7\./)){t.name="msie";break}var D=M.userAgent.match(/(version)[ /]([\w.]+)/i);"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&&!xt.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 z(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",/msie|trident/i)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isTouch",{get:function(){return z(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 z(window.browserDetails.isPointer)?window.browserDetails.isPointer="pointerEnabled"in window.navigator:window.browserDetails.isPointer},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isMSPointer",{get:function(){return z(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",/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isIos",{get:function(){return M.getValue("isIos",/(ipad|iphone|ipod touch)/i)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isIos7",{get:function(){return M.getValue("isIos7",/(ipad|iphone|ipod touch);.*os 7_\d|(ipad|iphone|ipod touch);.*os 8_\d/i)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isAndroid",{get:function