iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 40.8 kB
JavaScript
;(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[10888],{35370:function(e,n,t){var r=t(26198);e.exports=function(e,n,t){for(var i=0,u=arguments.length>2?t:r(n),o=new e(u);u>i;)o[i]=n[i++];return o}},77957:function(e,n,t){var r=t(76080),i=t(79504),u=t(47055),o=t(48981),a=t(56969),s=t(26198),l=t(2360),c=t(35370),m=Array,g=i([].push);e.exports=function(e,n,t,i){for(var f,d,D,p=o(e),h=u(p),y=r(n,t),b=l(null),F=s(h),v=0;F>v;v++)D=h[v],(d=a(y(D,v,p)))in b?g(b[d],D):b[d]=[D];if(i&&(f=i(p))!==m)for(d in b)b[d]=c(f,b[d]);return b}},60788:function(e,n,t){var r=t(20034),i=t(22195),u=t(78227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[u])?!!n:"RegExp"===i(e))}},13609:function(e,n,t){var r=t(46518),i=t(48981),u=t(26198),o=t(34527),a=t(84606),s=t(96837);r({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var n=i(this),t=u(n),r=arguments.length;if(r){s(t+r);for(var l=t;l--;){var c=l+r;l in n?n[c]=n[l]:a(n,c)}for(var m=0;m<r;m++)n[m]=arguments[m]}return o(n,t+r)}})},84864:function(e,n,t){var r=t(43724),i=t(44576),u=t(79504),o=t(92796),a=t(23167),s=t(66699),l=t(2360),c=t(38480).f,m=t(1625),g=t(60788),f=t(655),d=t(61034),D=t(58429),p=t(11056),h=t(36840),y=t(79039),b=t(39297),F=t(91181).enforce,v=t(87633),E=t(78227),S=t(83635),w=t(18814),C=E("match"),A=i.RegExp,T=A.prototype,x=i.SyntaxError,N=u(T.exec),I=u("".charAt),O=u("".replace),B=u("".indexOf),P=u("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,j=/a/g,M=new A(L)!==L,R=D.MISSED_STICKY,_=D.UNSUPPORTED_Y,$=r&&(!M||R||S||w||y(function(){return j[C]=!1,A(L)!==L||A(j)===j||"/a/i"!==String(A(L,"i"))}));if(o("RegExp",$)){for(var W=function(e,n){var t,r,i,u,o,c,D=m(T,this),p=g(e),h=void 0===n,y=[],v=e;if(!D&&p&&h&&e.constructor===W)return e;if((p||m(T,e))&&(e=e.source,h&&(n=d(v))),e=void 0===e?"":f(e),n=void 0===n?"":f(n),v=e,S&&"dotAll"in L&&(r=!!n&&B(n,"s")>-1)&&(n=O(n,/s/g,"")),t=n,R&&"sticky"in L&&(i=!!n&&B(n,"y")>-1)&&_&&(n=O(n,/y/g,"")),w&&(u=function(e){for(var n,t=e.length,r=0,i="",u=[],o=l(null),a=!1,s=!1,c=0,m="";r<t;r++){if("\\"===(n=I(e,r))){if(n+=I(e,++r),!s&&"\\"===I(n,1)){i+="\\x5c";continue}}else if("]"===n)a=!1;else if(!a)switch(!0){case"["===n:a=!0;break;case"("===n:i+=n,N(k,P(e,r+1))?(r+=2,s=!0,c++):"?"!==I(e,r+1)&&c++;continue;case">"===n&&s:if(""===m||b(o,m))throw new x("Invalid capture group name");o[m]=!0,u[u.length]=[m,c],s=!1,m="";continue}s?m+=n:i+=n}for(var g=0;g<u.length;g++)for(var f="\\k<"+u[g][0]+">",d="\\"+u[g][1];B(i,f)>-1;)i=O(i,f,d);return[i,u]}(e),e=u[0],y=u[1]),o=a(A(e,n),D?this:T,W),(r||i||y.length)&&(c=F(o),r&&(c.dotAll=!0,c.raw=W(function(e){for(var n,t=e.length,r=0,i="",u=!1;r<t;r++)"\\"!==(n=I(e,r))?u||"."!==n?("["===n?u=!0:"]"===n&&(u=!1),i+=n):i+="[\\s\\S]":i+=n+I(e,++r);return i}(e),t)),i&&(c.sticky=!0),y.length&&(c.groups=y)),e!==v)try{s(o,"source",""===v?"(?:)":v)}catch(E){}return o},Z=c(A),q=0;Z.length>q;)p(W,A,Z[q++]);T.constructor=W,W.prototype=T,h(i,"RegExp",W,{constructor:!0})}v("RegExp")},57465:function(e,n,t){var r=t(43724),i=t(83635),u=t(22195),o=t(62106),a=t(91181).get,s=RegExp.prototype,l=TypeError;r&&i&&o(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if("RegExp"===u(this))return!!a(this).dotAll;throw new l("Incompatible receiver, RegExp required")}}})},89463:function(e,n,t){var r=t(46518),i=t(43724),u=t(44576),o=t(69565),a=t(79504),s=t(39297),l=t(94901),c=t(1625),m=t(655),g=t(62106),f=t(77740),d=u.Symbol,D=d&&d.prototype;if(i&&l(d)&&(!("description"in D)||void 0!==d().description)){var p={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:m(arguments[0]),n=c(D,this)?new d(e):void 0===e?d():d(e);return""===e&&(p[n]=!0),n};f(h,d);var y=h.for;h.for={for:function(e){var n=m(e),t=o(y,this,n);return""===n&&(p[t]=!0),t}}.for,h.prototype=D,D.constructor=h;var b="Symbol(description detection)"===String(d("description detection")),F=a(D.valueOf),v=a(D.toString),E=/^Symbol\((.*)\)[^)]+$/,S=a("".replace),w=a("".slice);g(D,"description",{configurable:!0,get:function(){var e=F(this);if(s(p,e))return"";var n=v(e),t=b?w(n,7,-1):S(n,E,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:h})}},46058:function(e,n,t){var r=t(46518),i=t(77957),u=t(6469);r({target:"Array",proto:!0},{group:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),u("group")},6779:function(e,n,t){t.r(n);t(89463),t(16280),t(74423),t(44114),t(13609),t(55081),t(18111),t(22489),t(7588),t(61701),t(33110),t(84864),t(57465),t(27495),t(17642),t(58004),t(33853),t(45876),t(32475),t(15024),t(31698),t(25440),t(88454),t(29452),t(46058),t(62953);var r=t(97309),i=t(32838);function u(e,n,t){if("function"!=typeof e)return!1;if(null!=t&&t.boundTargetFunction)return n instanceof(null==t?void 0:t.boundTargetFunction);if("object"!=typeof n)return!1;let r=e.prototype;if("object"!=typeof r)throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(r,n)}function o(e){return Intl.getCanonicalLocales(e)}function a(e,n){const t=n&&n.cache?n.cache:d,r=n&&n.serializer?n.serializer:g;return(n&&n.strategy?n.strategy:m)(e,{cache:t,serializer:r})}function s(e,n,t,r){const i=null==(u=r)||"number"==typeof u||"boolean"==typeof u?r:t(r);var u;let o=n.get(i);return void 0===o&&(o=e.call(this,r),n.set(i,o)),o}function l(e,n,t){const r=Array.prototype.slice.call(arguments,3),i=t(r);let u=n.get(i);return void 0===u&&(u=e.apply(this,r),n.set(i,u)),u}function c(e,n,t,r,i){return t.bind(n,e,r,i)}function m(e,n){return c(e,this,1===e.length?s:l,n.cache.create(),n.serializer)}const g=function(){return JSON.stringify(arguments)};var f=class{get(e){return this.cache[e]}set(e,n){this.cache[e]=n}constructor(){this.cache=Object.create(null)}};const d={create:function(){return new f}},D={variadic:function(e,n){return c(e,this,l,n.cache.create(),n.serializer)},monadic:function(e,n){return c(e,this,s,n.cache.create(),n.serializer)}};function p(e,n){if("function"==typeof e.repeat)return e.repeat(n);const t=Array.from({length:n});for(let r=0;r<t.length;r++)t[r]=e;return t.join("")}function h(e,n,{value:t}){Object.defineProperty(e,n,{configurable:!0,enumerable:!1,writable:!0,value:t})}function y(e,n,t=Error){if(!e)throw new t(n)}a((...e)=>new Intl.NumberFormat(...e),{strategy:D.variadic});const b=a((...e)=>new Intl.PluralRules(...e),{strategy:D.variadic});a((...e)=>new Intl.Locale(...e),{strategy:D.variadic}),a((...e)=>new Intl.ListFormat(...e),{strategy:D.variadic});const F=a(e=>r.Ww.pow(10,e));function v(e,n){const{notation:t,dataLocaleData:r,numberingSystem:i}=e;switch(t){case"standard":return 0;case"scientific":return n.toNumber();case"engineering":return n.div(3).floor().times(3).toNumber();default:{y("compact"===t,"Invalid notation");const{compactDisplay:u,style:o,currencyDisplay:a}=e;let s;if("currency"===o&&"name"!==a)s=(r.numbers.currency[i]||r.numbers.currency[r.numbers.nu[0]]).short;else{const e=r.numbers.decimal[i]||r.numbers.decimal[r.numbers.nu[0]];s="long"===u?e.long:e.short}if(!s)return 0;const l=F(n).toString(),c=Object.keys(s);if(l<c[0])return 0;if(l>c[c.length-1]){const e=c[c.length-1];return"0"===s[e].other?0:e.length-s[e].other.match(/0+/)[0].length}const m=c.indexOf(l);if(-1===m)return 0;const g=c[m];return"0"===s[g].other?0:g.length-s[g].other.match(/0+/)[0].length}}}new r.Ww(10);const E=new r.Ww(0),S=new r.Ww(-0),w={ceil:"zero",floor:"infinity",expand:"infinity",trunc:"zero",halfCeil:"half-zero",halfFloor:"half-infinity",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"},C={ceil:"infinity",floor:"zero",expand:"infinity",trunc:"zero",halfCeil:"half-infinity",halfFloor:"half-zero",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"};function A(e,n){return n?w[e]:C[e]}function T(e,n,t,r){if(e.eq(n)||n.eq(t))return n;if(e.eq(t))return t;if(y(n.lessThan(e)&&e.lessThan(t),`x should be between r1 and r2 but x=${e}, r1=${n}, r2=${t}`),"zero"===r)return n;if("infinity"===r)return t;const i=e.minus(n),u=t.minus(e);return i.lessThan(u)?n:u.lessThan(i)?t:(y(i.eq(u),"d1 should be equal to d2"),"half-zero"===r?n:"half-infinity"===r?t:(y("half-even"===r,"unsignedRoundingMode should be half-even"),n.div(t.minus(n)).mod(2).isZero()?n:t))}function x(e,n){return e.times(F(-n))}function N(e,n,t,r,i){const u=t,{n1:o,r1:a}=function(e,n,t){const r=e.times(F(n)).floor().div(t).floor().times(t);return{n1:r,r1:x(r,n)}}(e,u,r),{n2:s,r2:l}=function(e,n,t){const r=e.times(F(n)).ceil().div(t).ceil().times(t);return{n2:r,r2:x(r,n)}}(e,u,r);let c,m,g,f;if(T(e,a,l,i).eq(a)?(c=o,m=a):(c=s,m=l),g=c.isZero()?"0":c.toString(),0!==u){let e=g.length;e<=u&&(g=p("0",u-e+1)+g,e=u+1);const n=g.slice(0,e-u),t=g.slice(g.length-u);g=n+"."+t,f=n.length}else f=g.length;let d=t-n;for(;d>0&&"0"===g[g.length-1];)g=g.slice(0,g.length-1),d--;return"."===g[g.length-1]&&(g=g.slice(0,g.length-1)),{formattedString:g,roundedNumber:m,integerDigitsCount:f,roundingMagnitude:-u}}function I(e,n,t,r){const i=t;let u,o,a,s;if(e.isZero())u=p("0",i),o=0,a=E;else{const{n1:n,e1:t,r1:s}=function(e,n){const t=F(n),r=F(n-1);let i=e.log(10).floor();const u=F(i.minus(n).plus(1));let o=e.div(u).floor(),a=o.times(u);if(o.greaterThanOrEqualTo(t)){i=i.plus(1);const t=F(i.minus(n).plus(1));o=e.div(t).floor(),a=o.times(t)}else if(o.lessThan(r)){i=i.minus(1);const t=F(i.minus(n).plus(1));o=e.div(t).floor(),a=o.times(t)}if(a.lessThanOrEqualTo(e)&&o.lessThan(t)&&o.greaterThanOrEqualTo(r))return{n1:o,e1:i,r1:a};let s=e.div(r).log(10).plus(n).minus(1).ceil();for(;;){const i=F(s.minus(n).plus(1));let u=e.div(i).floor();if(u.lessThan(t)&&u.greaterThanOrEqualTo(r)){const n=u.times(i);if(n.lessThanOrEqualTo(e))return{n1:u,e1:s,r1:n}}s=s.minus(1)}}(e,i),{n2:l,e2:c,r2:m}=function(e,n){const t=F(n),r=F(n-1);let i=e.log(10).floor();const u=F(i.minus(n).plus(1));let o=e.div(u).ceil(),a=o.times(u);if(o.greaterThanOrEqualTo(t)){i=i.plus(1);const t=F(i.minus(n).plus(1));o=e.div(t).ceil(),a=o.times(t)}else if(o.lessThan(r)){i=i.minus(1);const t=F(i.minus(n).plus(1));o=e.div(t).ceil(),a=o.times(t)}if(a.greaterThanOrEqualTo(e)&&o.lessThan(t)&&o.greaterThanOrEqualTo(r))return{n2:o,e2:i,r2:a};let s=e.div(t).log(10).plus(n).minus(1).floor();for(;;){const i=F(s.minus(n).plus(1));let u=e.div(i).ceil();if(u.lessThan(t)&&u.greaterThanOrEqualTo(r)){const n=u.times(i);if(n.greaterThanOrEqualTo(e))return{n2:u,e2:s,r2:n}}s=s.plus(1)}}(e,i);let g;T(e,s,m,r).eq(s)?(g=n,o=t.toNumber(),a=s):(g=l,o=c.toNumber(),a=m),u=g.toString()}if(o>=i-1?(u+=p("0",o-i+1),s=o+1):o>=0?(u=u.slice(0,o+1)+"."+u.slice(u.length-(i-(o+1))),s=o+1):(y(o<0,"e should be less than 0"),u="0."+p("0",-o-1)+u,s=1),u.includes(".")&&t>n){let e=t-n;for(;e>0&&"0"===u[u.length-1];)u=u.slice(0,u.length-1),e--;"."===u[u.length-1]&&(u=u.slice(0,u.length-1))}return{formattedString:u,roundedNumber:a,integerDigitsCount:s,roundingMagnitude:o}}function O(e,n){let t,r,i=n;i.isZero()&&i.isNegative()?(t="negative",i=E):(y(i.isFinite(),"NumberFormatDigitInternalSlots value is not finite"),t=i.lessThan(0)?"negative":"positive","negative"===t&&(i=i.negated()));const u=e.roundingType,o=A(e.roundingMode,"negative"===t);switch(u){case"significantDigits":r=I(i,e.minimumSignificantDigits,e.maximumSignificantDigits,o);break;case"fractionDigits":r=N(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);break;default:let n=I(i,e.minimumSignificantDigits,e.maximumSignificantDigits,o),t=N(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);"morePrecision"===e.roundingType?r=n.roundingMagnitude<=t.roundingMagnitude?n:t:(y("lessPrecision"===e.roundingType,"Invalid roundingType"),r=n.roundingMagnitude<=t.roundingMagnitude?t:n)}i=r.roundedNumber;let a=r.formattedString;if("stripIfInteger"===e.trailingZeroDisplay&&i.isInteger()){let e=a.indexOf(".");e>-1&&(a=a.slice(0,e))}const s=r.integerDigitsCount,l=e.minimumIntegerDigits;return s<l&&(a=p("0",l-s)+a),"negative"===t&&(i=i.isZero()?S:i.negated()),{roundedNumber:i,formattedString:a}}const B=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,P={adlm:["𞥐","𞥑","𞥒","𞥓","𞥔","𞥕","𞥖","𞥗","𞥘","𞥙"],ahom:["𑜰","𑜱","𑜲","𑜳","𑜴","𑜵","𑜶","𑜷","𑜸","𑜹"],arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],bhks:["𑱐","𑱑","𑱒","𑱓","𑱔","𑱕","𑱖","𑱗","𑱘","𑱙"],brah:["𑁦","𑁧","𑁨","𑁩","𑁪","𑁫","𑁬","𑁭","𑁮","𑁯"],cakm:["𑄶","𑄷","𑄸","𑄹","𑄺","𑄻","𑄼","𑄽","𑄾","𑄿"],cham:["꩐","꩑","꩒","꩓","꩔","꩕","꩖","꩗","꩘","꩙"],deva:["०","१","२","३","४","५","६","७","८","९"],diak:["𑥐","𑥑","𑥒","𑥓","𑥔","𑥕","𑥖","𑥗","𑥘","𑥙"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gong:["𑶠","𑶡","𑶢","𑶣","𑶤","𑶥","𑶦","𑶧","𑶨","𑶩"],gonm:["𑵐","𑵑","𑵒","𑵓","𑵔","𑵕","𑵖","𑵗","𑵘","𑵙"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],hmng:["𖭐","𖭑","𖭒","𖭓","𖭔","𖭕","𖭖","𖭗","𖭘","𖭙"],hmnp:["𞅀","𞅁","𞅂","𞅃","𞅄","𞅅","𞅆","𞅇","𞅈","𞅉"],java:["꧐","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],kali:["꤀","꤁","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],lana:["᪀","᪁","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],lanatham:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],lepc:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mathbold:["𝟎","𝟏","𝟐","𝟑","𝟒","𝟓","𝟔","𝟕","𝟖","𝟗"],mathdbl:["𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"],mathmono:["𝟶","𝟷","𝟸","𝟹","𝟺","𝟻","𝟼","𝟽","𝟾","𝟿"],mathsanb:["𝟬","𝟭","𝟮","𝟯","𝟰","𝟱","𝟲","𝟳","𝟴","𝟵"],mathsans:["𝟢","𝟣","𝟤","𝟥","𝟦","𝟧","𝟨","𝟩","𝟪","𝟫"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],modi:["𑙐","𑙑","𑙒","𑙓","𑙔","𑙕","𑙖","𑙗","𑙘","𑙙"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mroo:["𖩠","𖩡","𖩢","𖩣","𖩤","𖩥","𖩦","𖩧","𖩨","𖩩"],mtei:["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],mymrshan:["႐","႑","႒","႓","႔","႕","႖","႗","႘","႙"],mymrtlng:["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],newa:["𑑐","𑑑","𑑒","𑑓","𑑔","𑑕","𑑖","𑑗","𑑘","𑑙"],nkoo:["߀","߁","߂","߃","߄","߅","߆","߇","߈","߉"],olck:["᱐","᱑","᱒","᱓","᱔","᱕","᱖","᱗","᱘","᱙"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],osma:["𐒠","𐒡","𐒢","𐒣","𐒤","𐒥","𐒦","𐒧","𐒨","𐒩"],rohg:["𐴰","𐴱","𐴲","𐴳","𐴴","𐴵","𐴶","𐴷","𐴸","𐴹"],saur:["꣐","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],segment:["🯰","🯱","🯲","🯳","🯴","🯵","🯶","🯷","🯸","🯹"],shrd:["𑇐","𑇑","𑇒","𑇓","𑇔","𑇕","𑇖","𑇗","𑇘","𑇙"],sind:["𑋰","𑋱","𑋲","𑋳","𑋴","𑋵","𑋶","𑋷","𑋸","𑋹"],sinh:["෦","෧","෨","෩","෪","෫","෬","෭","෮","෯"],sora:["𑃰","𑃱","𑃲","𑃳","𑃴","𑃵","𑃶","𑃷","𑃸","𑃹"],sund:["᮰","᮱","᮲","᮳","᮴","᮵","᮶","᮷","᮸","᮹"],takr:["𑛀","𑛁","𑛂","𑛃","𑛄","𑛅","𑛆","𑛇","𑛈","𑛉"],talu:["᧐","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],tirh:["𑓐","𑓑","𑓒","𑓓","𑓔","𑓕","𑓖","𑓗","𑓘","𑓙"],vaii:["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],wara:["𑣠","𑣡","𑣢","𑣣","𑣤","𑣥","𑣦","𑣧","𑣨","𑣩"],wcho:["𞋰","𞋱","𞋲","𞋳","𞋴","𞋵","𞋶","𞋷","𞋸","𞋹"]},k=new RegExp(`^${B.source}`),L=new RegExp(`${B.source}$`),j=/[#0](?:[.,][#0]+)*/g;function M(e,n,t,r){var i;const{sign:u,exponent:o,magnitude:a}=e,{notation:s,style:l,numberingSystem:c}=r,m=n.numbers.nu[0];let g,f,d=null;if("compact"===s&&a&&(d=function(e,n,t,r,i,u,o){const{roundedNumber:a,sign:s,magnitude:l}=e;let c=String(10**l);const m=t.numbers.nu[0];let g;if("currency"===r&&"name"!==u){var f;const e=t.numbers.currency,r=e[o]||e[m];let i=null===(f=r.short)||void 0===f?void 0:f[c];if(!i){const e=Object.keys(r.short||{});var d;if(e.length>0&&c>e[e.length-1])c=e[e.length-1],i=null===(d=r.short)||void 0===d?void 0:d[c]}if(!i)return null;g=$(n,a.toNumber(),i)}else{const e=t.numbers.decimal,r=e[o]||e[m];let u=r[i][c];if(!u){const e=Object.keys(r[i]);e.length>0&&c>e[e.length-1]&&(c=e[e.length-1],u=r[i][c])}if(!u)return null;g=$(n,a.toNumber(),u)}return"0"===g?null:(g=_(g,s).replace(/([^\s;\-+\d¤]+)/g,"{c:$1}").replace(/0+/,"0"),g)}(e,t,n,l,r.compactDisplay,r.currencyDisplay,c)),"currency"===l&&"name"!==r.currencyDisplay){const e=n.currencies[r.currency];if(e)switch(r.currencyDisplay){case"code":g=r.currency;break;case"symbol":g=e.symbol;break;default:g=e.narrow}else g=r.currency}f=d||("decimal"===l||"unit"===l||"currency"===l&&"name"===r.currencyDisplay?_((n.numbers.decimal[c]||n.numbers.decimal[m]).standard,u):_("currency"===l?(n.numbers.currency[c]||n.numbers.currency[m])[r.currencySign]:n.numbers.percent[c]||n.numbers.percent[m],u));const D=j.exec(f)[0];if(f=f.replace(j,"{0}").replace(/'(.)'/g,"$1"),"currency"===l&&"name"!==r.currencyDisplay){const e=n.numbers.currency[c]||n.numbers.currency[m],t=e.currencySpacing.afterInsertBetween;t&&!L.test(g)&&(f=f.replace("¤{0}",`¤${t}{0}`));const r=e.currencySpacing.beforeInsertBetween;r&&!k.test(g)&&(f=f.replace("{0}¤",`{0}${r}¤`))}const p=f.split(/({c:[^}]+}|\{0\}|[¤%\-+])/g),h=[],y=n.numbers.symbols[c]||n.numbers.symbols[m];for(const b of p)if(b)switch(b){case"{0}":h.push(...R(y,e,s,o,c,!d&&(null===(i=r.useGrouping)||void 0===i||i),D,l,r.roundingIncrement,A(r.roundingMode,-1===u)));break;case"-":h.push({type:"minusSign",value:y.minusSign});break;case"+":h.push({type:"plusSign",value:y.plusSign});break;case"%":h.push({type:"percentSign",value:y.percentSign});break;case"¤":h.push({type:"currency",value:g});break;default:b.startsWith("{c:")?h.push({type:"compact",value:b.substring(3,b.length-1)}):h.push({type:"literal",value:b})}switch(l){case"currency":if("name"===r.currencyDisplay){const i=(n.numbers.currency[c]||n.numbers.currency[m]).unitPattern;let u;const a=n.currencies[r.currency];u=a?$(t,e.roundedNumber.times(F(o)).toNumber(),a.displayName):r.currency;const s=i.split(/(\{[01]\})/g),l=[];for(const e of s)switch(e){case"{0}":l.push(...h);break;case"{1}":l.push({type:"currency",value:u});break;default:e&&l.push({type:"literal",value:e})}return l}return h;case"unit":{const{unit:i,unitDisplay:u}=r;let a,s=n.units.simple[i];if(s)a=$(t,e.roundedNumber.times(F(o)).toNumber(),n.units.simple[i][u]);else{const[r,l]=i.split("-per-");s=n.units.simple[r];const c=$(t,e.roundedNumber.times(F(o)).toNumber(),n.units.simple[r][u]),m=n.units.simple[l].perUnit[u];if(m)a=m.replace("{0}",c);else{const e=n.units.compound.per[u],r=$(t,1,n.units.simple[l][u]);a=a=e.replace("{0}",c).replace("{1}",r.replace("{0}",""))}}const l=[];for(const e of a.split(/(\s*\{0\}\s*)/)){const n=/^(\s*)\{0\}(\s*)$/.exec(e);n?(n[1]&&l.push({type:"literal",value:n[1]}),l.push(...h),n[2]&&l.push({type:"literal",value:n[2]})):e&&l.push({type:"unit",value:e})}return l}default:return h}}function R(e,n,t,i,u,o,a,s,l,c){const m=[];let{formattedString:g,roundedNumber:f}=n;if(f.isNaN())return[{type:"nan",value:g}];if(!f.isFinite())return[{type:"infinity",value:g}];const d=P[u];d&&(g=g.replace(/\d/g,e=>d[+e]||e));const D=g.indexOf(".");let p,h;D>0?(p=g.slice(0,D),h=g.slice(D+1)):p=g;let y=!1;if("always"===o?y=!0:"min2"===o?y=f.greaterThanOrEqualTo(1e4):("auto"===o||o)&&(y="compact"!==t||f.greaterThanOrEqualTo(1e4)),y){const n="currency"===s&&null!=e.currencyGroup?e.currencyGroup:e.group,t=[],r=a.split(".")[0].split(",");let i=3,u=3;r.length>1&&(i=r[r.length-1].length),r.length>2&&(u=r[r.length-2].length);let o=p.length-i;if(o>0){for(t.push(p.slice(o,o+i)),o-=u;o>0;o-=u)t.push(p.slice(o,o+u));t.push(p.slice(0,o+u))}else t.push(p);for(;t.length>0;){const e=t.pop();m.push({type:"integer",value:e}),t.length>0&&m.push({type:"group",value:n})}}else m.push({type:"integer",value:p});if(void 0!==h){const n="currency"===s&&null!=e.currencyDecimal?e.currencyDecimal:e.decimal;m.push({type:"decimal",value:n},{type:"fraction",value:h})}if(("scientific"===t||"engineering"===t)&&f.isFinite()){m.push({type:"exponentSeparator",value:e.exponential}),i<0&&(m.push({type:"exponentMinusSign",value:e.minusSign}),i=-i);const n=N(new r.Ww(i),0,0,l,c);m.push({type:"exponentInteger",value:n.formattedString})}return m}function _(e,n){e.indexOf(";")<0&&(e=`${e};-${e}`);const[t,r]=e.split(";");switch(n){case 0:return t;case-1:return r;default:return r.indexOf("-")>=0?r.replace(/-/g,"+"):`+${t}`}}function $(e,n,t){return t[e.select(n)]||t.other}function W(e,n){let t=n,i=0;const{pl:u,dataLocaleData:o,numberingSystem:a}=e,s=o.numbers.symbols[a]||o.numbers.symbols[o.numbers.nu[0]];let l,c,m=0;if(t.isNaN())l=s.nan;else if(t.isFinite()){t.isZero()||(y(t.isFinite(),"Input must be a mathematical value"),"percent"==e.style&&(t=t.times(100)),[m,i]=function(e,n){if(n.isZero())return[0,0];n.isNegative()&&(n=n.negated());const t=n.toNumber();let i;i=Number.isFinite(t)&&Number.isSafeInteger(t)&&t>0&&t<=999999?new r.Ww(Math.floor(Math.log10(t))):n.log(10).floor();const u=v(e,i),o=O(e,n=n.times(F(-u)));if(o.roundedNumber.isZero())return[u,i.toNumber()];const a=o.roundedNumber.toNumber();let s;return s=Number.isFinite(a)&&Number.isSafeInteger(a)&&a>0&&a<=999999?new r.Ww(Math.floor(Math.log10(a))):o.roundedNumber.log(10).floor(),s.eq(i.minus(u))?[u,i.toNumber()]:[v(e,i.plus(1)),i.plus(1).toNumber()]}(e,t),t=t.times(F(-m)));const n=O(e,t);l=n.formattedString,t=n.roundedNumber}else l=s.infinity;const g=e.signDisplay;switch(g){case"never":c=0;break;case"auto":c=t.isPositive()||t.isNaN()?0:-1;break;case"always":c=t.isPositive()||t.isNaN()?1:-1;break;case"exceptZero":c=t.isZero()?0:t.isNegative()?-1:1;break;default:y("negative"===g,'signDisplay must be "negative"'),c=t.isNegative()&&!t.isZero()?-1:0}return M({roundedNumber:t,formattedString:l,exponent:m,magnitude:i,sign:c},e.dataLocaleData,u,e)}function Z(e,n){return W(e,n).map(e=>e.value).join("")}const q=new Set(["unit","exponentMinusSign","minusSign","plusSign","percentSign","exponentSeparator","percent","percentSign","currency","literal"]);function z(e,n,t,{getInternalSlots:r}){y(!n.isNaN()&&!t.isNaN(),"Input must be a number",RangeError);const i=r(e),u=W(i,n),o=W(i,t);if(Z(i,n)===Z(i,t)){const e=function(e,n){const t=e.dataLocaleData.numbers.symbols[e.numberingSystem].approximatelySign;return n.push({type:"approximatelySign",value:t}),n}(i,u);return e.forEach(e=>{e.source="shared"}),e}let a=[];u.forEach(e=>{e.source="startRange",a.push(e)});const s=i.dataLocaleData.numbers.symbols[i.numberingSystem].rangeSign;return a.push({type:"literal",value:s,source:"shared"}),o.forEach(e=>{e.source="endRange",a.push(e)}),function(e,n,{getInternalSlots:t}){const r=t(e),i=r.dataLocaleData.numbers.symbols[r.numberingSystem],u=new RegExp(`s?[${i.rangeSign}]s?`),o=n.findIndex(e=>"literal"===e.type&&u.test(e.value));let a=[];for(let l=o-1;l>=0&&q.has(n[l].type);l--)a.unshift(n[l]);if(Array.from(a.map(e=>e.value).join("")).length>1){const e=Array.from(n);return e.splice(o-a.length,a.length),e}let s=[];for(let l=o+1;l<n.length&&q.has(n[l].type);l++)s.push(n[l]);if(Array.from(s.map(e=>e.value).join("")).length>1){const e=Array.from(n);return e.splice(o+1,s.length),e}return n}(e,a,{getInternalSlots:r})}function U(e,n,t){const r=W(t.getInternalSlots(e),n),i=(u=0,Array.from({length:u}));var u;for(const o of r)i.push({type:o.type,value:o.value});return i}function K(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function G(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function Y(e,n,t,r,i){if("object"!=typeof e)throw new TypeError("Options must be an object");let u=e[n];if(void 0!==u){if("boolean"!==t&&"string"!==t)throw new TypeError("invalid type");if("boolean"===t&&(u=Boolean(u)),"string"===t&&(u=G(u)),void 0!==r&&!r.filter(e=>e==u).length)throw new RangeError(`${u} is not within ${r.join(", ")}`);return u}return i}function J(e,{currencyDigitsData:n}){return t=n,r=e,Object.prototype.hasOwnProperty.call(t,r)?n[e]:2;var t,r}function X(e,n,t,r){if(void 0===e)return r;const i=Number(e);if(isNaN(i)||i<n||i>t)throw new RangeError(`${i} is outside of range [${n}, ${t}]`);return Math.floor(i)}function V(e,n,t,r,i){return X(e[n],t,r,i)}const H=new Set([1,2,5,10,20,25,50,100,200,250,500,1e3,2e3,2500,5e3]);const Q=/[^A-Z]/;const ee=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"].map(function(e){return e.slice(e.indexOf("-")+1)});function ne(e){return ee.indexOf(e)>-1}function te(e,n=Object.create(null)){const t=Y(n,"style","string",["decimal","percent","currency","unit"],"decimal");e.style=t;const r=Y(n,"currency","string",void 0,void 0);y(void 0===r||function(e){return 3===(e=e.replace(/([a-z])/g,(e,n)=>n.toUpperCase())).length&&!Q.test(e)}(r),"Malformed currency code",RangeError),y("currency"!==t||void 0!==r,"currency cannot be undefined",TypeError);const i=Y(n,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),u=Y(n,"currencySign","string",["standard","accounting"],"standard"),o=Y(n,"unit","string",void 0,void 0);y(void 0===o||function(e){if(ne(e=e.replace(/([A-Z])/g,(e,n)=>n.toLowerCase())))return!0;const n=e.split("-per-");if(2!==n.length)return!1;const[t,r]=n;return!(!ne(t)||!ne(r))}(o),"Invalid unit argument for Intl.NumberFormat()",RangeError),y("unit"!==t||void 0!==o,"unit cannot be undefined",TypeError);const a=Y(n,"unitDisplay","string",["short","narrow","long"],"short");"currency"===t&&(e.currency=r.toUpperCase(),e.currencyDisplay=i,e.currencySign=u),"unit"===t&&(e.unit=o,e.unitDisplay=a)}function re(e,n,t,{getInternalSlots:r,localeData:u,availableLocales:a,numberingSystemNames:s,getDefaultLocale:l,currencyDigitsData:c}){const m=o(n),g=function(e){return void 0===e?Object.create(null):K(e)}(t),f=Object.create(null);f.localeMatcher=Y(g,"localeMatcher","string",["lookup","best fit"],"best fit");const d=Y(g,"numberingSystem","string",void 0,void 0);if(void 0!==d&&s.indexOf(d)<0)throw RangeError(`Invalid numberingSystems: ${d}`);f.nu=d;const D=(0,i.Bg)(Array.from(a),m,f,["nu"],u,l),p=u[D.dataLocale];y(!!p,`Missing locale data for ${D.dataLocale}`);const h=r(e);h.locale=D.locale,h.dataLocale=D.dataLocale,h.numberingSystem=D.nu,h.dataLocaleData=p,te(h,g);const b=h.style,F=Y(g,"notation","string",["standard","scientific","engineering","compact"],"standard");let v,E;if(h.notation=F,"currency"===b&&"standard"===F){const e=J(h.currency,{currencyDigitsData:c});v=e,E=e}else v=0,E="percent"===b?0:3;!function(e,n,t,r,i){const u=V(n,"minimumIntegerDigits",1,21,1);let o=n.minimumFractionDigits,a=n.maximumFractionDigits,s=n.minimumSignificantDigits,l=n.maximumSignificantDigits;e.minimumIntegerDigits=u;const c=V(n,"roundingIncrement",1,5e3,1);y(H.has(c),`Invalid rounding increment value: ${c}.\nValid values are ${Array.from(H).join(", ")}.`);const m=Y(n,"roundingMode","string",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],"halfExpand"),g=Y(n,"roundingPriority","string",["auto","morePrecision","lessPrecision"],"auto"),f=Y(n,"trailingZeroDisplay","string",["auto","stripIfInteger"],"auto");1!==c&&(r=t),e.roundingIncrement=c,e.roundingMode=m,e.trailingZeroDisplay=f;const d=void 0!==s||void 0!==l,D=void 0!==o||void 0!==a;let p=!0,h=!0;if("auto"===g&&(p=d,(d||!D&&"compact"===i)&&(h=!1)),p&&(d?(e.minimumSignificantDigits=X(s,1,21,1),e.maximumSignificantDigits=X(l,e.minimumSignificantDigits,21,21)):(e.minimumSignificantDigits=1,e.maximumSignificantDigits=21)),h)if(D){if(o=X(o,0,100,void 0),a=X(a,0,100,void 0),void 0===o)y(void 0!==a,"maximumFractionDigits must be defined"),o=Math.min(t,a);else if(void 0===a)a=Math.max(r,o);else if(o>a)throw new RangeError(`Invalid range, ${o} > ${a}`);e.minimumFractionDigits=o,e.maximumFractionDigits=a}else e.minimumFractionDigits=t,e.maximumFractionDigits=r;p||h?"morePrecision"===g?(e.roundingType="morePrecision",e.roundingPriority="morePrecision"):"lessPrecision"===g?(e.roundingType="lessPrecision",e.roundingPriority="lessPrecision"):d?(e.roundingType="significantDigits",e.roundingPriority="auto"):(e.roundingType="fractionDigits",e.roundingPriority="auto"):(e.minimumFractionDigits=0,e.maximumFractionDigits=0,e.minimumSignificantDigits=1,e.maximumSignificantDigits=2,e.roundingType="morePrecision",e.roundingPriority="morePrecision"),1!==c&&(y("fractionDigits"===e.roundingType,"Invalid roundingType",TypeError),y(e.maximumFractionDigits===e.minimumFractionDigits,"With roundingIncrement > 1, maximumFractionDigits and minimumFractionDigits must be equal.",RangeError))}(h,g,v,E,F);const S=Y(g,"compactDisplay","string",["short","long"],"short");let w="auto";return"compact"===F&&(h.compactDisplay=S,w="min2"),h.useGrouping=function(e,n,t,r,i,u){let o=e[n];if(void 0===o)return u;if(!0===o)return r;if(!1===Boolean(o))return i;if(o=G(o),"true"===o||"false"===o)return u;if(-1===(t||[]).indexOf(o))throw new RangeError(`Invalid value ${o}`);return o}(g,"useGrouping",["min2","auto","always"],"always",!1,w),h.signDisplay=Y(g,"signDisplay","string",["auto","never","always","exceptZero","negative"],"auto"),e}function ie(e){return"function"==typeof e}function ue(e,n){if("object"==typeof e&&null!=e){const t=Symbol.toPrimitive in e?e[Symbol.toPrimitive]:void 0;let r;if(void 0!==t){void 0===n?r="default":"string"===n?r="string":(!function(e,n,t=Error){if(!e)throw new t(n)}("number"===n,'preferredType must be "string" or "number"'),r="number");let i=t.call(e,r);if("object"!=typeof i)return i;throw new TypeError("Cannot convert exotic object to primitive.")}return void 0===n&&(n="number"),function(e,n){let t;t="string"===n?["toString","valueOf"]:["valueOf","toString"];for(const r of t){const n=e[r];if(ie(n)){let t=n.call(e);if("object"!=typeof t)return t}}throw new TypeError("Cannot convert object to primitive value")}(e,n)}return e}function oe(e){if("bigint"==typeof e)return new r.Ww(e.toString());let n=ue(e,"number");if(void 0===n)return new r.Ww(NaN);if(!0===n)return new r.Ww(1);if(!1===n)return new r.Ww(0);if(null===n)return new r.Ww(0);try{return new r.Ww(n)}catch(t){return new r.Ww(NaN)}}const ae={ADP:0,AFN:0,ALL:0,AMD:2,BHD:3,BIF:0,BYN:2,BYR:0,CAD:2,CHF:2,CLF:4,CLP:0,COP:0,CRC:2,CZK:2,DEFAULT:2,DJF:0,DKK:2,ESP:0,GNF:0,GYD:2,HUF:0,IDR:0,IQD:0,IRR:0,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:2,MRO:0,MUR:2,NOK:2,OMR:3,PKR:0,PYG:0,RSD:2,RWF:0,SEK:2,SLE:2,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TWD:2,TZS:2,UGX:0,UYI:0,UYW:4,UZS:2,VEF:2,VND:0,VUV:0,XAD:2,XAF:0,XAU:2,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0},se=["adlm","ahom","arab","arabext","armn","armnlow","bali","beng","bhks","brah","cakm","cham","cyrl","deva","diak","ethi","fullwide","gara","geor","gong","gonm","grek","greklow","gujr","gukh","guru","hanidays","hanidec","hans","hansfin","hant","hantfin","hebr","hmng","hmnp","java","jpan","jpanfin","jpanyear","kali","kawi","khmr","knda","krai","lana","lanatham","laoo","latn","lepc","limb","mathbold","mathdbl","mathmono","mathsanb","mathsans","mlym","modi","mong","mroo","mtei","mymr","mymrepka","mymrpao","mymrshan","mymrtlng","nagm","newa","nkoo","olck","onao","orya","osma","outlined","rohg","roman","romanlow","saur","segment","shrd","sind","sinh","sora","sund","sunu","takr","talu","taml","tamldec","telu","thai","tibt","tirh","tnsa","tols","vaii","wara","wcho"],le=new WeakMap;function ce(e){let n=le.get(e);return n||(n=Object.create(null),le.set(e,n)),n}const me=["locale","numberingSystem","style","currency","currencyDisplay","currencySign","unit","unitDisplay","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","useGrouping","notation","compactDisplay","signDisplay","roundingIncrement","roundingMode","trailingZeroDisplay"],ge=function(e,n){if(!this||!u(ge,this))return new ge(e,n);re(this,e,n,{getInternalSlots:ce,localeData:ge.localeData,availableLocales:ge.availableLocales,getDefaultLocale:ge.getDefaultLocale,currencyDigitsData:ae,numberingSystemNames:se});const t=ce(this),r=t.dataLocale;return y(void 0!==ge.localeData[r],`Cannot load locale-dependent data for ${r}.`),t.pl=b(r,{minimumFractionDigits:t.minimumFractionDigits,maximumFractionDigits:t.maximumFractionDigits,minimumIntegerDigits:t.minimumIntegerDigits,minimumSignificantDigits:t.minimumSignificantDigits,maximumSignificantDigits:t.maximumSignificantDigits}),this};function fe(e){return U(this,oe(e),{getInternalSlots:ce})}try{Object.defineProperty(fe,"name",{value:"formatToParts",enumerable:!1,writable:!1,configurable:!0})}catch(he){}h(ge.prototype,"formatToParts",{value:fe}),h(ge.prototype,"formatRange",{value:function(e,n){return function(e,n,t,{getInternalSlots:r}){return z(e,n,t,{getInternalSlots:r}).map(e=>e.value).join("")}(this,oe(e),oe(n),{getInternalSlots:ce})}}),h(ge.prototype,"formatRangeToParts",{value:function(e,n){return function(e,n,t,{getInternalSlots:r}){return z(e,n,t,{getInternalSlots:r}).map((e,n)=>({type:e.type,value:e.value,source:e.source,result:n.toString()}))}(this,oe(e),oe(n),{getInternalSlots:ce})}}),h(ge.prototype,"resolvedOptions",{value:function(){if("object"!=typeof this||!u(ge,this))throw TypeError("Method Intl.NumberFormat.prototype.resolvedOptions called on incompatible receiver");const e=ce(this),n={};for(const t of me){const r=e[t];void 0!==r&&(n[t]=r)}return"morePrecision"===e.roundingType?n.roundingPriority="morePrecision":"lessPrecision"===e.roundingType?n.roundingPriority="lessPrecision":n.roundingPriority="auto",n}});const de={enumerable:!1,configurable:!0,get(){if("object"!=typeof this||!u(ge,this))throw TypeError("Intl.NumberFormat format property accessor called on incompatible receiver");const e=ce(this);let n=e.boundFormat;if(void 0===n){n=n=>Z(e,oe(n));try{Object.defineProperty(n,"name",{configurable:!0,enumerable:!1,writable:!1,value:""})}catch(t){}e.boundFormat=n}return n}};try{Object.defineProperty(de.get,"name",{configurable:!0,enumerable:!1,writable:!1,value:"get format"})}catch(ye){}Object.defineProperty(ge.prototype,"format",de),h(ge,"supportedLocalesOf",{value:function(e,n){return function(e,n,t){let r="best fit";return void 0!==t&&(r=Y(t=K(t),"localeMatcher","string",["lookup","best fit"],"best fit")),(0,i.s8)(Array.from(e),n)}(ge.availableLocales,o(e),n)}}),ge.__addLocaleData=function(...e){for(const{data:n,locale:t}of e){const e=new Intl.Locale(t).minimize().toString();ge.localeData[t]=ge.localeData[e]=n,ge.availableLocales.add(e),ge.availableLocales.add(t),ge.__defaultLocale||(ge.__defaultLocale=e)}},ge.__addUnitData=function(e,n){const{[e]:t}=ge.localeData;if(!t)throw new Error(`Locale data for "${e}" has not been loaded in NumberFormat. \nPlease __addLocaleData before adding additional unit data`);for(const r in n.simple)t.units.simple[r]=n.simple[r];for(const r in n.compound)t.units.compound[r]=n.compound[r]},ge.__defaultLocale="",ge.localeData={},ge.availableLocales=new Set,ge.getDefaultLocale=()=>ge.__defaultLocale,ge.polyfilled=!0;try{"undefined"!=typeof Symbol&&Object.defineProperty(ge.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!1,writable:!1,value:"Intl.NumberFormat"}),Object.defineProperty(ge.prototype.constructor,"length",{configurable:!0,enumerable:!1,writable:!1,value:0}),Object.defineProperty(ge.supportedLocalesOf,"length",{configurable:!0,enumerable:!1,writable:!1,value:1}),Object.defineProperty(ge,"prototype",{configurable:!1,enumerable:!1,writable:!1,value:ge.prototype})}catch(be){}function De(e,n,t){return new ge(n,t).format(e)}h(("undefined"==typeof Intl&&Object.defineProperty(globalThis,"Intl",{configurable:!0,enumerable:!1,writable:!0,value:{}}),Intl),"NumberFormat",{value:ge}),h(Number.prototype,"toLocaleString",{value:function(e,n){return De(this,e,n)}}),"undefined"!=typeof BigInt&&h(BigInt.prototype,"toLocaleString",{value:function(e,n){return De(this,e,n)}});const pe=globalThis.__FORMATJS_NUMBERFORMAT_DATA__;if(pe){for(const e of pe)ge.__addLocaleData(e);delete globalThis.__FORMATJS_NUMBERFORMAT_DATA__}}}]);