UNPKG

@boldreports/javascript-reporting-controls

Version:

The Bold Reports by Syncfusion controls for JavaScript contains ReportViewer and ReportDesigner HTML5 and JavaScript reporting controls for enterprise web development

10 lines 115 kB
/*! * filename: ej2-base.min.js * version : 17.4.46 * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under * applicable laws. */ this.ej=this.ej||{},this.ej.base=function(e){"use strict";function t(){Je=!1}function r(e,t){var r=t;return r.unshift(void 0),new(Function.prototype.bind.apply(e,r))}function n(e){var t,r=new Uint16Array(5);(window.msCrypto||window.crypto).getRandomValues(r);var n="ej2"+C(r),i=function(r){r.source===window&&"string"==typeof r.data&&r.data.length<=32&&r.data===n&&(e(),t())};return window.addEventListener("message",i,!1),window.postMessage(n,"*"),t=function(){window.removeEventListener("message",i),e=i=n=void 0}}function i(e,t){for(var r=t,n=e.replace(/\[/g,".").replace(/\]/g,"").split("."),i=0;i<n.length&&!h(r);i++)r=r[n[i]];return r}function o(e,t,r){var n,i,o=e.replace(/\[/g,".").replace(/\]/g,"").split("."),a=r||{},s=a,l=o.length;for(n=0;n<l;n++)i=o[n],n+1===l?s[i]=void 0===t?{}:t:p(s[i])&&(s[i]={}),s=s[i];return a}function a(e,t){delete e[t]}function s(e){var t={};return!p(e)&&e.constructor===t.constructor}function l(e,t){return e[t]}function c(e,t){if(!p(t))for(var r=e,n=t,i=0,o=Object.keys(t);i<o.length;i++){var a=o[i];p(r.deepMerge)||-1===r.deepMerge.indexOf(a)||!s(n[a])&&!Array.isArray(n[a])?r[a]=n[a]:u(r[a],r[a],n[a],!0)}}function u(e,t,r,n){var i=e&&"object"==typeof e?e:{},o=arguments.length;n&&(o-=1);for(var a=arguments,l=1;l<o;l++)!function(e){if(!a[e])return"continue";var t=a[e];Object.keys(t).forEach(function(e){var r,o=i[e],a=t[e],l=!E()||!(o instanceof Event);n&&l&&(s(a)||Array.isArray(a))?s(a)?(r=o||{},Array.isArray(r)&&r.hasOwnProperty("isComplexArray")?u(r,{},a,n):i[e]=u(r,{},a,n)):(r=o||[],i[e]=u([],r,a,n)):i[e]=a})}(l);return i}function p(e){return void 0===e||null===e}function h(e){return void 0===e}function d(e){return e+"_"+Ue++}function m(e,t){var r;return function(){var n=this,i=arguments,o=function(){return r=null,e.apply(n,i)};clearTimeout(r),r=setTimeout(o,t)}}function f(e){for(var t=[],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];t.push(encodeURIComponent(i)+"="+encodeURIComponent(""+e[i]))}return t.join("&")}function g(e){var t=Object.prototype.toString;return"[object Array]"===t.call(e)&&"[object Object]"===t.call(e[0])}function v(e,t){var r=e;return r===t||!(r===document||!r)&&v(r.parentNode,t)}function y(e){try{throw new Error(e)}catch(e){throw e.message+"\n"+e.stack}}function b(e,t){var r=document.createElement("div"),n=[].slice.call(document.getElementsByTagName("head")[0].querySelectorAll("base, link, style")),i="";p(t)&&(t=window.open("","print","height=452,width=1024,tabbar=no")),r.appendChild(e.cloneNode(!0));for(var o=0,a=n.length;o<a;o++)i+=n[o].outerHTML;t.document.write("<!DOCTYPE html> <html><head>"+i+"</head><body>"+r.innerHTML+"<script> (function() { window.ready = true; })(); <\/script></body></html>"),t.document.close(),t.focus();var s=setInterval(function(){t.ready&&(t.print(),t.close(),clearInterval(s))},500);return t}function M(e){var t=e+"";return"auto"===t||-1!==t.indexOf("%")||-1!==t.indexOf("px")?t:t+"px"}function w(){Je=!0}function E(){return Je}function D(e){return e instanceof Node||!E()||p(e.xPath)?e:document.evaluate(e.xPath,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}function P(e,t){var r="string"==typeof e?document.querySelector(e):e;if(r[We])for(var n=0,i=r[We];n<i.length;n++){var o=i[n];if(o instanceof t)return o}return null}function O(e,t){var r="string"==typeof e?document.querySelector(e):e;r[We]?r[We].push(t):r[We]=[t]}function S(){if("undefined"!=typeof window){var e=new Uint16Array(5);return(window.msCrypto||window.crypto).getRandomValues(e)}}function C(e){for(var t="",r=0;r<5;r++)t+=(r?",":"")+e[r];return t}function j(t){e.defaultCulture=t,dt.notify("notifyExternalChange",{locale:e.defaultCulture})}function x(t){e.defaultCurrencyCode=t,dt.notify("notifyExternalChange",{currencyCode:e.defaultCurrencyCode})}function T(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];u(mt,i,{},!0)}}function N(t){void 0===t&&(t=!0),e.rightToLeft=t,dt.notify("notifyExternalChange",{enableRtl:e.rightToLeft})}function F(t,r){var n=e.IntlBase.getDependables(mt,t,"",!0)[ft[0]],o=e.IntlBase.getDependables(mt,t,"")[ft[1]],a=i("defaultNumberingSystem",n),s=i("symbols-numberSystem-"+a,n),l=e.IntlBase.getSymbolPattern(r||"decimal",a,n,!1);return u(s,e.IntlBase.getFormatData(l,!0,"",!0),{dateSeparator:e.IntlBase.getDateSeparator(o)})}function A(t,r){var n=e.IntlBase.getDependables(mt,t,"",!0);return e.IntlBase.getCurrencySymbol(n.numericObject,r)}function I(t){return e.IntlBase.getDependables(mt,"",t,!1)[ft[1]]}function R(e,t){var r=Et.test(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return void 0===t?r:(r.innerHTML=t.innerHTML?t.innerHTML:"",void 0!==t.className&&(r.className=t.className),void 0!==t.id&&(r.id=t.id),void 0!==t.styles&&r.setAttribute("style",t.styles),void 0!==t.attrs&&V(r,t.attrs),r)}function H(e,t){for(var r=L(t),n=0,i=e;n<i.length;n++)for(var o=i[n],a=0,s=r;a<s.length;a++){var l=s[a];o.classList.contains(l)||o.classList.add(l)}return e}function k(e,t){for(var r=L(t),n=0,i=e;n<i.length;n++){var o=i[n];if(""!==o.className)for(var a=0,s=r;a<s.length;a++){var l=s[a];o.classList.remove(l)}}return e}function L(e){var t=[];return"string"==typeof e?t.push(e):t=e,t}function B(e){var t=e;return""===t.style.visibility&&t.offsetWidth>0}function G(e,t,r){for(var n=document.createDocumentFragment(),i=0,o=e;i<o.length;i++){var a=o[i];n.appendChild(a)}return t.insertBefore(n,t.firstElementChild),r&&z(t),e}function _(e,t,r){for(var n=document.createDocumentFragment(),i=0,o=e;i<o.length;i++){var a=o[i];n.appendChild(a)}return t.appendChild(n),r&&z(t),e}function z(e){e.querySelectorAll("script").forEach(function(e){var t=document.createElement("script");t.text=e.innerHTML,document.head.appendChild(t),Y(t)})}function Y(e){return e.parentNode.removeChild(e)}function X(e){var t=e.parentNode;wt.clearEvents(e),t.removeChild(e)}function V(e,t){for(var r=e,n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];r.setAttribute(o,t[o])}return r}function q(e,t){return void 0===t&&(t=document),t.querySelector(e)}function W(e,t){return void 0===t&&(t=document),t.querySelectorAll(e)}function U(e,t){var r=e;if("function"==typeof r.closest)return r.closest(t);for(;r&&1===r.nodeType;){if(Q(r,t))return r;r=r.parentNode}return null}function J(e){for(var t=[],r=0,n=Array.prototype.slice.call(e.parentNode.childNodes);r<n.length;r++){var i=n[r];i.nodeType===Node.ELEMENT_NODE&&e!==i&&t.push(i)}return t}function Z(e,t,r){var n=e.getAttribute(t);return p(n)&&(e.setAttribute(t,r.toString()),n=r),n}function $(e,t){void 0!==t&&Object.keys(t).forEach(function(r){e.style[r]=t[r]})}function K(e,t,r){H([e],t),k([e],r)}function Q(e,t){var r=e.matches||e.msMatchesSelector||e.webkitMatchesSelector;return r?r.call(e,t):-1!==[].indexOf.call(document.querySelectorAll(t),e)}function ee(e,t){var r,n,i="string"==typeof e?document.getElementById(e):e;for(n=0;n<i.ej2_instances.length;n++)if(r=i.ej2_instances[n],"string"==typeof t){if(t===r.getModuleName())return r}else if(r instanceof t)return r}function te(e){for(var t=[].slice.call(e.getElementsByClassName("e-control")),r=0;r<t.length;r++){var n=t[r].classList[1].split("e-")[1],i=ee(t[r],n);h(i)||i.destroy()}}function re(e,t,n,i){return e.properties.hasOwnProperty(t)&&e.properties[t]instanceof i||(e.properties[t]=r(i,[e,t,n])),e.properties[t]}function ne(e,t,n,i,o,a){for(var s=[],l=n?n.length:0,c=0;c<l;c++){var u=i;if(a&&(u=i(n[c],e)),o){var p=r(u,[e,t,{},!0]);p.setProperties(n[c],!0),s.push(p)}else s.push(r(u,[e,t,n[c],!1]))}return s}function ie(e,t){return function(){return this.properties.hasOwnProperty(t)||(this.properties[t]=e),this.properties[t]}}function oe(e,t){return function(r){if(this.properties[t]!==r){var n=this.properties.hasOwnProperty(t)?this.properties[t]:e;this.saveChanges(t,r,n),this.properties[t]=r}}}function ae(e,t,r){return function(){return re(this,t,e,r)}}function se(e,t,r){return function(n){re(this,t,e,r).setProperties(n)}}function le(e,t,r){return function(){var n=r({});return this.properties.hasOwnProperty(t)?this.properties[t]:re(this,t,e,n)}}function ce(e,t,r){return function(n){var i=r(n,this);re(this,t,e,i).setProperties(n)}}function ue(e,t,r){return function(){var n=this;if(!this.properties.hasOwnProperty(t)){var i=ne(this,t,e,r,!1);this.properties[t]=i}var o=void 0!==this.controlParent&&this.controlParent.ignoreCollectionWatch||this.ignoreCollectionWatch;return this.properties[t].hasOwnProperty("push")||o||["push","pop"].forEach(function(e){var i={value:me(e,t,r,n.properties[t]).bind(n),configurable:!0};Object.defineProperty(n.properties[t],e,i)}),this.properties[t].hasOwnProperty("isComplexArray")||Object.defineProperty(this.properties[t],"isComplexArray",{value:!0}),this.properties[t]}}function pe(e,t,r){return function(n){this.isComplexArraySetter=!0;var i=ne(this,t,e,r,!1),o=ne(this,t,n,r,!0);this.isComplexArraySetter=!1,this.saveChanges(t,o,i),this.properties[t]=o}}function he(e,t,r){return function(n){var i=this.properties.hasOwnProperty(t)?this.properties[t]:e,o=ne(this,t,n,r,!0,!0);this.saveChanges(t,o,i),this.properties[t]=o}}function de(e,t,r){return function(){var n=r({});if(!this.properties.hasOwnProperty(t)){var i=ne(this,t,e,n,!1);this.properties[t]=i}return this.properties[t]}}function me(e,t,r,n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=this.propName?this.getParentKey()+"."+t+"-":t+"-";switch(e){case"push":for(var a=0;a<r.length;a++){Array.prototype[e].apply(n,[r[a]]);var s=fe(o+(n.length-1),r[a],!this.controlParent,e);this.serverDataBind(s,r[a],!1,e)}break;case"pop":Array.prototype[e].apply(n);var l=fe(o+n.length,null,!this.controlParent,e);this.serverDataBind(l,{ejsAction:"pop"},!1,e)}return n}}function fe(e,t,r,n){var i=e;if(r&&(i={},i[e]=t,t&&"object"==typeof t)){i[e].ejsAction=n}return i}function ge(e){return function(t,r){var n={set:oe(e,r),get:ie(e,r),enumerable:!0,configurable:!0};Object.defineProperty(t,r,n),De(t,r,"prop",e)}}function ve(e,t){return function(r,n){var i={set:se(e,n,t),get:ae(e,n,t),enumerable:!0,configurable:!0};Object.defineProperty(r,n,i),De(r,n,"complexProp",e,t)}}function ye(e){return function(t,r){var n={set:ce({},r,e),get:le({},r,e),enumerable:!0,configurable:!0};Object.defineProperty(t,r,n),De(t,r,"complexProp",{},e)}}function be(e,t){return function(r,n){var i={set:pe(e,n,t),get:ue(e,n,t),enumerable:!0,configurable:!0};Object.defineProperty(r,n,i),De(r,n,"colProp",e,t)}}function Me(e){return function(t,r){var n={set:he([],r,e),get:de([],r,e),enumerable:!0,configurable:!0};Object.defineProperty(t,r,n),De(t,r,"colProp",{},e)}}function we(){return function(e,t){var r={set:function(e){var r=this.properties[t];if(r!==e){var n=Se(this,t);!1===h(r)&&n.context.removeEventListener(n.prefix,r),n.context.addEventListener(n.prefix,e),this.properties[t]=e}},get:ie(void 0,t),enumerable:!0,configurable:!0};Object.defineProperty(e,t,r),De(e,t,"event")}}function Ee(e){}function De(e,t,r,n,i){h(e.propList)&&(e.propList={props:[],complexProps:[],colProps:[],events:[],propNames:[],complexPropNames:[],colPropNames:[],eventNames:[]}),e.propList[r+"s"].push({propertyName:t,defaultValue:n,type:i}),e.propList[r+"Names"].push(t)}function Pe(e){if(h(e.prototype.builderObject)){e.prototype.builderObject={properties:{},propCollections:[],add:function(){this.isPropertyArray=!0,this.propCollections.push(u({},this.properties,{}))}};for(var t=/complex/,r=0,n=Object.keys(e.prototype.propList);r<n.length;r++)for(var i=n[r],o=0,a=e.prototype.propList[i];o<a.length;o++)!function(r){t.test(i)?e.prototype.builderObject[r.propertyName]=function(e){var t={};c(t,Pe(r.type)),e(t);var n;return n=t.isPropertyArray?t.propCollections:u({},t.properties,{}),this.properties[r.propertyName]=n,t.properties={},t.propCollections=[],t.isPropertyArray=!1,this}:e.prototype.builderObject[r.propertyName]=function(e){return this.properties[r.propertyName]=e,this}}(a[o])}return e.prototype.builderObject}function Oe(e){var t=function(e){return this.element=e,this};return function(r){return t.prototype.hasOwnProperty("create")||((t.prototype=Pe(e)).create=function(){var t=u({},{},this.properties);return this.properties={},new e(t,this.element)}),new t(r)}}function Se(e,t){if(!1===e.hasOwnProperty("parentObj"))return{context:e,prefix:t};var r=i("propName",e);return r&&(t=r+"-"+t),Se(i("parentObj",e),t)}function Ce(t,r,n){var i=je(r);return!1===i.rippleFlag||void 0===i.rippleFlag&&!e.isRippleEnabled?Function:(t.setAttribute("data-ripple","true"),wt.add(t,"mousedown",xe,{parent:t,rippleOptions:i}),wt.add(t,"mouseup",Te,{parent:t,rippleOptions:i,done:n}),wt.add(t,"mouseleave",Ne,{parent:t,rippleOptions:i}),St.isPointer&&wt.add(t,"transitionend",Ne,{parent:t,rippleOptions:i}),function(){t.removeAttribute("data-ripple"),wt.remove(t,"mousedown",xe),wt.remove(t,"mouseup",Te),wt.remove(t,"mouseleave",Ne),wt.remove(t,"transitionend",Ne)})}function je(e){return{selector:e&&e.selector?e.selector:null,ignore:e&&e.ignore?e.ignore:null,rippleFlag:e&&e.rippleFlag,isCenterRipple:e&&e.isCenterRipple,duration:e&&e.duration?e.duration:350}}function xe(e){var t=e.target,r=this.rippleOptions.selector,n=r?U(t,r):t;if(!(!n||this.rippleOptions&&U(t,this.rippleOptions.ignore))){var i=n.getBoundingClientRect(),o=e.pageX-document.body.scrollLeft,a=e.pageY-(!document.body.scrollTop&&document.documentElement?document.documentElement.scrollTop:document.body.scrollTop),s=Math.max(Math.abs(o-i.left),Math.abs(o-i.right)),l=Math.max(Math.abs(a-i.top),Math.abs(a-i.bottom)),c=Math.sqrt(s*s+l*l),u=2*c+"px",p=o-i.left-c,h=a-i.top-c;this.rippleOptions&&this.rippleOptions.isCenterRipple&&(p=0,h=0,u="100%"),n.classList.add("e-ripple");var d=R("div",{className:"e-ripple-element",styles:"width: "+u+";height: "+u+";left: "+p+"px;top: "+h+"px;transition-duration: "+this.rippleOptions.duration.toString()+"ms;"});n.appendChild(d),window.getComputedStyle(d).getPropertyValue("opacity"),d.style.transform="scale(1)",n!==this.parent&&wt.add(n,"mouseleave",Ne,{parent:this.parent,rippleOptions:this.rippleOptions})}}function Te(e){Fe(e,this)}function Ne(e){Fe(e,this)}function Fe(e,t){var r=t.rippleOptions.duration,n=e.target,i=t.rippleOptions.selector,o=i?U(n,i):n;if(o&&(!o||-1!==o.className.indexOf("e-ripple"))){var a=W(".e-ripple-element",o),s=a[a.length-1];s&&(s.style.opacity="0.5"),t.parent!==o&&wt.remove(o,"mouseleave",Ne),setTimeout(function(){s&&s.parentNode&&s.parentNode.removeChild(s),o.getElementsByClassName("e-ripple-element").length||o.classList.remove("e-ripple"),t.done&&t.done(e)},r)}}function Ae(t){return e.isRippleEnabled=t,e.isRippleEnabled}function Ie(e,t){var r='var str="'+Re(e,"data",t)+'"; return str;';return new Function("data",r).bind(t)}function Re(e,t,r){var n=0,i=[],o=e.match(/class="([^\"]+|)\s{2}/g),a="";return o&&o.forEach(function(t){a=t.replace(/\s\s+/g," "),e=e.replace(t,a)}),e.replace(nr,"").replace(dr,"'$1'").replace(fr,function(e,o,a,s){var l=/\@|\#|\$/gm,c=o.match(ur);if(c){var u=c[1];if(ar.test(o))o='";} '+o.replace(c[1],u.replace(hr,function(e){return e=e.trim(),He(e,!ir.test(e)&&-1===i.indexOf(e),t,i)}))+'{ \n str = str + "';else if(or.test(o))o='"; '+o.replace(c[1],u.replace(mr,function(e){return Ge(e,t,i)}))+'{ \n str = str + "';else if(lr.test(o)){var p=c[1].split(" of ");o='"; '+o.replace(c[1],function(e){return i.push(p[0]),i.push(p[0]+"Index"),"var i"+(n+=1)+"=0; i"+n+" < "+He(p[1],!0,t,i)+".length; i"+n+"++"})+"{ \n "+p[0]+"= "+He(p[1],!0,t,i)+"[i"+n+"]; \n var "+p[0]+"Index=i"+n+'; \n str = str + "'}else{var h=o.split("("),d=r&&r.hasOwnProperty(h[0])?"this.":"global";d=/\./.test(h[0])?"":d;var m=c[1].split(",");0===c[1].length||/data/.test(m[0])||/window./.test(m[0])||(c[1]="global"===d?t+"."+c[1]:c[1]);var f=/\@|\$|\#/gm,g=/\]\./gm;Mr.test(o)&&g.test(o)||f.test(o)?/\@|\$|\#|\]\./gm.test(o)&&(o='"+ '+("global"===d?"":d)+o.replace(c[1],u.replace(br,function(e){return Ge(e,t,i)}))+'+ "'):o='" + '+("global"===d?"":d)+o.replace(u,He(c[1].replace(/,( |)data.|,/gi,","+t+".").replace(/,( |)data.window/gi,",window"),"global"!==d,t,i))+'+"'}}else sr.test(o)?o='"; '+o.replace(sr,'} else { \n str = str + "'):o.match(cr)?o=o.replace(cr,'"; \n } \n str = str + "'):l.test(o)?(o.match(vr)&&(o=Be(o)),o='"+'+Le(o,-1===i.indexOf(o),t,i)+'"]+"'):o=o.match(vr)?'"+'+Le(o=Be(o),-1===i.indexOf(o),t,i)+'"]+"':'"+'+He(o.replace(/\,/gi,"+"+t+"."),-1===i.indexOf(o),t,i)+'+"';return o})}function He(e,t,r,n){return t&&!pr.test(e)&&-1===n.indexOf(e.split(".")[0])?r+"."+e:e}function ke(e,t,r,n){var i=/^\..*/gm;return!t||pr.test(e)||-1!==n.indexOf(e.split(".")[0])||i.test(e)?e:r+"."+e}function Le(e,t,r,n){return t&&!pr.test(e)&&-1===n.indexOf(e.split(".")[0])?r+'["'+e:e}function Be(e){return e=e.match(yr)?e:e.replace(vr,"\\\\")}function Ge(e,t,r){if(e=e.trim(),/\window\./gm.test(e))return e;var n=/'|"/gm;return/\@|\$|\#/gm.test(e)&&(e=Le(e,-1===r.indexOf(e),t,r)+'"]'),gr.test(e)?ke(e,!n.test(e)&&-1===r.indexOf(e),t,r):He(e,!n.test(e)&&-1===r.indexOf(e),t,r)}function _e(){return"-"+Math.random().toString(36).substr(2,5)}function ze(e,t){var r=Pr.compile(e,t);return function(e,t,n,i,o,a){var s=r(e,t,n);if(E()&&!o){var l=i+_e();if(Dr[i]||(Dr[i]=[]),p(a))e.BlazorTemplateId=l,Dr[i].push(e);else for(var c=0,u=Object.keys(Dr[i][a]);c<u.length;c++){var h=u[c];"BlazorTemplateId"!==h&&e[h]&&(Dr[i][a][h]=e[h]),"BlazorTemplateId"===h&&(l=Dr[i][a][h])}return"rowTemplate"===n?[R("tr",{id:l,className:"e-blazor-template"})]:[R("div",{id:l,className:"e-blazor-template"})]}if("string"==typeof s){if(Er.test(s))return(d=R("svg",{innerHTML:s})).childNodes;var d=R(wr.test(s)?"table":"div",{innerHTML:s});return d.childNodes}return s}}function Ye(e,t,r,n,i){if(E()){window.ejsInterop.updateTemplate(t,Dr[e],e,r,i),!1!==n&&(Dr[e]=[])}}function Xe(e,t,r){var n=document.getElementById(e);if(n)for(var i=n.getElementsByClassName("blazor-inner-template"),o=0;o<i.length;o++){var a=" ";a=p(r)?i[o].getAttribute("data-templateId"):i[r].getAttribute("data-templateId");var s=document.getElementById(a);if(s)for(var l=s.childNodes.length,c=0;c<l;c++)p(r)?i[o].appendChild(s.childNodes[0]):(i[r].appendChild(s.childNodes[0]),o=i.length)}}function Ve(e){Pr.compile=e.compile}function qe(){return Pr.compile}var We="ej2_instances",Ue=0,Je=!1,Ze={latn:{_digits:"0123456789",_type:"numeric"}},$e={decimal:".",group:",",percentSign:"%",plusSign:"+",minusSign:"-",infinity:"∞",nan:"NaN",exponential:"E"},Ke=[0,1,2,3,4,5,6,7,8,9],Qe=function(){function e(){}return e.getMainObject=function(e,t){return i("main."+t,e)},e.getNumberingSystem=function(e){return i("supplemental.numberingSystems",e)||this.numberingSystems},e.reverseObject=function(e,t){for(var r={},n=0,i=t||Object.keys(e);n<i.length;n++){var o=i[n];r.hasOwnProperty(e[o])||(r[e[o]]=o)}return r},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={},r=0,n=Object.keys($e);r<n.length;r++){var i=n[r];t[e[i]]=$e[i]}return t},e.constructRegex=function(e){for(var t=e.length,r="",n=0;n<t;n++)r+=n!==t-1?e[n]+"|":e[n];return r},e.convertValueParts=function(e,t,r){return e.replace(t,function(e){return r[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,r){var n={},o=this.getDefaultNumberingSystem(e);if(!h(o.nSystem)){var a=i(o.nSystem+"._digits",t);h(a)||(n.numericPair=this.reverseObject(a,Ke),n.numberParseRegex=new RegExp(this.constructRegex(a),"g"),n.numericRegex="["+a[0]+"-"+a[9]+"]",r&&(n.numericRegex=a[0]+"-"+a[9],n.symbolNumberSystem=i("symbols-numberSystem-"+o.nSystem,o.obj),n.symbolMatch=this.getSymbolMatch(n.symbolNumberSystem),n.numberSystem=o.nSystem))}return n},e.getNumberMapper=function(e,t,r){var n={mapper:{}},o=this.getDefaultNumberingSystem(e);if(!h(o.nSystem)){n.numberSystem=o.nSystem,n.numberSymbols=i("symbols-numberSystem-"+o.nSystem,o.obj),n.timeSeparator=i("timeSeparator",n.numberSymbols);var a=i(o.nSystem+"._digits",t);if(!h(a))for(var s=0,l=Ke;s<l.length;s++){var c=l[s];n.mapper[c]=a[c]}}return n},e.nPair="numericPair",e.nRegex="numericRegex",e.numberingSystems=Ze,e}();!function(e){function t(e){var t=e.getDate(),r=e.getMonth(),i=e.getFullYear(),o=r+1,a=i;o<3&&(a-=1,o+=12);var s=Math.floor(a/100),l=s-Math.floor(s/4)-2,c=Math.floor(365.25*(a+4716))+Math.floor(30.6001*(o+1))+t-l-1524,u=c+(l=(s=Math.floor((c-1867216.25)/36524.25))-Math.floor(s/4)+1)+1524,p=Math.floor((u-122.1)/365.25),h=Math.floor(365.25*p),d=Math.floor((u-h)/30.6001);t=u-h-Math.floor(30.6001*d),(r=Math.floor((u-h)/20.6001))>13&&(p+=1,r-=12),r-=1,i=p-4716;var m=c-24e5,f=c-1948084,g=Math.floor(f/10631);f-=10631*g;var v=Math.floor((f-.1335)/(10631/30)),y=30*g+v;f-=Math.floor(v*(10631/30)+.1335);var b=Math.floor((f+28.5001)/29.5);13===b&&(b=12);for(var M=f-Math.floor(29.5001*b-29),w=0;w<n.length&&!(n[w]>m);w++);var E=w+16260,D=Math.floor((E-1)/12),P=D+1,O=E-12*D,S=m-n[w-1]+1;return(S+"").length>2&&(S=M,O=b,P=y),{year:P,month:O,date:S}}function r(e,t,r){var i=r+n[12*(e-1)+1+(t-1)-16260-1]-1+24e5,o=Math.floor(i+.5),a=Math.floor((o-1867216.25)/36524.25),s=(a=o+1+a-Math.floor(a/4))+1524,l=Math.floor((s-122.1)/365.25),c=Math.floor(365.25*l),u=Math.floor((s-c)/30.6001),p=s-c-Math.floor(30.6001*u),h=u-(u>13.5?13:1),d=l-(h>2.5?4716:4715);return d<=0&&h--,new Date(d+"/"+h+"/"+p)}var n=[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=t,e.toGregorian=r}(e.HijriParser||(e.HijriParser={}));var et=["sun","mon","tue","wed","thu","fri","sat"],tt={m:"getMinutes",h:"getHours",H:"getHours",s:"getSeconds",d:"getDate",f:"getMilliseconds"},rt={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"},nt=function(){function t(){}return t.dateFormat=function(t,r,n){var o=this,a=e.IntlBase.getDependables(n,t,r.calendar),s={isIslamic:e.IntlBase.islamicRegex.test(r.calendar)};E()&&r.isServerRendered&&(r=e.IntlBase.compareBlazorDateFormats(r,t));var l=r.format||e.IntlBase.getResultantPattern(r.skeleton,a.dateObject,r.type);if(s.dateSeperator=e.IntlBase.getDateSeparator(a.dateObject),h(l))y("Format options or type given must be invalid");else{s.pattern=l,s.numMapper=Qe.getNumberMapper(a.parserObject,Qe.getNumberingSystem(n));for(var c=0,u=l.match(/\/MMMMM|MMMM|MMM|a|LLL|EEEEE|EEEE|E|K|cccc|ccc|G+|z+/gi)||[];c<u.length;c++){var p=u[c],d=p.length,m=p[0];switch("K"===m&&(m="h"),m){case"E":case"c":s.weekday=a.dateObject[e.IntlBase.days]["stand-alone"][e.IntlBase.monthIndex[d]];break;case"M":case"L":s.month=a.dateObject[e.IntlBase.month]["stand-alone"][e.IntlBase.monthIndex[d]];break;case"a":s.designator=i("dayPeriods.format.wide",a.dateObject);break;case"G":var f=d<=3?"eraAbbr":4===d?"eraNames":"eraNarrow";s.era=i("eras."+f,a.dateObject);break;case"z":s.timeZone=i("dates.timeZoneNames",a.parserObject)}}}return function(e){return isNaN(e.getDate())?null:o.intDateFormatter(e,s)}},t.intDateFormatter=function(t,r){for(var n="",i=r.pattern.match(e.IntlBase.dateParseRegex),o=this.getCurrentDateValue(t,r.isIslamic),a=0,s=i;a<s.length;a++){var l=s[a],c=l.length,u=l[0];"K"===u&&(u="h");var h=void 0,d="",m=void 0,f=void 0,g="";switch(u){case"M":case"L":h=o.month,c>2?n+=r.month[h]:m=!0;break;case"E":case"c":n+=r.weekday[et[t.getDay()]];break;case"H":case"h":case"m":case"s":case"d":case"f":if(m=!0,"d"===u)h=o.date;else if("f"===u){m=!1,f=!0;var v=(d=(d=t[tt[u]]().toString()).substring(0,c)).length;if(c!==v){if(c>3)continue;for(var y=0;y<c-v;y++)d="0"+d.toString()}g+=d}else h=t[tt[u]]();"h"===u&&(h=h%12||12);break;case"y":f=!0,g+=o.year,2===c&&(g=g.substr(g.length-2));break;case"a":var b=t.getHours()<12?"am":"pm";n+=r.designator[b];break;case"G":var M=t.getFullYear()<0?0:1,w=r.era[M];p(w)&&(w=r.era[M?0:1]),n+=w||"";break;case"'":n+="''"===l?"'":l.replace(/\'/g,"");break;case"z":var E=t.getTimezoneOffset(),D=c<4?"+H;-H":r.timeZone.hourFormat;D=D.replace(/:/g,r.numMapper.timeSeparator),0===E?n+=r.timeZone.gmtZeroFormat:(f=!0,g=this.getTimeZoneValue(E,D)),g=r.timeZone.gmtFormat.replace(/\{0\}/,g);break;case":":n+=r.numMapper.numberSymbols.timeSeparator;break;case"/":n+=r.dateSeperator;break;default:n+=l}m&&(f=!0,g=this.checkTwodigitNumber(h,c)),f&&(n+=Qe.convertValueParts(g,e.IntlBase.latnParseRegex,r.numMapper.mapper))}return n},t.getCurrentDateValue=function(t,r){return r?e.HijriParser.getHijriDate(t):{year:t.getFullYear(),month:t.getMonth()+1,date:t.getDate()}},t.checkTwodigitNumber=function(e,t){var r=e+"";return 2===t&&2!==r.length?"0"+r:r},t.getTimeZoneValue=function(e,t){var r=this,n=t.split(";")[e>0?1:0],i=Math.abs(e);return n=n.replace(/HH?|mm/g,function(e){var t=e.length,n=-1!==e.indexOf("H");return r.checkTwodigitNumber(Math.floor(n?i/60:i%60),t)})},t}(),it={ms:"minimumSignificantDigits",ls:"maximumSignificantDigits",mf:"minimumFractionDigits",lf:"maximumFractionDigits"},ot=["infinity","nan","group","decimal","exponential"],at=function(){function t(){}return t.numberFormatter=function(t,r,n){var i,o=this,a=u({},r),s={},l={},c=e.IntlBase.getDependables(n,t,"",!0);l.numberMapper=Qe.getNumberMapper(c.parserObject,Qe.getNumberingSystem(n),!0),l.currencySymbol=e.IntlBase.getCurrencySymbol(c.numericObject,a.currency||e.defaultCurrencyCode,r.altSymbol),l.percentSymbol=l.numberMapper.numberSymbols.percentSign,l.minusSymbol=l.numberMapper.numberSymbols.minusSign;var p=l.numberMapper.numberSymbols;if(r.format&&!e.IntlBase.formatRegex.test(r.format))s=e.IntlBase.customFormat(r.format,l,c.numericObject);else{u(a,e.IntlBase.getProperNumericSkeleton(r.format||"N")),a.isCurrency="currency"===a.type,a.isPercent="percent"===a.type,i=e.IntlBase.getSymbolPattern(a.type,l.numberMapper.numberSystem,c.numericObject,a.isAccount),a.groupOne=this.checkValueRange(a.maximumSignificantDigits,a.minimumSignificantDigits,!0),this.checkValueRange(a.maximumFractionDigits,a.minimumFractionDigits,!1,!0),h(a.fractionDigits)||(a.minimumFractionDigits=a.maximumFractionDigits=a.fractionDigits),h(a.useGrouping)&&(a.useGrouping=!0),a.isCurrency&&(i=i.replace(/\u00A4/g,e.IntlBase.defaultCurrency));var d=i.split(";");if(s.nData=e.IntlBase.getFormatData(d[1]||"-"+d[0],!0,l.currencySymbol),s.pData=e.IntlBase.getFormatData(d[0],!1,l.currencySymbol),a.useGrouping&&(a.groupSeparator=p[ot[2]],a.groupData=this.getGroupingDetails(d[0])),h(a.minimumFractionDigits)&&(a.minimumFractionDigits=s.nData.minimumFraction),h(a.maximumFractionDigits)){var m=s.nData.maximumFraction;a.maximumFractionDigits=h(m)&&a.isPercent?0:m}var f=a.minimumFractionDigits,g=a.maximumFractionDigits;h(f)||h(g)||f>g&&(a.maximumFractionDigits=f)}return u(s.nData,a),u(s.pData,a),function(e){return isNaN(e)?p[ot[1]]:isFinite(e)?o.intNumberFormatter(e,s,l):p[ot[0]]}},t.getGroupingDetails=function(t){var r={},n=t.match(e.IntlBase.negativeDataRegex);if(n&&n[4]){var i=n[4],o=i.lastIndexOf(",");if(-1!==o){var a=i.split(".")[0];r.primary=a.length-o-1;var s=i.lastIndexOf(",",o-1);-1!==s&&(r.secondary=o-1-s)}}return r},t.checkValueRange=function(e,t,r,n){var i=n?"f":"s",o=0,a=it["l"+i],s=it["m"+i];if(h(e)||(this.checkRange(e,a,n),o++),h(t)||(this.checkRange(t,s,n),o++),2===o){if(!(e<t))return!0;y(s+"specified must be less than the"+a)}else r&&1===o&&y("Both"+s+"and"+s+"must be present");return!1},t.checkRange=function(e,t,r){var n=r?[0,20]:[1,21];(e<n[0]||e>n[1])&&y(t+"value must be within the range"+n[0]+"to"+n[1])},t.intNumberFormatter=function(t,r,n){var i;if(!h(r.nData.type)){t<0?(t*=-1,i=r.nData):i=0===t?r.zeroData||r.pData:r.pData;var o="";return i.isPercent&&(t*=100),i.groupOne?o=this.processSignificantDigits(t,i.minimumSignificantDigits,i.maximumSignificantDigits):(o=this.processFraction(t,i.minimumFractionDigits,i.maximumFractionDigits),i.minimumIntegerDigits&&(o=this.processMinimumIntegers(o,i.minimumIntegerDigits))),"scientific"===i.type&&(o=(o=t.toExponential(i.maximumFractionDigits)).replace("e",n.numberMapper.numberSymbols[ot[4]])),o=o.replace(".",n.numberMapper.numberSymbols[ot[3]]),i.useGrouping&&(o=this.groupNumbers(o,i.groupData.primary,i.groupSeparator||",",n.numberMapper.numberSymbols[ot[3]]||".",i.groupData.secondary)),o=Qe.convertValueParts(o,e.IntlBase.latnParseRegex,n.numberMapper.mapper),"N/A"===i.nlead?i.nlead:i.nlead+o+i.nend}},t.processSignificantDigits=function(e,t,r){var n=e+"";return n.length<t?e.toPrecision(t):(n=e.toPrecision(r),+n+"")},t.groupNumbers=function(e,t,r,n,i){for(var o=!p(i)&&0!==i,a=e.split(n),s=a[0],l=s.length,c="";l>t;)c=s.slice(l-t,l)+(c.length?r+c:""),l-=t,o&&(t=i,o=!1);return a[0]=s.slice(0,l)+(c.length?r:"")+c,a.join(n)},t.processFraction=function(e,t,r){var n=(e+"").split(".")[1],i=n?n.length:0;if(t&&i<t){var o="";if(0!==i){o+=e;for(var a=0;a<t-i;a++)o+="0";return o}return o=e.toFixed(t),e.toFixed(t)}return!p(r)&&(i>r||0===r)?e.toFixed(r):e+""},t.processMinimumIntegers=function(e,t){var r=e.split("."),n=r[0],i=n.length;if(i<t){for(var o=0;o<t-i;o++)n="0"+n;r[0]=n}return r.join(".")},t}(),st=/^[0-9]*$/,lt={minute:"setMinutes",hour:"setHours",second:"setSeconds",day:"setDate",month:"setMonth",milliseconds:"setMilliseconds"},ct=function(){function t(){}return t.dateParser=function(t,r,n){var o=this,a=e.IntlBase.getDependables(n,t,r.calendar),s=Qe.getCurrentNumericOptions(a.parserObject,Qe.getNumberingSystem(n)),l={};E()&&r.isServerRendered&&(r=e.IntlBase.compareBlazorDateFormats(r,t));var c,u=r.format||e.IntlBase.getResultantPattern(r.skeleton,a.dateObject,r.type),d="";if(h(u))y("Format options or type given must be invalid");else{l={isIslamic:e.IntlBase.islamicRegex.test(r.calendar),pattern:u,evalposition:{}};for(var m=u.match(e.IntlBase.dateParseRegex)||[],f=m.length,g=0,v=0,b=!1,M=s.numericRegex,w=Qe.getNumberMapper(a.parserObject,Qe.getNumberingSystem(n)),D=0;D<f;D++){var P=m[D],O=P.length,S="K"===P[0]?"h":P[0],C=void 0,j=void 0,x=rt[S],T=2===O?"":"?";switch(b&&(g=v,b=!1),S){case"E":case"c":var N=Qe.reverseObject(a.dateObject[e.IntlBase.days]["stand-alone"][e.IntlBase.monthIndex[O]]);d+="("+Object.keys(N).join("|")+")";break;case"M":case"L":case"d":case"m":case"s":case"h":case"H":case"f":if(j=!0,("M"===S||"L"===S)&&O>2)l[x]=Qe.reverseObject(a.dateObject.months["stand-alone"][e.IntlBase.monthIndex[O]]),d+="("+Object.keys(l[x]).join("|")+")";else if("f"===S){if(O>3)continue;C=!0,d+="("+M+M+"?"+M+"?)"}else C=!0,d+="("+M+M+T+")";"h"===S&&(l.hour12=!0);break;case"y":j=C=!0,d+=2===O?"("+M+M+")":"("+M+"{"+O+",})";break;case"a":j=!0,l[x]=Qe.reverseObject(i("dayPeriods.format.wide",a.dateObject)),d+="("+Object.keys(l[x]).join("|")+")";break;case"G":j=!0;var F=O<=3?"eraAbbr":4===O?"eraNames":"eraNarrow";l[x]=Qe.reverseObject(i("eras."+F,a.dateObject)),d+="("+Object.keys(l[x]).join("|")+"?)";break;case"z":j=0!==(new Date).getTimezoneOffset(),l[x]=i("dates.timeZoneNames",a.parserObject);var A=l[x],I=(c=O<4)?"+H;-H":A.hourFormat;I=I.replace(/:/g,w.timeSeparator),d+="("+this.parseTimeZoneRegx(I,A,M)+")?",b=!0,v=c?6:12;break;case"'":d+="("+P.replace(/\'/g,"")+")?";break;default:d+="([\\D])"}j&&(l.evalposition[x]={isNumber:C,pos:D+1+g,hourOnly:c}),D!==f-1||p(d)||(l.parserRegex=new RegExp("^"+d+"$","i"))}}return function(t){var r=o.internalDateParse(t,l,s);if(p(r)||!Object.keys(r).length)return null;if(l.isIslamic){var n={},i=r.year,a=r.day,c=r.month,u=i?i+"":"",h=2===u.length;i&&c&&a&&!h||(n=e.HijriParser.getHijriDate(new Date)),h&&(i=parseInt((n.year+"").slice(0,2)+u,10));var d=e.HijriParser.toGregorian(i||n.year,c||n.month,a||n.date);r.year=d.getFullYear(),r.month=d.getMonth()+1,r.day=d.getDate()}return o.getDateObject(r)}},t.getDateObject=function(e,t){var r=t||new Date;r.setMilliseconds(0);var n=["hour","minute","second","milliseconds","month","day"],i=e.year,o=e.designator,a=e.timeZone;h(i)||((i+"").length<=2&&(i+=100*Math.floor(r.getFullYear()/100)),r.setFullYear(i));for(var s=0,l=n;s<l.length;s++){var c=l[s],u=e[c];if(h(u)&&"day"===c&&r.setDate(1),!h(u))if("month"===c){if((u-=1)<0||u>11)return new Date("invalid");var p=r.getDate();r.setDate(1),r[lt[c]](u);var d=new Date(r.getFullYear(),u+1,0).getDate();r.setDate(p<d?p:d)}else{if("day"===c){var m=new Date(r.getFullYear(),r.getMonth()+1,0).getDate();if(u<1||u>m)return null}r[lt[c]](u)}}if(!h(o)){var f=r.getHours();"pm"===o?r.setHours(f+(12===f?0:12)):12===f&&r.setHours(0)}if(!h(a)){var g=a-r.getTimezoneOffset();0!==g&&r.setMinutes(r.getMinutes()+g)}return r},t.internalDateParse=function(e,t,r){var n=e.match(t.parserRegex),i={hour:0,minute:0,second:0};r.numericRegex;if(p(n))return null;for(var o=0,a=Object.keys(t.evalposition);o<a.length;o++){var s=a[o],l=t.evalposition[s],c=n[l.pos];if(l.isNumber)i[s]=this.internalNumberParser(c,r);else if("timeZone"!==s||h(c))i[s]=t[s][c];else{var u=l.pos,d=void 0,m=n[u+1],f=!h(m);l.hourOnly?d=60*this.getZoneValue(f,m,n[u+4],r):(d=60*this.getZoneValue(f,m,n[u+7],r),d+=this.getZoneValue(f,n[u+4],n[u+10],r)),p(d)||(i[s]=d)}}return t.hour12&&(i.hour12=!0),i},t.internalNumberParser=function(e,t){return e=Qe.convertValueParts(e,t.numberParseRegex,t.numericPair),st.test(e)?+e:null},t.parseTimeZoneRegx=function(e,t,r){var n,i,o=t.gmtFormat,a="("+r+")("+r+")";return n=e.replace("+","\\+"),n=-1!==e.indexOf("HH")?n.replace(/HH|mm/g,"("+a+")"):n.replace(/H|m/g,"("+a+"?)"),i=n.split(";").map(function(e){return o.replace("{0}",e)}),n=i.join("|")+"|"+t.gmtZeroFormat},t.getZoneValue=function(e,t,r,n){var i=e?t:r;if(!i)return 0;var o=this.internalNumberParser(i,n);return e?-o:o},t}(),ut=["minusSign","infinity"],pt=function(){function t(){}return t.numberParser=function(t,r,n){var i,o=this,a=e.IntlBase.getDependables(n,t,"",!0),s={custom:!0};e.IntlBase.formatRegex.test(r.format)||!r.format?(u(s,e.IntlBase.getProperNumericSkeleton(r.format||"N")),s.custom=!1):u(s,e.IntlBase.customFormat(r.format,null,null)),i=Qe.getCurrentNumericOptions(a.parserObject,Qe.getNumberingSystem(n),!0),s.symbolRegex=Qe.getSymbolRegex(Object.keys(i.symbolMatch)),s.infinity=i.symbolNumberSystem[ut[1]];var l=e.IntlBase.getSymbolPattern(s.type,i.numberSystem,a.numericObject,s.isAccount);if(l){var c=(l=l.replace(/\u00A4/g,e.IntlBase.defaultCurrency)).split(";");s.nData=e.IntlBase.getFormatData(c[1]||"-"+c[0],!0,""),s.pData=e.IntlBase.getFormatData(c[0],!0,"")}return function(e){return o.getParsedNumber(e,s,i)}},t.getParsedNumber=function(e,t,r){var n,i,o,a,s,l;if(-1!==e.indexOf(t.infinity))return 1/0;e=Qe.convertValueParts(e,t.symbolRegex,r.symbolMatch),0===(e=Qe.convertValueParts(e,r.numberParseRegex,r.numericPair)).indexOf(".")&&(e="0"+e);var c=e.match(/^([^0-9]*)(([0-9,]*[0-9]+)(\.[0-9]+)?)([Ee][+-]?[0-9]+)?([^0-9]*)$/);if(p(c))return NaN;a=c[1],o=c[2];var u=c[5];return s=c[6],n=t.custom?a===t.nData.nlead&&s===t.nData.nend:-1!==a.indexOf(t.nData.nlead)&&-1!==s.indexOf(t.nData.nend),i=n?t.nData.isPercent:t.pData.isPercent,o=o.replace(/,/g,""),u&&(o+=u),l=+o,("percent"===t.type||i)&&(l/=100),(t.custom||t.fractionDigits)&&(l=parseFloat(l.toFixed(t.custom?n?t.nData.maximumFractionDigits:t.pData.maximumFractionDigits:t.fractionDigits))),n&&(l*=-1),l},t}(),ht=function(){function e(e){this.ranArray=[],this.boundedEvents={},p(e)||(this.context=e)}return e.prototype.on=function(e,t,r,n){if(!p(t)){var i=r||this.context;if(this.notExist(e))return void(this.boundedEvents[e]=[{handler:t,context:i}]);p(n)?this.isHandlerPresent(this.boundedEvents[e],t)||this.boundedEvents[e].push({handler:t,context:i}):-1===this.ranArray.indexOf(n)&&(this.ranArray.push(n),this.boundedEvents[e].push({handler:t,context:i,id:n}))}},e.prototype.off=function(e,t,r){if(!this.notExist(e)){var n=i(e,this.boundedEvents);if(t){for(var o=0;o<n.length;o++)if(r){if(n[o].id===r){n.splice(o,1);var a=this.ranArray.indexOf(r);-1!==a&&this.ranArray.splice(a,1);break}}else if(t===n[o].handler){n.splice(o,1);break}}else delete this.boundedEvents[e]}},e.prototype.notify=function(e,t,r,n){if(this.notExist(e))return void(r&&r.call(this,t));t&&(t.name=e);var o=i(e,this.boundedEvents).slice(0);if(window.Blazor)return this.blazorCallback(o,t,r,n,0);for(var a=0,s=o;a<s.length;a++){var l=s[a];l.handler.call(l.context,t)}r&&r.call(this,t)},e.prototype.blazorCallback=function(e,t,r,n,i){var o=this,a=i===e.length-1;if(i<e.length){var s=e[i],l=s.handler.call(s.context,t);if(l&&"function"==typeof l.then){if(!r)return l;l.then(function(l){if(l="string"==typeof l&&o.isJson(l)?JSON.parse(l):l,u(t,t,l,!0),!r||!a)return o.blazorCallback(e,t,r,n,i+1);r.call(s.context,t)}).catch(function(e){n&&n.call(s.context,"string"==typeof e&&o.isJson(e)?JSON.parse(e):e)})}else{if(!r||!a)return this.blazorCallback(e,t,r,n,i+1);r.call(s.context,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 r=0,n=e;r<n.length;r++)if(n[r].handler===t)return!0;return!1},e}(),dt=new ht;e.rightToLeft=!1;var mt={};e.defaultCulture="en-US",e.defaultCurrencyCode="USD";var ft=["numericObject","dateObject"],gt=function(){function t(e){e&&(this.culture=e)}return t.prototype.getDateFormat=function(e){return nt.dateFormat(this.getCulture(),e||{type:"date",skeleton:"short"},mt)},t.prototype.getNumberFormat=function(t){return t&&!t.currency&&(t.currency=e.defaultCurrencyCode),at.numberFormatter(this.getCulture(),t||{},mt)},t.prototype.getDateParser=function(e){return ct.dateParser(this.getCulture(),e||{skeleton:"short",type:"date"},mt)},t.prototype.getNumberParser=function(e){return pt.numberParser(this.getCulture(),e||{format:"N"},mt)},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,r){return e.IntlBase.getActualDateTimeFormat(this.getCulture(),t,mt,r)},t.prototype.getNumberPattern=function(t){return e.IntlBase.getActualNumberFormat(this.getCulture(),t,mt)},t.prototype.getFirstDayOfWeek=function(){return e.IntlBase.getWeekData(this.getCulture(),mt)},t.prototype.getCulture=function(){return this.culture||e.defaultCulture},t}(),vt={"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",t:"h:mm a",T:"h:m:s a"}};!function(t){function r(e,r,n,o){var a,s=n||"date";if(-1!==t.basicPatterns.indexOf(e)){if(a=i(s+"Formats."+e,r),"dateTime"===s){var l=i("dateFormats."+e,r),c=i("timeFormats."+e,r);a=a.replace("{1}",l).replace("{0}",c)}}else a=i("dateTimeFormats.availableFormats."+e,r);return h(a)&&"yMd"===e&&(a="M/d/y"),a}function n(e,r,n,o){var a={},s=n||"gregorian";return a.parserObject=Qe.getMainObject(e,r)||t.defaultObject,o?a.numericObject=i("numbers",a.parserObject):a.dateObject=i("dates.calendars."+s,a.parserObject),a}function o(e,t,r,n){return i(e+"Formats-numberSystem-"+t+(n?".accounting":".standard"),r)||(n?i(e+"Formats-numberSystem-"+t+".standard",r):"")}function a(e,t){var r=e.format||e.skeleton,n=i((t||"en-US")+"."+r,vt);return n||(n=i("en-US."+r,vt)),n&&(e.format=n.replace(/tt/,"a")),e}function s(e){var r=e.match(t