n2words 1.11.0 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +2 -1
- package/CHANGELOG.md +7 -0
- package/README.md +6 -11
- package/dist/n2words.js +1 -1
- package/package.json +12 -12
- package/webpack.config.js +1 -4
package/.eslintrc.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"es2017": true,
|
|
7
7
|
"es2020": true,
|
|
8
8
|
"es2021": true,
|
|
9
|
+
"es2022": true,
|
|
9
10
|
"node": true
|
|
10
11
|
},
|
|
11
12
|
"plugins": [
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"files": ["*.js", "*.mjs"]
|
|
27
28
|
}],
|
|
28
29
|
"parserOptions": {
|
|
29
|
-
"ecmaVersion":
|
|
30
|
+
"ecmaVersion": "latest",
|
|
30
31
|
"sourceType": "module"
|
|
31
32
|
},
|
|
32
33
|
"rules": {
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## [1.11.1] - 2022-04-08
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Improve README [#67](https://github.com/forzagreen/n2words/pull/67) [#66](https://github.com/forzagreen/n2words/pull/66). Thanks to [@TylerVigario](https://github.com/TylerVigario) !
|
|
12
|
+
- Update dev dependencies (Webpack, ESLint...) [#65](https://github.com/forzagreen/n2words/pull/65). Thanks to [@TylerVigario](https://github.com/TylerVigario) !
|
|
13
|
+
|
|
14
|
+
|
|
8
15
|
## [1.11.0] - 2022-01-08
|
|
9
16
|
|
|
10
17
|
### Added
|
package/README.md
CHANGED
|
@@ -5,10 +5,7 @@
|
|
|
5
5
|
[](https://npmjs.com/package/n2words)
|
|
6
6
|
[](https://npmjs.com/package/n2words)
|
|
7
7
|
|
|
8
|
-
n2words converts
|
|
9
|
-
|
|
10
|
-
n2words is a lightweight, easy to use package, with no dependencies. It works both in Node.js and in browsers.
|
|
11
|
-
|
|
8
|
+
n2words is a library that converts a numerical number into a written number. We have support for multiple languages (25 and growing) and our package is lightweight, modular and has no dependencies.
|
|
12
9
|
|
|
13
10
|
## How To
|
|
14
11
|
|
|
@@ -21,14 +18,13 @@ n2words(123, {lang: 'es'}) // 'ciento veintitrés'
|
|
|
21
18
|
n2words(123, {lang: 'ar'}) // 'مائة و ثلاثة و عشرون'
|
|
22
19
|
```
|
|
23
20
|
|
|
24
|
-
|
|
25
21
|
## Install
|
|
26
22
|
|
|
27
23
|
```sh
|
|
28
24
|
npm install n2words
|
|
29
25
|
```
|
|
30
26
|
|
|
31
|
-
n2words is available on [jsDelivr](https://jsdelivr.com/package/npm/n2words).
|
|
27
|
+
n2words is also available on [jsDelivr](https://jsdelivr.com/package/npm/n2words).
|
|
32
28
|
|
|
33
29
|
## Usage
|
|
34
30
|
|
|
@@ -54,10 +50,10 @@ import('n2words/lib/i18n/EN.mjs').then(n2wordsEN => {
|
|
|
54
50
|
```js
|
|
55
51
|
import n2words from 'n2words'
|
|
56
52
|
|
|
57
|
-
//
|
|
53
|
+
// Source file
|
|
58
54
|
import n2words from 'n2words/lib/n2words.mjs'
|
|
59
55
|
|
|
60
|
-
// Individual languages
|
|
56
|
+
// Individual languages (recommended)
|
|
61
57
|
import n2wordsEN from 'n2words/lib/i18n/EN.mjs'
|
|
62
58
|
```
|
|
63
59
|
|
|
@@ -101,12 +97,11 @@ import n2wordsEN from 'n2words/lib/i18n/EN.mjs'
|
|
|
101
97
|
- `uk` (Ukrainian)
|
|
102
98
|
- `zh` (Chinese)
|
|
103
99
|
|
|
104
|
-
|
|
105
100
|
## Contributing
|
|
106
101
|
|
|
107
|
-
You can help by adding
|
|
102
|
+
You can help by adding new languages or by improving existing ones. Also, reporting issues, verifying the correctness of unit tests or adding more test cases is extremely helpful.
|
|
108
103
|
|
|
109
|
-
All help is welcome
|
|
104
|
+
All help is welcome!
|
|
110
105
|
|
|
111
106
|
## License
|
|
112
107
|
|
package/dist/n2words.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.n2words=e():t.n2words=e()}(this,(function(){return(()=>{var t={9662:(t,e,r)=>{var n=r(7854),o=r(614),i=r(6330),a=n.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},9483:(t,e,r)=>{var n=r(7854),o=r(4411),i=r(6330),a=n.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a constructor")}},6077:(t,e,r)=>{var n=r(7854),o=r(614),i=n.String,a=n.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw a("Can't set "+i(t)+" as a prototype")}},1223:(t,e,r)=>{var n=r(5112),o=r(30),i=r(3070),a=n("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},1530:(t,e,r)=>{"use strict";var n=r(8710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},5787:(t,e,r)=>{var n=r(7854),o=r(7976),i=n.TypeError;t.exports=function(t,e){if(o(e,t))return t;throw i("Incorrect invocation")}},9670:(t,e,r)=>{var n=r(7854),o=r(111),i=n.String,a=n.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},8457:(t,e,r)=>{"use strict";var n=r(7854),o=r(9974),i=r(6916),a=r(7908),u=r(3411),s=r(7659),c=r(4411),l=r(6244),f=r(6135),p=r(8554),h=r(1246),d=n.Array;t.exports=function(t){var e=a(t),r=c(this),n=arguments.length,y=n>1?arguments[1]:void 0,v=void 0!==y;v&&(y=o(y,n>2?arguments[2]:void 0));var b,g,m,O,j,w,T=h(e),S=0;if(!T||this==d&&s(T))for(b=l(e),g=r?new this(b):d(b);b>S;S++)w=v?y(e[S],S):e[S],f(g,S,w);else for(j=(O=p(e,T)).next,g=r?new this:[];!(m=i(j,O)).done;S++)w=v?u(O,y,[m.value,S],!0):m.value,f(g,S,w);return g.length=S,g}},1318:(t,e,r)=>{var n=r(5656),o=r(1400),i=r(6244),a=function(t){return function(e,r,a){var u,s=n(e),c=i(s),l=o(a,c);if(t&&r!=r){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:(t,e,r)=>{var n=r(9974),o=r(1702),i=r(8361),a=r(7908),u=r(6244),s=r(5417),c=o([].push),l=function(t){var e=1==t,r=2==t,o=3==t,l=4==t,f=6==t,p=7==t,h=5==t||f;return function(d,y,v,b){for(var g,m,O=a(d),j=i(O),w=n(y,v),T=u(j),S=0,R=b||s,x=e?R(d,T):r||p?R(d,0):void 0;T>S;S++)if((h||S in j)&&(m=w(g=j[S],S,O),t))if(e)x[S]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return S;case 2:c(x,g)}else switch(t){case 4:return!1;case 7:c(x,g)}return f?-1:o||l?l:x}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},1194:(t,e,r)=>{var n=r(7293),o=r(5112),i=r(7392),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},206:(t,e,r)=>{var n=r(1702);t.exports=n([].slice)},4362:(t,e,r)=>{var n=r(206),o=Math.floor,i=function(t,e){var r=t.length,s=o(r/2);return r<8?a(t,e):u(t,i(n(t,0,s),e),i(n(t,s),e),e)},a=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},u=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t};t.exports=i},7475:(t,e,r)=>{var n=r(7854),o=r(3157),i=r(4411),a=r(111),u=r(5112)("species"),s=n.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===s||o(e.prototype))||a(e)&&null===(e=e[u]))&&(e=void 0)),void 0===e?s:e}},5417:(t,e,r)=>{var n=r(7475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},3411:(t,e,r)=>{var n=r(9670),o=r(9212);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){o(t,"throw",e)}}},7072:(t,e,r)=>{var n=r(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},4326:(t,e,r)=>{var n=r(1702),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:(t,e,r)=>{var n=r(7854),o=r(1694),i=r(614),a=r(4326),u=r(5112)("toStringTag"),s=n.Object,c="Arguments"==a(function(){return arguments}());t.exports=o?a:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),u))?r:c?a(e):"Object"==(n=a(e))&&i(e.callee)?"Arguments":n}},5631:(t,e,r)=>{"use strict";var n=r(3070).f,o=r(30),i=r(2248),a=r(9974),u=r(5787),s=r(408),c=r(654),l=r(6340),f=r(9781),p=r(2423).fastKey,h=r(9909),d=h.set,y=h.getterFor;t.exports={getConstructor:function(t,e,r,c){var l=t((function(t,n){u(t,h),d(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=n&&s(n,t[c],{that:t,AS_ENTRIES:r})})),h=l.prototype,v=y(e),b=function(t,e,r){var n,o,i=v(t),a=g(t,e);return a?a.value=r:(i.last=a={index:o=p(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),f?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},g=function(t,e){var r,n=v(t),o=p(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(h,{clear:function(){for(var t=v(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=g(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),f?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(h,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return b(this,0===t?0:t,e)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),f&&n(h,"size",{get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=y(e),i=y(n);c(t,e,(function(t,e){d(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(e)}}},7710:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(1702),a=r(4705),u=r(1320),s=r(2423),c=r(408),l=r(5787),f=r(614),p=r(111),h=r(7293),d=r(7072),y=r(8003),v=r(9587);t.exports=function(t,e,r){var b=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),m=b?"set":"add",O=o[t],j=O&&O.prototype,w=O,T={},S=function(t){var e=i(j[t]);u(j,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!p(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return g&&!p(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!p(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!f(O)||!(g||j.forEach&&!h((function(){(new O).entries().next()})))))w=r.getConstructor(e,t,b,m),s.enable();else if(a(t,!0)){var R=new w,x=R[m](g?{}:-0,1)!=R,k=h((function(){R.has(1)})),E=d((function(t){new O(t)})),P=!g&&h((function(){for(var t=new O,e=5;e--;)t[m](e,e);return!t.has(-0)}));E||((w=e((function(t,e){l(t,j);var r=v(new O,t,w);return null!=e&&c(e,r[m],{that:r,AS_ENTRIES:b}),r}))).prototype=j,j.constructor=w),(k||P)&&(S("delete"),S("has"),b&&S("get")),(P||x)&&S(m),g&&j.clear&&delete j.clear}return T[t]=w,n({global:!0,forced:w!=O},T),y(w,t),g||r.setStrong(w,t,b),w}},9920:(t,e,r)=>{var n=r(2597),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e){for(var r=o(e),u=a.f,s=i.f,c=0;c<r.length;c++){var l=r[c];n(t,l)||u(t,l,s(e,l))}}},4964:(t,e,r)=>{var n=r(5112)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},8544:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4994:(t,e,r)=>{"use strict";var n=r(3383).IteratorPrototype,o=r(30),i=r(9114),a=r(8003),u=r(7497),s=function(){return this};t.exports=function(t,e,r){var c=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),a(t,c,!1,!0),u[c]=s,t}},8880:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,r)=>{"use strict";var n=r(4948),o=r(3070),i=r(9114);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},654:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(1913),a=r(6530),u=r(614),s=r(4994),c=r(9518),l=r(7674),f=r(8003),p=r(8880),h=r(1320),d=r(5112),y=r(7497),v=r(3383),b=a.PROPER,g=a.CONFIGURABLE,m=v.IteratorPrototype,O=v.BUGGY_SAFARI_ITERATORS,j=d("iterator"),w="keys",T="values",S="entries",R=function(){return this};t.exports=function(t,e,r,a,d,v,x){s(r,e,a);var k,E,P,_=function(t){if(t===d&&D)return D;if(!O&&t in C)return C[t];switch(t){case w:case T:case S:return function(){return new r(this,t)}}return function(){return new r(this)}},z=e+" Iterator",I=!1,C=t.prototype,A=C[j]||C["@@iterator"]||d&&C[d],D=!O&&A||_(d),W="Array"==e&&C.entries||A;if(W&&(k=c(W.call(new t)))!==Object.prototype&&k.next&&(i||c(k)===m||(l?l(k,m):u(k[j])||h(k,j,R)),f(k,z,!0,!0),i&&(y[z]=R)),b&&d==T&&A&&A.name!==T&&(!i&&g?p(C,"name",T):(I=!0,D=function(){return o(A,this)})),d)if(E={values:_(T),keys:v?D:_(w),entries:_(S)},x)for(P in E)(O||I||!(P in C))&&h(C,P,E[P]);else n({target:e,proto:!0,forced:O||I},E);return i&&!x||C[j]===D||h(C,j,D,{name:d}),y[e]=D,E}},7235:(t,e,r)=>{var n=r(857),o=r(2597),i=r(6061),a=r(3070).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,r)=>{var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(t,e,r)=>{var n=r(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},8886:(t,e,r)=>{var n=r(8113).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},256:(t,e,r)=>{var n=r(8113);t.exports=/MSIE|Trident/.test(n)},8113:(t,e,r)=>{var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:(t,e,r)=>{var n,o,i=r(7854),a=r(8113),u=i.process,s=i.Deno,c=u&&u.versions||s&&s.version,l=c&&c.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},8008:(t,e,r)=>{var n=r(8113).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),a=r(1320),u=r(3505),s=r(9920),c=r(4705);t.exports=function(t,e){var r,l,f,p,h,d=t.target,y=t.global,v=t.stat;if(r=y?n:v?n[d]||u(d,{}):(n[d]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(h=o(r,l))&&h.value:r[l],!c(y?l:d+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(r,l,p,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,r)=>{"use strict";r(4916);var n=r(1702),o=r(1320),i=r(2261),a=r(7293),u=r(5112),s=r(8880),c=u("species"),l=RegExp.prototype;t.exports=function(t,e,r,f){var p=u(t),h=!a((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),d=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!h||!d||r){var y=n(/./[p]),v=e(p,""[t],(function(t,e,r,o,a){var u=n(t),s=e.exec;return s===i||s===l.exec?h&&!a?{done:!0,value:y(e,r,o)}:{done:!0,value:u(r,e,o)}:{done:!1}}));o(String.prototype,t,v[0]),o(l,p,v[1])}f&&s(l[p],"sham",!0)}},6677:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:t=>{var e=Function.prototype,r=e.apply,n=e.bind,o=e.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(r):function(){return o.apply(r,arguments)})},9974:(t,e,r)=>{var n=r(1702),o=r(9662),i=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?i(t,e):function(){return t.apply(e,arguments)}}},7065:(t,e,r)=>{"use strict";var n=r(7854),o=r(1702),i=r(9662),a=r(111),u=r(2597),s=r(206),c=n.Function,l=o([].concat),f=o([].join),p={},h=function(t,e,r){if(!u(p,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";p[e]=c("C,a","return new C("+f(n,",")+")")}return p[e](t,r)};t.exports=c.bind||function(t){var e=i(this),r=e.prototype,n=s(arguments,1),o=function(){var r=l(n,s(arguments));return this instanceof o?h(e,r.length,r):e.apply(t,r)};return a(r)&&(o.prototype=r),o}},6916:t=>{var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},6530:(t,e,r)=>{var n=r(9781),o=r(2597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),s=u&&"something"===function(){}.name,c=u&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:s,CONFIGURABLE:c}},1702:t=>{var e=Function.prototype,r=e.bind,n=e.call,o=r&&r.bind(n);t.exports=r?function(t){return t&&o(n,t)}:function(t){return t&&function(){return n.apply(t,arguments)}}},5005:(t,e,r)=>{var n=r(7854),o=r(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},1246:(t,e,r)=>{var n=r(648),o=r(8173),i=r(7497),a=r(5112)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[n(t)]}},8554:(t,e,r)=>{var n=r(7854),o=r(6916),i=r(9662),a=r(9670),u=r(6330),s=r(1246),c=n.TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return a(o(r,t));throw c(u(t)+" is not iterable")}},8173:(t,e,r)=>{var n=r(9662);t.exports=function(t,e){var r=t[e];return null==r?void 0:n(r)}},647:(t,e,r)=>{var n=r(1702),o=r(7908),i=Math.floor,a=n("".charAt),u=n("".replace),s=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,p){var h=r+t.length,d=n.length,y=l;return void 0!==f&&(f=o(f),y=c),u(p,y,(function(o,u){var c;switch(a(u,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,r);case"'":return s(e,h);case"<":c=f[s(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>d){var p=i(l/10);return 0===p?o:p<=d?void 0===n[p-1]?a(u,1):n[p-1]+a(u,1):o}c=n[l-1]}return void 0===c?"":c}))}},7854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},2597:(t,e,r)=>{var n=r(1702),o=r(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:t=>{t.exports={}},490:(t,e,r)=>{var n=r(5005);t.exports=n("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,r)=>{var n=r(7854),o=r(1702),i=r(7293),a=r(4326),u=n.Object,s=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?s(t,""):u(t)}:u},9587:(t,e,r)=>{var n=r(614),o=r(111),i=r(7674);t.exports=function(t,e,r){var a,u;return i&&n(a=e.constructor)&&a!==r&&o(u=a.prototype)&&u!==r.prototype&&i(t,u),t}},2788:(t,e,r)=>{var n=r(1702),o=r(614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},2423:(t,e,r)=>{var n=r(2109),o=r(1702),i=r(3501),a=r(111),u=r(2597),s=r(3070).f,c=r(8006),l=r(1156),f=r(9711),p=r(6677),h=!1,d=f("meta"),y=0,v=Object.isExtensible||function(){return!0},b=function(t){s(t,d,{value:{objectID:"O"+y++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[d]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===d){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,d)){if(!v(t))return"F";if(!e)return"E";b(t)}return t[d].objectID},getWeakData:function(t,e){if(!u(t,d)){if(!v(t))return!0;if(!e)return!1;b(t)}return t[d].weakData},onFreeze:function(t){return p&&h&&v(t)&&!u(t,d)&&b(t),t}};i[d]=!0},9909:(t,e,r)=>{var n,o,i,a=r(8536),u=r(7854),s=r(1702),c=r(111),l=r(8880),f=r(2597),p=r(5465),h=r(6200),d=r(3501),y="Object already initialized",v=u.TypeError,b=u.WeakMap;if(a||p.state){var g=p.state||(p.state=new b),m=s(g.get),O=s(g.has),j=s(g.set);n=function(t,e){if(O(g,t))throw new v(y);return e.facade=t,j(g,t,e),e},o=function(t){return m(g,t)||{}},i=function(t){return O(g,t)}}else{var w=h("state");d[w]=!0,n=function(t,e){if(f(t,w))throw new v(y);return e.facade=t,l(t,w,e),e},o=function(t){return f(t,w)?t[w]:{}},i=function(t){return f(t,w)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}}}},7659:(t,e,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:t=>{t.exports=function(t){return"function"==typeof t}},4411:(t,e,r)=>{var n=r(1702),o=r(7293),i=r(614),a=r(648),u=r(5005),s=r(2788),c=function(){},l=[],f=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=n(p.exec),d=!p.exec(c),y=function(t){if(!i(t))return!1;try{return f(c,l,t),!0}catch(t){return!1}};t.exports=!f||o((function(){var t;return y(y.call)||!y(Object)||!y((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!h(p,s(t))}:y},5032:(t,e,r)=>{var n=r(2597);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},4705:(t,e,r)=>{var n=r(7293),o=r(614),i=/#|\.prototype\./,a=function(t,e){var r=s[u(t)];return r==l||r!=c&&(o(e)?n(e):!!e)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},111:(t,e,r)=>{var n=r(614);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},1913:t=>{t.exports=!1},7850:(t,e,r)=>{var n=r(111),o=r(4326),i=r(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},2190:(t,e,r)=>{var n=r(7854),o=r(5005),i=r(614),a=r(7976),u=r(3307),s=n.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&a(e.prototype,s(t))}},408:(t,e,r)=>{var n=r(7854),o=r(9974),i=r(6916),a=r(9670),u=r(6330),s=r(7659),c=r(6244),l=r(7976),f=r(8554),p=r(1246),h=r(9212),d=n.TypeError,y=function(t,e){this.stopped=t,this.result=e},v=y.prototype;t.exports=function(t,e,r){var n,b,g,m,O,j,w,T=r&&r.that,S=!(!r||!r.AS_ENTRIES),R=!(!r||!r.IS_ITERATOR),x=!(!r||!r.INTERRUPTED),k=o(e,T),E=function(t){return n&&h(n,"normal",t),new y(!0,t)},P=function(t){return S?(a(t),x?k(t[0],t[1],E):k(t[0],t[1])):x?k(t,E):k(t)};if(R)n=t;else{if(!(b=p(t)))throw d(u(t)+" is not iterable");if(s(b)){for(g=0,m=c(t);m>g;g++)if((O=P(t[g]))&&l(v,O))return O;return new y(!1)}n=f(t,b)}for(j=n.next;!(w=i(j,n)).done;){try{O=P(w.value)}catch(t){h(n,"throw",t)}if("object"==typeof O&&O&&l(v,O))return O}return new y(!1)}},9212:(t,e,r)=>{var n=r(6916),o=r(9670),i=r(8173);t.exports=function(t,e,r){var a,u;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){u=!0,a=t}if("throw"===e)throw r;if(u)throw a;return o(a),r}},3383:(t,e,r)=>{"use strict";var n,o,i,a=r(7293),u=r(614),s=r(30),c=r(9518),l=r(1320),f=r(5112),p=r(1913),h=f("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):d=!0),null==n||a((function(){var t={};return n[h].call(t)!==t}))?n={}:p&&(n=s(n)),u(n[h])||l(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7497:t=>{t.exports={}},6244:(t,e,r)=>{var n=r(7466);t.exports=function(t){return n(t.length)}},133:(t,e,r)=>{var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:(t,e,r)=>{var n=r(7854),o=r(614),i=r(2788),a=n.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},3929:(t,e,r)=>{var n=r(7854),o=r(7850),i=n.TypeError;t.exports=function(t){if(o(t))throw i("The method doesn't accept regular expressions");return t}},3009:(t,e,r)=>{var n=r(7854),o=r(7293),i=r(1702),a=r(1340),u=r(3111).trim,s=r(1361),c=n.parseInt,l=n.Symbol,f=l&&l.iterator,p=/^[+-]?0x/i,h=i(p.exec),d=8!==c(s+"08")||22!==c(s+"0x16")||f&&!o((function(){c(Object(f))}));t.exports=d?function(t,e){var r=u(a(t));return c(r,e>>>0||(h(p,r)?16:10))}:c},1574:(t,e,r)=>{"use strict";var n=r(9781),o=r(1702),i=r(6916),a=r(7293),u=r(1956),s=r(5181),c=r(5296),l=r(7908),f=r(8361),p=Object.assign,h=Object.defineProperty,d=o([].concat);t.exports=!p||a((function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!=p({},t)[r]||u(p({},e)).join("")!=o}))?function(t,e){for(var r=l(t),o=arguments.length,a=1,p=s.f,h=c.f;o>a;)for(var y,v=f(arguments[a++]),b=p?d(u(v),p(v)):u(v),g=b.length,m=0;g>m;)y=b[m++],n&&!i(h,v,y)||(r[y]=v[y]);return r}:p},30:(t,e,r)=>{var n,o=r(9670),i=r(6048),a=r(748),u=r(3501),s=r(490),c=r(317),l=r(6200)("IE_PROTO"),f=function(){},p=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&n?h(n):((e=c("iframe")).style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):h(n);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};u[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(f.prototype=o(t),r=new f,f.prototype=null,r[l]=t):r=d(),void 0===e?r:i(r,e)}},6048:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9670),a=r(5656),u=r(1956);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),s=u(e),c=s.length,l=0;c>l;)o.f(t,r=s[l++],n[r]);return t}},3070:(t,e,r)=>{var n=r(7854),o=r(9781),i=r(4664),a=r(9670),u=r(4948),s=n.TypeError,c=Object.defineProperty;e.f=o?c:function(t,e,r){if(a(t),e=u(e),a(r),i)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(6916),i=r(5296),a=r(9114),u=r(5656),s=r(4948),c=r(2597),l=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=u(t),e=s(e),l)try{return f(t,e)}catch(t){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},1156:(t,e,r)=>{var n=r(4326),o=r(5656),i=r(8006).f,a=r(206),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return a(u)}}(t):i(o(t))}},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},9518:(t,e,r)=>{var n=r(7854),o=r(2597),i=r(614),a=r(7908),u=r(6200),s=r(8544),c=u("IE_PROTO"),l=n.Object,f=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=a(t);if(o(e,c))return e[c];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?f:null}},7976:(t,e,r)=>{var n=r(1702);t.exports=n({}.isPrototypeOf)},6324:(t,e,r)=>{var n=r(1702),o=r(2597),i=r(5656),a=r(1318).indexOf,u=r(3501),s=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,l=[];for(r in n)!o(u,r)&&o(n,r)&&s(l,r);for(;e.length>c;)o(n,r=e[c++])&&(~a(l,r)||s(l,r));return l}},1956:(t,e,r)=>{var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7674:(t,e,r)=>{var n=r(1702),o=r(9670),i=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},4699:(t,e,r)=>{var n=r(9781),o=r(1702),i=r(1956),a=r(5656),u=o(r(5296).f),s=o([].push),c=function(t){return function(e){for(var r,o=a(e),c=i(o),l=c.length,f=0,p=[];l>f;)r=c[f++],n&&!u(o,r)||s(p,t?[r,o[r]]:o[r]);return p}};t.exports={entries:c(!0),values:c(!1)}},288:(t,e,r)=>{"use strict";var n=r(1694),o=r(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},2140:(t,e,r)=>{var n=r(7854),o=r(6916),i=r(614),a=r(111),u=n.TypeError;t.exports=function(t,e){var r,n;if("string"===e&&i(r=t.toString)&&!a(n=o(r,t)))return n;if(i(r=t.valueOf)&&!a(n=o(r,t)))return n;if("string"!==e&&i(r=t.toString)&&!a(n=o(r,t)))return n;throw u("Can't convert object to primitive value")}},3887:(t,e,r)=>{var n=r(5005),o=r(1702),i=r(8006),a=r(5181),u=r(9670),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(u(t)),r=a.f;return r?s(e,r(t)):e}},857:(t,e,r)=>{var n=r(7854);t.exports=n},2248:(t,e,r)=>{var n=r(1320);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},1320:(t,e,r)=>{var n=r(7854),o=r(614),i=r(2597),a=r(8880),u=r(3505),s=r(2788),c=r(9909),l=r(6530).CONFIGURABLE,f=c.get,p=c.enforce,h=String(String).split("String");(t.exports=function(t,e,r,s){var c,f=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,y=!!s&&!!s.noTargetGet,v=s&&void 0!==s.name?s.name:e;o(r)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||l&&r.name!==v)&&a(r,"name",v),(c=p(r)).source||(c.source=h.join("string"==typeof v?v:""))),t!==n?(f?!y&&t[e]&&(d=!0):delete t[e],d?t[e]=r:a(t,e,r)):d?t[e]=r:u(e,r)})(Function.prototype,"toString",(function(){return o(this)&&f(this).source||s(this)}))},7651:(t,e,r)=>{var n=r(7854),o=r(6916),i=r(9670),a=r(614),u=r(4326),s=r(2261),c=n.TypeError;t.exports=function(t,e){var r=t.exec;if(a(r)){var n=o(r,t,e);return null!==n&&i(n),n}if("RegExp"===u(t))return o(s,t,e);throw c("RegExp#exec called on incompatible receiver")}},2261:(t,e,r)=>{"use strict";var n,o,i=r(6916),a=r(1702),u=r(1340),s=r(7066),c=r(2999),l=r(2309),f=r(30),p=r(9909).get,h=r(9441),d=r(7168),y=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,g=a("".charAt),m=a("".indexOf),O=a("".replace),j=a("".slice),w=(o=/b*/g,i(v,n=/a/,"a"),i(v,o,"a"),0!==n.lastIndex||0!==o.lastIndex),T=c.UNSUPPORTED_Y||c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(w||S||T||h||d)&&(b=function(t){var e,r,n,o,a,c,l,h=this,d=p(h),R=u(t),x=d.raw;if(x)return x.lastIndex=h.lastIndex,e=i(b,x,R),h.lastIndex=x.lastIndex,e;var k=d.groups,E=T&&h.sticky,P=i(s,h),_=h.source,z=0,I=R;if(E&&(P=O(P,"y",""),-1===m(P,"g")&&(P+="g"),I=j(R,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==g(R,h.lastIndex-1))&&(_="(?: "+_+")",I=" "+I,z++),r=new RegExp("^(?:"+_+")",P)),S&&(r=new RegExp("^"+_+"$(?!\\s)",P)),w&&(n=h.lastIndex),o=i(v,E?r:h,I),E?o?(o.input=j(o.input,z),o[0]=j(o[0],z),o.index=h.lastIndex,h.lastIndex+=o[0].length):h.lastIndex=0:w&&o&&(h.lastIndex=h.global?o.index+o[0].length:n),S&&o&&o.length>1&&i(y,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&k)for(o.groups=c=f(null),a=0;a<k.length;a++)c[(l=k[a])[0]]=o[l[1]];return o}),t.exports=b},7066:(t,e,r)=>{"use strict";var n=r(9670);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},9441:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:(t,e,r)=>{var n=r(7854).TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},3505:(t,e,r)=>{var n=r(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},6340:(t,e,r)=>{"use strict";var n=r(5005),o=r(3070),i=r(5112),a=r(9781),u=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[u]&&r(e,u,{configurable:!0,get:function(){return this}})}},8003:(t,e,r)=>{var n=r(3070).f,o=r(2597),i=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,e,r)=>{var n=r(7854),o=r(3505),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:(t,e,r)=>{var n=r(9670),o=r(9483),i=r(5112)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},8710:(t,e,r)=>{var n=r(1702),o=r(9303),i=r(1340),a=r(4488),u=n("".charAt),s=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,f=i(a(e)),p=o(r),h=f.length;return p<0||p>=h?t?"":void 0:(n=s(f,p))<55296||n>56319||p+1===h||(l=s(f,p+1))<56320||l>57343?t?u(f,p):n:t?c(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4986:(t,e,r)=>{var n=r(8113);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},6650:(t,e,r)=>{var n=r(1702),o=r(7466),i=r(1340),a=r(8415),u=r(4488),s=n(a),c=n("".slice),l=Math.ceil,f=function(t){return function(e,r,n){var a,f,p=i(u(e)),h=o(r),d=p.length,y=void 0===n?" ":i(n);return h<=d||""==y?p:((f=s(y,l((a=h-d)/y.length))).length>a&&(f=c(f,0,a)),t?p+f:f+p)}};t.exports={start:f(!1),end:f(!0)}},8415:(t,e,r)=>{"use strict";var n=r(7854),o=r(9303),i=r(1340),a=r(4488),u=n.RangeError;t.exports=function(t){var e=i(a(this)),r="",n=o(t);if(n<0||n==1/0)throw u("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r}},6091:(t,e,r)=>{var n=r(6530).PROPER,o=r(7293),i=r(1361);t.exports=function(t){return o((function(){return!!i[t]()||"
"!=="
"[t]()||n&&i[t].name!==t}))}},3111:(t,e,r)=>{var n=r(1702),o=r(4488),i=r(1340),a=r(1361),u=n("".replace),s="["+a+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=u(r,c,"")),2&t&&(r=u(r,l,"")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},863:(t,e,r)=>{var n=r(1702);t.exports=n(1..valueOf)},1400:(t,e,r)=>{var n=r(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9303:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?r:e)(n)}},7466:(t,e,r)=>{var n=r(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(7854),o=r(4488),i=n.Object;t.exports=function(t){return i(o(t))}},7593:(t,e,r)=>{var n=r(7854),o=r(6916),i=r(111),a=r(2190),u=r(8173),s=r(2140),c=r(5112),l=n.TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!i(t)||a(t))return t;var r,n=u(t,f);if(n){if(void 0===e&&(e="default"),r=o(n,t,e),!i(r)||a(r))return r;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:(t,e,r)=>{var n=r(7593),o=r(2190);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:(t,e,r)=>{var n=r(7854),o=r(648),i=n.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:(t,e,r)=>{var n=r(7854).String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},9711:(t,e,r)=>{var n=r(1702),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3307:(t,e,r)=>{var n=r(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:(t,e,r)=>{var n=r(5112);e.f=n},5112:(t,e,r)=>{var n=r(7854),o=r(2309),i=r(2597),a=r(9711),u=r(133),s=r(3307),c=o("wks"),l=n.Symbol,f=l&&l.for,p=s?l:l&&l.withoutSetter||a;t.exports=function(t){if(!i(c,t)||!u&&"string"!=typeof c[t]){var e="Symbol."+t;u&&i(l,t)?c[t]=l[t]:c[t]=s&&f?f(e):p(e)}return c[t]}},1361:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2222:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(7293),a=r(3157),u=r(111),s=r(7908),c=r(6244),l=r(6135),f=r(5417),p=r(1194),h=r(5112),d=r(7392),y=h("isConcatSpreadable"),v=9007199254740991,b="Maximum allowed index exceeded",g=o.TypeError,m=d>=51||!i((function(){var t=[];return t[y]=!1,t.concat()[0]!==t})),O=p("concat"),j=function(t){if(!u(t))return!1;var e=t[y];return void 0!==e?!!e:a(t)};n({target:"Array",proto:!0,forced:!m||!O},{concat:function(t){var e,r,n,o,i,a=s(this),u=f(a,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(j(i=-1===e?a:arguments[e])){if(p+(o=c(i))>v)throw g(b);for(r=0;r<o;r++,p++)r in i&&l(u,p,i[r])}else{if(p>=v)throw g(b);l(u,p++,i)}return u.length=p,u}})},6541:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).every;n({target:"Array",proto:!0,forced:!r(9341)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},7327:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).filter;n({target:"Array",proto:!0,forced:!r(1194)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},1038:(t,e,r)=>{var n=r(2109),o=r(8457);n({target:"Array",stat:!0,forced:!r(7072)((function(t){Array.from(t)}))},{from:o})},6699:(t,e,r)=>{"use strict";var n=r(2109),o=r(1318).includes,i=r(1223);n({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},2772:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(1318).indexOf,a=r(9341),u=o([].indexOf),s=!!u&&1/u([1],1,-0)<0,c=a("indexOf");n({target:"Array",proto:!0,forced:s||!c},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return s?u(this,t,e)||0:i(this,t,e)}})},9753:(t,e,r)=>{r(2109)({target:"Array",stat:!0},{isArray:r(3157)})},6992:(t,e,r)=>{"use strict";var n=r(5656),o=r(1223),i=r(7497),a=r(9909),u=r(654),s="Array Iterator",c=a.set,l=a.getterFor(s);t.exports=u(Array,"Array",(function(t,e){c(this,{type:s,target:n(t),index:0,kind:e})}),(function(){var t=l(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},9600:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(8361),a=r(5656),u=r(9341),s=o([].join),c=i!=Object,l=u("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(t){return s(a(this),void 0===t?",":t)}})},1249:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).map;n({target:"Array",proto:!0,forced:!r(1194)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},5069:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(3157),a=o([].reverse),u=[1,2];n({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},7042:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(3157),a=r(4411),u=r(111),s=r(1400),c=r(6244),l=r(5656),f=r(6135),p=r(5112),h=r(1194),d=r(206),y=h("slice"),v=p("species"),b=o.Array,g=Math.max;n({target:"Array",proto:!0,forced:!y},{slice:function(t,e){var r,n,o,p=l(this),h=c(p),y=s(t,h),m=s(void 0===e?h:e,h);if(i(p)&&(r=p.constructor,(a(r)&&(r===b||i(r.prototype))||u(r)&&null===(r=r[v]))&&(r=void 0),r===b||void 0===r))return d(p,y,m);for(n=new(void 0===r?b:r)(g(m-y,0)),o=0;y<m;y++,o++)y in p&&f(n,o,p[y]);return n.length=o,n}})},2707:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(9662),a=r(7908),u=r(6244),s=r(1340),c=r(7293),l=r(4362),f=r(9341),p=r(8886),h=r(256),d=r(7392),y=r(8008),v=[],b=o(v.sort),g=o(v.push),m=c((function(){v.sort(void 0)})),O=c((function(){v.sort(null)})),j=f("sort"),w=!c((function(){if(d)return d<70;if(!(p&&p>3)){if(h)return!0;if(y)return y<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:m||!O||!j||!w},{sort:function(t){void 0!==t&&i(t);var e=a(this);if(w)return void 0===t?b(e):b(e,t);var r,n,o=[],c=u(e);for(n=0;n<c;n++)n in e&&g(o,e[n]);for(l(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:s(e)>s(r)?1:-1}}(t)),r=o.length,n=0;n<r;)e[n]=o[n++];for(;n<c;)delete e[n++];return e}})},3710:(t,e,r)=>{var n=r(1702),o=r(1320),i=Date.prototype,a="Invalid Date",u=n(i.toString),s=n(i.getTime);String(new Date(NaN))!=a&&o(i,"toString",(function(){var t=s(this);return t==t?u(this):a}))},8309:(t,e,r)=>{var n=r(9781),o=r(6530).EXISTS,i=r(1702),a=r(3070).f,u=Function.prototype,s=i(u.toString),c=/^\s*function ([^ (]*)/,l=i(c.exec);n&&!o&&a(u,"name",{configurable:!0,get:function(){try{return l(c,s(this))[1]}catch(t){return""}}})},8862:(t,e,r)=>{var n=r(2109),o=r(7854),i=r(5005),a=r(2104),u=r(1702),s=r(7293),c=o.Array,l=i("JSON","stringify"),f=u(/./.exec),p=u("".charAt),h=u("".charCodeAt),d=u("".replace),y=u(1..toString),v=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,g=/^[\uDC00-\uDFFF]$/,m=function(t,e,r){var n=p(r,e-1),o=p(r,e+1);return f(b,t)&&!f(g,o)||f(g,t)&&!f(b,n)?"\\u"+y(h(t,0),16):t},O=s((function(){return'"\\udf06\\ud834"'!==l("\udf06\ud834")||'"\\udead"'!==l("\udead")}));l&&n({target:"JSON",stat:!0,forced:O},{stringify:function(t,e,r){for(var n=0,o=arguments.length,i=c(o);n<o;n++)i[n]=arguments[n];var u=a(l,null,i);return"string"==typeof u?d(u,v,m):u}})},9653:(t,e,r)=>{"use strict";var n=r(9781),o=r(7854),i=r(1702),a=r(4705),u=r(1320),s=r(2597),c=r(9587),l=r(7976),f=r(2190),p=r(7593),h=r(7293),d=r(8006).f,y=r(1236).f,v=r(3070).f,b=r(863),g=r(3111).trim,m="Number",O=o.Number,j=O.prototype,w=o.TypeError,T=i("".slice),S=i("".charCodeAt),R=function(t){var e=p(t,"number");return"bigint"==typeof e?e:x(e)},x=function(t){var e,r,n,o,i,a,u,s,c=p(t,"number");if(f(c))throw w("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=g(c),43===(e=S(c,0))||45===e){if(88===(r=S(c,2))||120===r)return NaN}else if(48===e){switch(S(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=T(c,2)).length,u=0;u<a;u++)if((s=S(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c};if(a(m,!O(" 0o1")||!O("0b1")||O("+0x1"))){for(var k,E=function(t){var e=arguments.length<1?0:O(R(t)),r=this;return l(j,r)&&h((function(){b(r)}))?c(Object(e),r,E):e},P=n?d(O):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),_=0;P.length>_;_++)s(O,k=P[_])&&!s(E,k)&&v(E,k,y(O,k));E.prototype=j,j.constructor=E,u(o,m,E)}},9601:(t,e,r)=>{var n=r(2109),o=r(1574);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},8011:(t,e,r)=>{r(2109)({target:"Object",stat:!0,sham:!r(9781)},{create:r(30)})},9070:(t,e,r)=>{var n=r(2109),o=r(9781);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(3070).f})},5003:(t,e,r)=>{var n=r(2109),o=r(7293),i=r(5656),a=r(1236).f,u=r(9781),s=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!u||s,sham:!u},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},489:(t,e,r)=>{var n=r(2109),o=r(7293),i=r(7908),a=r(9518),u=r(8544);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(t){return a(i(t))}})},7941:(t,e,r)=>{var n=r(2109),o=r(7908),i=r(1956);n({target:"Object",stat:!0,forced:r(7293)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},8304:(t,e,r)=>{r(2109)({target:"Object",stat:!0},{setPrototypeOf:r(7674)})},1539:(t,e,r)=>{var n=r(1694),o=r(1320),i=r(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},6833:(t,e,r)=>{var n=r(2109),o=r(4699).values;n({target:"Object",stat:!0},{values:function(t){return o(t)}})},1058:(t,e,r)=>{var n=r(2109),o=r(3009);n({global:!0,forced:parseInt!=o},{parseInt:o})},2419:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2104),a=r(7065),u=r(9483),s=r(9670),c=r(111),l=r(30),f=r(7293),p=o("Reflect","construct"),h=Object.prototype,d=[].push,y=f((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),v=!f((function(){p((function(){}))})),b=y||v;n({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(t,e){u(t),s(e);var r=arguments.length<3?t:u(arguments[2]);if(v&&!y)return p(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return i(d,n,e),new(i(a,t,n))}var o=r.prototype,f=l(c(o)?o:h),b=i(t,f,e);return c(b)?b:f}})},4819:(t,e,r)=>{var n=r(2109),o=r(6916),i=r(111),a=r(9670),u=r(5032),s=r(1236),c=r(9518);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,l,f=arguments.length<3?e:arguments[2];return a(e)===f?e[r]:(n=s.f(e,r))?u(n)?n.value:void 0===n.get?void 0:o(n.get,f):i(l=c(e))?t(l,r,f):void 0}})},1299:(t,e,r)=>{var n=r(2109),o=r(7854),i=r(8003);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},4603:(t,e,r)=>{var n=r(9781),o=r(7854),i=r(1702),a=r(4705),u=r(9587),s=r(8880),c=r(3070).f,l=r(8006).f,f=r(7976),p=r(7850),h=r(1340),d=r(7066),y=r(2999),v=r(1320),b=r(7293),g=r(2597),m=r(9909).enforce,O=r(6340),j=r(5112),w=r(9441),T=r(7168),S=j("match"),R=o.RegExp,x=R.prototype,k=o.SyntaxError,E=i(d),P=i(x.exec),_=i("".charAt),z=i("".replace),I=i("".indexOf),C=i("".slice),A=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,W=/a/g,N=new R(D)!==D,B=y.UNSUPPORTED_Y;if(a("RegExp",n&&(!N||B||w||T||b((function(){return W[S]=!1,R(D)!=D||R(W)==W||"/a/i"!=R(D,"i")}))))){for(var F=function(t,e){var r,n,o,i,a,c,l=f(x,this),d=p(t),y=void 0===e,v=[],b=t;if(!l&&d&&y&&t.constructor===F)return t;if((d||f(x,t))&&(t=t.source,y&&(e="flags"in b?b.flags:E(b))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),b=t,w&&"dotAll"in D&&(n=!!e&&I(e,"s")>-1)&&(e=z(e,/s/g,"")),r=e,B&&"sticky"in D&&(o=!!e&&I(e,"y")>-1)&&(e=z(e,/y/g,"")),T&&(t=(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a={},u=!1,s=!1,c=0,l="";n<=r;n++){if("\\"===(e=_(t,n)))e+=_(t,++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:P(A,C(t,n+1))&&(n+=2,s=!0),o+=e,c++;continue;case">"===e&&s:if(""===l||g(a,l))throw new k("Invalid capture group name");a[l]=!0,i[i.length]=[l,c],s=!1,l="";continue}s?l+=e:o+=e}return[o,i]}(t))[0],v=i[1]),a=u(R(t,e),l?this:x,F),(n||o||v.length)&&(c=m(a),n&&(c.dotAll=!0,c.raw=F(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=_(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+_(t,++n);return o}(t),r)),o&&(c.sticky=!0),v.length&&(c.groups=v)),t!==b)try{s(a,"source",""===b?"(?:)":b)}catch(t){}return a},M=function(t){t in F||c(F,t,{configurable:!0,get:function(){return R[t]},set:function(e){R[t]=e}})},L=l(R),q=0;L.length>q;)M(L[q++]);x.constructor=F,F.prototype=x,v(o,"RegExp",F)}O("RegExp")},8450:(t,e,r)=>{var n=r(7854),o=r(9781),i=r(9441),a=r(4326),u=r(3070).f,s=r(9909).get,c=RegExp.prototype,l=n.TypeError;o&&i&&u(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===a(this))return!!s(this).dotAll;throw l("Incompatible receiver, RegExp required")}}})},4916:(t,e,r)=>{"use strict";var n=r(2109),o=r(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8386:(t,e,r)=>{var n=r(7854),o=r(9781),i=r(2999).UNSUPPORTED_Y,a=r(4326),u=r(3070).f,s=r(9909).get,c=RegExp.prototype,l=n.TypeError;o&&i&&u(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===a(this))return!!s(this).sticky;throw l("Incompatible receiver, RegExp required")}}})},7601:(t,e,r)=>{"use strict";r(4916);var n,o,i=r(2109),a=r(7854),u=r(6916),s=r(1702),c=r(614),l=r(111),f=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),p=a.Error,h=s(/./.test);i({target:"RegExp",proto:!0,forced:!f},{test:function(t){var e=this.exec;if(!c(e))return h(this,t);var r=u(e,this,t);if(null!==r&&!l(r))throw new p("RegExp exec method returned something other than an Object or null");return!!r}})},9714:(t,e,r)=>{"use strict";var n=r(1702),o=r(6530).PROPER,i=r(1320),a=r(9670),u=r(7976),s=r(1340),c=r(7293),l=r(7066),f="toString",p=RegExp.prototype,h=p.toString,d=n(l),y=c((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),v=o&&h.name!=f;(y||v)&&i(RegExp.prototype,f,(function(){var t=a(this),e=s(t.source),r=t.flags;return"/"+e+"/"+s(void 0===r&&u(p,t)&&!("flags"in p)?d(t):r)}),{unsafe:!0})},189:(t,e,r)=>{"use strict";r(7710)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(5631))},7852:(t,e,r)=>{"use strict";var n,o=r(2109),i=r(1702),a=r(1236).f,u=r(7466),s=r(1340),c=r(3929),l=r(4488),f=r(4964),p=r(1913),h=i("".endsWith),d=i("".slice),y=Math.min,v=f("endsWith");o({target:"String",proto:!0,forced:!(!p&&!v&&(n=a(String.prototype,"endsWith"),n&&!n.writable)||v)},{endsWith:function(t){var e=s(l(this));c(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:y(u(r),n),i=s(t);return h?h(e,i,o):d(e,o-i.length,o)===i}})},2023:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(3929),a=r(4488),u=r(1340),s=r(4964),c=o("".indexOf);n({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~c(u(a(this)),u(i(t)),arguments.length>1?arguments[1]:void 0)}})},8783:(t,e,r)=>{"use strict";var n=r(8710).charAt,o=r(1340),i=r(9909),a=r(654),u="String Iterator",s=i.set,c=i.getterFor(u);a(String,"String",(function(t){s(this,{type:u,string:o(t),index:0})}),(function(){var t,e=c(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},4723:(t,e,r)=>{"use strict";var n=r(6916),o=r(7007),i=r(9670),a=r(7466),u=r(1340),s=r(4488),c=r(8173),l=r(1530),f=r(7651);o("match",(function(t,e,r){return[function(e){var r=s(this),o=null==e?void 0:c(e,t);return o?n(o,e,r):new RegExp(e)[t](u(r))},function(t){var n=i(this),o=u(t),s=r(e,n,o);if(s.done)return s.value;if(!n.global)return f(n,o);var c=n.unicode;n.lastIndex=0;for(var p,h=[],d=0;null!==(p=f(n,o));){var y=u(p[0]);h[d]=y,""===y&&(n.lastIndex=l(o,a(n.lastIndex),c)),d++}return 0===d?null:h}]}))},3112:(t,e,r)=>{"use strict";var n=r(2109),o=r(6650).start;n({target:"String",proto:!0,forced:r(4986)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},2481:(t,e,r)=>{r(2109)({target:"String",proto:!0},{repeat:r(8415)})},5306:(t,e,r)=>{"use strict";var n=r(2104),o=r(6916),i=r(1702),a=r(7007),u=r(7293),s=r(9670),c=r(614),l=r(9303),f=r(7466),p=r(1340),h=r(4488),d=r(1530),y=r(8173),v=r(647),b=r(7651),g=r(5112)("replace"),m=Math.max,O=Math.min,j=i([].concat),w=i([].push),T=i("".indexOf),S=i("".slice),R="$0"==="a".replace(/./,"$0"),x=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(t,e,r){var i=x?"$":"$0";return[function(t,r){var n=h(this),i=null==t?void 0:y(t,g);return i?o(i,t,n,r):o(e,p(n),t,r)},function(t,o){var a=s(this),u=p(t);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var h=r(e,a,u,o);if(h.done)return h.value}var y=c(o);y||(o=p(o));var g=a.global;if(g){var R=a.unicode;a.lastIndex=0}for(var x=[];;){var k=b(a,u);if(null===k)break;if(w(x,k),!g)break;""===p(k[0])&&(a.lastIndex=d(u,f(a.lastIndex),R))}for(var E,P="",_=0,z=0;z<x.length;z++){for(var I=p((k=x[z])[0]),C=m(O(l(k.index),u.length),0),A=[],D=1;D<k.length;D++)w(A,void 0===(E=k[D])?E:String(E));var W=k.groups;if(y){var N=j([I],A,C,u);void 0!==W&&w(N,W);var B=p(n(o,void 0,N))}else B=v(I,u,C,A,W,o);C>=_&&(P+=S(u,_,C)+B,_=C+I.length)}return P+S(u,_)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!R||x)},3123:(t,e,r)=>{"use strict";var n=r(2104),o=r(6916),i=r(1702),a=r(7007),u=r(7850),s=r(9670),c=r(4488),l=r(6707),f=r(1530),p=r(7466),h=r(1340),d=r(8173),y=r(206),v=r(7651),b=r(2261),g=r(2999),m=r(7293),O=g.UNSUPPORTED_Y,j=4294967295,w=Math.min,T=[].push,S=i(/./.exec),R=i(T),x=i("".slice);a("split",(function(t,e,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var i=h(c(this)),a=void 0===r?j:r>>>0;if(0===a)return[];if(void 0===t)return[i];if(!u(t))return o(e,i,t,a);for(var s,l,f,p=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,g=new RegExp(t.source,d+"g");(s=o(b,g,i))&&!((l=g.lastIndex)>v&&(R(p,x(i,v,s.index)),s.length>1&&s.index<i.length&&n(T,p,y(s,1)),f=s[0].length,v=l,p.length>=a));)g.lastIndex===s.index&&g.lastIndex++;return v===i.length?!f&&S(g,"")||R(p,""):R(p,x(i,v)),p.length>a?y(p,0,a):p}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:o(e,this,t,r)}:e,[function(e,r){var n=c(this),a=null==e?void 0:d(e,t);return a?o(a,e,n,r):o(i,h(n),e,r)},function(t,n){var o=s(this),a=h(t),u=r(i,o,a,n,i!==e);if(u.done)return u.value;var c=l(o,RegExp),d=o.unicode,y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(O?"g":"y"),b=new c(O?"^(?:"+o.source+")":o,y),g=void 0===n?j:n>>>0;if(0===g)return[];if(0===a.length)return null===v(b,a)?[a]:[];for(var m=0,T=0,S=[];T<a.length;){b.lastIndex=O?0:T;var k,E=v(b,O?x(a,T):a);if(null===E||(k=w(p(b.lastIndex+(O?T:0)),a.length))===m)T=f(a,T,d);else{if(R(S,x(a,m,T)),S.length===g)return S;for(var P=1;P<=E.length-1;P++)if(R(S,E[P]),S.length===g)return S;T=m=k}}return R(S,x(a,m)),S}]}),!!m((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),O)},8702:(t,e,r)=>{"use strict";var n=r(2109),o=r(3111).end,i=r(6091)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;n({target:"String",proto:!0,name:"trimEnd",forced:i},{trimEnd:a,trimRight:a})},3210:(t,e,r)=>{"use strict";var n=r(2109),o=r(3111).trim;n({target:"String",proto:!0,forced:r(6091)("trim")},{trim:function(){return o(this)}})},1817:(t,e,r)=>{"use strict";var n=r(2109),o=r(9781),i=r(7854),a=r(1702),u=r(2597),s=r(614),c=r(7976),l=r(1340),f=r(3070).f,p=r(9920),h=i.Symbol,d=h&&h.prototype;if(o&&s(h)&&(!("description"in d)||void 0!==h().description)){var y={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=c(d,this)?new h(t):void 0===t?h():h(t);return""===t&&(y[e]=!0),e};p(v,h),v.prototype=d,d.constructor=v;var b="Symbol(test)"==String(h("test")),g=a(d.toString),m=a(d.valueOf),O=/^Symbol\((.*)\)[^)]+$/,j=a("".replace),w=a("".slice);f(d,"description",{configurable:!0,get:function(){var t=m(this),e=g(t);if(u(y,t))return"";var r=b?w(e,7,-1):j(e,O,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:v})}},2165:(t,e,r)=>{r(7235)("iterator")},2526:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(5005),a=r(2104),u=r(6916),s=r(1702),c=r(1913),l=r(9781),f=r(133),p=r(7293),h=r(2597),d=r(3157),y=r(614),v=r(111),b=r(7976),g=r(2190),m=r(9670),O=r(7908),j=r(5656),w=r(4948),T=r(1340),S=r(9114),R=r(30),x=r(1956),k=r(8006),E=r(1156),P=r(5181),_=r(1236),z=r(3070),I=r(5296),C=r(206),A=r(1320),D=r(2309),W=r(6200),N=r(3501),B=r(9711),F=r(5112),M=r(6061),L=r(7235),q=r(8003),U=r(9909),G=r(2092).forEach,$=W("hidden"),V="Symbol",Z=F("toPrimitive"),H=U.set,J=U.getterFor(V),X=Object.prototype,K=o.Symbol,Y=K&&K.prototype,Q=o.TypeError,tt=o.QObject,et=i("JSON","stringify"),rt=_.f,nt=z.f,ot=E.f,it=I.f,at=s([].push),ut=D("symbols"),st=D("op-symbols"),ct=D("string-to-symbol-registry"),lt=D("symbol-to-string-registry"),ft=D("wks"),pt=!tt||!tt.prototype||!tt.prototype.findChild,ht=l&&p((function(){return 7!=R(nt({},"a",{get:function(){return nt(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=rt(X,e);n&&delete X[e],nt(t,e,r),n&&t!==X&&nt(X,e,n)}:nt,dt=function(t,e){var r=ut[t]=R(Y);return H(r,{type:V,tag:t,description:e}),l||(r.description=e),r},yt=function(t,e,r){t===X&&yt(st,e,r),m(t);var n=w(e);return m(r),h(ut,n)?(r.enumerable?(h(t,$)&&t[$][n]&&(t[$][n]=!1),r=R(r,{enumerable:S(0,!1)})):(h(t,$)||nt(t,$,S(1,{})),t[$][n]=!0),ht(t,n,r)):nt(t,n,r)},vt=function(t,e){m(t);var r=j(e),n=x(r).concat(Ot(r));return G(n,(function(e){l&&!u(bt,r,e)||yt(t,e,r[e])})),t},bt=function(t){var e=w(t),r=u(it,this,e);return!(this===X&&h(ut,e)&&!h(st,e))&&(!(r||!h(this,e)||!h(ut,e)||h(this,$)&&this[$][e])||r)},gt=function(t,e){var r=j(t),n=w(e);if(r!==X||!h(ut,n)||h(st,n)){var o=rt(r,n);return!o||!h(ut,n)||h(r,$)&&r[$][n]||(o.enumerable=!0),o}},mt=function(t){var e=ot(j(t)),r=[];return G(e,(function(t){h(ut,t)||h(N,t)||at(r,t)})),r},Ot=function(t){var e=t===X,r=ot(e?st:j(t)),n=[];return G(r,(function(t){!h(ut,t)||e&&!h(X,t)||at(n,ut[t])})),n};if(f||(A(Y=(K=function(){if(b(Y,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?T(arguments[0]):void 0,e=B(t),r=function(t){this===X&&u(r,st,t),h(this,$)&&h(this[$],e)&&(this[$][e]=!1),ht(this,e,S(1,t))};return l&&pt&&ht(X,e,{configurable:!0,set:r}),dt(e,t)}).prototype,"toString",(function(){return J(this).tag})),A(K,"withoutSetter",(function(t){return dt(B(t),t)})),I.f=bt,z.f=yt,_.f=gt,k.f=E.f=mt,P.f=Ot,M.f=function(t){return dt(F(t),t)},l&&(nt(Y,"description",{configurable:!0,get:function(){return J(this).description}}),c||A(X,"propertyIsEnumerable",bt,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:K}),G(x(ft),(function(t){L(t)})),n({target:V,stat:!0,forced:!f},{for:function(t){var e=T(t);if(h(ct,e))return ct[e];var r=K(e);return ct[e]=r,lt[r]=e,r},keyFor:function(t){if(!g(t))throw Q(t+" is not a symbol");if(h(lt,t))return lt[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!l},{create:function(t,e){return void 0===e?R(t):vt(R(t),e)},defineProperty:yt,defineProperties:vt,getOwnPropertyDescriptor:gt}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:mt,getOwnPropertySymbols:Ot}),n({target:"Object",stat:!0,forced:p((function(){P.f(1)}))},{getOwnPropertySymbols:function(t){return P.f(O(t))}}),et&&n({target:"JSON",stat:!0,forced:!f||p((function(){var t=K();return"[null]"!=et([t])||"{}"!=et({a:t})||"{}"!=et(Object(t))}))},{stringify:function(t,e,r){var n=C(arguments),o=e;if((v(e)||void 0!==t)&&!g(t))return d(e)||(e=function(t,e){if(y(o)&&(e=u(o,this,t,e)),!g(e))return e}),n[1]=e,a(et,null,n)}}),!Y[Z]){var jt=Y.valueOf;A(Y,Z,(function(t){return u(jt,this)}))}q(K,V),N[$]=!0},3948:(t,e,r)=>{var n=r(7854),o=r(8324),i=r(8509),a=r(6992),u=r(8880),s=r(5112),c=s("iterator"),l=s("toStringTag"),f=a.values,p=function(t,e){if(t){if(t[c]!==f)try{u(t,c,f)}catch(e){t[c]=f}if(t[l]||u(t,l,e),o[e])for(var r in a)if(t[r]!==a[r])try{u(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var h in o)p(n[h]&&n[h].prototype,h);p(i,"DOMTokenList")}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n={};return(()=>{"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}r.d(n,{default:()=>tn}),r(2772),r(9600),r(2707),r(1058),r(3210),r(8304),r(489),r(1539),r(1299),r(2419),r(8011),r(9070),r(2526),r(1817),r(2165),r(6992),r(8783),r(3948),r(1038),r(9653),r(2222),r(4916),r(3123),r(3710),r(9714);var o=function(){function r(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.negativeWord="",this.separatorWord,this.zero,this.spaceSeparator=" "}var n,o;return n=r,(o=[{key:"toCardinal",value:function(t){return t}},{key:"toDecimal",value:function(t){for(var e=Array.from(t),r=[];"0"===e[0];)e.shift(),r.push(this.zero);return r.push(this.toCardinal(parseInt(t,10))),r.join(this.spaceSeparator)}},{key:"floatToCardinal",value:function(e){if(isNaN(Number(e)))throw new TypeError("Invalid number: ".concat(e,", of type: ").concat(t(e)));e=Number(e);var r=[],n=Math.abs(e);if(e%1==0||void 0===this.separatorWord)r=[this.toCardinal(n)];else{var o=n.toString().split("."),i=this.toCardinal(parseInt(o[0],10)),a=o[1],u=this.toDecimal(a);r=[i,this.separatorWord,u]}return e<0&&(r=[this.negativeWord].concat(r)),r.join(this.spaceSeparator)}}])&&e(n.prototype,o),r}();function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t,e){if(e&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,r,n,o,i=(n=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=c(n);if(o){var r=c(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return s(this,t)});function l(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this)).integerValue=0,t.decimalValue=0,t.negativeWord="ناقص",t.separatorWord="فاصلة",t.number=0,t.zero="صفر",t.arabicOnes=["","واحد","اثنان","ثلاثة","أربعة","خمسة","ستة","سبعة","ثمانية","تسعة","عشرة","أحد عشر","اثنا عشر","ثلاثة عشر","أربعة عشر","خمسة عشر","ستة عشر","سبعة عشر","ثمانية عشر","تسعة عشر"],t.arabicFeminineOnes=["","إحدى","اثنتان","ثلاث","أربع","خمس","ست","سبع","ثمان","تسع","عشر","إحدى عشرة","اثنتا عشرة","ثلاث عشرة","أربع عشرة","خمس عشرة","ست عشرة","سبع عشرة","ثماني عشرة","تسع عشرة"],t.arabicTens=["عشرون","ثلاثون","أربعون","خمسون","ستون","سبعون","ثمانون","تسعون"],t.arabicHundreds=["","مائة","مئتان","ثلاثمائة","أربعمائة","خمسمائة","ستمائة","سبعمائة","ثمانمائة","تسعمائة"],t.arabicAppendedTwos=["مئتا","ألفا","مليونا","مليارا","تريليونا","كوادريليونا","كوينتليونا","سكستيليونا"],t.arabicTwos=["مئتان","ألفان","مليونان","ملياران","تريليونان","كوادريليونان","كوينتليونان","سكستيليونان"],t.arabicGroup=["مائة","ألف","مليون","مليار","تريليون","كوادريليون","كوينتليون","سكستيليون"],t.arabicAppendedGroup=["","ألفاً","مليوناً","ملياراً","تريليوناً","كوادريليوناً","كوينتليوناً","سكستيليوناً"],t.arabicPluralGroups=["","آلاف","ملايين","مليارات","تريليونات","كوادريليونات","كوينتليونات","سكستيليونات"],t}return e=l,(r=[{key:"digitFeminineStatus",value:function(t){return this.arabicOnes[parseInt(t)]}},{key:"processArabicGroup",value:function(t,e,r){var n=t%100,o=t/100,i="";if(parseInt(o)>0&&(i=0==n&&2==parseInt(o)?this.arabicAppendedTwos[0]:this.arabicHundreds[parseInt(o)]),n>0)if(n<20)2==n&&0==parseInt(o)&&e>0?i=-1!=[2e3,2e6,2e9,2e12,2e15,2e18].indexOf(this.integerValue)?this.arabicAppendedTwos[parseInt(e)]:this.arabicTwos[parseInt(e)]:(""!=i&&(i+=" و "),i+=1==n&&e>0&&0==o?"":1!=n&&2!=n||0!=e&&-1!=e||0!=o||0!=r?this.digitFeminineStatus(parseInt(n),e):"");else{var a=n%10;n=n/10-2,a>0&&(""!=i&&n<4&&(i+=" و "),i+=this.digitFeminineStatus(a,e)),""!=i&&0!=a&&(i+=" و "),i+=this.arabicTens[parseInt(n)]}return i}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;var e=t;this.integerValue=t;for(var r="",n=0;e>0;){var o=parseInt(e%1e3);e=parseInt(e/1e3);var i=this.processArabicGroup(o,n,Math.floor(e));""!=i&&(n>0&&(""!=r&&(r=" و "+r),2!=o&&(r=o%100!=1?o>=3&&o<=10?this.arabicPluralGroups[n]+" "+r:""!=r?this.arabicAppendedGroup[n]+" "+r:this.arabicGroup[n]+" "+r:this.arabicGroup[n]+" "+r)),r=i+" "+r),n+=1}return r.trim()}}])&&a(e.prototype,r),l}(o);function f(t){return(new l).floatToCardinal(t)}function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r(8862),r(9753),r(7042),r(8309),r(7601),r(5069),r(3112),r(1249);var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=g(n);if(o){var r=g(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return b(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).feminine=!1,t.negativeWord="минус",t.separatorWord="запятая",t.zero="ноль",t.ones={1:"один",2:"два",3:"три",4:"четыре",5:"пять",6:"шесть",7:"семь",8:"восемь",9:"девять"},t.onesFeminine={1:"одна",2:"две",3:"три",4:"четыре",5:"пять",6:"шесть",7:"семь",8:"восемь",9:"девять"},t.tens={0:"десять",1:"одиннадцать",2:"двенадцать",3:"тринадцать",4:"четырнадцать",5:"пятнадцать",6:"шестнадцать",7:"семнадцать",8:"восемнадцать",9:"девятнадцать"},t.twenties={2:"двадцать",3:"тридцать",4:"сорок",5:"пятьдесят",6:"шестьдесят",7:"семьдесят",8:"восемьдесят",9:"девяносто"},t.hundreds={1:"сто",2:"двести",3:"триста",4:"четыреста",5:"пятьсот",6:"шестьсот",7:"семьсот",8:"восемьсот",9:"девятьсот"},t.thousands={1:["тысяча","тысячи","тысяч"],2:["миллион","миллиона","миллионов"],3:["миллиард","миллиарда","миллиардов"],4:["триллион","триллиона","триллионов"],5:["квадриллион","квадриллиона","квадриллионов"],6:["квинтиллион","квинтиллиона","квинтиллионов"],7:["секстиллион","секстиллиона","секстиллионов"],8:["септиллион","септиллиона","септиллионов"],9:["октиллион","октиллиона","октиллионов"],10:["нониллион","нониллиона","нониллионов"]},t}return e=a,(r=[{key:"splitByX",value:function(t,e){var r,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=[],i=t.length;if(i>e){var a=i%e;a>0&&(r=t.slice(0,a),n?o.push(parseInt(r)):o.push(r));for(var u=a;u<i;u+=e)r=t.slice(u,u+e),n?o.push(parseInt(r)):o.push(r)}else n?o.push(parseInt(t)):o.push(t);return o}},{key:"getDigits",value:function(t){return Array.from(JSON.stringify(t).padStart(3,"0").slice(-3)).reverse().map((function(t){return parseInt(t)}))}},{key:"pluralize",value:function(t,e){var r=2;return(t%100<10||t%100>20)&&(t%10==1?r=0:t%10<5&&t%10>1&&(r=1)),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o],a=[];if(n-=1,0!=i){var u=h(this.getDigits(i),3),s=u[0],c=u[1],l=u[2];l>0&&e.push(this.hundreds[l]),c>1&&e.push(this.twenties[c]),1==c?e.push(this.tens[s]):s>0&&(a=1==n||this.feminine&&0==n?this.onesFeminine:this.ones,e.push(a[s])),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&y(e.prototype,r),a}(o);function O(t){return(new m).floatToCardinal(t)}function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function S(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t,e){if(e&&("object"===j(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var E=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=k(n);if(o){var r=k(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return x(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="mínus",t.separatorWord="celá",t.zero="nula",t.ones={1:"jedna",2:"dva",3:"tři",4:"čtyři",5:"pět",6:"šest",7:"sedm",8:"osm",9:"devět"},t.tens={0:"deset",1:"jedenáct",2:"dvanáct",3:"třináct",4:"čtrnáct",5:"patnáct",6:"šestnáct",7:"sedmnáct",8:"osmnáct",9:"devatenáct"},t.twenties={2:"dvacet",3:"třicet",4:"čtyřicet",5:"padesát",6:"šedesát",7:"sedmdesát",8:"osmdesát",9:"devadesát"},t.hundreds={1:"sto",2:"dvěstě",3:"třista",4:"čtyřista",5:"pětset",6:"šestset",7:"sedmset",8:"osmset",9:"devětset"},t.thousands={1:["tisíc","tisíce","tisíc"],2:["milion","miliony","milionů"],3:["miliarda","miliardy","miliard"],4:["bilion","biliony","bilionů"],5:["biliarda","biliardy","biliard"],6:["trilion","triliony","trilionů"],7:["triliarda","triliardy","triliard"],8:["kvadrilion","kvadriliony","kvadrilionů"],9:["kvadriliarda","kvadriliardy","kvadriliard"],10:["quintillion","quintilliony","quintillionů"]},t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return 1==t?r=0:t%10<5&&t%10>1&&(t%100<10||t%100>20)&&(r=1),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=w(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];c>0&&e.push(this.hundreds[c]),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&!(n>0&&1==i)&&e.push(this.ones[u]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&S(e.prototype,r),a}(m);function P(t){return(new E).floatToCardinal(t)}function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function A(t,e){return(A=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t,e){if(e&&("object"===_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r(7941),r(6833),r(8702);var N=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&A(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=W(n);if(o){var r=W(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return D(this,t)});function a(){return I(this,a),i.apply(this,arguments)}return e=a,(r=[{key:"getValueFromCards",value:function(t){for(var e=0;e<this.cards.length;e++)if(Object.prototype.hasOwnProperty.call(this.cards[e],t))return this.cards[e][t]}},{key:"splitNum",value:function(t){for(var e=0;e<this.cards.length;e++)if("."!=this.cards[e][0]){var r=parseInt(Object.keys(this.cards[e])[0],10);if(!(r>t)){var n=[],o=void 0,i=void 0;if(0==t?(o=1,i=0):(o=Math.floor(t/r),i=t%r),1==o)n.push(z({},this.getValueFromCards(1),1));else{if(o==t)return[(this.getValueFromCards(r),o*r)];n.push(this.splitNum(o))}return n.push(z({},this.getValueFromCards(r),r)),i&&n.push(this.splitNum(i)),n}}}},{key:"scanNum",value:function(t){var e=this;return t.split("").map((function(t){return e.getValueFromCards(parseInt(t,10))}))}},{key:"clean",value:function(t){for(var e=t;1!=t.length;){e=[];var r=t[0],n=t[1];if(Array.isArray(r)||Array.isArray(n))for(var o=0;o<t.length;o++){var i=t[o];Array.isArray(i)?1==i.length?e.push(i[0]):e.push(this.clean(i)):e.push(i)}else e.push(this.merge(r,n)),t.slice(2).length>0&&e.push(t.slice(2));t=e}return e[0]}},{key:"postClean",value:function(t){return t.trimRight()}},{key:"toCardinal",value:function(t){var e=this.splitNum(t),r=Object.keys(this.clean(e))[0];return this.postClean(r)}}])&&C(e.prototype,r),a}(o);function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function F(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function q(t,e){if(e&&("object"===B(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var G=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=U(n);if(o){var r=U(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return q(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="komma",t.zero="null",t.cards=[{"1000000000000000000000000000":"Quadrilliarde"},{"1000000000000000000000000":"Quadrillion"},{"1000000000000000000000":"Trilliarde"},{1e18:"Trillion"},{1e15:"Billiarde"},{1e12:"Billion"},{1e9:"Milliarde"},{1e6:"Million"},{1e3:"tausend"},{100:"hundert"},{90:"neunzig"},{80:"achtzig"},{70:"siebzig"},{60:"sechzig"},{50:"fünfzig"},{40:"vierzig"},{30:"dreißig"},{20:"zwanzig"},{19:"neunzehn"},{18:"achtzehn"},{17:"siebzehn"},{16:"sechzehn"},{15:"fünfzehn"},{14:"vierzehn"},{13:"dreizehn"},{12:"zwölf"},{11:"elf"},{10:"zehn"},{9:"neun"},{8:"acht"},{7:"sieben"},{6:"sechs"},{5:"fünf"},{4:"vier"},{3:"drei"},{2:"zwei"},{1:"eins"},{0:"null"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(100==i||1e3==i)return F({},"ein".concat(n),i);if(i<1e6)return F({},n,i);r="eine"}var a=0;if(i>o)i>=1e6&&(o>1&&("e"==n[n.length-1]?n+="n":n+="en"),r+=" "),a=o*i;else{if(i<10&&o>10&&o<100){1==i&&(n="ein");var u=n;n=r,r="".concat(u,"und")}else o>=1e6&&(r+=" ");a=o+i}return F({},"".concat(r).concat(n),a)}}])&&M(e.prototype,r),a}(N);function $(t){return(new G).floatToCardinal(t)}function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function H(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function X(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=K(n);if(o){var r=K(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return X(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="komma",t.zero="nul",t.ordFlag=!1,t.cards=[{"1000000000000000000000000000":"quadrillarder"},{"1000000000000000000000000":"quadrillioner"},{"1000000000000000000000":"trillarder"},{1e18:"trillioner"},{1e15:"billarder"},{1e12:"billioner"},{1e9:"millarder"},{1e6:"millioner"},{1e3:"tusind"},{100:"hundrede"},{90:"halvfems"},{80:"firs"},{70:"halvfjerds"},{60:"treds"},{50:"halvtreds"},{40:"fyrre"},{30:"tredive"},{20:"tyve"},{19:"nitten"},{18:"atten"},{17:"sytten"},{16:"seksten"},{15:"femten"},{14:"fjorten"},{13:"tretten"},{12:"tolv"},{11:"elleve"},{10:"ti"},{9:"ni"},{8:"otte"},{7:"syv"},{6:"seks"},{5:"fem"},{4:"fire"},{3:"tre"},{2:"to"},{1:"et"},{0:"nul"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]),a=1;if(100!=i&&1e3!=i||(e=Z({},"et".concat(n),i)),1==o){if(i<1e6||this.ordFlag)return e;r="en"}if(i>o)i>=1e6&&(r+=" "),a=o*i;else{if(o>=100&&o<1e3?r+=" og ":o>=1e3&&o<=1e5&&(r+="e og "),i<10&&10<o&&o<100){1==i&&(n="en");var u=n;n=r,r=u+"og"}else o>=1e6&&(r+=" ");a=o+i}return Z({},"".concat(r+n),a)}}])&&H(e.prototype,r),a}(N);function Q(t){return(new Y).floatToCardinal(t)}function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ot(t,e){if(e&&("object"===tt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function it(t){return(it=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var at=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=it(n);if(o){var r=it(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return ot(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="point",t.zero="zero",t.cards=[{"1000000000000000000000000000":"octillion"},{"1000000000000000000000000":"septillion"},{"1000000000000000000000":"sextillion"},{1e18:"quintillion"},{1e15:"quadrillion"},{1e12:"trillion"},{1e9:"billion"},{1e6:"million"},{1e3:"thousand"},{100:"hundred"},{90:"ninety"},{80:"eighty"},{70:"seventy"},{60:"sixty"},{50:"fifty"},{40:"forty"},{30:"thirty"},{20:"twenty"},{19:"nineteen"},{18:"eighteen"},{17:"seventeen"},{16:"sixteen"},{15:"fifteen"},{14:"fourteen"},{13:"thirteen"},{12:"twelve"},{11:"eleven"},{10:"ten"},{9:"nine"},{8:"eight"},{7:"seven"},{6:"six"},{5:"five"},{4:"four"},{3:"three"},{2:"two"},{1:"one"},{0:"zero"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=parseInt(Object.values(t)[0]),o=Object.keys(e)[0],i=parseInt(Object.values(e)[0]);return 1==n&&i<100?et({},o,i):100>n&&n>i?et({},"".concat(r,"-").concat(o),n+i):n>=100&&100>i?et({},"".concat(r," and ").concat(o),n+i):et({},"".concat(r," ").concat(o),i>n?n*i:n+i)}}])&&rt(e.prototype,r),a}(N);function ut(t){return(new at).floatToCardinal(t)}function st(t){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ft(t,e){return(ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pt(t,e){if(e&&("object"===st(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ht(t){return(ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var dt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ft(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ht(n);if(o){var r=ht(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return pt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).genderStem="o",t.negativeWord="menos",t.separatorWord="punto",t.zero="cero",t.cards=[{"1000000000000000000000000":"cuatrillón"},{1e18:"trillón"},{1e12:"billón"},{1e6:"millón"},{1e3:"mil"},{100:"cien"},{90:"noventa"},{80:"ochenta"},{70:"setenta"},{60:"sesenta"},{50:"cincuenta"},{40:"cuarenta"},{30:"treinta"},{29:"veintinueve"},{28:"veintiocho"},{27:"veintisiete"},{26:"veintiséis"},{25:"veinticinco"},{24:"veinticuatro"},{23:"veintitrés"},{22:"veintidós"},{21:"veintiuno"},{20:"veinte"},{19:"diecinueve"},{18:"dieciocho"},{17:"diecisiete"},{16:"dieciseis"},{15:"quince"},{14:"catorce"},{13:"trece"},{12:"doce"},{11:"once"},{10:"diez"},{9:"nueve"},{8:"ocho"},{7:"siete"},{6:"seis"},{5:"cinco"},{4:"cuatro"},{3:"tres"},{2:"dos"},{1:"uno"},{0:"cero"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(i<1e6)return ct({},n,i);r="un"}else 100==o&&i%1e3!=0&&(r+="t"+this.genderStem);return i<o?ct({},o<100?"".concat(r," y ").concat(n):"".concat(r," ").concat(n),o+i):(i%1e6==0&&o>1&&(n=n.slice(0,-3)+"lones"),100==i?(5==o?(r="quinien",n=""):7==o?r="sete":9==o&&(r="nove"),n+="t"+this.genderStem+"s"):n=" "+n,ct({},"".concat(r).concat(n),o*i))}}])&<(e.prototype,r),a}(N);function yt(t){return(new dt).floatToCardinal(t)}function vt(t){return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gt(t,e){return(gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function mt(t,e){if(e&&("object"===vt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ot(t){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&>(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Ot(n);if(o){var r=Ot(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return mt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="منفى",t.separatorWord="ممیّز",t.zero="صفر",t.namedNumbers={0:"صفر",1:"یک",2:"دو",3:"سه",4:"چهار",5:"پنج",6:"شش",7:"هفت",8:"هشت",9:"نه",10:"ده",11:"یازده",12:"دوازده",13:"سیزده",14:"چهارده",15:"پانزده",16:"شانزده",17:"هفده",18:"هجده",19:"نوزده",20:"بیست",30:"سی",40:"چهل",50:"پنجاه",60:"شصت",70:"هفتاد",80:"هشتاد",90:"نود",100:"صد",200:"دویست",300:"سيصد",400:"چهار صد",500:"پانصد",600:"ششصد",700:"هفتصد",800:"هشتصد",900:"نهصد",1e3:"هزار",1e6:"میلیون"},t}return e=a,(r=[{key:"toCardinal",value:function(t){if(this.namedNumbers[t])return this.namedNumbers[t];if(t>20&&t<100){var e=t%10,r=t-e;return"".concat(this.namedNumbers[r]," و ").concat(this.namedNumbers[e])}if(t>100&&t<1e3){var n=100*parseInt(t/100),o=this.toCardinal(t-n);return"".concat(this.namedNumbers[n]," و ").concat(o)}if(t>1e3&&t<1e6){var i=parseInt(t/1e3),a=(1===i?"":this.toCardinal(i))+" "+this.namedNumbers[1e3],u=t-1e3*i,s=0===u?"":" "+this.toCardinal(u);return"".concat(a).concat(s)}if(t>1e6){var c=parseInt(t/1e6),l=this.toCardinal(c)+" "+this.namedNumbers[1e6],f=t-1e6*c,p=0===f?"":" و "+this.toCardinal(f);return"".concat(l).concat(p)}}}])&&bt(e.prototype,r),a}(o);function wt(t){return(new jt).floatToCardinal(t)}function Tt(t){return(Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function St(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function kt(t,e){if(e&&("object"===Tt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Et(t){return(Et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Pt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Et(n);if(o){var r=Et(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return kt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="moins",t.separatorWord="virgule",t.zero="zéro",t.cards=[{"1000000000000000000000000000":"quadrilliard"},{"1000000000000000000000000":"quadrillion"},{"1000000000000000000000":"trilliard"},{1e18:"trillion"},{1e15:"billiard"},{1e12:"billion"},{1e9:"milliard"},{1e6:"million"},{1e3:"mille"},{100:"cent"},{80:"quatre-vingts"},{60:"soixante"},{50:"cinquante"},{40:"quarante"},{30:"trente"},{20:"vingt"},{19:"dix-neuf"},{18:"dix-huit"},{17:"dix-sept"},{16:"seize"},{15:"quinze"},{14:"quatorze"},{13:"treize"},{12:"douze"},{11:"onze"},{10:"dix"},{9:"neuf"},{8:"huit"},{7:"sept"},{6:"six"},{5:"cinq"},{4:"quatre"},{3:"trois"},{2:"deux"},{1:"un"},{0:"zéro"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(i<1e6)return St({},n,i)}else((o-80)%100==0||o%100==0&&o<1e3)&&i<1e6&&"s"==r[r.length-1]&&(r=r.slice(0,-1)),o<1e3&&1e3!=i&&"s"!=n[n.length-1]&&i%100==0&&(n+="s");return i<o&&o<100?St({},i%10==1&&80!=o?"".concat(r," et ").concat(n):"".concat(r,"-").concat(n),o+i):St({},"".concat(r," ").concat(n),i>o?o*i:o+i)}}])&&Rt(e.prototype,r),a}(N);function _t(t){return(new Pt).floatToCardinal(t)}function zt(t){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function It(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ct(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ct(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function At(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Dt(t,e){return(Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Wt(t,e){if(e&&("object"===zt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Nt(t){return(Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Bt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Nt(n);if(o){var r=Nt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Wt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="מינוס",t.separatorWord,t.zero="אפס",t.and="ו",t.ones={1:"אחת",2:"שתים",3:"שלש",4:"ארבע",5:"חמש",6:"שש",7:"שבע",8:"שמונה",9:"תשע"},t.tens={0:"עשר",1:"אחת עשרה",2:"שתים עשרה",3:"שלש עשרה",4:"ארבע עשרה",5:"חמש עשרה",6:"שש עשרה",7:"שבע עשרה",8:"שמונה עשרה",9:"תשע עשרה"},t.twenties={2:"עשרים",3:"שלשים",4:"ארבעים",5:"חמישים",6:"ששים",7:"שבעים",8:"שמונים",9:"תשעים"},t.hundreds={1:"מאה",2:"מאתיים",3:"מאות"},t.thousands={1:"אלף",2:"אלפיים",3:"שלשת אלפים",4:"ארבעת אלפים",5:"חמשת אלפים",6:"ששת אלפים",7:"שבעת אלפים",8:"שמונת אלפים",9:"תשעת אלפים"},t}return e=a,(r=[{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=It(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];n>0?e.push(this.thousands[u]):(c>0&&(c<=2?e.push(this.hundreds[c]):e.push(this.ones[c]+" "+this.hundreds[3])),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&!(n>0&&1==i)&&e.push(this.ones[u]),n>0&&e.push(this.thousands[n]))}}return e.length>1&&(e[e.length-1]=this.and+e[e.length-1]),e.join(" ")}}])&&At(e.prototype,r),a}(m);function Ft(t){return(new Bt).floatToCardinal(t)}function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ut(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Gt(t,e){return(Gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $t(t,e){if(e&&("object"===Mt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Vt(t){return(Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Zt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Vt(n);if(o){var r=Vt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return $t(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="zarez",t.zero="nula",t.ones={1:["jedan","jedna"],2:["dva","dvije"],3:["tri","tri"],4:["četiri","četiri"],5:["pet","pet"],6:["šest","šest"],7:["sedam","sedam"],8:["osam","osam"],9:["devet","devet"]},t.tens={0:"deset",1:"jedanaest",2:"dvanaest",3:"trinaest",4:"četrnaest",5:"petnaest",6:"šesnaest",7:"sedamnaest",8:"osamnaest",9:"devetnaest"},t.twenties={2:"dvadeset",3:"trideset",4:"četrdeset",5:"pedeset",6:"šezdeset",7:"sedamdeset",8:"osamdeset",9:"devedeset"},t.hundreds={1:"sto",2:"dvjesto",3:"tristo",4:"četiristo",5:"petsto",6:"šesto",7:"sedamsto",8:"osamsto",9:"devetsto"},t.SCALE={0:["","","",!1],1:["tisuća","tisuće","tisuća",!0],2:["milijun","milijuna","milijuna",!1],3:["milijarda","milijarde","milijarda",!1],4:["bilijun","bilijuna","bilijuna",!1],5:["bilijarda","bilijarde","bilijarda",!1],6:["trilijun","trilijuna","trilijuna",!1],7:["trilijarda","trilijarde","trilijarda",!1],8:["kvadrilijun","kvadrilijuna","kvadrilijuna",!1],9:["kvadrilijarda","kvadrilijarde","kvadrilijarda",!1],10:["kvintilijun","kvintilijuna","kvintilijuna",!1]},t.feminine=!1,t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return(t%100<10||t%100>20)&&(t%10==1?r=0:t%10>1&&t%10<5&&(r=1)),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];n-=1;var a=Lt(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];if(c>0&&e.push(this.hundreds[c]),s>1&&e.push(this.twenties[s]),1==s)e.push(this.tens[u]);else if(u>0){var l=this.feminine||this.SCALE[n][3]?1:0;e.push(this.ones[u][l])}n>0&&0!=i&&e.push(this.pluralize(i,this.SCALE[n]))}return e.join(" ")}}])&&Ut(e.prototype,r),a}(m);function Ht(t){return(new Zt).floatToCardinal(t)}function Jt(t){return(Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Kt(t,e){return(Kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Yt(t,e){if(e&&("object"===Jt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Qt(t){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var te=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Qt(n);if(o){var r=Qt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Yt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="mínusz",t.separatorWord="egész",t.cards=[{"1000000000000000000000000000":"quadrilliárd"},{"1000000000000000000000000":"quadrillió"},{"1000000000000000000000":"trilliárd"},{1e18:"trillió"},{1e15:"billiárd"},{1e12:"billió"},{1e9:"milliárd"},{1e6:"millió"},{1e3:"ezer"},{100:"száz"},{90:"kilencven"},{80:"nyolcvan"},{70:"hetven"},{60:"hatvan"},{50:"ötven"},{40:"negyven"},{30:"harminc"},{29:"huszonkilenc"},{28:"huszonnyolc"},{27:"huszonhét"},{26:"huszonhat"},{25:"huszonöt"},{24:"huszonnégy"},{23:"huszonhárom"},{22:"huszonkettő"},{21:"huszonegy"},{20:"húsz"},{19:"tizenkilenc"},{18:"tizennyolc"},{17:"tizenhét"},{16:"tizenhat"},{15:"tizenöt"},{14:"tizennégy"},{13:"tizenhárom"},{12:"tizenkettő"},{11:"tizenegy"},{10:"tíz"},{9:"kilenc"},{8:"nyolc"},{7:"hét"},{6:"hat"},{5:"öt"},{4:"négy"},{3:"három"},{2:"kettő"},{1:"egy"},{0:"nulla"}],t.zero="nulla",t}return e=a,(r=[{key:"tensToCardinal",value:function(t){if(this.getValueFromCards(t))return this.getValueFromCards(t);var e=Math.floor(t/10),r=t%10;return this.getValueFromCards(10*e)+this.toCardinal(r)}},{key:"hundredsToCardinal",value:function(t){var e=Math.floor(t/100),r="száz";return 1!=e&&(r=this.toCardinal(e,"")+r),r+this.toCardinal(t%100,"")}},{key:"thousandsToCardinal",value:function(t){var e=Math.floor(t/1e3),r="ezer";1!=e&&(r=this.toCardinal(e,"")+r);var n=this.toCardinal(t%1e3,"");return r+(t<=2e3||""===n?"":"-")+n}},{key:"bigNumberToCardinal",value:function(t){var e=String(t).length,r=e%3!=0?e:e-2,n=Math.pow(10,3*Math.floor(r/3)),o=this.toCardinal(Math.floor(t/n),""),i=this.toCardinal(t%n,""),a=""!==i?"-"+i:"";return o+this.getValueFromCards(n)+a}},{key:"toCardinal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.zero;return 0==t?e:""==e&&2==t?"két":t<30?this.getValueFromCards(t):t<100?this.tensToCardinal(t):t<1e3?this.hundredsToCardinal(t):t<1e6?this.thousandsToCardinal(t):this.bigNumberToCardinal(t)}}])&&Xt(e.prototype,r),a}(N);function ee(t){return(new te).floatToCardinal(t)}function re(t){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ne(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function oe(t,e){return(oe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ie(t,e){if(e&&("object"===re(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ae(t){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ue=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oe(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ae(n);if(o){var r=ae(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return ie(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="min",t.separatorWord="koma",t.zero="nol",t.base={0:[],1:["satu"],2:["dua"],3:["tiga"],4:["empat"],5:["lima"],6:["enam"],7:["tujuh"],8:["delapan"],9:["sembilan"]},t.thousands={3:"ribu",6:"juta",9:"miliar",12:"triliun",15:"kuadriliun",18:"kuantiliun",21:"sekstiliun",24:"septiliun",27:"oktiliun",30:"noniliun",33:"desiliun"},t}return e=a,(r=[{key:"splitBy3",value:function(t){var e,r=[],n=String(t),o=n.length;if(o<3)r.push([n]);else{var i=o%3;i>0&&(e=[n.slice(0,i)],r.push(e));for(var a=i;a<o;a+=3){var u=[n.slice(a,a+3)];r.push(u)}}return r}},{key:"spell",value:function(t){var e,r=[],n=t[0];e=1===n[0].length?"0"===n[0]?["nol"]:this.base[parseInt(n[0])]:2===n[0].length?this.getTens(n[0]):this.getHundreds(n[0][0]).concat(this.getTens(n[0].slice(1,3))),r=r.concat([[n[0],e]]);for(var o=1;o<t.length;o++){var i=t[o];e=this.getHundreds(i[0][0]).concat(this.getTens(i[0].slice(1,3))),i=i.concat([e]),r=r.concat([i])}return r}},{key:"getHundreds",value:function(t){return"1"===t?["seratus"]:"0"===t?[]:this.base[parseInt(t)].concat(["ratus"])}},{key:"getTens",value:function(t){return"1"===t[0]?"0"===t[1]?["sepuluh"]:"1"===t[1]?["sebelas"]:this.base[parseInt(t[1])].concat(["belas"]):"0"===t[0]?this.base[parseInt(t[1])]:this.base[parseInt(t[0])].concat(["puluh"]).concat([this.base[parseInt(t[1])]])}},{key:"join",value:function(t){var e=[],r=t.length-1,n=[t[0]],o=0;1===r&&"1"===n[0][0]&&(e.push("seribu"),o=1);for(var i=o;i<r+1;i++)if(e=e.concat(t[i][1]),t[i][1].length){if(i===r)break;e=e.concat([this.thousands[3*(r-i)]])}return e.join(" ")}},{key:"toCardinal",value:function(t){return this.join(this.spell(this.splitBy3(t))).trim()}}])&&ne(e.prototype,r),a}(o);function se(t){return(new ue).floatToCardinal(t)}function ce(t){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function le(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function fe(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function pe(t,e){return(pe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function he(t,e){if(e&&("object"===ce(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function de(t){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r(5306),r(6541),r(189),r(6699),r(2023);var ye=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pe(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=de(n);if(o){var r=de(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return he(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="meno",t.separatorWord="virgola",t.zero="zero",t.cardinalWords=[t.zero,"uno","due","tre","quattro","cinque","sei","sette","otto","nove","dieci","undici","dodici","tredici","quattordici","quindici","sedici","diciassette","diciotto","diciannove"],t.strTens={2:"venti",3:"trenta",4:"quaranta",6:"sessanta"},t.exponentPrefixes=[t.zero,"m","b","tr","quadr","quint","sest","sett","ott","nov","dec"],t}return e=a,(r=[{key:"accentuate",value:function(t){return t.split(" ").map((function(t){return"tre"==t.slice(-3)&&t.length>3?t.replace(/tré/g,"tre").slice(0,-3)+"tré":t.replace(/tré/g,"tre")})).join(" ")}},{key:"omitIfZero",value:function(t){return t==this.zero?"":t}},{key:"phoneticContraction",value:function(t){return t.replace(/oo/g,"o").replace(/ao/g,"o").replace(/io/g,"o").replace(/au/g,"u").replace(/iu/g,"u")}},{key:"tensToCardinal",value:function(t){var e,r=Math.floor(t/10),n=t%10;e=Object.prototype.hasOwnProperty.call(this.strTens,r)?this.strTens[r]:this.cardinalWords[r].slice(0,-1)+"anta";var o=this.omitIfZero(this.cardinalWords[n]);return this.phoneticContraction(e+o)}},{key:"hundredsToCardinal",value:function(t){var e=Math.floor(t/100),r="cento";1!=e&&(r=this.cardinalWords[e]+r);var n=this.omitIfZero(this.toCardinal(t%100));return this.phoneticContraction(r+n)}},{key:"thousandsToCardinal",value:function(t){var e=Math.floor(t/1e3);return(1==e?"mille":this.toCardinal(e)+"mila")+this.omitIfZero(this.toCardinal(t%1e3))}},{key:"exponentLengthToString",value:function(t){var e=this.exponentPrefixes[Math.floor(t/6)];return t%6==0?e+"ilione":e+"iliardo"}},{key:"bigNumberToCardinal",value:function(t){var e,r,n,o,i,a=Array.from(String(t)),u=a.length%3==0?3:a.length%3,s=a.slice(0,u),c=a.slice(u),l=this.exponentLengthToString(c.length);return"1"==s.toString()?e="un ":(e=this.toCardinal(parseInt(s.join(""))),l=" "+l.slice(0,-1)+"i"),n=new Set(c),o=new Set(["0"]),n.size===o.size&&(i=n,function(t){if(Array.isArray(t))return le(t)}(i)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return le(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?le(t,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).every((function(t){return o.has(t)}))?r="":(r=this.toCardinal(parseInt(c.join("")))).includes(" e ")?l+=", ":l+=" e ",e+l+r}},{key:"toCardinal",value:function(t){var e;return e=t<20?this.cardinalWords[t]:t<100?this.tensToCardinal(t):t<1e3?this.hundredsToCardinal(t):t<1e6?this.thousandsToCardinal(t):this.bigNumberToCardinal(t),this.accentuate(e)}}])&&fe(e.prototype,r),a}(N);function ve(t){return(new ye).floatToCardinal(t)}function be(t){return(be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ge(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function me(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Oe(t,e){return(Oe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function je(t,e){if(e&&("object"===be(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function we(t){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Te=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oe(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=we(n);if(o){var r=we(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return je(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="마이너스",t.separatorWord="점",t.zero="영",t.cards=[{"10000000000000000000000000000":"양"},{"1000000000000000000000000":"자"},{1e20:"해"},{1e16:"경"},{1e12:"조"},{1e8:"억"},{1e4:"만"},{1e3:"천"},{100:"백"},{10:"십"},{9:"구"},{8:"팔"},{7:"칠"},{6:"육"},{5:"오"},{4:"사"},{3:"삼"},{2:"이"},{1:"일"},{0:"영"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);return 1==o&&i<=1e4?ge({},n,i):1e4>o&&o>i?ge({},"".concat(r).concat(n),o+i):o>=1e4&&o>i?ge({},"".concat(r," ").concat(n),o+i):ge({},"".concat(r).concat(n),o*i)}}])&&me(e.prototype,r),a}(N);function Se(t){return(new Te).floatToCardinal(t)}function Re(t){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ke(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ke(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ee(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Pe(t,e){return(Pe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _e(t,e){if(e&&("object"===Re(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ze(t){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ie=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pe(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ze(n);if(o){var r=ze(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return _e(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="kablelis",t.feminine=!1,t.zero="nulis",t.ones={1:"vienas",2:"du",3:"trys",4:"keturi",5:"penki",6:"šeši",7:"septyni",8:"aštuoni",9:"devyni"},t.onesFeminine={1:"viena",2:"dvi",3:"trys",4:"keturios",5:"penkios",6:"šešios",7:"septynios",8:"aštuonios",9:"devynios"},t.tens={0:"dešimt",1:"vienuolika",2:"dvylika",3:"trylika",4:"keturiolika",5:"penkiolika",6:"šešiolika",7:"septyniolika",8:"aštuoniolika",9:"devyniolika"},t.twenties={2:"dvidešimt",3:"trisdešimt",4:"keturiasdešimt",5:"penkiasdešimt",6:"šešiasdešimt",7:"septyniasdešimt",8:"aštuoniasdešimt",9:"devyniasdešimt"},t.hundreds=["šimtas","šimtai"],t.thousands={1:["tūkstantis","tūkstančiai","tūkstančių"],2:["milijonas","milijonai","milijonų"],3:["milijardas","milijardai","milijardų"],4:["trilijonas","trilijonai","trilijonų"],5:["kvadrilijonas","kvadrilijonai","kvadrilijonų"],6:["kvintilijonas","kvintilijonai","kvintilijonų"],7:["sikstilijonas","sikstilijonai","sikstilijonų"],8:["septilijonas","septilijonai","septilijonų"],9:["oktilijonas","oktilijonai","oktilijonų"],10:["naintilijonas","naintilijonai","naintilijonų"]},t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=1,n=xe(this.getDigits(t),2),o=n[0];return 1==n[1]||0==o||0==t?r=2:1==o&&(r=0),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=xe(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];c>0&&(e.push(this.ones[c]),c>1?e.push(this.hundreds[1]):e.push(this.hundreds[0])),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&((1==n||this.feminine&&0==n)&&t<1e3?e.push(this.onesFeminine[u]):e.push(this.ones[u])),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&Ee(e.prototype,r),a}(m);function Ce(t){return(new Ie).floatToCardinal(t)}function Ae(t){return(Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function De(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return We(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?We(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ne(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Be(t,e){return(Be=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Fe(t,e){if(e&&("object"===Ae(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Me(t){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Le=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Be(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Me(n);if(o){var r=Me(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Fe(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="mīnus",t.separatorWord="komats",t.zero="nulle",t.ones={1:"viens",2:"divi",3:"trīs",4:"četri",5:"pieci",6:"seši",7:"septiņi",8:"astoņi",9:"deviņi"},t.tens={0:"desmit",1:"vienpadsmit",2:"divpadsmit",3:"trīspadsmit",4:"četrpadsmit",5:"piecpadsmit",6:"sešpadsmit",7:"septiņpadsmit",8:"astoņpadsmit",9:"deviņpadsmit"},t.twenties={2:"divdesmit",3:"trīsdesmit",4:"četrdesmit",5:"piecdesmit",6:"sešdesmit",7:"septiņdesmit",8:"astoņdesmit",9:"deviņdesmit"},t.hundreds=["simts","simti","simtu"],t.thousands={1:["tūkstotis","tūkstoši","tūkstošu"],2:["miljons","miljoni","miljonu"],3:["miljards","miljardi","miljardu"],4:["triljons","triljoni","triljonu"],5:["kvadriljons","kvadriljoni","kvadriljonu"],6:["kvintiljons","kvintiljoni","kvintiljonu"],7:["sikstiljons","sikstiljoni","sikstiljonu"],8:["septiljons","septiljoni","septiljonu"],9:["oktiljons","oktiljoni","oktiljonu"],10:["nontiljons","nontiljoni","nontiljonu"]},t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return 0!=t&&(r=t%10==1&&t%100!=11?0:1),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=De(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];c>0&&(1==c&&0==s&&u>0?e.push(this.hundreds[2]):c>1?(e.push(this.ones[c]),e.push(this.hundreds[1])):e.push(this.hundreds[0])),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&!(n>0&&1==i)&&e.push(this.ones[u]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&Ne(e.prototype,r),a}(m);function qe(t){return(new Le).floatToCardinal(t)}function Ue(t){return(Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ge(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ve(t,e,r){return(Ve="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Je(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Ze(t,e){return(Ze=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function He(t,e){if(e&&("object"===Ue(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Je(t){return(Je=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r(9601),r(7852),r(4819),r(5003);var Xe=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ze(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Je(n);if(o){var r=Je(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return He(this,t)});function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this)).negativeWord="min",e.separatorWord="komma",e.zero="nul",e.options=Object.assign({includeOptionalAnd:!1,noHundredPairs:!1},t),e.cards=[{"1000000000000000000000000000":"quadriljard"},{"1000000000000000000000000":"quadriljoen"},{"1000000000000000000000":"triljard"},{1e18:"triljoen"},{1e15:"biljard"},{1e12:"biljoen"},{1e9:"miljard"},{1e6:"miljoen"},{1e3:"duizend"},{100:"honderd"},{90:"negentig"},{80:"tachtig"},{70:"zeventig"},{60:"zestig"},{50:"vijftig"},{40:"veertig"},{30:"dertig"},{20:"twintig"},{19:"negentien"},{18:"achttien"},{17:"zeventien"},{16:"zestien"},{15:"vijftien"},{14:"veertien"},{13:"dertien"},{12:"twaalf"},{11:"elf"},{10:"tien"},{9:"negen"},{8:"acht"},{7:"zeven"},{6:"zes"},{5:"vijf"},{4:"vier"},{3:"drie"},{2:"twee"},{1:"een"},{0:"nul"}],e}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(i<1e6)return Ge({},n,i);r="een"}var a=0;if(i>o)i>=1e6?r+=" ":i>100&&(n+=" "),a=o*i;else{if(i<10&&o>10&&o<100){var u=n;n=r;var s=u.endsWith("e")?"ën":"en";r="".concat(u).concat(s)}else i<13&&o<1e3&&this.options.includeOptionalAnd?r="".concat(r,"en"):i<13&&o>=1e3&&this.options.includeOptionalAnd?n=" en ".concat(n):(o>=1e6||1e3===o)&&(r+=" ");a=o+i}return Ge({},"".concat(r).concat(n),a)}},{key:"toCardinal",value:function(t){if(t>=1100&&t<1e4&&!this.options.noHundredPairs){var e=Math.floor(t/100),r=t%100;if(e%10!=0)return Ve(Je(a.prototype),"toCardinal",this).call(this,e)+"honderd"+(r?(this.options.includeOptionalAnd?" en ":" ")+Ve(Je(a.prototype),"toCardinal",this).call(this,r):"")}return Ve(Je(a.prototype),"toCardinal",this).call(this,t)}}])&&$e(e.prototype,r),a}(N);function Ke(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Xe(e).floatToCardinal(t)}function Ye(t){return(Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function er(t,e){return(er=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rr(t,e){if(e&&("object"===Ye(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function nr(t){return(nr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var or=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&er(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=nr(n);if(o){var r=nr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return rr(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="komma",t.zero="null",t.cards=[{"1000000000000000000000000000000000":"quintillard"},{"1000000000000000000000000000000":"quintillion"},{"1000000000000000000000000000":"quadrillard"},{"1000000000000000000000000":"quadrillion"},{"1000000000000000000000":"trillard"},{1e18:"trillion"},{1e15:"billard"},{1e12:"billion"},{1e9:"millard"},{1e6:"million"},{1e3:"tusen"},{100:"hundre"},{90:"nitti"},{80:"åtti"},{70:"sytti"},{60:"seksti"},{50:"femti"},{40:"førti"},{30:"tretti"},{20:"tjue"},{19:"nitten"},{18:"atten"},{17:"sytten"},{16:"seksten"},{15:"femten"},{14:"fjorten"},{13:"tretten"},{12:"tolv"},{11:"elleve"},{10:"ti"},{9:"ni"},{8:"åtte"},{7:"syv"},{6:"seks"},{5:"fem"},{4:"fire"},{3:"tre"},{2:"to"},{1:"en"},{0:"null"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);return 1==o&&i<100?Qe({},n,i):o<100&&o>i?Qe({},"".concat(r,"-").concat(n),o+i):o>=100&&i<100?Qe({},"".concat(r," og ").concat(n),o+i):i>o?Qe({},"".concat(r," ").concat(n),o*i):Qe({},"".concat(r,", ").concat(n),o+i)}}])&&tr(e.prototype,r),a}(N);function ir(t){return(new or).floatToCardinal(t)}function ar(t){return(ar="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ur(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return sr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sr(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function cr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function lr(t,e){return(lr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function fr(t,e){if(e&&("object"===ar(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function pr(t){return(pr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var hr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=pr(n);if(o){var r=pr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return fr(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).feminine=!1,t.negativeWord="minus",t.separatorWord="przecinek",t.zero="zero",t.ones={1:"jeden",2:"dwa",3:"trzy",4:"cztery",5:"pięć",6:"sześć",7:"siedem",8:"osiem",9:"dziewięć"},t.tens={0:"dziesięć",1:"jedenaście",2:"dwanaście",3:"trzynaście",4:"czternaście",5:"piętnaście",6:"szesnaście",7:"siedemnaście",8:"osiemnaście",9:"dziewiętnaście"},t.twenties={2:"dwadzieścia",3:"trzydzieści",4:"czterdzieści",5:"pięćdziesiąt",6:"sześćdziesiąt",7:"siedemdziesiąt",8:"osiemdziesiąt",9:"dziewięćdzisiąt"},t.hundreds={1:"sto",2:"dwieście",3:"trzysta",4:"czterysta",5:"pięćset",6:"sześćset",7:"siedemset",8:"osiemset",9:"dziewięćset"},t.thousands={1:["tysiąc","tysiące","tysięcy"],2:["milion","miliony","milionów"],3:["miliard","miliardy","miliardów"],4:["bilion","biliony","bilionów"],5:["biliard","biliardy","biliardów"],6:["trylion","tryliony","trylionów"],7:["tryliard","tryliardy","tryliardów"],8:["kwadrylion","kwadryliony","kwadrylionów"],9:["kwaryliard","kwadryliardy","kwadryliardów"],10:["kwintylion","kwintyliony","kwintylionów"]},t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return 1==t?r=0:t%10<5&&t%10>1&&(t%100<10||t%100>20)&&(r=1),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=ur(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];c>0&&e.push(this.hundreds[c]),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&!(n>0&&1==i)&&e.push(this.ones[u]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&cr(e.prototype,r),a}(m);function dr(t){return(new hr).floatToCardinal(t)}function yr(t){return(yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function br(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gr(t,e){return(gr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function mr(t,e){if(e&&("object"===yr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Or(t){return(Or=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r(4723),r(4603),r(8450),r(8386);var jr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Or(n);if(o){var r=Or(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return mr(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="menos",t.separatorWord="vírgula",t.zero="zero",t.cards=[{"1000000000000000000000000":"quatrilião"},{1e18:"trilião"},{1e12:"bilião"},{1e6:"milião"},{1e3:"mil"},{100:"cem"},{90:"noventa"},{80:"oitenta"},{70:"setenta"},{60:"sessenta"},{50:"cinquenta"},{40:"quarenta"},{30:"trinta"},{20:"vinte"},{19:"dezanove"},{18:"dezoito"},{17:"dezassete"},{16:"dezasseis"},{15:"quinze"},{14:"catorze"},{13:"treze"},{12:"doze"},{11:"onze"},{10:"dez"},{9:"nove"},{8:"oito"},{7:"sete"},{6:"seis"},{5:"cinco"},{4:"quatro"},{3:"três"},{2:"dois"},{1:"um"},{0:"zero"}],t.hundreds={1:"cento",2:"duzentos",3:"trezentos",4:"quatrocentos",5:"quinhentos",6:"seiscentos",7:"setecentos",8:"oitocentos",9:"novecentos"},t}return e=a,(r=[{key:"postClean",value:function(t){for(var e=["mil","milhão","milhões","mil milhões","bilião","biliões","mil biliões"],r=0;r<e.length;r++){var n=e[r];t.match(new RegExp(".*".concat(n," e \\w*entos? (?=.*e)")))&&(t=t.replace(new RegExp("".concat(n," e"),"g"),"".concat(n)))}return t}},{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(i<1e6)return vr({},n,i);r="um"}else 100==o&&i%1e3!=0&&(r="cento");return i<o?vr({},"".concat(r," e ").concat(n),o+i):(i%1e9==0&&o>1?n=n.slice(0,-4)+"liões":i%1e6==0&&o>1&&(n=n.slice(0,-4)+"lhões"),"milião"==n&&(n="milhão"),100==i?(r=this.hundreds[o],n=""):n=" "+n,vr({},"".concat(r).concat(n),o*i))}}])&&br(e.prototype,r),a}(N);function wr(t){return(new jr).floatToCardinal(t)}function Tr(t){return(Tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Sr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Rr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rr(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function kr(t,e){return(kr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Er(t,e){if(e&&("object"===Tr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Pr(t){return(Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _r=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Pr(n);if(o){var r=Pr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Er(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="zapeta",t.zero="nula",t.ones={1:["jedan","jedna"],2:["dva","dve"],3:["tri","tri"],4:["četiri","četiri"],5:["pet","pet"],6:["šest","šest"],7:["sedam","sedam"],8:["osam","osam"],9:["devet","devet"]},t.tens={0:"deset",1:"jedanaest",2:"dvanaest",3:"trinaest",4:"četrnaest",5:"petnaest",6:"šesnaest",7:"sedamnaest",8:"osamnaest",9:"devetnaest"},t.twenties={2:"dvadeset",3:"trideset",4:"četrdeset",5:"pedeset",6:"šezdeset",7:"sedamdeset",8:"osamdeset",9:"devedeset"},t.hundreds={1:"sto",2:"dvesta",3:"trista",4:"četiristo",5:"petsto",6:"šesto",7:"sedamsto",8:"osamsto",9:"devetsto"},t.SCALE={0:["","","",!1],1:["hiljada","hiljade","hiljada",!0],2:["milion","miliona","miliona",!1],3:["milijarda","milijarde","milijarda",!1],4:["bilion","biliona","biliona",!1],5:["bilijarda","bilijarde","bilijarda",!1],6:["trilion","triliona","triliona",!1],7:["trilijarda","trilijarde","trilijarda",!1],8:["kvadrilion","kvadriliona","kvadriliona",!1],9:["kvadrilijarda","kvadrilijarde","kvadrilijarda",!1],10:["kvintilion","kvintiliona","kvintiliona",!1]},t.feminine=!1,t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return(t%100<10||t%100>20)&&(t%10==1?r=0:t%10>1&&t%10<5&&(r=1)),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];n-=1;var a=Sr(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];if(c>0&&e.push(this.hundreds[c]),s>1&&e.push(this.twenties[s]),1==s)e.push(this.tens[u]);else if(u>0){var l=this.feminine||this.SCALE[n][3]?1:0;e.push(this.ones[u][l])}n>0&&0!=i&&e.push(this.pluralize(i,this.SCALE[n]))}return e.join(" ")}}])&&xr(e.prototype,r),a}(m);function zr(t){return(new _r).floatToCardinal(t)}function Ir(t){return(Ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Cr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ar(t,e){return(Ar=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Dr(t,e){if(e&&("object"===Ir(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Wr(t){return(Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r(2481);var Nr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ar(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Wr(n);if(o){var r=Wr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Dr(this,t)});function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this)).options=Object.assign({dropSpaces:!1},t),e.negativeWord="eksi",e.separatorWord="virgül",e.zero="sıfır",e.spaceSeparator=e.options.dropSpaces?"":" ",e.precision=2,e.cardinalOnes={1:"bir",2:"iki",3:"üç",4:"dört",5:"beş",6:"altı",7:"yedi",8:"sekiz",9:"dokuz"},e.cardinalTens={1:"on",2:"yirmi",3:"otuz",4:"kırk",5:"elli",6:"altmış",7:"yetmiş",8:"seksen",9:"doksan"},e.hundreds={2:"iki",3:"üç",4:"dört",5:"beş",6:"altı",7:"yedi",8:"sekiz",9:"dokuz"},e.cardinalHundred=["yüz",""],e.cardinalTriplets={1:"bin",2:"milyon",3:"milyar",4:"trilyon",5:"katrilyon",6:"kentilyon"},e.integersToRead=[],e.totalTripletsToRead=0,e.totalDigitsOutsideTriplets=0,e.lastZeroDigitOrder=0,e}return e=a,(r=[{key:"splitNum",value:function(t){var e=JSON.stringify(t*Math.pow(10,this.precision));0!=parseInt(t)?this.integersToRead=[JSON.stringify(parseInt(t)),e.slice(e.length-this.precision,e.length)]:this.integersToRead=["0","0".repeat(this.precision-e.length)+e.slice(e.length-this.precision,e.length)],this.integersToRead[0].length%3>0?this.totalTripletsToRead=Math.floor(this.integersToRead[0].length/3)+1:this.integersToRead[0].length%3==0&&(this.totalTripletsToRead=Math.floor(this.integersToRead[0].length/3)),this.totalDigitsOutsideTriplets=this.integersToRead[0].length%3;var r=this.integersToRead[0].split("").reverse();this.lastZeroDigitOrder=0;for(var n=0,o=0;o<r.length;o++)0==parseInt(r[o])&&0==n?this.lastZeroDigitOrder=o+1:n=1}},{key:"joinWords",value:function(t){return t.join(this.spaceSeparator).trim()}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return"sıfır";this.splitNum(t);var e=[];if(this.lastZeroDigitOrder>=this.integersToRead[0].length)return this.joinWords(e);if(1==this.totalTripletsToRead){if(2==this.totalDigitsOutsideTriplets)return 1==this.lastZeroDigitOrder?(this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),this.joinWords(e)):(0==this.lastZeroDigitOrder&&(this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),this.cardinalOnes[this.integersToRead[0][1]]&&e.push(this.cardinalOnes[this.integersToRead[0][1]])),this.joinWords(e));if(1==this.totalDigitsOutsideTriplets&&0==this.lastZeroDigitOrder)return this.cardinalOnes[this.integersToRead[0][0]]&&e.push(this.cardinalOnes[this.integersToRead[0][0]]),this.joinWords(e);if(0==this.totalDigitsOutsideTriplets){if(2==this.lastZeroDigitOrder)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.joinWords(e);if(1==this.lastZeroDigitOrder)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),this.joinWords(e);if(0==this.lastZeroDigitOrder)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),this.cardinalOnes[this.integersToRead[0][2]]&&e.push(this.cardinalOnes[this.integersToRead[0][2]]),this.joinWords(e)}}if(this.totalTripletsToRead>=2){if(2==this.totalDigitsOutsideTriplets){if(this.lastZeroDigitOrder==this.integersToRead[0].length-1)return this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);if(this.lastZeroDigitOrder==this.integersToRead[0].length-2)return this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),this.cardinalOnes[this.integersToRead[0][1]]&&e.push(this.cardinalOnes[this.integersToRead[0][1]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);this.lastZeroDigitOrder<this.integersToRead[0].length-2&&(this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),this.cardinalOnes[this.integersToRead[0][1]]&&e.push(this.cardinalOnes[this.integersToRead[0][1]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]))}if(1==this.totalDigitsOutsideTriplets){if(this.lastZeroDigitOrder==this.integersToRead[0].length-1)return 2==this.totalTripletsToRead&&"1"==this.integersToRead[0][0]||this.cardinalOnes[this.integersToRead[0][0]]&&e.push(this.cardinalOnes[this.integersToRead[0][0]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);this.lastZeroDigitOrder<this.integersToRead[0].length-1&&(2==this.totalTripletsToRead&&"1"==this.integersToRead[0][0]||this.cardinalOnes[this.integersToRead[0][0]]&&e.push(this.cardinalOnes[this.integersToRead[0][0]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]))}if(0==this.totalDigitsOutsideTriplets){if(this.lastZeroDigitOrder==this.integersToRead[0].length-1)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);if(this.lastZeroDigitOrder==this.integersToRead[0].length-2)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);if(this.lastZeroDigitOrder==this.integersToRead[0].length-3)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),this.cardinalOnes[this.integersToRead[0][2]]&&e.push(this.cardinalOnes[this.integersToRead[0][2]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);this.lastZeroDigitOrder<this.integersToRead[0].length-3&&(this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),2==this.totalTripletsToRead&&"1"==this.integersToRead[0][2]||this.cardinalOnes[this.integersToRead[0][2]]&&e.push(this.cardinalOnes[this.integersToRead[0][2]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]))}for(var r=this.totalTripletsToRead-1;r>0;r--){var n,o=this.totalTripletsToRead-r;if(n=0==this.totalDigitsOutsideTriplets?3*o:3*(o-1)+this.totalDigitsOutsideTriplets,"000"!=this.integersToRead[0].slice(n,n+3)){if("0"!=this.integersToRead[0][n])if(this.hundreds[this.integersToRead[0][n]]&&e.push(this.hundreds[this.integersToRead[0][n]]),this.lastZeroDigitOrder==this.integersToRead[0].length-n-1){if(1==r)return e.push(this.cardinalHundred[0]),this.joinWords(e);if(r>1)return e.push(this.cardinalHundred[0]),e.push(this.cardinalTriplets[r-1]),this.joinWords(e)}else e.push(this.cardinalHundred[0]);if("0"!=this.integersToRead[0][n+1])if(this.lastZeroDigitOrder==this.integersToRead[0].length-n-2){if(1==r)return this.cardinalTens[this.integersToRead[0][n+1]]&&e.push(this.cardinalTens[this.integersToRead[0][n+1]]),this.joinWords(e);if(r>1)return this.cardinalTens[this.integersToRead[0][n+1]]&&e.push(this.cardinalTens[this.integersToRead[0][n+1]]),e.push(this.cardinalTriplets[r-1]),this.joinWords(e)}else this.cardinalTens[this.integersToRead[0][n+1]]&&e.push(this.cardinalTens[this.integersToRead[0][n+1]]);if("0"!=this.integersToRead[0][n+2])if(this.lastZeroDigitOrder==this.integersToRead[0].length-n-3){if(1==r)return this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]),this.joinWords(e);if(2==r)return"00"!=this.integersToRead[0].slice(n,n+2)?this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]):"1"!=this.integersToRead[0][n+2]&&this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]),e.push(this.cardinalTriplets[r-1]),this.joinWords(e);if(r>2)return this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]),e.push(this.cardinalTriplets[r-1]),this.joinWords(e)}else"00"!=this.integersToRead[0].slice(n,n+2)?this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]):2==r&&("00"!=this.integersToRead[0].slice(n,n+2)?this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]):"1"!=this.integersToRead[0][n+2]&&this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]));e.push(this.cardinalTriplets[r-1])}}}return this.joinWords(e)}}])&&Cr(e.prototype,r),a}(N);function Br(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Nr(e).floatToCardinal(t)}function Fr(t){return(Fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Mr(t,e){return(Mr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Lr(t,e){if(e&&("object"===Fr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function qr(t){return(qr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ur=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mr(t,e)}(o,t);var e,r,n=(e=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=qr(e);if(r){var o=qr(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return Lr(this,t)});function o(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(t=n.call(this)).negativeWord="мiнус",t.separatorWord="кома",t.zero="нуль",t.feminine=!1,t.ones={1:"один",2:"два",3:"три",4:"чотири",5:"п'ять",6:"шiсть",7:"сiм",8:"вiсiм",9:"дев'ять"},t.onesFeminine={1:"одна",2:"двi",3:"три",4:"чотири",5:"п'ять",6:"шiсть",7:"сiм",8:"вiсiм",9:"дев'ять"},t.tens={0:"десять",1:"одинадцять",2:"дванадцять",3:"тринадцять",4:"чотирнадцять",5:"п'ятнадцять",6:"шiстнадцять",7:"сiмнадцять",8:"вiсiмнадцять",9:"дев'ятнадцять"},t.twenties={2:"двадцять",3:"тридцять",4:"сорок",5:"п'ятдесят",6:"шiстдесят",7:"сiмдесят",8:"вiсiмдесят",9:"дев'яносто"},t.hundreds={1:"сто",2:"двiстi",3:"триста",4:"чотириста",5:"п'ятсот",6:"шiстсот",7:"сiмсот",8:"вiсiмсот",9:"дев'ятсот"},t.thousands={1:["тисяча","тисячi","тисяч"],2:["мiльйон","мiльйони","мiльйонiв"],3:["мiльярд","мiльярди","мiльярдiв"],4:["трильйон","трильйони","трильйонiв"],5:["квадрильйон","квадрильйони","квадрильйонiв"],6:["квiнтильйон","квiнтильйони","квiнтильйонiв"],7:["секстильйон","секстильйони","секстильйонiв"],8:["септильйон","септильйони","септильйонiв"],9:["октильйон","октильйони","октильйонiв"],10:["нонiльйон","нонiльйони","нонiльйонiв"]},t}return o}(m);function Gr(t){return(new Ur).floatToCardinal(t)}function $r(t){return($r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Hr(t,e){return(Hr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Jr(t,e){if(e&&("object"===$r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Xr(t){return(Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r(7327);var Kr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Xr(n);if(o){var r=Xr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Jr(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="负",t.separatorWord="点",t.zero="零",t.spaceSeparator="",t.cards=[{1e12:"万"},{1e8:"亿"},{1e4:"万"},{1e3:"仟"},{100:"佰"},{10:"拾"},{9:"玖"},{8:"捌"},{7:"柒"},{6:"陆"},{5:"伍"},{4:"肆"},{3:"叁"},{2:"贰"},{1:"壹"},{0:"零"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=parseInt(Object.values(t)[0]),o=Object.keys(e)[0],i=parseInt(Object.values(e)[0]),a=Vr({},"".concat(r).concat(o),n+i);return 1==n&&i<10?a=Vr({},o,i):i>n?a=Vr({},"".concat(r).concat(o),n*i):this.zeroDigit(n)>this.digit(i)&&(a=Vr({},"".concat(r).concat(this.zero).concat(o),n+i)),a}},{key:"toDecimal",value:function(t){var e=this;return Array.from(t).map((function(t){return e.getValueFromCards(t)})).join(this.spaceSeparator)}},{key:"digit",value:function(t){return t.toString().length}},{key:"zeroDigit",value:function(t){return Array.from(t.toString()).filter((function(t){return"0"===t})).length}}])&&Zr(e.prototype,r),a}(N);function Yr(t){return(new Kr).floatToCardinal(t)}var Qr=["en","fr","es","de","pt","it","tr","ru","cz","no","dk","pl","uk","lt","lv","ar","he","ko","nl","sr","fa","zh","hu","id","hr"];function tn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lang:"en"},r="EN";if(e&&e.lang){if(-1===Qr.indexOf(e.lang))throw Error("ERROR: Unsupported language. Supported languages are: "+Qr.sort().join(", "));r=e.lang.toUpperCase()}return"EN"===r?ut(t):"FR"===r?_t(t):"ES"===r?yt(t):"DE"===r?$(t):"PT"===r?wr(t):"ID"===r?se(t):"IT"===r?ve(t):"TR"===r?Br(t,e):"RU"===r?O(t):"CZ"===r?P(t):"NO"===r?ir(t):"DK"===r?Q(t):"PL"===r?dr(t):"UK"===r?Gr(t):"LT"===r?Ce(t):"LV"===r?qe(t):"AR"===r?f(t):"HE"===r?Ft(t):"HR"===r?Ht(t):"HU"===r?ee(t):"KO"===r?Se(t):"NL"===r?Ke(t,e):"SR"===r?zr(t):"FA"===r?wt(t):"ZH"===r?Yr(t):void 0}})(),n.default})()}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.n2words=e():t.n2words=e()}(this,(function(){return(()=>{var t={9662:(t,e,r)=>{var n=r(7854),o=r(614),i=r(6330),a=n.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},9483:(t,e,r)=>{var n=r(7854),o=r(4411),i=r(6330),a=n.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a constructor")}},6077:(t,e,r)=>{var n=r(7854),o=r(614),i=n.String,a=n.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw a("Can't set "+i(t)+" as a prototype")}},1223:(t,e,r)=>{var n=r(5112),o=r(30),i=r(3070),a=n("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},1530:(t,e,r)=>{"use strict";var n=r(8710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},5787:(t,e,r)=>{var n=r(7854),o=r(7976),i=n.TypeError;t.exports=function(t,e){if(o(e,t))return t;throw i("Incorrect invocation")}},9670:(t,e,r)=>{var n=r(7854),o=r(111),i=n.String,a=n.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},7556:(t,e,r)=>{var n=r(7293);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},8457:(t,e,r)=>{"use strict";var n=r(7854),o=r(9974),i=r(6916),a=r(7908),u=r(3411),s=r(7659),c=r(4411),l=r(6244),f=r(6135),p=r(8554),d=r(1246),h=n.Array;t.exports=function(t){var e=a(t),r=c(this),n=arguments.length,y=n>1?arguments[1]:void 0,v=void 0!==y;v&&(y=o(y,n>2?arguments[2]:void 0));var b,g,m,O,j,w,T=d(e),S=0;if(!T||this==h&&s(T))for(b=l(e),g=r?new this(b):h(b);b>S;S++)w=v?y(e[S],S):e[S],f(g,S,w);else for(j=(O=p(e,T)).next,g=r?new this:[];!(m=i(j,O)).done;S++)w=v?u(O,y,[m.value,S],!0):m.value,f(g,S,w);return g.length=S,g}},1318:(t,e,r)=>{var n=r(5656),o=r(1400),i=r(6244),a=function(t){return function(e,r,a){var u,s=n(e),c=i(s),l=o(a,c);if(t&&r!=r){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:(t,e,r)=>{var n=r(9974),o=r(1702),i=r(8361),a=r(7908),u=r(6244),s=r(5417),c=o([].push),l=function(t){var e=1==t,r=2==t,o=3==t,l=4==t,f=6==t,p=7==t,d=5==t||f;return function(h,y,v,b){for(var g,m,O=a(h),j=i(O),w=n(y,v),T=u(j),S=0,x=b||s,R=e?x(h,T):r||p?x(h,0):void 0;T>S;S++)if((d||S in j)&&(m=w(g=j[S],S,O),t))if(e)R[S]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return S;case 2:c(R,g)}else switch(t){case 4:return!1;case 7:c(R,g)}return f?-1:o||l?l:R}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},1194:(t,e,r)=>{var n=r(7293),o=r(5112),i=r(7392),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},1589:(t,e,r)=>{var n=r(7854),o=r(1400),i=r(6244),a=r(6135),u=n.Array,s=Math.max;t.exports=function(t,e,r){for(var n=i(t),c=o(e,n),l=o(void 0===r?n:r,n),f=u(s(l-c,0)),p=0;c<l;c++,p++)a(f,p,t[c]);return f.length=p,f}},206:(t,e,r)=>{var n=r(1702);t.exports=n([].slice)},4362:(t,e,r)=>{var n=r(1589),o=Math.floor,i=function(t,e){var r=t.length,s=o(r/2);return r<8?a(t,e):u(t,i(n(t,0,s),e),i(n(t,s),e),e)},a=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},u=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t};t.exports=i},7475:(t,e,r)=>{var n=r(7854),o=r(3157),i=r(4411),a=r(111),u=r(5112)("species"),s=n.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===s||o(e.prototype))||a(e)&&null===(e=e[u]))&&(e=void 0)),void 0===e?s:e}},5417:(t,e,r)=>{var n=r(7475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},3411:(t,e,r)=>{var n=r(9670),o=r(9212);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){o(t,"throw",e)}}},7072:(t,e,r)=>{var n=r(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},4326:(t,e,r)=>{var n=r(1702),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:(t,e,r)=>{var n=r(7854),o=r(1694),i=r(614),a=r(4326),u=r(5112)("toStringTag"),s=n.Object,c="Arguments"==a(function(){return arguments}());t.exports=o?a:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),u))?r:c?a(e):"Object"==(n=a(e))&&i(e.callee)?"Arguments":n}},7741:(t,e,r)=>{var n=r(1702)("".replace),o=String(Error("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,a=i.test(o);t.exports=function(t,e){if(a&&"string"==typeof t)for(;e--;)t=n(t,i,"");return t}},5631:(t,e,r)=>{"use strict";var n=r(3070).f,o=r(30),i=r(2248),a=r(9974),u=r(5787),s=r(408),c=r(654),l=r(6340),f=r(9781),p=r(2423).fastKey,d=r(9909),h=d.set,y=d.getterFor;t.exports={getConstructor:function(t,e,r,c){var l=t((function(t,n){u(t,d),h(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=n&&s(n,t[c],{that:t,AS_ENTRIES:r})})),d=l.prototype,v=y(e),b=function(t,e,r){var n,o,i=v(t),a=g(t,e);return a?a.value=r:(i.last=a={index:o=p(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),f?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},g=function(t,e){var r,n=v(t),o=p(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(d,{clear:function(){for(var t=v(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=g(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),f?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(d,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return b(this,0===t?0:t,e)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),f&&n(d,"size",{get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=y(e),i=y(n);c(t,e,(function(t,e){h(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(e)}}},7710:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(1702),a=r(4705),u=r(1320),s=r(2423),c=r(408),l=r(5787),f=r(614),p=r(111),d=r(7293),h=r(7072),y=r(8003),v=r(9587);t.exports=function(t,e,r){var b=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),m=b?"set":"add",O=o[t],j=O&&O.prototype,w=O,T={},S=function(t){var e=i(j[t]);u(j,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!p(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return g&&!p(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!p(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!f(O)||!(g||j.forEach&&!d((function(){(new O).entries().next()})))))w=r.getConstructor(e,t,b,m),s.enable();else if(a(t,!0)){var x=new w,R=x[m](g?{}:-0,1)!=x,P=d((function(){x.has(1)})),k=h((function(t){new O(t)})),E=!g&&d((function(){for(var t=new O,e=5;e--;)t[m](e,e);return!t.has(-0)}));k||((w=e((function(t,e){l(t,j);var r=v(new O,t,w);return null!=e&&c(e,r[m],{that:r,AS_ENTRIES:b}),r}))).prototype=j,j.constructor=w),(P||E)&&(S("delete"),S("has"),b&&S("get")),(E||R)&&S(m),g&&j.clear&&delete j.clear}return T[t]=w,n({global:!0,forced:w!=O},T),y(w,t),g||r.setStrong(w,t,b),w}},9920:(t,e,r)=>{var n=r(2597),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e,r){for(var u=o(e),s=a.f,c=i.f,l=0;l<u.length;l++){var f=u[l];n(t,f)||r&&n(r,f)||s(t,f,c(e,f))}}},4964:(t,e,r)=>{var n=r(5112)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},8544:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4994:(t,e,r)=>{"use strict";var n=r(3383).IteratorPrototype,o=r(30),i=r(9114),a=r(8003),u=r(7497),s=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),a(t,l,!1,!0),u[l]=s,t}},8880:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,r)=>{"use strict";var n=r(4948),o=r(3070),i=r(9114);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},654:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(1913),a=r(6530),u=r(614),s=r(4994),c=r(9518),l=r(7674),f=r(8003),p=r(8880),d=r(1320),h=r(5112),y=r(7497),v=r(3383),b=a.PROPER,g=a.CONFIGURABLE,m=v.IteratorPrototype,O=v.BUGGY_SAFARI_ITERATORS,j=h("iterator"),w="keys",T="values",S="entries",x=function(){return this};t.exports=function(t,e,r,a,h,v,R){s(r,e,a);var P,k,E,_=function(t){if(t===h&&D)return D;if(!O&&t in C)return C[t];switch(t){case w:case T:case S:return function(){return new r(this,t)}}return function(){return new r(this)}},z=e+" Iterator",I=!1,C=t.prototype,A=C[j]||C["@@iterator"]||h&&C[h],D=!O&&A||_(h),W="Array"==e&&C.entries||A;if(W&&(P=c(W.call(new t)))!==Object.prototype&&P.next&&(i||c(P)===m||(l?l(P,m):u(P[j])||d(P,j,x)),f(P,z,!0,!0),i&&(y[z]=x)),b&&h==T&&A&&A.name!==T&&(!i&&g?p(C,"name",T):(I=!0,D=function(){return o(A,this)})),h)if(k={values:_(T),keys:v?D:_(w),entries:_(S)},R)for(E in k)(O||I||!(E in C))&&d(C,E,k[E]);else n({target:e,proto:!0,forced:O||I},k);return i&&!R||C[j]===D||d(C,j,D,{name:h}),y[e]=D,k}},7235:(t,e,r)=>{var n=r(857),o=r(2597),i=r(6061),a=r(3070).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,r)=>{var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(t,e,r)=>{var n=r(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},8886:(t,e,r)=>{var n=r(8113).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},256:(t,e,r)=>{var n=r(8113);t.exports=/MSIE|Trident/.test(n)},8113:(t,e,r)=>{var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:(t,e,r)=>{var n,o,i=r(7854),a=r(8113),u=i.process,s=i.Deno,c=u&&u.versions||s&&s.version,l=c&&c.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},8008:(t,e,r)=>{var n=r(8113).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:(t,e,r)=>{var n=r(7293),o=r(9114);t.exports=!n((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},7762:(t,e,r)=>{"use strict";var n=r(9781),o=r(7293),i=r(9670),a=r(30),u=r(6277),s=Error.prototype.toString,c=o((function(){if(n){var t=a(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==s.call(t))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));t.exports=c?function(){var t=i(this),e=u(t.name,"Error"),r=u(t.message);return e?r?e+": "+r:e:r}:s},2109:(t,e,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),a=r(1320),u=r(3505),s=r(9920),c=r(4705);t.exports=function(t,e){var r,l,f,p,d,h=t.target,y=t.global,v=t.stat;if(r=y?n:v?n[h]||u(h,{}):(n[h]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(d=o(r,l))&&d.value:r[l],!c(y?l:h+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(r,l,p,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,r)=>{"use strict";r(4916);var n=r(1702),o=r(1320),i=r(2261),a=r(7293),u=r(5112),s=r(8880),c=u("species"),l=RegExp.prototype;t.exports=function(t,e,r,f){var p=u(t),d=!a((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!d||!h||r){var y=n(/./[p]),v=e(p,""[t],(function(t,e,r,o,a){var u=n(t),s=e.exec;return s===i||s===l.exec?d&&!a?{done:!0,value:y(e,r,o)}:{done:!0,value:u(r,e,o)}:{done:!1}}));o(String.prototype,t,v[0]),o(l,p,v[1])}f&&s(l[p],"sham",!0)}},6677:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:(t,e,r)=>{var n=r(4374),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},9974:(t,e,r)=>{var n=r(1702),o=r(9662),i=r(4374),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},4374:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},7065:(t,e,r)=>{"use strict";var n=r(7854),o=r(1702),i=r(9662),a=r(111),u=r(2597),s=r(206),c=r(4374),l=n.Function,f=o([].concat),p=o([].join),d={},h=function(t,e,r){if(!u(d,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";d[e]=l("C,a","return new C("+p(n,",")+")")}return d[e](t,r)};t.exports=c?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),o=function(){var r=f(n,s(arguments));return this instanceof o?h(e,r.length,r):e.apply(t,r)};return a(r)&&(o.prototype=r),o}},6916:(t,e,r)=>{var n=r(4374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},6530:(t,e,r)=>{var n=r(9781),o=r(2597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),s=u&&"something"===function(){}.name,c=u&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:s,CONFIGURABLE:c}},1702:(t,e,r)=>{var n=r(4374),o=Function.prototype,i=o.bind,a=o.call,u=n&&i.bind(a,a);t.exports=n?function(t){return t&&u(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5005:(t,e,r)=>{var n=r(7854),o=r(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},1246:(t,e,r)=>{var n=r(648),o=r(8173),i=r(7497),a=r(5112)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[n(t)]}},8554:(t,e,r)=>{var n=r(7854),o=r(6916),i=r(9662),a=r(9670),u=r(6330),s=r(1246),c=n.TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return a(o(r,t));throw c(u(t)+" is not iterable")}},8173:(t,e,r)=>{var n=r(9662);t.exports=function(t,e){var r=t[e];return null==r?void 0:n(r)}},647:(t,e,r)=>{var n=r(1702),o=r(7908),i=Math.floor,a=n("".charAt),u=n("".replace),s=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,p){var d=r+t.length,h=n.length,y=l;return void 0!==f&&(f=o(f),y=c),u(p,y,(function(o,u){var c;switch(a(u,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,r);case"'":return s(e,d);case"<":c=f[s(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>h){var p=i(l/10);return 0===p?o:p<=h?void 0===n[p-1]?a(u,1):n[p-1]+a(u,1):o}c=n[l-1]}return void 0===c?"":c}))}},7854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},2597:(t,e,r)=>{var n=r(1702),o=r(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:t=>{t.exports={}},490:(t,e,r)=>{var n=r(5005);t.exports=n("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,r)=>{var n=r(7854),o=r(1702),i=r(7293),a=r(4326),u=n.Object,s=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?s(t,""):u(t)}:u},9587:(t,e,r)=>{var n=r(614),o=r(111),i=r(7674);t.exports=function(t,e,r){var a,u;return i&&n(a=e.constructor)&&a!==r&&o(u=a.prototype)&&u!==r.prototype&&i(t,u),t}},2788:(t,e,r)=>{var n=r(1702),o=r(614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},8340:(t,e,r)=>{var n=r(111),o=r(8880);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},2423:(t,e,r)=>{var n=r(2109),o=r(1702),i=r(3501),a=r(111),u=r(2597),s=r(3070).f,c=r(8006),l=r(1156),f=r(2050),p=r(9711),d=r(6677),h=!1,y=p("meta"),v=0,b=function(t){s(t,y,{value:{objectID:"O"+v++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[y]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===y){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,y)){if(!f(t))return"F";if(!e)return"E";b(t)}return t[y].objectID},getWeakData:function(t,e){if(!u(t,y)){if(!f(t))return!0;if(!e)return!1;b(t)}return t[y].weakData},onFreeze:function(t){return d&&h&&f(t)&&!u(t,y)&&b(t),t}};i[y]=!0},9909:(t,e,r)=>{var n,o,i,a=r(8536),u=r(7854),s=r(1702),c=r(111),l=r(8880),f=r(2597),p=r(5465),d=r(6200),h=r(3501),y="Object already initialized",v=u.TypeError,b=u.WeakMap;if(a||p.state){var g=p.state||(p.state=new b),m=s(g.get),O=s(g.has),j=s(g.set);n=function(t,e){if(O(g,t))throw new v(y);return e.facade=t,j(g,t,e),e},o=function(t){return m(g,t)||{}},i=function(t){return O(g,t)}}else{var w=d("state");h[w]=!0,n=function(t,e){if(f(t,w))throw new v(y);return e.facade=t,l(t,w,e),e},o=function(t){return f(t,w)?t[w]:{}},i=function(t){return f(t,w)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}}}},7659:(t,e,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:t=>{t.exports=function(t){return"function"==typeof t}},4411:(t,e,r)=>{var n=r(1702),o=r(7293),i=r(614),a=r(648),u=r(5005),s=r(2788),c=function(){},l=[],f=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=n(p.exec),h=!p.exec(c),y=function(t){if(!i(t))return!1;try{return f(c,l,t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(p,s(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o((function(){var t;return y(y.call)||!y(Object)||!y((function(){t=!0}))||t}))?v:y},5032:(t,e,r)=>{var n=r(2597);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},4705:(t,e,r)=>{var n=r(7293),o=r(614),i=/#|\.prototype\./,a=function(t,e){var r=s[u(t)];return r==l||r!=c&&(o(e)?n(e):!!e)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},111:(t,e,r)=>{var n=r(614);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},1913:t=>{t.exports=!1},7850:(t,e,r)=>{var n=r(111),o=r(4326),i=r(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},2190:(t,e,r)=>{var n=r(7854),o=r(5005),i=r(614),a=r(7976),u=r(3307),s=n.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&a(e.prototype,s(t))}},408:(t,e,r)=>{var n=r(7854),o=r(9974),i=r(6916),a=r(9670),u=r(6330),s=r(7659),c=r(6244),l=r(7976),f=r(8554),p=r(1246),d=r(9212),h=n.TypeError,y=function(t,e){this.stopped=t,this.result=e},v=y.prototype;t.exports=function(t,e,r){var n,b,g,m,O,j,w,T=r&&r.that,S=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_ITERATOR),R=!(!r||!r.INTERRUPTED),P=o(e,T),k=function(t){return n&&d(n,"normal",t),new y(!0,t)},E=function(t){return S?(a(t),R?P(t[0],t[1],k):P(t[0],t[1])):R?P(t,k):P(t)};if(x)n=t;else{if(!(b=p(t)))throw h(u(t)+" is not iterable");if(s(b)){for(g=0,m=c(t);m>g;g++)if((O=E(t[g]))&&l(v,O))return O;return new y(!1)}n=f(t,b)}for(j=n.next;!(w=i(j,n)).done;){try{O=E(w.value)}catch(t){d(n,"throw",t)}if("object"==typeof O&&O&&l(v,O))return O}return new y(!1)}},9212:(t,e,r)=>{var n=r(6916),o=r(9670),i=r(8173);t.exports=function(t,e,r){var a,u;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){u=!0,a=t}if("throw"===e)throw r;if(u)throw a;return o(a),r}},3383:(t,e,r)=>{"use strict";var n,o,i,a=r(7293),u=r(614),s=r(30),c=r(9518),l=r(1320),f=r(5112),p=r(1913),d=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):h=!0),null==n||a((function(){var t={};return n[d].call(t)!==t}))?n={}:p&&(n=s(n)),u(n[d])||l(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},7497:t=>{t.exports={}},6244:(t,e,r)=>{var n=r(7466);t.exports=function(t){return n(t.length)}},133:(t,e,r)=>{var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:(t,e,r)=>{var n=r(7854),o=r(614),i=r(2788),a=n.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},6277:(t,e,r)=>{var n=r(1340);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},3929:(t,e,r)=>{var n=r(7854),o=r(7850),i=n.TypeError;t.exports=function(t){if(o(t))throw i("The method doesn't accept regular expressions");return t}},3009:(t,e,r)=>{var n=r(7854),o=r(7293),i=r(1702),a=r(1340),u=r(3111).trim,s=r(1361),c=n.parseInt,l=n.Symbol,f=l&&l.iterator,p=/^[+-]?0x/i,d=i(p.exec),h=8!==c(s+"08")||22!==c(s+"0x16")||f&&!o((function(){c(Object(f))}));t.exports=h?function(t,e){var r=u(a(t));return c(r,e>>>0||(d(p,r)?16:10))}:c},1574:(t,e,r)=>{"use strict";var n=r(9781),o=r(1702),i=r(6916),a=r(7293),u=r(1956),s=r(5181),c=r(5296),l=r(7908),f=r(8361),p=Object.assign,d=Object.defineProperty,h=o([].concat);t.exports=!p||a((function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!=p({},t)[r]||u(p({},e)).join("")!=o}))?function(t,e){for(var r=l(t),o=arguments.length,a=1,p=s.f,d=c.f;o>a;)for(var y,v=f(arguments[a++]),b=p?h(u(v),p(v)):u(v),g=b.length,m=0;g>m;)y=b[m++],n&&!i(d,v,y)||(r[y]=v[y]);return r}:p},30:(t,e,r)=>{var n,o=r(9670),i=r(6048),a=r(748),u=r(3501),s=r(490),c=r(317),l=r(6200)("IE_PROTO"),f=function(){},p=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;h="undefined"!=typeof document?document.domain&&n?d(n):((e=c("iframe")).style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):d(n);for(var r=a.length;r--;)delete h.prototype[a[r]];return h()};u[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(f.prototype=o(t),r=new f,f.prototype=null,r[l]=t):r=h(),void 0===e?r:i.f(r,e)}},6048:(t,e,r)=>{var n=r(9781),o=r(3353),i=r(3070),a=r(9670),u=r(5656),s=r(1956);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=u(e),o=s(e),c=o.length,l=0;c>l;)i.f(t,r=o[l++],n[r]);return t}},3070:(t,e,r)=>{var n=r(7854),o=r(9781),i=r(4664),a=r(3353),u=r(9670),s=r(4948),c=n.TypeError,l=Object.defineProperty,f=Object.getOwnPropertyDescriptor;e.f=o?a?function(t,e,r){if(u(t),e=s(e),u(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=f(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(u(t),e=s(e),u(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(6916),i=r(5296),a=r(9114),u=r(5656),s=r(4948),c=r(2597),l=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=u(t),e=s(e),l)try{return f(t,e)}catch(t){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},1156:(t,e,r)=>{var n=r(4326),o=r(5656),i=r(8006).f,a=r(1589),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return a(u)}}(t):i(o(t))}},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},9518:(t,e,r)=>{var n=r(7854),o=r(2597),i=r(614),a=r(7908),u=r(6200),s=r(8544),c=u("IE_PROTO"),l=n.Object,f=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=a(t);if(o(e,c))return e[c];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?f:null}},2050:(t,e,r)=>{var n=r(7293),o=r(111),i=r(4326),a=r(7556),u=Object.isExtensible,s=n((function(){u(1)}));t.exports=s||a?function(t){return!!o(t)&&(!a||"ArrayBuffer"!=i(t))&&(!u||u(t))}:u},7976:(t,e,r)=>{var n=r(1702);t.exports=n({}.isPrototypeOf)},6324:(t,e,r)=>{var n=r(1702),o=r(2597),i=r(5656),a=r(1318).indexOf,u=r(3501),s=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,l=[];for(r in n)!o(u,r)&&o(n,r)&&s(l,r);for(;e.length>c;)o(n,r=e[c++])&&(~a(l,r)||s(l,r));return l}},1956:(t,e,r)=>{var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7674:(t,e,r)=>{var n=r(1702),o=r(9670),i=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},4699:(t,e,r)=>{var n=r(9781),o=r(1702),i=r(1956),a=r(5656),u=o(r(5296).f),s=o([].push),c=function(t){return function(e){for(var r,o=a(e),c=i(o),l=c.length,f=0,p=[];l>f;)r=c[f++],n&&!u(o,r)||s(p,t?[r,o[r]]:o[r]);return p}};t.exports={entries:c(!0),values:c(!1)}},288:(t,e,r)=>{"use strict";var n=r(1694),o=r(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},2140:(t,e,r)=>{var n=r(7854),o=r(6916),i=r(614),a=r(111),u=n.TypeError;t.exports=function(t,e){var r,n;if("string"===e&&i(r=t.toString)&&!a(n=o(r,t)))return n;if(i(r=t.valueOf)&&!a(n=o(r,t)))return n;if("string"!==e&&i(r=t.toString)&&!a(n=o(r,t)))return n;throw u("Can't convert object to primitive value")}},3887:(t,e,r)=>{var n=r(5005),o=r(1702),i=r(8006),a=r(5181),u=r(9670),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(u(t)),r=a.f;return r?s(e,r(t)):e}},857:(t,e,r)=>{var n=r(7854);t.exports=n},2248:(t,e,r)=>{var n=r(1320);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},1320:(t,e,r)=>{var n=r(7854),o=r(614),i=r(2597),a=r(8880),u=r(3505),s=r(2788),c=r(9909),l=r(6530).CONFIGURABLE,f=c.get,p=c.enforce,d=String(String).split("String");(t.exports=function(t,e,r,s){var c,f=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,y=!!s&&!!s.noTargetGet,v=s&&void 0!==s.name?s.name:e;o(r)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||l&&r.name!==v)&&a(r,"name",v),(c=p(r)).source||(c.source=d.join("string"==typeof v?v:""))),t!==n?(f?!y&&t[e]&&(h=!0):delete t[e],h?t[e]=r:a(t,e,r)):h?t[e]=r:u(e,r)})(Function.prototype,"toString",(function(){return o(this)&&f(this).source||s(this)}))},7651:(t,e,r)=>{var n=r(7854),o=r(6916),i=r(9670),a=r(614),u=r(4326),s=r(2261),c=n.TypeError;t.exports=function(t,e){var r=t.exec;if(a(r)){var n=o(r,t,e);return null!==n&&i(n),n}if("RegExp"===u(t))return o(s,t,e);throw c("RegExp#exec called on incompatible receiver")}},2261:(t,e,r)=>{"use strict";var n,o,i=r(6916),a=r(1702),u=r(1340),s=r(7066),c=r(2999),l=r(2309),f=r(30),p=r(9909).get,d=r(9441),h=r(7168),y=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,g=a("".charAt),m=a("".indexOf),O=a("".replace),j=a("".slice),w=(o=/b*/g,i(v,n=/a/,"a"),i(v,o,"a"),0!==n.lastIndex||0!==o.lastIndex),T=c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(w||S||T||d||h)&&(b=function(t){var e,r,n,o,a,c,l,d=this,h=p(d),x=u(t),R=h.raw;if(R)return R.lastIndex=d.lastIndex,e=i(b,R,x),d.lastIndex=R.lastIndex,e;var P=h.groups,k=T&&d.sticky,E=i(s,d),_=d.source,z=0,I=x;if(k&&(E=O(E,"y",""),-1===m(E,"g")&&(E+="g"),I=j(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==g(x,d.lastIndex-1))&&(_="(?: "+_+")",I=" "+I,z++),r=new RegExp("^(?:"+_+")",E)),S&&(r=new RegExp("^"+_+"$(?!\\s)",E)),w&&(n=d.lastIndex),o=i(v,k?r:d,I),k?o?(o.input=j(o.input,z),o[0]=j(o[0],z),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:w&&o&&(d.lastIndex=d.global?o.index+o[0].length:n),S&&o&&o.length>1&&i(y,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&P)for(o.groups=c=f(null),a=0;a<P.length;a++)c[(l=P[a])[0]]=o[l[1]];return o}),t.exports=b},7066:(t,e,r)=>{"use strict";var n=r(9670);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),u=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},9441:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:(t,e,r)=>{var n=r(7854).TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},3505:(t,e,r)=>{var n=r(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},6340:(t,e,r)=>{"use strict";var n=r(5005),o=r(3070),i=r(5112),a=r(9781),u=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[u]&&r(e,u,{configurable:!0,get:function(){return this}})}},8003:(t,e,r)=>{var n=r(3070).f,o=r(2597),i=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,e,r)=>{var n=r(7854),o=r(3505),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(t,e,r)=>{var n=r(9670),o=r(9483),i=r(5112)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},8710:(t,e,r)=>{var n=r(1702),o=r(9303),i=r(1340),a=r(4488),u=n("".charAt),s=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,f=i(a(e)),p=o(r),d=f.length;return p<0||p>=d?t?"":void 0:(n=s(f,p))<55296||n>56319||p+1===d||(l=s(f,p+1))<56320||l>57343?t?u(f,p):n:t?c(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4986:(t,e,r)=>{var n=r(8113);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},6650:(t,e,r)=>{var n=r(1702),o=r(7466),i=r(1340),a=r(8415),u=r(4488),s=n(a),c=n("".slice),l=Math.ceil,f=function(t){return function(e,r,n){var a,f,p=i(u(e)),d=o(r),h=p.length,y=void 0===n?" ":i(n);return d<=h||""==y?p:((f=s(y,l((a=d-h)/y.length))).length>a&&(f=c(f,0,a)),t?p+f:f+p)}};t.exports={start:f(!1),end:f(!0)}},8415:(t,e,r)=>{"use strict";var n=r(7854),o=r(9303),i=r(1340),a=r(4488),u=n.RangeError;t.exports=function(t){var e=i(a(this)),r="",n=o(t);if(n<0||n==1/0)throw u("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r}},6091:(t,e,r)=>{var n=r(6530).PROPER,o=r(7293),i=r(1361);t.exports=function(t){return o((function(){return!!i[t]()||"
"!=="
"[t]()||n&&i[t].name!==t}))}},3111:(t,e,r)=>{var n=r(1702),o=r(4488),i=r(1340),a=r(1361),u=n("".replace),s="["+a+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=u(r,c,"")),2&t&&(r=u(r,l,"")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},863:(t,e,r)=>{var n=r(1702);t.exports=n(1..valueOf)},1400:(t,e,r)=>{var n=r(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9303:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?r:e)(n)}},7466:(t,e,r)=>{var n=r(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(7854),o=r(4488),i=n.Object;t.exports=function(t){return i(o(t))}},7593:(t,e,r)=>{var n=r(7854),o=r(6916),i=r(111),a=r(2190),u=r(8173),s=r(2140),c=r(5112),l=n.TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!i(t)||a(t))return t;var r,n=u(t,f);if(n){if(void 0===e&&(e="default"),r=o(n,t,e),!i(r)||a(r))return r;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:(t,e,r)=>{var n=r(7593),o=r(2190);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:(t,e,r)=>{var n=r(7854),o=r(648),i=n.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:(t,e,r)=>{var n=r(7854).String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},9711:(t,e,r)=>{var n=r(1702),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3307:(t,e,r)=>{var n=r(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,r)=>{var n=r(9781),o=r(7293);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},6061:(t,e,r)=>{var n=r(5112);e.f=n},5112:(t,e,r)=>{var n=r(7854),o=r(2309),i=r(2597),a=r(9711),u=r(133),s=r(3307),c=o("wks"),l=n.Symbol,f=l&&l.for,p=s?l:l&&l.withoutSetter||a;t.exports=function(t){if(!i(c,t)||!u&&"string"!=typeof c[t]){var e="Symbol."+t;u&&i(l,t)?c[t]=l[t]:c[t]=s&&f?f(e):p(e)}return c[t]}},1361:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},9191:(t,e,r)=>{"use strict";var n=r(5005),o=r(2597),i=r(8880),a=r(7976),u=r(7674),s=r(9920),c=r(9587),l=r(6277),f=r(8340),p=r(7741),d=r(2914),h=r(1913);t.exports=function(t,e,r,y){var v=y?2:1,b=t.split("."),g=b[b.length-1],m=n.apply(null,b);if(m){var O=m.prototype;if(!h&&o(O,"cause")&&delete O.cause,!r)return m;var j=n("Error"),w=e((function(t,e){var r=l(y?e:t,void 0),n=y?new m(t):new m;return void 0!==r&&i(n,"message",r),d&&i(n,"stack",p(n.stack,2)),this&&a(O,this)&&c(n,this,w),arguments.length>v&&f(n,arguments[v]),n}));if(w.prototype=O,"Error"!==g&&(u?u(w,j):s(w,j,{name:!0})),s(w,m),!h)try{O.name!==g&&i(O,"name",g),O.constructor=w}catch(t){}return w}}},2222:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(7293),a=r(3157),u=r(111),s=r(7908),c=r(6244),l=r(6135),f=r(5417),p=r(1194),d=r(5112),h=r(7392),y=d("isConcatSpreadable"),v=9007199254740991,b="Maximum allowed index exceeded",g=o.TypeError,m=h>=51||!i((function(){var t=[];return t[y]=!1,t.concat()[0]!==t})),O=p("concat"),j=function(t){if(!u(t))return!1;var e=t[y];return void 0!==e?!!e:a(t)};n({target:"Array",proto:!0,forced:!m||!O},{concat:function(t){var e,r,n,o,i,a=s(this),u=f(a,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(j(i=-1===e?a:arguments[e])){if(p+(o=c(i))>v)throw g(b);for(r=0;r<o;r++,p++)r in i&&l(u,p,i[r])}else{if(p>=v)throw g(b);l(u,p++,i)}return u.length=p,u}})},6541:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).every;n({target:"Array",proto:!0,forced:!r(9341)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},7327:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).filter;n({target:"Array",proto:!0,forced:!r(1194)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},1038:(t,e,r)=>{var n=r(2109),o=r(8457);n({target:"Array",stat:!0,forced:!r(7072)((function(t){Array.from(t)}))},{from:o})},6699:(t,e,r)=>{"use strict";var n=r(2109),o=r(1318).includes,i=r(1223);n({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},2772:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(1318).indexOf,a=r(9341),u=o([].indexOf),s=!!u&&1/u([1],1,-0)<0,c=a("indexOf");n({target:"Array",proto:!0,forced:s||!c},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return s?u(this,t,e)||0:i(this,t,e)}})},9753:(t,e,r)=>{r(2109)({target:"Array",stat:!0},{isArray:r(3157)})},6992:(t,e,r)=>{"use strict";var n=r(5656),o=r(1223),i=r(7497),a=r(9909),u=r(3070).f,s=r(654),c=r(1913),l=r(9781),f="Array Iterator",p=a.set,d=a.getterFor(f);t.exports=s(Array,"Array",(function(t,e){p(this,{type:f,target:n(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!c&&l&&"values"!==h.name)try{u(h,"name",{value:"values"})}catch(t){}},9600:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(8361),a=r(5656),u=r(9341),s=o([].join),c=i!=Object,l=u("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(t){return s(a(this),void 0===t?",":t)}})},1249:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).map;n({target:"Array",proto:!0,forced:!r(1194)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},5069:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(3157),a=o([].reverse),u=[1,2];n({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},7042:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(3157),a=r(4411),u=r(111),s=r(1400),c=r(6244),l=r(5656),f=r(6135),p=r(5112),d=r(1194),h=r(206),y=d("slice"),v=p("species"),b=o.Array,g=Math.max;n({target:"Array",proto:!0,forced:!y},{slice:function(t,e){var r,n,o,p=l(this),d=c(p),y=s(t,d),m=s(void 0===e?d:e,d);if(i(p)&&(r=p.constructor,(a(r)&&(r===b||i(r.prototype))||u(r)&&null===(r=r[v]))&&(r=void 0),r===b||void 0===r))return h(p,y,m);for(n=new(void 0===r?b:r)(g(m-y,0)),o=0;y<m;y++,o++)y in p&&f(n,o,p[y]);return n.length=o,n}})},2707:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(9662),a=r(7908),u=r(6244),s=r(1340),c=r(7293),l=r(4362),f=r(9341),p=r(8886),d=r(256),h=r(7392),y=r(8008),v=[],b=o(v.sort),g=o(v.push),m=c((function(){v.sort(void 0)})),O=c((function(){v.sort(null)})),j=f("sort"),w=!c((function(){if(h)return h<70;if(!(p&&p>3)){if(d)return!0;if(y)return y<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:m||!O||!j||!w},{sort:function(t){void 0!==t&&i(t);var e=a(this);if(w)return void 0===t?b(e):b(e,t);var r,n,o=[],c=u(e);for(n=0;n<c;n++)n in e&&g(o,e[n]);for(l(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:s(e)>s(r)?1:-1}}(t)),r=o.length,n=0;n<r;)e[n]=o[n++];for(;n<c;)delete e[n++];return e}})},3710:(t,e,r)=>{var n=r(1702),o=r(1320),i=Date.prototype,a="Invalid Date",u=n(i.toString),s=n(i.getTime);String(new Date(NaN))!=a&&o(i,"toString",(function(){var t=s(this);return t==t?u(this):a}))},1703:(t,e,r)=>{var n=r(2109),o=r(7854),i=r(2104),a=r(9191),u=o.WebAssembly,s=7!==Error("e",{cause:7}).cause,c=function(t,e){var r={};r[t]=a(t,e,s),n({global:!0,forced:s},r)},l=function(t,e){if(u&&u[t]){var r={};r[t]=a("WebAssembly."+t,e,s),n({target:"WebAssembly",stat:!0,forced:s},r)}};c("Error",(function(t){return function(e){return i(t,this,arguments)}})),c("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),c("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),c("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),c("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),c("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),c("URIError",(function(t){return function(e){return i(t,this,arguments)}})),l("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),l("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),l("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},6647:(t,e,r)=>{var n=r(1320),o=r(7762),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},8309:(t,e,r)=>{var n=r(9781),o=r(6530).EXISTS,i=r(1702),a=r(3070).f,u=Function.prototype,s=i(u.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(c.exec);n&&!o&&a(u,"name",{configurable:!0,get:function(){try{return l(c,s(this))[1]}catch(t){return""}}})},8862:(t,e,r)=>{var n=r(2109),o=r(7854),i=r(5005),a=r(2104),u=r(1702),s=r(7293),c=o.Array,l=i("JSON","stringify"),f=u(/./.exec),p=u("".charAt),d=u("".charCodeAt),h=u("".replace),y=u(1..toString),v=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,g=/^[\uDC00-\uDFFF]$/,m=function(t,e,r){var n=p(r,e-1),o=p(r,e+1);return f(b,t)&&!f(g,o)||f(g,t)&&!f(b,n)?"\\u"+y(d(t,0),16):t},O=s((function(){return'"\\udf06\\ud834"'!==l("\udf06\ud834")||'"\\udead"'!==l("\udead")}));l&&n({target:"JSON",stat:!0,forced:O},{stringify:function(t,e,r){for(var n=0,o=arguments.length,i=c(o);n<o;n++)i[n]=arguments[n];var u=a(l,null,i);return"string"==typeof u?h(u,v,m):u}})},9653:(t,e,r)=>{"use strict";var n=r(9781),o=r(7854),i=r(1702),a=r(4705),u=r(1320),s=r(2597),c=r(9587),l=r(7976),f=r(2190),p=r(7593),d=r(7293),h=r(8006).f,y=r(1236).f,v=r(3070).f,b=r(863),g=r(3111).trim,m="Number",O=o.Number,j=O.prototype,w=o.TypeError,T=i("".slice),S=i("".charCodeAt),x=function(t){var e=p(t,"number");return"bigint"==typeof e?e:R(e)},R=function(t){var e,r,n,o,i,a,u,s,c=p(t,"number");if(f(c))throw w("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=g(c),43===(e=S(c,0))||45===e){if(88===(r=S(c,2))||120===r)return NaN}else if(48===e){switch(S(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=T(c,2)).length,u=0;u<a;u++)if((s=S(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c};if(a(m,!O(" 0o1")||!O("0b1")||O("+0x1"))){for(var P,k=function(t){var e=arguments.length<1?0:O(x(t)),r=this;return l(j,r)&&d((function(){b(r)}))?c(Object(e),r,k):e},E=n?h(O):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),_=0;E.length>_;_++)s(O,P=E[_])&&!s(k,P)&&v(k,P,y(O,P));k.prototype=j,j.constructor=k,u(o,m,k)}},9601:(t,e,r)=>{var n=r(2109),o=r(1574);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},8011:(t,e,r)=>{r(2109)({target:"Object",stat:!0,sham:!r(9781)},{create:r(30)})},9070:(t,e,r)=>{var n=r(2109),o=r(9781),i=r(3070).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5003:(t,e,r)=>{var n=r(2109),o=r(7293),i=r(5656),a=r(1236).f,u=r(9781),s=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!u||s,sham:!u},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},489:(t,e,r)=>{var n=r(2109),o=r(7293),i=r(7908),a=r(9518),u=r(8544);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(t){return a(i(t))}})},7941:(t,e,r)=>{var n=r(2109),o=r(7908),i=r(1956);n({target:"Object",stat:!0,forced:r(7293)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},8304:(t,e,r)=>{r(2109)({target:"Object",stat:!0},{setPrototypeOf:r(7674)})},1539:(t,e,r)=>{var n=r(1694),o=r(1320),i=r(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},6833:(t,e,r)=>{var n=r(2109),o=r(4699).values;n({target:"Object",stat:!0},{values:function(t){return o(t)}})},1058:(t,e,r)=>{var n=r(2109),o=r(3009);n({global:!0,forced:parseInt!=o},{parseInt:o})},2419:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2104),a=r(7065),u=r(9483),s=r(9670),c=r(111),l=r(30),f=r(7293),p=o("Reflect","construct"),d=Object.prototype,h=[].push,y=f((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),v=!f((function(){p((function(){}))})),b=y||v;n({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(t,e){u(t),s(e);var r=arguments.length<3?t:u(arguments[2]);if(v&&!y)return p(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return i(h,n,e),new(i(a,t,n))}var o=r.prototype,f=l(c(o)?o:d),b=i(t,f,e);return c(b)?b:f}})},4819:(t,e,r)=>{var n=r(2109),o=r(6916),i=r(111),a=r(9670),u=r(5032),s=r(1236),c=r(9518);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,l,f=arguments.length<3?e:arguments[2];return a(e)===f?e[r]:(n=s.f(e,r))?u(n)?n.value:void 0===n.get?void 0:o(n.get,f):i(l=c(e))?t(l,r,f):void 0}})},1299:(t,e,r)=>{var n=r(2109),o=r(7854),i=r(8003);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},4603:(t,e,r)=>{var n=r(9781),o=r(7854),i=r(1702),a=r(4705),u=r(9587),s=r(8880),c=r(3070).f,l=r(8006).f,f=r(7976),p=r(7850),d=r(1340),h=r(7066),y=r(2999),v=r(1320),b=r(7293),g=r(2597),m=r(9909).enforce,O=r(6340),j=r(5112),w=r(9441),T=r(7168),S=j("match"),x=o.RegExp,R=x.prototype,P=o.SyntaxError,k=i(h),E=i(R.exec),_=i("".charAt),z=i("".replace),I=i("".indexOf),C=i("".slice),A=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,W=/a/g,N=new x(D)!==D,B=y.MISSED_STICKY,F=y.UNSUPPORTED_Y;if(a("RegExp",n&&(!N||B||w||T||b((function(){return W[S]=!1,x(D)!=D||x(W)==W||"/a/i"!=x(D,"i")}))))){for(var M=function(t,e){var r,n,o,i,a,c,l=f(R,this),h=p(t),y=void 0===e,v=[],b=t;if(!l&&h&&y&&t.constructor===M)return t;if((h||f(R,t))&&(t=t.source,y&&(e="flags"in b?b.flags:k(b))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),b=t,w&&"dotAll"in D&&(n=!!e&&I(e,"s")>-1)&&(e=z(e,/s/g,"")),r=e,B&&"sticky"in D&&(o=!!e&&I(e,"y")>-1)&&F&&(e=z(e,/y/g,"")),T&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a={},u=!1,s=!1,c=0,l="";n<=r;n++){if("\\"===(e=_(t,n)))e+=_(t,++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:E(A,C(t,n+1))&&(n+=2,s=!0),o+=e,c++;continue;case">"===e&&s:if(""===l||g(a,l))throw new P("Invalid capture group name");a[l]=!0,i[i.length]=[l,c],s=!1,l="";continue}s?l+=e:o+=e}return[o,i]}(t),t=i[0],v=i[1]),a=u(x(t,e),l?this:R,M),(n||o||v.length)&&(c=m(a),n&&(c.dotAll=!0,c.raw=M(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=_(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+_(t,++n);return o}(t),r)),o&&(c.sticky=!0),v.length&&(c.groups=v)),t!==b)try{s(a,"source",""===b?"(?:)":b)}catch(t){}return a},L=function(t){t in M||c(M,t,{configurable:!0,get:function(){return x[t]},set:function(e){x[t]=e}})},q=l(x),G=0;q.length>G;)L(q[G++]);R.constructor=M,M.prototype=R,v(o,"RegExp",M)}O("RegExp")},8450:(t,e,r)=>{var n=r(7854),o=r(9781),i=r(9441),a=r(4326),u=r(3070).f,s=r(9909).get,c=RegExp.prototype,l=n.TypeError;o&&i&&u(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===a(this))return!!s(this).dotAll;throw l("Incompatible receiver, RegExp required")}}})},4916:(t,e,r)=>{"use strict";var n=r(2109),o=r(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8386:(t,e,r)=>{var n=r(7854),o=r(9781),i=r(2999).MISSED_STICKY,a=r(4326),u=r(3070).f,s=r(9909).get,c=RegExp.prototype,l=n.TypeError;o&&i&&u(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===a(this))return!!s(this).sticky;throw l("Incompatible receiver, RegExp required")}}})},7601:(t,e,r)=>{"use strict";r(4916);var n,o,i=r(2109),a=r(7854),u=r(6916),s=r(1702),c=r(614),l=r(111),f=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),p=a.Error,d=s(/./.test);i({target:"RegExp",proto:!0,forced:!f},{test:function(t){var e=this.exec;if(!c(e))return d(this,t);var r=u(e,this,t);if(null!==r&&!l(r))throw new p("RegExp exec method returned something other than an Object or null");return!!r}})},9714:(t,e,r)=>{"use strict";var n=r(1702),o=r(6530).PROPER,i=r(1320),a=r(9670),u=r(7976),s=r(1340),c=r(7293),l=r(7066),f="toString",p=RegExp.prototype,d=p.toString,h=n(l),y=c((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),v=o&&d.name!=f;(y||v)&&i(RegExp.prototype,f,(function(){var t=a(this),e=s(t.source),r=t.flags;return"/"+e+"/"+s(void 0===r&&u(p,t)&&!("flags"in p)?h(t):r)}),{unsafe:!0})},189:(t,e,r)=>{"use strict";r(7710)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(5631))},7852:(t,e,r)=>{"use strict";var n,o=r(2109),i=r(1702),a=r(1236).f,u=r(7466),s=r(1340),c=r(3929),l=r(4488),f=r(4964),p=r(1913),d=i("".endsWith),h=i("".slice),y=Math.min,v=f("endsWith");o({target:"String",proto:!0,forced:!(!p&&!v&&(n=a(String.prototype,"endsWith"),n&&!n.writable)||v)},{endsWith:function(t){var e=s(l(this));c(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:y(u(r),n),i=s(t);return d?d(e,i,o):h(e,o-i.length,o)===i}})},2023:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(3929),a=r(4488),u=r(1340),s=r(4964),c=o("".indexOf);n({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~c(u(a(this)),u(i(t)),arguments.length>1?arguments[1]:void 0)}})},8783:(t,e,r)=>{"use strict";var n=r(8710).charAt,o=r(1340),i=r(9909),a=r(654),u="String Iterator",s=i.set,c=i.getterFor(u);a(String,"String",(function(t){s(this,{type:u,string:o(t),index:0})}),(function(){var t,e=c(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},4723:(t,e,r)=>{"use strict";var n=r(6916),o=r(7007),i=r(9670),a=r(7466),u=r(1340),s=r(4488),c=r(8173),l=r(1530),f=r(7651);o("match",(function(t,e,r){return[function(e){var r=s(this),o=null==e?void 0:c(e,t);return o?n(o,e,r):new RegExp(e)[t](u(r))},function(t){var n=i(this),o=u(t),s=r(e,n,o);if(s.done)return s.value;if(!n.global)return f(n,o);var c=n.unicode;n.lastIndex=0;for(var p,d=[],h=0;null!==(p=f(n,o));){var y=u(p[0]);d[h]=y,""===y&&(n.lastIndex=l(o,a(n.lastIndex),c)),h++}return 0===h?null:d}]}))},3112:(t,e,r)=>{"use strict";var n=r(2109),o=r(6650).start;n({target:"String",proto:!0,forced:r(4986)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},2481:(t,e,r)=>{r(2109)({target:"String",proto:!0},{repeat:r(8415)})},5306:(t,e,r)=>{"use strict";var n=r(2104),o=r(6916),i=r(1702),a=r(7007),u=r(7293),s=r(9670),c=r(614),l=r(9303),f=r(7466),p=r(1340),d=r(4488),h=r(1530),y=r(8173),v=r(647),b=r(7651),g=r(5112)("replace"),m=Math.max,O=Math.min,j=i([].concat),w=i([].push),T=i("".indexOf),S=i("".slice),x="$0"==="a".replace(/./,"$0"),R=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(t,e,r){var i=R?"$":"$0";return[function(t,r){var n=d(this),i=null==t?void 0:y(t,g);return i?o(i,t,n,r):o(e,p(n),t,r)},function(t,o){var a=s(this),u=p(t);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var d=r(e,a,u,o);if(d.done)return d.value}var y=c(o);y||(o=p(o));var g=a.global;if(g){var x=a.unicode;a.lastIndex=0}for(var R=[];;){var P=b(a,u);if(null===P)break;if(w(R,P),!g)break;""===p(P[0])&&(a.lastIndex=h(u,f(a.lastIndex),x))}for(var k,E="",_=0,z=0;z<R.length;z++){for(var I=p((P=R[z])[0]),C=m(O(l(P.index),u.length),0),A=[],D=1;D<P.length;D++)w(A,void 0===(k=P[D])?k:String(k));var W=P.groups;if(y){var N=j([I],A,C,u);void 0!==W&&w(N,W);var B=p(n(o,void 0,N))}else B=v(I,u,C,A,W,o);C>=_&&(E+=S(u,_,C)+B,_=C+I.length)}return E+S(u,_)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!x||R)},3123:(t,e,r)=>{"use strict";var n=r(2104),o=r(6916),i=r(1702),a=r(7007),u=r(7850),s=r(9670),c=r(4488),l=r(6707),f=r(1530),p=r(7466),d=r(1340),h=r(8173),y=r(1589),v=r(7651),b=r(2261),g=r(2999),m=r(7293),O=g.UNSUPPORTED_Y,j=4294967295,w=Math.min,T=[].push,S=i(/./.exec),x=i(T),R=i("".slice),P=!m((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));a("split",(function(t,e,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var i=d(c(this)),a=void 0===r?j:r>>>0;if(0===a)return[];if(void 0===t)return[i];if(!u(t))return o(e,i,t,a);for(var s,l,f,p=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,g=new RegExp(t.source,h+"g");(s=o(b,g,i))&&!((l=g.lastIndex)>v&&(x(p,R(i,v,s.index)),s.length>1&&s.index<i.length&&n(T,p,y(s,1)),f=s[0].length,v=l,p.length>=a));)g.lastIndex===s.index&&g.lastIndex++;return v===i.length?!f&&S(g,"")||x(p,""):x(p,R(i,v)),p.length>a?y(p,0,a):p}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:o(e,this,t,r)}:e,[function(e,r){var n=c(this),a=null==e?void 0:h(e,t);return a?o(a,e,n,r):o(i,d(n),e,r)},function(t,n){var o=s(this),a=d(t),u=r(i,o,a,n,i!==e);if(u.done)return u.value;var c=l(o,RegExp),h=o.unicode,y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(O?"g":"y"),b=new c(O?"^(?:"+o.source+")":o,y),g=void 0===n?j:n>>>0;if(0===g)return[];if(0===a.length)return null===v(b,a)?[a]:[];for(var m=0,T=0,S=[];T<a.length;){b.lastIndex=O?0:T;var P,k=v(b,O?R(a,T):a);if(null===k||(P=w(p(b.lastIndex+(O?T:0)),a.length))===m)T=f(a,T,h);else{if(x(S,R(a,m,T)),S.length===g)return S;for(var E=1;E<=k.length-1;E++)if(x(S,k[E]),S.length===g)return S;T=m=P}}return x(S,R(a,m)),S}]}),!P,O)},8702:(t,e,r)=>{"use strict";var n=r(2109),o=r(3111).end,i=r(6091)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;n({target:"String",proto:!0,name:"trimEnd",forced:i},{trimEnd:a,trimRight:a})},3210:(t,e,r)=>{"use strict";var n=r(2109),o=r(3111).trim;n({target:"String",proto:!0,forced:r(6091)("trim")},{trim:function(){return o(this)}})},1817:(t,e,r)=>{"use strict";var n=r(2109),o=r(9781),i=r(7854),a=r(1702),u=r(2597),s=r(614),c=r(7976),l=r(1340),f=r(3070).f,p=r(9920),d=i.Symbol,h=d&&d.prototype;if(o&&s(d)&&(!("description"in h)||void 0!==d().description)){var y={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=c(h,this)?new d(t):void 0===t?d():d(t);return""===t&&(y[e]=!0),e};p(v,d),v.prototype=h,h.constructor=v;var b="Symbol(test)"==String(d("test")),g=a(h.toString),m=a(h.valueOf),O=/^Symbol\((.*)\)[^)]+$/,j=a("".replace),w=a("".slice);f(h,"description",{configurable:!0,get:function(){var t=m(this),e=g(t);if(u(y,t))return"";var r=b?w(e,7,-1):j(e,O,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:v})}},2165:(t,e,r)=>{r(7235)("iterator")},2526:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(5005),a=r(2104),u=r(6916),s=r(1702),c=r(1913),l=r(9781),f=r(133),p=r(7293),d=r(2597),h=r(3157),y=r(614),v=r(111),b=r(7976),g=r(2190),m=r(9670),O=r(7908),j=r(5656),w=r(4948),T=r(1340),S=r(9114),x=r(30),R=r(1956),P=r(8006),k=r(1156),E=r(5181),_=r(1236),z=r(3070),I=r(6048),C=r(5296),A=r(206),D=r(1320),W=r(2309),N=r(6200),B=r(3501),F=r(9711),M=r(5112),L=r(6061),q=r(7235),G=r(8003),U=r(9909),$=r(2092).forEach,V=N("hidden"),Z="Symbol",H=M("toPrimitive"),J=U.set,X=U.getterFor(Z),K=Object.prototype,Y=o.Symbol,Q=Y&&Y.prototype,tt=o.TypeError,et=o.QObject,rt=i("JSON","stringify"),nt=_.f,ot=z.f,it=k.f,at=C.f,ut=s([].push),st=W("symbols"),ct=W("op-symbols"),lt=W("string-to-symbol-registry"),ft=W("symbol-to-string-registry"),pt=W("wks"),dt=!et||!et.prototype||!et.prototype.findChild,ht=l&&p((function(){return 7!=x(ot({},"a",{get:function(){return ot(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=nt(K,e);n&&delete K[e],ot(t,e,r),n&&t!==K&&ot(K,e,n)}:ot,yt=function(t,e){var r=st[t]=x(Q);return J(r,{type:Z,tag:t,description:e}),l||(r.description=e),r},vt=function(t,e,r){t===K&&vt(ct,e,r),m(t);var n=w(e);return m(r),d(st,n)?(r.enumerable?(d(t,V)&&t[V][n]&&(t[V][n]=!1),r=x(r,{enumerable:S(0,!1)})):(d(t,V)||ot(t,V,S(1,{})),t[V][n]=!0),ht(t,n,r)):ot(t,n,r)},bt=function(t,e){m(t);var r=j(e),n=R(r).concat(jt(r));return $(n,(function(e){l&&!u(gt,r,e)||vt(t,e,r[e])})),t},gt=function(t){var e=w(t),r=u(at,this,e);return!(this===K&&d(st,e)&&!d(ct,e))&&(!(r||!d(this,e)||!d(st,e)||d(this,V)&&this[V][e])||r)},mt=function(t,e){var r=j(t),n=w(e);if(r!==K||!d(st,n)||d(ct,n)){var o=nt(r,n);return!o||!d(st,n)||d(r,V)&&r[V][n]||(o.enumerable=!0),o}},Ot=function(t){var e=it(j(t)),r=[];return $(e,(function(t){d(st,t)||d(B,t)||ut(r,t)})),r},jt=function(t){var e=t===K,r=it(e?ct:j(t)),n=[];return $(r,(function(t){!d(st,t)||e&&!d(K,t)||ut(n,st[t])})),n};if(f||(Y=function(){if(b(Q,this))throw tt("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?T(arguments[0]):void 0,e=F(t),r=function(t){this===K&&u(r,ct,t),d(this,V)&&d(this[V],e)&&(this[V][e]=!1),ht(this,e,S(1,t))};return l&&dt&&ht(K,e,{configurable:!0,set:r}),yt(e,t)},D(Q=Y.prototype,"toString",(function(){return X(this).tag})),D(Y,"withoutSetter",(function(t){return yt(F(t),t)})),C.f=gt,z.f=vt,I.f=bt,_.f=mt,P.f=k.f=Ot,E.f=jt,L.f=function(t){return yt(M(t),t)},l&&(ot(Q,"description",{configurable:!0,get:function(){return X(this).description}}),c||D(K,"propertyIsEnumerable",gt,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Y}),$(R(pt),(function(t){q(t)})),n({target:Z,stat:!0,forced:!f},{for:function(t){var e=T(t);if(d(lt,e))return lt[e];var r=Y(e);return lt[e]=r,ft[r]=e,r},keyFor:function(t){if(!g(t))throw tt(t+" is not a symbol");if(d(ft,t))return ft[t]},useSetter:function(){dt=!0},useSimple:function(){dt=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!l},{create:function(t,e){return void 0===e?x(t):bt(x(t),e)},defineProperty:vt,defineProperties:bt,getOwnPropertyDescriptor:mt}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Ot,getOwnPropertySymbols:jt}),n({target:"Object",stat:!0,forced:p((function(){E.f(1)}))},{getOwnPropertySymbols:function(t){return E.f(O(t))}}),rt&&n({target:"JSON",stat:!0,forced:!f||p((function(){var t=Y();return"[null]"!=rt([t])||"{}"!=rt({a:t})||"{}"!=rt(Object(t))}))},{stringify:function(t,e,r){var n=A(arguments),o=e;if((v(e)||void 0!==t)&&!g(t))return h(e)||(e=function(t,e){if(y(o)&&(e=u(o,this,t,e)),!g(e))return e}),n[1]=e,a(rt,null,n)}}),!Q[H]){var wt=Q.valueOf;D(Q,H,(function(t){return u(wt,this)}))}G(Y,Z),B[V]=!0},3948:(t,e,r)=>{var n=r(7854),o=r(8324),i=r(8509),a=r(6992),u=r(8880),s=r(5112),c=s("iterator"),l=s("toStringTag"),f=a.values,p=function(t,e){if(t){if(t[c]!==f)try{u(t,c,f)}catch(e){t[c]=f}if(t[l]||u(t,l,e),o[e])for(var r in a)if(t[r]!==a[r])try{u(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in o)p(n[d]&&n[d].prototype,d);p(i,"DOMTokenList")}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n={};return(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}r.d(n,{default:()=>en}),r(2772),r(1703),r(6647),r(9600),r(2707),r(1058),r(3210),r(8304),r(489),r(1539),r(1299),r(2419),r(8011),r(9070),r(2526),r(1817),r(2165),r(6992),r(8783),r(3948),r(1038),r(9653),r(2222),r(4916),r(3123),r(3710),r(9714);var o=function(){function r(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.negativeWord="",this.separatorWord,this.zero,this.spaceSeparator=" "}var n,o;return n=r,(o=[{key:"toCardinal",value:function(t){return t}},{key:"toDecimal",value:function(t){for(var e=Array.from(t),r=[];"0"===e[0];)e.shift(),r.push(this.zero);return r.push(this.toCardinal(parseInt(t,10))),r.join(this.spaceSeparator)}},{key:"floatToCardinal",value:function(e){if(isNaN(Number(e)))throw new TypeError("Invalid number: ".concat(e,", of type: ").concat(t(e)));e=Number(e);var r=[],n=Math.abs(e);if(e%1==0||void 0===this.separatorWord)r=[this.toCardinal(n)];else{var o=n.toString().split("."),i=this.toCardinal(parseInt(o[0],10)),a=o[1],u=this.toDecimal(a);r=[i,this.separatorWord,u]}return e<0&&(r=[this.negativeWord].concat(r)),r.join(this.spaceSeparator)}}])&&e(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),r}();function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e){return u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},u(t,e)}function s(t,e){if(e&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(l,t);var e,r,n,o,i=(n=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=c(n);if(o){var r=c(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return s(this,t)});function l(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this)).integerValue=0,t.decimalValue=0,t.negativeWord="ناقص",t.separatorWord="فاصلة",t.number=0,t.zero="صفر",t.arabicOnes=["","واحد","اثنان","ثلاثة","أربعة","خمسة","ستة","سبعة","ثمانية","تسعة","عشرة","أحد عشر","اثنا عشر","ثلاثة عشر","أربعة عشر","خمسة عشر","ستة عشر","سبعة عشر","ثمانية عشر","تسعة عشر"],t.arabicFeminineOnes=["","إحدى","اثنتان","ثلاث","أربع","خمس","ست","سبع","ثمان","تسع","عشر","إحدى عشرة","اثنتا عشرة","ثلاث عشرة","أربع عشرة","خمس عشرة","ست عشرة","سبع عشرة","ثماني عشرة","تسع عشرة"],t.arabicTens=["عشرون","ثلاثون","أربعون","خمسون","ستون","سبعون","ثمانون","تسعون"],t.arabicHundreds=["","مائة","مئتان","ثلاثمائة","أربعمائة","خمسمائة","ستمائة","سبعمائة","ثمانمائة","تسعمائة"],t.arabicAppendedTwos=["مئتا","ألفا","مليونا","مليارا","تريليونا","كوادريليونا","كوينتليونا","سكستيليونا"],t.arabicTwos=["مئتان","ألفان","مليونان","ملياران","تريليونان","كوادريليونان","كوينتليونان","سكستيليونان"],t.arabicGroup=["مائة","ألف","مليون","مليار","تريليون","كوادريليون","كوينتليون","سكستيليون"],t.arabicAppendedGroup=["","ألفاً","مليوناً","ملياراً","تريليوناً","كوادريليوناً","كوينتليوناً","سكستيليوناً"],t.arabicPluralGroups=["","آلاف","ملايين","مليارات","تريليونات","كوادريليونات","كوينتليونات","سكستيليونات"],t}return e=l,(r=[{key:"digitFeminineStatus",value:function(t){return this.arabicOnes[parseInt(t)]}},{key:"processArabicGroup",value:function(t,e,r){var n=t%100,o=t/100,i="";if(parseInt(o)>0&&(i=0==n&&2==parseInt(o)?this.arabicAppendedTwos[0]:this.arabicHundreds[parseInt(o)]),n>0)if(n<20)2==n&&0==parseInt(o)&&e>0?i=-1!=[2e3,2e6,2e9,2e12,2e15,2e18].indexOf(this.integerValue)?this.arabicAppendedTwos[parseInt(e)]:this.arabicTwos[parseInt(e)]:(""!=i&&(i+=" و "),i+=1==n&&e>0&&0==o?"":1!=n&&2!=n||0!=e&&-1!=e||0!=o||0!=r?this.digitFeminineStatus(parseInt(n),e):"");else{var a=n%10;n=n/10-2,a>0&&(""!=i&&n<4&&(i+=" و "),i+=this.digitFeminineStatus(a,e)),""!=i&&0!=a&&(i+=" و "),i+=this.arabicTens[parseInt(n)]}return i}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;var e=t;this.integerValue=t;for(var r="",n=0;e>0;){var o=parseInt(e%1e3);e=parseInt(e/1e3);var i=this.processArabicGroup(o,n,Math.floor(e));""!=i&&(n>0&&(""!=r&&(r=" و "+r),2!=o&&(r=o%100!=1?o>=3&&o<=10?this.arabicPluralGroups[n]+" "+r:""!=r?this.arabicAppendedGroup[n]+" "+r:this.arabicGroup[n]+" "+r:this.arabicGroup[n]+" "+r)),r=i+" "+r),n+=1}return r.trim()}}])&&a(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),l}(o);function f(t){return(new l).floatToCardinal(t)}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function v(t,e){return v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},v(t,e)}function b(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}r(8862),r(9753),r(7042),r(8309),r(7601),r(5069),r(3112),r(1249);var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=g(n);if(o){var r=g(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return b(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).feminine=!1,t.negativeWord="минус",t.separatorWord="запятая",t.zero="ноль",t.ones={1:"один",2:"два",3:"три",4:"четыре",5:"пять",6:"шесть",7:"семь",8:"восемь",9:"девять"},t.onesFeminine={1:"одна",2:"две",3:"три",4:"четыре",5:"пять",6:"шесть",7:"семь",8:"восемь",9:"девять"},t.tens={0:"десять",1:"одиннадцать",2:"двенадцать",3:"тринадцать",4:"четырнадцать",5:"пятнадцать",6:"шестнадцать",7:"семнадцать",8:"восемнадцать",9:"девятнадцать"},t.twenties={2:"двадцать",3:"тридцать",4:"сорок",5:"пятьдесят",6:"шестьдесят",7:"семьдесят",8:"восемьдесят",9:"девяносто"},t.hundreds={1:"сто",2:"двести",3:"триста",4:"четыреста",5:"пятьсот",6:"шестьсот",7:"семьсот",8:"восемьсот",9:"девятьсот"},t.thousands={1:["тысяча","тысячи","тысяч"],2:["миллион","миллиона","миллионов"],3:["миллиард","миллиарда","миллиардов"],4:["триллион","триллиона","триллионов"],5:["квадриллион","квадриллиона","квадриллионов"],6:["квинтиллион","квинтиллиона","квинтиллионов"],7:["секстиллион","секстиллиона","секстиллионов"],8:["септиллион","септиллиона","септиллионов"],9:["октиллион","октиллиона","октиллионов"],10:["нониллион","нониллиона","нониллионов"]},t}return e=a,r=[{key:"splitByX",value:function(t,e){var r,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=[],i=t.length;if(i>e){var a=i%e;a>0&&(r=t.slice(0,a),n?o.push(parseInt(r)):o.push(r));for(var u=a;u<i;u+=e)r=t.slice(u,u+e),n?o.push(parseInt(r)):o.push(r)}else n?o.push(parseInt(t)):o.push(t);return o}},{key:"getDigits",value:function(t){return Array.from(JSON.stringify(t).padStart(3,"0").slice(-3)).reverse().map((function(t){return parseInt(t)}))}},{key:"pluralize",value:function(t,e){var r=2;return(t%100<10||t%100>20)&&(t%10==1?r=0:t%10<5&&t%10>1&&(r=1)),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o],a=[];if(n-=1,0!=i){var u=d(this.getDigits(i),3),s=u[0],c=u[1],l=u[2];l>0&&e.push(this.hundreds[l]),c>1&&e.push(this.twenties[c]),1==c?e.push(this.tens[s]):s>0&&(a=1==n||this.feminine&&0==n?this.onesFeminine:this.ones,e.push(a[s])),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}],r&&y(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(o);function O(t){return(new m).floatToCardinal(t)}function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function S(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function x(t,e){return x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},x(t,e)}function R(t,e){if(e&&("object"===j(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function P(t){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},P(t)}var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&x(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=P(n);if(o){var r=P(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return R(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="mínus",t.separatorWord="celá",t.zero="nula",t.ones={1:"jedna",2:"dva",3:"tři",4:"čtyři",5:"pět",6:"šest",7:"sedm",8:"osm",9:"devět"},t.tens={0:"deset",1:"jedenáct",2:"dvanáct",3:"třináct",4:"čtrnáct",5:"patnáct",6:"šestnáct",7:"sedmnáct",8:"osmnáct",9:"devatenáct"},t.twenties={2:"dvacet",3:"třicet",4:"čtyřicet",5:"padesát",6:"šedesát",7:"sedmdesát",8:"osmdesát",9:"devadesát"},t.hundreds={1:"sto",2:"dvěstě",3:"třista",4:"čtyřista",5:"pětset",6:"šestset",7:"sedmset",8:"osmset",9:"devětset"},t.thousands={1:["tisíc","tisíce","tisíc"],2:["milion","miliony","milionů"],3:["miliarda","miliardy","miliard"],4:["bilion","biliony","bilionů"],5:["biliarda","biliardy","biliard"],6:["trilion","triliony","trilionů"],7:["triliarda","triliardy","triliard"],8:["kvadrilion","kvadriliony","kvadrilionů"],9:["kvadriliarda","kvadriliardy","kvadriliard"],10:["quintillion","quintilliony","quintillionů"]},t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return 1==t?r=0:t%10<5&&t%10>1&&(t%100<10||t%100>20)&&(r=1),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=w(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];c>0&&e.push(this.hundreds[c]),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&!(n>0&&1==i)&&e.push(this.ones[u]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&S(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(m);function E(t){return(new k).floatToCardinal(t)}function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function A(t,e){return A=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},A(t,e)}function D(t,e){if(e&&("object"===_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function W(t){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},W(t)}r(7941),r(6833),r(8702);var N=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&A(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=W(n);if(o){var r=W(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return D(this,t)});function a(){return I(this,a),i.apply(this,arguments)}return e=a,(r=[{key:"getValueFromCards",value:function(t){for(var e=0;e<this.cards.length;e++)if(Object.prototype.hasOwnProperty.call(this.cards[e],t))return this.cards[e][t]}},{key:"splitNum",value:function(t){for(var e=0;e<this.cards.length;e++)if("."!=this.cards[e][0]){var r=parseInt(Object.keys(this.cards[e])[0],10);if(!(r>t)){var n=[],o=void 0,i=void 0;if(0==t?(o=1,i=0):(o=Math.floor(t/r),i=t%r),1==o)n.push(z({},this.getValueFromCards(1),1));else{if(o==t)return[(this.getValueFromCards(r),o*r)];n.push(this.splitNum(o))}return n.push(z({},this.getValueFromCards(r),r)),i&&n.push(this.splitNum(i)),n}}}},{key:"scanNum",value:function(t){var e=this;return t.split("").map((function(t){return e.getValueFromCards(parseInt(t,10))}))}},{key:"clean",value:function(t){for(var e=t;1!=t.length;){e=[];var r=t[0],n=t[1];if(Array.isArray(r)||Array.isArray(n))for(var o=0;o<t.length;o++){var i=t[o];Array.isArray(i)?1==i.length?e.push(i[0]):e.push(this.clean(i)):e.push(i)}else e.push(this.merge(r,n)),t.slice(2).length>0&&e.push(t.slice(2));t=e}return e[0]}},{key:"postClean",value:function(t){return t.trimRight()}},{key:"toCardinal",value:function(t){var e=this.splitNum(t),r=Object.keys(this.clean(e))[0];return this.postClean(r)}}])&&C(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(o);function B(t){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B(t)}function F(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function L(t,e){return L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},L(t,e)}function q(t,e){if(e&&("object"===B(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function G(t){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},G(t)}var U=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&L(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=G(n);if(o){var r=G(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return q(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="komma",t.zero="null",t.cards=[{"1000000000000000000000000000":"Quadrilliarde"},{"1000000000000000000000000":"Quadrillion"},{"1000000000000000000000":"Trilliarde"},{1e18:"Trillion"},{1e15:"Billiarde"},{1e12:"Billion"},{1e9:"Milliarde"},{1e6:"Million"},{1e3:"tausend"},{100:"hundert"},{90:"neunzig"},{80:"achtzig"},{70:"siebzig"},{60:"sechzig"},{50:"fünfzig"},{40:"vierzig"},{30:"dreißig"},{20:"zwanzig"},{19:"neunzehn"},{18:"achtzehn"},{17:"siebzehn"},{16:"sechzehn"},{15:"fünfzehn"},{14:"vierzehn"},{13:"dreizehn"},{12:"zwölf"},{11:"elf"},{10:"zehn"},{9:"neun"},{8:"acht"},{7:"sieben"},{6:"sechs"},{5:"fünf"},{4:"vier"},{3:"drei"},{2:"zwei"},{1:"eins"},{0:"null"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(100==i||1e3==i)return F({},"ein".concat(n),i);if(i<1e6)return F({},n,i);r="eine"}var a=0;if(i>o)i>=1e6&&(o>1&&("e"==n[n.length-1]?n+="n":n+="en"),r+=" "),a=o*i;else{if(i<10&&o>10&&o<100){1==i&&(n="ein");var u=n;n=r,r="".concat(u,"und")}else o>=1e6&&(r+=" ");a=o+i}return F({},"".concat(r).concat(n),a)}}])&&M(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function $(t){return(new U).floatToCardinal(t)}function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function Z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function H(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function J(t,e){return J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},J(t,e)}function X(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function K(t){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},K(t)}var Y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&J(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=K(n);if(o){var r=K(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return X(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="komma",t.zero="nul",t.ordFlag=!1,t.cards=[{"1000000000000000000000000000":"quadrillarder"},{"1000000000000000000000000":"quadrillioner"},{"1000000000000000000000":"trillarder"},{1e18:"trillioner"},{1e15:"billarder"},{1e12:"billioner"},{1e9:"millarder"},{1e6:"millioner"},{1e3:"tusind"},{100:"hundrede"},{90:"halvfems"},{80:"firs"},{70:"halvfjerds"},{60:"treds"},{50:"halvtreds"},{40:"fyrre"},{30:"tredive"},{20:"tyve"},{19:"nitten"},{18:"atten"},{17:"sytten"},{16:"seksten"},{15:"femten"},{14:"fjorten"},{13:"tretten"},{12:"tolv"},{11:"elleve"},{10:"ti"},{9:"ni"},{8:"otte"},{7:"syv"},{6:"seks"},{5:"fem"},{4:"fire"},{3:"tre"},{2:"to"},{1:"et"},{0:"nul"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]),a=1;if(100!=i&&1e3!=i||(e=Z({},"et".concat(n),i)),1==o){if(i<1e6||this.ordFlag)return e;r="en"}if(i>o)i>=1e6&&(r+=" "),a=o*i;else{if(o>=100&&o<1e3?r+=" og ":o>=1e3&&o<=1e5&&(r+="e og "),i<10&&10<o&&o<100){1==i&&(n="en");var u=n;n=r,r=u+"og"}else o>=1e6&&(r+=" ");a=o+i}return Z({},"".concat(r+n),a)}}])&&H(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function Q(t){return(new Y).floatToCardinal(t)}function tt(t){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(t)}function et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function nt(t,e){return nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},nt(t,e)}function ot(t,e){if(e&&("object"===tt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function it(t){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},it(t)}var at=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&nt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=it(n);if(o){var r=it(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return ot(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="point",t.zero="zero",t.cards=[{"1000000000000000000000000000":"octillion"},{"1000000000000000000000000":"septillion"},{"1000000000000000000000":"sextillion"},{1e18:"quintillion"},{1e15:"quadrillion"},{1e12:"trillion"},{1e9:"billion"},{1e6:"million"},{1e3:"thousand"},{100:"hundred"},{90:"ninety"},{80:"eighty"},{70:"seventy"},{60:"sixty"},{50:"fifty"},{40:"forty"},{30:"thirty"},{20:"twenty"},{19:"nineteen"},{18:"eighteen"},{17:"seventeen"},{16:"sixteen"},{15:"fifteen"},{14:"fourteen"},{13:"thirteen"},{12:"twelve"},{11:"eleven"},{10:"ten"},{9:"nine"},{8:"eight"},{7:"seven"},{6:"six"},{5:"five"},{4:"four"},{3:"three"},{2:"two"},{1:"one"},{0:"zero"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=parseInt(Object.values(t)[0]),o=Object.keys(e)[0],i=parseInt(Object.values(e)[0]);return 1==n&&i<100?et({},o,i):100>n&&n>i?et({},"".concat(r,"-").concat(o),n+i):n>=100&&100>i?et({},"".concat(r," and ").concat(o),n+i):et({},"".concat(r," ").concat(o),i>n?n*i:n+i)}}])&&rt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function ut(t){return(new at).floatToCardinal(t)}function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ft(t,e){return ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ft(t,e)}function pt(t,e){if(e&&("object"===st(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},dt(t)}var ht=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ft(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=dt(n);if(o){var r=dt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return pt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).genderStem="o",t.negativeWord="menos",t.separatorWord="punto",t.zero="cero",t.cards=[{"1000000000000000000000000":"cuatrillón"},{1e18:"trillón"},{1e12:"billón"},{1e6:"millón"},{1e3:"mil"},{100:"cien"},{90:"noventa"},{80:"ochenta"},{70:"setenta"},{60:"sesenta"},{50:"cincuenta"},{40:"cuarenta"},{30:"treinta"},{29:"veintinueve"},{28:"veintiocho"},{27:"veintisiete"},{26:"veintiséis"},{25:"veinticinco"},{24:"veinticuatro"},{23:"veintitrés"},{22:"veintidós"},{21:"veintiuno"},{20:"veinte"},{19:"diecinueve"},{18:"dieciocho"},{17:"diecisiete"},{16:"dieciseis"},{15:"quince"},{14:"catorce"},{13:"trece"},{12:"doce"},{11:"once"},{10:"diez"},{9:"nueve"},{8:"ocho"},{7:"siete"},{6:"seis"},{5:"cinco"},{4:"cuatro"},{3:"tres"},{2:"dos"},{1:"uno"},{0:"cero"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(i<1e6)return ct({},n,i);r="un"}else 100==o&&i%1e3!=0&&(r+="t"+this.genderStem);return i<o?ct({},o<100?"".concat(r," y ").concat(n):"".concat(r," ").concat(n),o+i):(i%1e6==0&&o>1&&(n=n.slice(0,-3)+"lones"),100==i?(5==o?(r="quinien",n=""):7==o?r="sete":9==o&&(r="nove"),n+="t"+this.genderStem+"s"):n=" "+n,ct({},"".concat(r).concat(n),o*i))}}])&<(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function yt(t){return(new ht).floatToCardinal(t)}function vt(t){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(t)}function bt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gt(t,e){return gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},gt(t,e)}function mt(t,e){if(e&&("object"===vt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ot(t){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ot(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&>(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Ot(n);if(o){var r=Ot(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return mt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="منفى",t.separatorWord="ممیّز",t.zero="صفر",t.namedNumbers={0:"صفر",1:"یک",2:"دو",3:"سه",4:"چهار",5:"پنج",6:"شش",7:"هفت",8:"هشت",9:"نه",10:"ده",11:"یازده",12:"دوازده",13:"سیزده",14:"چهارده",15:"پانزده",16:"شانزده",17:"هفده",18:"هجده",19:"نوزده",20:"بیست",30:"سی",40:"چهل",50:"پنجاه",60:"شصت",70:"هفتاد",80:"هشتاد",90:"نود",100:"صد",200:"دویست",300:"سيصد",400:"چهار صد",500:"پانصد",600:"ششصد",700:"هفتصد",800:"هشتصد",900:"نهصد",1e3:"هزار",1e6:"میلیون"},t}return e=a,(r=[{key:"toCardinal",value:function(t){if(this.namedNumbers[t])return this.namedNumbers[t];if(t>20&&t<100){var e=t%10,r=t-e;return"".concat(this.namedNumbers[r]," و ").concat(this.namedNumbers[e])}if(t>100&&t<1e3){var n=100*parseInt(t/100),o=this.toCardinal(t-n);return"".concat(this.namedNumbers[n]," و ").concat(o)}if(t>1e3&&t<1e6){var i=parseInt(t/1e3),a=(1===i?"":this.toCardinal(i))+" "+this.namedNumbers[1e3],u=t-1e3*i,s=0===u?"":" "+this.toCardinal(u);return"".concat(a).concat(s)}if(t>1e6){var c=parseInt(t/1e6),l=this.toCardinal(c)+" "+this.namedNumbers[1e6],f=t-1e6*c,p=0===f?"":" و "+this.toCardinal(f);return"".concat(l).concat(p)}}}])&&bt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(o);function wt(t){return(new jt).floatToCardinal(t)}function Tt(t){return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tt(t)}function St(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Rt(t,e){return Rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Rt(t,e)}function Pt(t,e){if(e&&("object"===Tt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},kt(t)}var Et=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Rt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=kt(n);if(o){var r=kt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Pt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="moins",t.separatorWord="virgule",t.zero="zéro",t.cards=[{"1000000000000000000000000000":"quadrilliard"},{"1000000000000000000000000":"quadrillion"},{"1000000000000000000000":"trilliard"},{1e18:"trillion"},{1e15:"billiard"},{1e12:"billion"},{1e9:"milliard"},{1e6:"million"},{1e3:"mille"},{100:"cent"},{80:"quatre-vingts"},{60:"soixante"},{50:"cinquante"},{40:"quarante"},{30:"trente"},{20:"vingt"},{19:"dix-neuf"},{18:"dix-huit"},{17:"dix-sept"},{16:"seize"},{15:"quinze"},{14:"quatorze"},{13:"treize"},{12:"douze"},{11:"onze"},{10:"dix"},{9:"neuf"},{8:"huit"},{7:"sept"},{6:"six"},{5:"cinq"},{4:"quatre"},{3:"trois"},{2:"deux"},{1:"un"},{0:"zéro"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(i<1e6)return St({},n,i)}else((o-80)%100==0||o%100==0&&o<1e3)&&i<1e6&&"s"==r[r.length-1]&&(r=r.slice(0,-1)),o<1e3&&1e3!=i&&"s"!=n[n.length-1]&&i%100==0&&(n+="s");return i<o&&o<100?St({},i%10==1&&80!=o?"".concat(r," et ").concat(n):"".concat(r,"-").concat(n),o+i):St({},"".concat(r," ").concat(n),i>o?o*i:o+i)}}])&&xt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function _t(t){return(new Et).floatToCardinal(t)}function zt(t){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zt(t)}function It(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ct(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ct(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function At(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Dt(t,e){return Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Dt(t,e)}function Wt(t,e){if(e&&("object"===zt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Nt(t)}var Bt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Nt(n);if(o){var r=Nt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Wt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="מינוס",t.separatorWord,t.zero="אפס",t.and="ו",t.ones={1:"אחת",2:"שתים",3:"שלש",4:"ארבע",5:"חמש",6:"שש",7:"שבע",8:"שמונה",9:"תשע"},t.tens={0:"עשר",1:"אחת עשרה",2:"שתים עשרה",3:"שלש עשרה",4:"ארבע עשרה",5:"חמש עשרה",6:"שש עשרה",7:"שבע עשרה",8:"שמונה עשרה",9:"תשע עשרה"},t.twenties={2:"עשרים",3:"שלשים",4:"ארבעים",5:"חמישים",6:"ששים",7:"שבעים",8:"שמונים",9:"תשעים"},t.hundreds={1:"מאה",2:"מאתיים",3:"מאות"},t.thousands={1:"אלף",2:"אלפיים",3:"שלשת אלפים",4:"ארבעת אלפים",5:"חמשת אלפים",6:"ששת אלפים",7:"שבעת אלפים",8:"שמונת אלפים",9:"תשעת אלפים"},t}return e=a,(r=[{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=It(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];n>0?e.push(this.thousands[u]):(c>0&&(c<=2?e.push(this.hundreds[c]):e.push(this.ones[c]+" "+this.hundreds[3])),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&!(n>0&&1==i)&&e.push(this.ones[u]),n>0&&e.push(this.thousands[n]))}}return e.length>1&&(e[e.length-1]=this.and+e[e.length-1]),e.join(" ")}}])&&At(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(m);function Ft(t){return(new Bt).floatToCardinal(t)}function Mt(t){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(t)}function Lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Gt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ut(t,e){return Ut=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ut(t,e)}function $t(t,e){if(e&&("object"===Mt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Vt(t){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Vt(t)}var Zt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ut(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Vt(n);if(o){var r=Vt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return $t(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="zarez",t.zero="nula",t.ones={1:["jedan","jedna"],2:["dva","dvije"],3:["tri","tri"],4:["četiri","četiri"],5:["pet","pet"],6:["šest","šest"],7:["sedam","sedam"],8:["osam","osam"],9:["devet","devet"]},t.tens={0:"deset",1:"jedanaest",2:"dvanaest",3:"trinaest",4:"četrnaest",5:"petnaest",6:"šesnaest",7:"sedamnaest",8:"osamnaest",9:"devetnaest"},t.twenties={2:"dvadeset",3:"trideset",4:"četrdeset",5:"pedeset",6:"šezdeset",7:"sedamdeset",8:"osamdeset",9:"devedeset"},t.hundreds={1:"sto",2:"dvjesto",3:"tristo",4:"četiristo",5:"petsto",6:"šesto",7:"sedamsto",8:"osamsto",9:"devetsto"},t.SCALE={0:["","","",!1],1:["tisuća","tisuće","tisuća",!0],2:["milijun","milijuna","milijuna",!1],3:["milijarda","milijarde","milijarda",!1],4:["bilijun","bilijuna","bilijuna",!1],5:["bilijarda","bilijarde","bilijarda",!1],6:["trilijun","trilijuna","trilijuna",!1],7:["trilijarda","trilijarde","trilijarda",!1],8:["kvadrilijun","kvadrilijuna","kvadrilijuna",!1],9:["kvadrilijarda","kvadrilijarde","kvadrilijarda",!1],10:["kvintilijun","kvintilijuna","kvintilijuna",!1]},t.feminine=!1,t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return(t%100<10||t%100>20)&&(t%10==1?r=0:t%10>1&&t%10<5&&(r=1)),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];n-=1;var a=Lt(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];if(c>0&&e.push(this.hundreds[c]),s>1&&e.push(this.twenties[s]),1==s)e.push(this.tens[u]);else if(u>0){var l=this.feminine||this.SCALE[n][3]?1:0;e.push(this.ones[u][l])}n>0&&0!=i&&e.push(this.pluralize(i,this.SCALE[n]))}return e.join(" ")}}])&&Gt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(m);function Ht(t){return(new Zt).floatToCardinal(t)}function Jt(t){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jt(t)}function Xt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Kt(t,e){return Kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Kt(t,e)}function Yt(t,e){if(e&&("object"===Jt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Qt(t){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Qt(t)}var te=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Kt(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Qt(n);if(o){var r=Qt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Yt(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="mínusz",t.separatorWord="egész",t.cards=[{"1000000000000000000000000000":"quadrilliárd"},{"1000000000000000000000000":"quadrillió"},{"1000000000000000000000":"trilliárd"},{1e18:"trillió"},{1e15:"billiárd"},{1e12:"billió"},{1e9:"milliárd"},{1e6:"millió"},{1e3:"ezer"},{100:"száz"},{90:"kilencven"},{80:"nyolcvan"},{70:"hetven"},{60:"hatvan"},{50:"ötven"},{40:"negyven"},{30:"harminc"},{29:"huszonkilenc"},{28:"huszonnyolc"},{27:"huszonhét"},{26:"huszonhat"},{25:"huszonöt"},{24:"huszonnégy"},{23:"huszonhárom"},{22:"huszonkettő"},{21:"huszonegy"},{20:"húsz"},{19:"tizenkilenc"},{18:"tizennyolc"},{17:"tizenhét"},{16:"tizenhat"},{15:"tizenöt"},{14:"tizennégy"},{13:"tizenhárom"},{12:"tizenkettő"},{11:"tizenegy"},{10:"tíz"},{9:"kilenc"},{8:"nyolc"},{7:"hét"},{6:"hat"},{5:"öt"},{4:"négy"},{3:"három"},{2:"kettő"},{1:"egy"},{0:"nulla"}],t.zero="nulla",t}return e=a,r=[{key:"tensToCardinal",value:function(t){if(this.getValueFromCards(t))return this.getValueFromCards(t);var e=Math.floor(t/10),r=t%10;return this.getValueFromCards(10*e)+this.toCardinal(r)}},{key:"hundredsToCardinal",value:function(t){var e=Math.floor(t/100),r="száz";return 1!=e&&(r=this.toCardinal(e,"")+r),r+this.toCardinal(t%100,"")}},{key:"thousandsToCardinal",value:function(t){var e=Math.floor(t/1e3),r="ezer";1!=e&&(r=this.toCardinal(e,"")+r);var n=this.toCardinal(t%1e3,"");return r+(t<=2e3||""===n?"":"-")+n}},{key:"bigNumberToCardinal",value:function(t){var e=String(t).length,r=e%3!=0?e:e-2,n=Math.pow(10,3*Math.floor(r/3)),o=this.toCardinal(Math.floor(t/n),""),i=this.toCardinal(t%n,""),a=""!==i?"-"+i:"";return o+this.getValueFromCards(n)+a}},{key:"toCardinal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.zero;return 0==t?e:""==e&&2==t?"két":t<30?this.getValueFromCards(t):t<100?this.tensToCardinal(t):t<1e3?this.hundredsToCardinal(t):t<1e6?this.thousandsToCardinal(t):this.bigNumberToCardinal(t)}}],r&&Xt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function ee(t){return(new te).floatToCardinal(t)}function re(t){return re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},re(t)}function ne(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function oe(t,e){return oe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},oe(t,e)}function ie(t,e){if(e&&("object"===re(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ae(t){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ae(t)}var ue=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&oe(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ae(n);if(o){var r=ae(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return ie(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="min",t.separatorWord="koma",t.zero="nol",t.base={0:[],1:["satu"],2:["dua"],3:["tiga"],4:["empat"],5:["lima"],6:["enam"],7:["tujuh"],8:["delapan"],9:["sembilan"]},t.thousands={3:"ribu",6:"juta",9:"miliar",12:"triliun",15:"kuadriliun",18:"kuantiliun",21:"sekstiliun",24:"septiliun",27:"oktiliun",30:"noniliun",33:"desiliun"},t}return e=a,(r=[{key:"splitBy3",value:function(t){var e,r=[],n=String(t),o=n.length;if(o<3)r.push([n]);else{var i=o%3;i>0&&(e=[n.slice(0,i)],r.push(e));for(var a=i;a<o;a+=3){var u=[n.slice(a,a+3)];r.push(u)}}return r}},{key:"spell",value:function(t){var e,r=[],n=t[0];e=1===n[0].length?"0"===n[0]?["nol"]:this.base[parseInt(n[0])]:2===n[0].length?this.getTens(n[0]):this.getHundreds(n[0][0]).concat(this.getTens(n[0].slice(1,3))),r=r.concat([[n[0],e]]);for(var o=1;o<t.length;o++){var i=t[o];e=this.getHundreds(i[0][0]).concat(this.getTens(i[0].slice(1,3))),i=i.concat([e]),r=r.concat([i])}return r}},{key:"getHundreds",value:function(t){return"1"===t?["seratus"]:"0"===t?[]:this.base[parseInt(t)].concat(["ratus"])}},{key:"getTens",value:function(t){return"1"===t[0]?"0"===t[1]?["sepuluh"]:"1"===t[1]?["sebelas"]:this.base[parseInt(t[1])].concat(["belas"]):"0"===t[0]?this.base[parseInt(t[1])]:this.base[parseInt(t[0])].concat(["puluh"]).concat([this.base[parseInt(t[1])]])}},{key:"join",value:function(t){var e=[],r=t.length-1,n=[t[0]],o=0;1===r&&"1"===n[0][0]&&(e.push("seribu"),o=1);for(var i=o;i<r+1;i++)if(e=e.concat(t[i][1]),t[i][1].length){if(i===r)break;e=e.concat([this.thousands[3*(r-i)]])}return e.join(" ")}},{key:"toCardinal",value:function(t){return this.join(this.spell(this.splitBy3(t))).trim()}}])&&ne(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(o);function se(t){return(new ue).floatToCardinal(t)}function ce(t){return ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ce(t)}function le(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function fe(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function pe(t,e){return pe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},pe(t,e)}function de(t,e){if(e&&("object"===ce(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function he(t){return he=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},he(t)}r(5306),r(6541),r(189),r(6699),r(2023);var ye=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&pe(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=he(n);if(o){var r=he(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return de(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="meno",t.separatorWord="virgola",t.zero="zero",t.cardinalWords=[t.zero,"uno","due","tre","quattro","cinque","sei","sette","otto","nove","dieci","undici","dodici","tredici","quattordici","quindici","sedici","diciassette","diciotto","diciannove"],t.strTens={2:"venti",3:"trenta",4:"quaranta",6:"sessanta"},t.exponentPrefixes=[t.zero,"m","b","tr","quadr","quint","sest","sett","ott","nov","dec"],t}return e=a,(r=[{key:"accentuate",value:function(t){return t.split(" ").map((function(t){return"tre"==t.slice(-3)&&t.length>3?t.replace(/tré/g,"tre").slice(0,-3)+"tré":t.replace(/tré/g,"tre")})).join(" ")}},{key:"omitIfZero",value:function(t){return t==this.zero?"":t}},{key:"phoneticContraction",value:function(t){return t.replace(/oo/g,"o").replace(/ao/g,"o").replace(/io/g,"o").replace(/au/g,"u").replace(/iu/g,"u")}},{key:"tensToCardinal",value:function(t){var e,r=Math.floor(t/10),n=t%10;e=Object.prototype.hasOwnProperty.call(this.strTens,r)?this.strTens[r]:this.cardinalWords[r].slice(0,-1)+"anta";var o=this.omitIfZero(this.cardinalWords[n]);return this.phoneticContraction(e+o)}},{key:"hundredsToCardinal",value:function(t){var e=Math.floor(t/100),r="cento";1!=e&&(r=this.cardinalWords[e]+r);var n=this.omitIfZero(this.toCardinal(t%100));return this.phoneticContraction(r+n)}},{key:"thousandsToCardinal",value:function(t){var e=Math.floor(t/1e3);return(1==e?"mille":this.toCardinal(e)+"mila")+this.omitIfZero(this.toCardinal(t%1e3))}},{key:"exponentLengthToString",value:function(t){var e=this.exponentPrefixes[Math.floor(t/6)];return t%6==0?e+"ilione":e+"iliardo"}},{key:"bigNumberToCardinal",value:function(t){var e,r,n,o,i,a=Array.from(String(t)),u=a.length%3==0?3:a.length%3,s=a.slice(0,u),c=a.slice(u),l=this.exponentLengthToString(c.length);return"1"==s.toString()?e="un ":(e=this.toCardinal(parseInt(s.join(""))),l=" "+l.slice(0,-1)+"i"),n=new Set(c),o=new Set(["0"]),n.size===o.size&&(i=n,function(t){if(Array.isArray(t))return le(t)}(i)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return le(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?le(t,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).every((function(t){return o.has(t)}))?r="":(r=this.toCardinal(parseInt(c.join("")))).includes(" e ")?l+=", ":l+=" e ",e+l+r}},{key:"toCardinal",value:function(t){var e;return e=t<20?this.cardinalWords[t]:t<100?this.tensToCardinal(t):t<1e3?this.hundredsToCardinal(t):t<1e6?this.thousandsToCardinal(t):this.bigNumberToCardinal(t),this.accentuate(e)}}])&&fe(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function ve(t){return(new ye).floatToCardinal(t)}function be(t){return be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(t)}function ge(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function me(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Oe(t,e){return Oe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Oe(t,e)}function je(t,e){if(e&&("object"===be(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},we(t)}var Te=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Oe(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=we(n);if(o){var r=we(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return je(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="마이너스",t.separatorWord="점",t.zero="영",t.cards=[{"10000000000000000000000000000":"양"},{"1000000000000000000000000":"자"},{1e20:"해"},{1e16:"경"},{1e12:"조"},{1e8:"억"},{1e4:"만"},{1e3:"천"},{100:"백"},{10:"십"},{9:"구"},{8:"팔"},{7:"칠"},{6:"육"},{5:"오"},{4:"사"},{3:"삼"},{2:"이"},{1:"일"},{0:"영"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);return 1==o&&i<=1e4?ge({},n,i):1e4>o&&o>i?ge({},"".concat(r).concat(n),o+i):o>=1e4&&o>i?ge({},"".concat(r," ").concat(n),o+i):ge({},"".concat(r).concat(n),o*i)}}])&&me(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function Se(t){return(new Te).floatToCardinal(t)}function xe(t){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xe(t)}function Re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Pe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pe(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ke(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ee(t,e){return Ee=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ee(t,e)}function _e(t,e){if(e&&("object"===xe(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ze(t){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ze(t)}var Ie=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ee(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ze(n);if(o){var r=ze(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return _e(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="kablelis",t.feminine=!1,t.zero="nulis",t.ones={1:"vienas",2:"du",3:"trys",4:"keturi",5:"penki",6:"šeši",7:"septyni",8:"aštuoni",9:"devyni"},t.onesFeminine={1:"viena",2:"dvi",3:"trys",4:"keturios",5:"penkios",6:"šešios",7:"septynios",8:"aštuonios",9:"devynios"},t.tens={0:"dešimt",1:"vienuolika",2:"dvylika",3:"trylika",4:"keturiolika",5:"penkiolika",6:"šešiolika",7:"septyniolika",8:"aštuoniolika",9:"devyniolika"},t.twenties={2:"dvidešimt",3:"trisdešimt",4:"keturiasdešimt",5:"penkiasdešimt",6:"šešiasdešimt",7:"septyniasdešimt",8:"aštuoniasdešimt",9:"devyniasdešimt"},t.hundreds=["šimtas","šimtai"],t.thousands={1:["tūkstantis","tūkstančiai","tūkstančių"],2:["milijonas","milijonai","milijonų"],3:["milijardas","milijardai","milijardų"],4:["trilijonas","trilijonai","trilijonų"],5:["kvadrilijonas","kvadrilijonai","kvadrilijonų"],6:["kvintilijonas","kvintilijonai","kvintilijonų"],7:["sikstilijonas","sikstilijonai","sikstilijonų"],8:["septilijonas","septilijonai","septilijonų"],9:["oktilijonas","oktilijonai","oktilijonų"],10:["naintilijonas","naintilijonai","naintilijonų"]},t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=1,n=Re(this.getDigits(t),2),o=n[0];return 1==n[1]||0==o||0==t?r=2:1==o&&(r=0),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=Re(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];c>0&&(e.push(this.ones[c]),c>1?e.push(this.hundreds[1]):e.push(this.hundreds[0])),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&((1==n||this.feminine&&0==n)&&t<1e3?e.push(this.onesFeminine[u]):e.push(this.ones[u])),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&ke(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(m);function Ce(t){return(new Ie).floatToCardinal(t)}function Ae(t){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ae(t)}function De(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return We(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?We(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ne(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Be(t,e){return Be=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Be(t,e)}function Fe(t,e){if(e&&("object"===Ae(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Me(t){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Me(t)}var Le=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Be(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Me(n);if(o){var r=Me(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Fe(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="mīnus",t.separatorWord="komats",t.zero="nulle",t.ones={1:"viens",2:"divi",3:"trīs",4:"četri",5:"pieci",6:"seši",7:"septiņi",8:"astoņi",9:"deviņi"},t.tens={0:"desmit",1:"vienpadsmit",2:"divpadsmit",3:"trīspadsmit",4:"četrpadsmit",5:"piecpadsmit",6:"sešpadsmit",7:"septiņpadsmit",8:"astoņpadsmit",9:"deviņpadsmit"},t.twenties={2:"divdesmit",3:"trīsdesmit",4:"četrdesmit",5:"piecdesmit",6:"sešdesmit",7:"septiņdesmit",8:"astoņdesmit",9:"deviņdesmit"},t.hundreds=["simts","simti","simtu"],t.thousands={1:["tūkstotis","tūkstoši","tūkstošu"],2:["miljons","miljoni","miljonu"],3:["miljards","miljardi","miljardu"],4:["triljons","triljoni","triljonu"],5:["kvadriljons","kvadriljoni","kvadriljonu"],6:["kvintiljons","kvintiljoni","kvintiljonu"],7:["sikstiljons","sikstiljoni","sikstiljonu"],8:["septiljons","septiljoni","septiljonu"],9:["oktiljons","oktiljoni","oktiljonu"],10:["nontiljons","nontiljoni","nontiljonu"]},t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return 0!=t&&(r=t%10==1&&t%100!=11?0:1),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=De(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];c>0&&(1==c&&0==s&&u>0?e.push(this.hundreds[2]):c>1?(e.push(this.ones[c]),e.push(this.hundreds[1])):e.push(this.hundreds[0])),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&!(n>0&&1==i)&&e.push(this.ones[u]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&Ne(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(m);function qe(t){return(new Le).floatToCardinal(t)}function Ge(t){return Ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ge(t)}function Ue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ve(){return Ve="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=Ze(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},Ve.apply(this,arguments)}function Ze(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Xe(t)););return t}function He(t,e){return He=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},He(t,e)}function Je(t,e){if(e&&("object"===Ge(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Xe(t){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Xe(t)}r(9601),r(7852),r(4819),r(5003);var Ke=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&He(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Xe(n);if(o){var r=Xe(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Je(this,t)});function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this)).negativeWord="min",e.separatorWord="komma",e.zero="nul",e.options=Object.assign({includeOptionalAnd:!1,noHundredPairs:!1},t),e.cards=[{"1000000000000000000000000000":"quadriljard"},{"1000000000000000000000000":"quadriljoen"},{"1000000000000000000000":"triljard"},{1e18:"triljoen"},{1e15:"biljard"},{1e12:"biljoen"},{1e9:"miljard"},{1e6:"miljoen"},{1e3:"duizend"},{100:"honderd"},{90:"negentig"},{80:"tachtig"},{70:"zeventig"},{60:"zestig"},{50:"vijftig"},{40:"veertig"},{30:"dertig"},{20:"twintig"},{19:"negentien"},{18:"achttien"},{17:"zeventien"},{16:"zestien"},{15:"vijftien"},{14:"veertien"},{13:"dertien"},{12:"twaalf"},{11:"elf"},{10:"tien"},{9:"negen"},{8:"acht"},{7:"zeven"},{6:"zes"},{5:"vijf"},{4:"vier"},{3:"drie"},{2:"twee"},{1:"een"},{0:"nul"}],e}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(i<1e6)return Ue({},n,i);r="een"}var a=0;if(i>o)i>=1e6?r+=" ":i>100&&(n+=" "),a=o*i;else{if(i<10&&o>10&&o<100){var u=n;n=r;var s=u.endsWith("e")?"ën":"en";r="".concat(u).concat(s)}else i<13&&o<1e3&&this.options.includeOptionalAnd?r="".concat(r,"en"):i<13&&o>=1e3&&this.options.includeOptionalAnd?n=" en ".concat(n):(o>=1e6||1e3===o)&&(r+=" ");a=o+i}return Ue({},"".concat(r).concat(n),a)}},{key:"toCardinal",value:function(t){if(t>=1100&&t<1e4&&!this.options.noHundredPairs){var e=Math.floor(t/100),r=t%100;if(e%10!=0)return Ve(Xe(a.prototype),"toCardinal",this).call(this,e)+"honderd"+(r?(this.options.includeOptionalAnd?" en ":" ")+Ve(Xe(a.prototype),"toCardinal",this).call(this,r):"")}return Ve(Xe(a.prototype),"toCardinal",this).call(this,t)}}])&&$e(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function Ye(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Ke(e).floatToCardinal(t)}function Qe(t){return Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qe(t)}function tr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function er(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function rr(t,e){return rr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},rr(t,e)}function nr(t,e){if(e&&("object"===Qe(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function or(t){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},or(t)}var ir=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&rr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=or(n);if(o){var r=or(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return nr(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="komma",t.zero="null",t.cards=[{"1000000000000000000000000000000000":"quintillard"},{"1000000000000000000000000000000":"quintillion"},{"1000000000000000000000000000":"quadrillard"},{"1000000000000000000000000":"quadrillion"},{"1000000000000000000000":"trillard"},{1e18:"trillion"},{1e15:"billard"},{1e12:"billion"},{1e9:"millard"},{1e6:"million"},{1e3:"tusen"},{100:"hundre"},{90:"nitti"},{80:"åtti"},{70:"sytti"},{60:"seksti"},{50:"femti"},{40:"førti"},{30:"tretti"},{20:"tjue"},{19:"nitten"},{18:"atten"},{17:"sytten"},{16:"seksten"},{15:"femten"},{14:"fjorten"},{13:"tretten"},{12:"tolv"},{11:"elleve"},{10:"ti"},{9:"ni"},{8:"åtte"},{7:"syv"},{6:"seks"},{5:"fem"},{4:"fire"},{3:"tre"},{2:"to"},{1:"en"},{0:"null"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);return 1==o&&i<100?tr({},n,i):o<100&&o>i?tr({},"".concat(r,"-").concat(n),o+i):o>=100&&i<100?tr({},"".concat(r," og ").concat(n),o+i):i>o?tr({},"".concat(r," ").concat(n),o*i):tr({},"".concat(r,", ").concat(n),o+i)}}])&&er(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function ar(t){return(new ir).floatToCardinal(t)}function ur(t){return ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ur(t)}function sr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return cr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cr(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function lr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function fr(t,e){return fr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},fr(t,e)}function pr(t,e){if(e&&("object"===ur(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function dr(t){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},dr(t)}var hr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&fr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=dr(n);if(o){var r=dr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return pr(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).feminine=!1,t.negativeWord="minus",t.separatorWord="przecinek",t.zero="zero",t.ones={1:"jeden",2:"dwa",3:"trzy",4:"cztery",5:"pięć",6:"sześć",7:"siedem",8:"osiem",9:"dziewięć"},t.tens={0:"dziesięć",1:"jedenaście",2:"dwanaście",3:"trzynaście",4:"czternaście",5:"piętnaście",6:"szesnaście",7:"siedemnaście",8:"osiemnaście",9:"dziewiętnaście"},t.twenties={2:"dwadzieścia",3:"trzydzieści",4:"czterdzieści",5:"pięćdziesiąt",6:"sześćdziesiąt",7:"siedemdziesiąt",8:"osiemdziesiąt",9:"dziewięćdzisiąt"},t.hundreds={1:"sto",2:"dwieście",3:"trzysta",4:"czterysta",5:"pięćset",6:"sześćset",7:"siedemset",8:"osiemset",9:"dziewięćset"},t.thousands={1:["tysiąc","tysiące","tysięcy"],2:["milion","miliony","milionów"],3:["miliard","miliardy","miliardów"],4:["bilion","biliony","bilionów"],5:["biliard","biliardy","biliardów"],6:["trylion","tryliony","trylionów"],7:["tryliard","tryliardy","tryliardów"],8:["kwadrylion","kwadryliony","kwadrylionów"],9:["kwaryliard","kwadryliardy","kwadryliardów"],10:["kwintylion","kwintyliony","kwintylionów"]},t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return 1==t?r=0:t%10<5&&t%10>1&&(t%100<10||t%100>20)&&(r=1),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var a=sr(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];c>0&&e.push(this.hundreds[c]),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[u]):u>0&&!(n>0&&1==i)&&e.push(this.ones[u]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&lr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(m);function yr(t){return(new hr).floatToCardinal(t)}function vr(t){return vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vr(t)}function br(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function mr(t,e){return mr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},mr(t,e)}function Or(t,e){if(e&&("object"===vr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function jr(t){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},jr(t)}r(4723),r(4603),r(8450),r(8386);var wr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&mr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=jr(n);if(o){var r=jr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Or(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="menos",t.separatorWord="vírgula",t.zero="zero",t.cards=[{"1000000000000000000000000":"quatrilião"},{1e18:"trilião"},{1e12:"bilião"},{1e6:"milião"},{1e3:"mil"},{100:"cem"},{90:"noventa"},{80:"oitenta"},{70:"setenta"},{60:"sessenta"},{50:"cinquenta"},{40:"quarenta"},{30:"trinta"},{20:"vinte"},{19:"dezanove"},{18:"dezoito"},{17:"dezassete"},{16:"dezasseis"},{15:"quinze"},{14:"catorze"},{13:"treze"},{12:"doze"},{11:"onze"},{10:"dez"},{9:"nove"},{8:"oito"},{7:"sete"},{6:"seis"},{5:"cinco"},{4:"quatro"},{3:"três"},{2:"dois"},{1:"um"},{0:"zero"}],t.hundreds={1:"cento",2:"duzentos",3:"trezentos",4:"quatrocentos",5:"quinhentos",6:"seiscentos",7:"setecentos",8:"oitocentos",9:"novecentos"},t}return e=a,(r=[{key:"postClean",value:function(t){for(var e=["mil","milhão","milhões","mil milhões","bilião","biliões","mil biliões"],r=0;r<e.length;r++){var n=e[r];t.match(new RegExp(".*".concat(n," e \\w*entos? (?=.*e)")))&&(t=t.replace(new RegExp("".concat(n," e"),"g"),"".concat(n)))}return t}},{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=Object.keys(e)[0],o=parseInt(Object.values(t)[0]),i=parseInt(Object.values(e)[0]);if(1==o){if(i<1e6)return br({},n,i);r="um"}else 100==o&&i%1e3!=0&&(r="cento");return i<o?br({},"".concat(r," e ").concat(n),o+i):(i%1e9==0&&o>1?n=n.slice(0,-4)+"liões":i%1e6==0&&o>1&&(n=n.slice(0,-4)+"lhões"),"milião"==n&&(n="milhão"),100==i?(r=this.hundreds[o],n=""):n=" "+n,br({},"".concat(r).concat(n),o*i))}}])&&gr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function Tr(t){return(new wr).floatToCardinal(t)}function Sr(t){return Sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sr(t)}function xr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Rr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rr(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Pr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function kr(t,e){return kr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},kr(t,e)}function Er(t,e){if(e&&("object"===Sr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function _r(t){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},_r(t)}var zr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&kr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=_r(n);if(o){var r=_r(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Er(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="minus",t.separatorWord="zapeta",t.zero="nula",t.ones={1:["jedan","jedna"],2:["dva","dve"],3:["tri","tri"],4:["četiri","četiri"],5:["pet","pet"],6:["šest","šest"],7:["sedam","sedam"],8:["osam","osam"],9:["devet","devet"]},t.tens={0:"deset",1:"jedanaest",2:"dvanaest",3:"trinaest",4:"četrnaest",5:"petnaest",6:"šesnaest",7:"sedamnaest",8:"osamnaest",9:"devetnaest"},t.twenties={2:"dvadeset",3:"trideset",4:"četrdeset",5:"pedeset",6:"šezdeset",7:"sedamdeset",8:"osamdeset",9:"devedeset"},t.hundreds={1:"sto",2:"dvesta",3:"trista",4:"četiristo",5:"petsto",6:"šesto",7:"sedamsto",8:"osamsto",9:"devetsto"},t.SCALE={0:["","","",!1],1:["hiljada","hiljade","hiljada",!0],2:["milion","miliona","miliona",!1],3:["milijarda","milijarde","milijarda",!1],4:["bilion","biliona","biliona",!1],5:["bilijarda","bilijarde","bilijarda",!1],6:["trilion","triliona","triliona",!1],7:["trilijarda","trilijarde","trilijarda",!1],8:["kvadrilion","kvadriliona","kvadriliona",!1],9:["kvadrilijarda","kvadrilijarde","kvadrilijarda",!1],10:["kvintilion","kvintiliona","kvintiliona",!1]},t.feminine=!1,t}return e=a,(r=[{key:"pluralize",value:function(t,e){var r=2;return(t%100<10||t%100>20)&&(t%10==1?r=0:t%10>1&&t%10<5&&(r=1)),e[r]}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return this.zero;for(var e=[],r=this.splitByX(JSON.stringify(t),3),n=r.length,o=0;o<r.length;o++){var i=r[o];n-=1;var a=xr(this.getDigits(i),3),u=a[0],s=a[1],c=a[2];if(c>0&&e.push(this.hundreds[c]),s>1&&e.push(this.twenties[s]),1==s)e.push(this.tens[u]);else if(u>0){var l=this.feminine||this.SCALE[n][3]?1:0;e.push(this.ones[u][l])}n>0&&0!=i&&e.push(this.pluralize(i,this.SCALE[n]))}return e.join(" ")}}])&&Pr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(m);function Ir(t){return(new zr).floatToCardinal(t)}function Cr(t){return Cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cr(t)}function Ar(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Dr(t,e){return Dr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Dr(t,e)}function Wr(t,e){if(e&&("object"===Cr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Nr(t){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Nr(t)}r(2481);var Br=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Nr(n);if(o){var r=Nr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Wr(this,t)});function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this)).options=Object.assign({dropSpaces:!1},t),e.negativeWord="eksi",e.separatorWord="virgül",e.zero="sıfır",e.spaceSeparator=e.options.dropSpaces?"":" ",e.precision=2,e.cardinalOnes={1:"bir",2:"iki",3:"üç",4:"dört",5:"beş",6:"altı",7:"yedi",8:"sekiz",9:"dokuz"},e.cardinalTens={1:"on",2:"yirmi",3:"otuz",4:"kırk",5:"elli",6:"altmış",7:"yetmiş",8:"seksen",9:"doksan"},e.hundreds={2:"iki",3:"üç",4:"dört",5:"beş",6:"altı",7:"yedi",8:"sekiz",9:"dokuz"},e.cardinalHundred=["yüz",""],e.cardinalTriplets={1:"bin",2:"milyon",3:"milyar",4:"trilyon",5:"katrilyon",6:"kentilyon"},e.integersToRead=[],e.totalTripletsToRead=0,e.totalDigitsOutsideTriplets=0,e.lastZeroDigitOrder=0,e}return e=a,(r=[{key:"splitNum",value:function(t){var e=JSON.stringify(t*Math.pow(10,this.precision));0!=parseInt(t)?this.integersToRead=[JSON.stringify(parseInt(t)),e.slice(e.length-this.precision,e.length)]:this.integersToRead=["0","0".repeat(this.precision-e.length)+e.slice(e.length-this.precision,e.length)],this.integersToRead[0].length%3>0?this.totalTripletsToRead=Math.floor(this.integersToRead[0].length/3)+1:this.integersToRead[0].length%3==0&&(this.totalTripletsToRead=Math.floor(this.integersToRead[0].length/3)),this.totalDigitsOutsideTriplets=this.integersToRead[0].length%3;var r=this.integersToRead[0].split("").reverse();this.lastZeroDigitOrder=0;for(var n=0,o=0;o<r.length;o++)0==parseInt(r[o])&&0==n?this.lastZeroDigitOrder=o+1:n=1}},{key:"joinWords",value:function(t){return t.join(this.spaceSeparator).trim()}},{key:"toCardinal",value:function(t){if(0==parseInt(t))return"sıfır";this.splitNum(t);var e=[];if(this.lastZeroDigitOrder>=this.integersToRead[0].length)return this.joinWords(e);if(1==this.totalTripletsToRead){if(2==this.totalDigitsOutsideTriplets)return 1==this.lastZeroDigitOrder?(this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),this.joinWords(e)):(0==this.lastZeroDigitOrder&&(this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),this.cardinalOnes[this.integersToRead[0][1]]&&e.push(this.cardinalOnes[this.integersToRead[0][1]])),this.joinWords(e));if(1==this.totalDigitsOutsideTriplets&&0==this.lastZeroDigitOrder)return this.cardinalOnes[this.integersToRead[0][0]]&&e.push(this.cardinalOnes[this.integersToRead[0][0]]),this.joinWords(e);if(0==this.totalDigitsOutsideTriplets){if(2==this.lastZeroDigitOrder)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.joinWords(e);if(1==this.lastZeroDigitOrder)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),this.joinWords(e);if(0==this.lastZeroDigitOrder)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),this.cardinalOnes[this.integersToRead[0][2]]&&e.push(this.cardinalOnes[this.integersToRead[0][2]]),this.joinWords(e)}}if(this.totalTripletsToRead>=2){if(2==this.totalDigitsOutsideTriplets){if(this.lastZeroDigitOrder==this.integersToRead[0].length-1)return this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);if(this.lastZeroDigitOrder==this.integersToRead[0].length-2)return this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),this.cardinalOnes[this.integersToRead[0][1]]&&e.push(this.cardinalOnes[this.integersToRead[0][1]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);this.lastZeroDigitOrder<this.integersToRead[0].length-2&&(this.cardinalTens[this.integersToRead[0][0]]&&e.push(this.cardinalTens[this.integersToRead[0][0]]),this.cardinalOnes[this.integersToRead[0][1]]&&e.push(this.cardinalOnes[this.integersToRead[0][1]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]))}if(1==this.totalDigitsOutsideTriplets){if(this.lastZeroDigitOrder==this.integersToRead[0].length-1)return 2==this.totalTripletsToRead&&"1"==this.integersToRead[0][0]||this.cardinalOnes[this.integersToRead[0][0]]&&e.push(this.cardinalOnes[this.integersToRead[0][0]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);this.lastZeroDigitOrder<this.integersToRead[0].length-1&&(2==this.totalTripletsToRead&&"1"==this.integersToRead[0][0]||this.cardinalOnes[this.integersToRead[0][0]]&&e.push(this.cardinalOnes[this.integersToRead[0][0]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]))}if(0==this.totalDigitsOutsideTriplets){if(this.lastZeroDigitOrder==this.integersToRead[0].length-1)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);if(this.lastZeroDigitOrder==this.integersToRead[0].length-2)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);if(this.lastZeroDigitOrder==this.integersToRead[0].length-3)return this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),this.cardinalOnes[this.integersToRead[0][2]]&&e.push(this.cardinalOnes[this.integersToRead[0][2]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]),this.joinWords(e);this.lastZeroDigitOrder<this.integersToRead[0].length-3&&(this.hundreds[this.integersToRead[0][0]]&&e.push(this.hundreds[this.integersToRead[0][0]]),e.push(this.cardinalHundred[0]),this.cardinalTens[this.integersToRead[0][1]]&&e.push(this.cardinalTens[this.integersToRead[0][1]]),2==this.totalTripletsToRead&&"1"==this.integersToRead[0][2]||this.cardinalOnes[this.integersToRead[0][2]]&&e.push(this.cardinalOnes[this.integersToRead[0][2]]),e.push(this.cardinalTriplets[this.totalTripletsToRead-1]))}for(var r=this.totalTripletsToRead-1;r>0;r--){var n,o=this.totalTripletsToRead-r;if(n=0==this.totalDigitsOutsideTriplets?3*o:3*(o-1)+this.totalDigitsOutsideTriplets,"000"!=this.integersToRead[0].slice(n,n+3)){if("0"!=this.integersToRead[0][n])if(this.hundreds[this.integersToRead[0][n]]&&e.push(this.hundreds[this.integersToRead[0][n]]),this.lastZeroDigitOrder==this.integersToRead[0].length-n-1){if(1==r)return e.push(this.cardinalHundred[0]),this.joinWords(e);if(r>1)return e.push(this.cardinalHundred[0]),e.push(this.cardinalTriplets[r-1]),this.joinWords(e)}else e.push(this.cardinalHundred[0]);if("0"!=this.integersToRead[0][n+1])if(this.lastZeroDigitOrder==this.integersToRead[0].length-n-2){if(1==r)return this.cardinalTens[this.integersToRead[0][n+1]]&&e.push(this.cardinalTens[this.integersToRead[0][n+1]]),this.joinWords(e);if(r>1)return this.cardinalTens[this.integersToRead[0][n+1]]&&e.push(this.cardinalTens[this.integersToRead[0][n+1]]),e.push(this.cardinalTriplets[r-1]),this.joinWords(e)}else this.cardinalTens[this.integersToRead[0][n+1]]&&e.push(this.cardinalTens[this.integersToRead[0][n+1]]);if("0"!=this.integersToRead[0][n+2])if(this.lastZeroDigitOrder==this.integersToRead[0].length-n-3){if(1==r)return this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]),this.joinWords(e);if(2==r)return"00"!=this.integersToRead[0].slice(n,n+2)?this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]):"1"!=this.integersToRead[0][n+2]&&this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]),e.push(this.cardinalTriplets[r-1]),this.joinWords(e);if(r>2)return this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]),e.push(this.cardinalTriplets[r-1]),this.joinWords(e)}else"00"!=this.integersToRead[0].slice(n,n+2)?this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]):2==r&&("00"!=this.integersToRead[0].slice(n,n+2)?this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]):"1"!=this.integersToRead[0][n+2]&&this.cardinalOnes[this.integersToRead[0][n+2]]&&e.push(this.cardinalOnes[this.integersToRead[0][n+2]]));e.push(this.cardinalTriplets[r-1])}}}return this.joinWords(e)}}])&&Ar(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function Fr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Br(e).floatToCardinal(t)}function Mr(t){return Mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mr(t)}function Lr(t,e){return Lr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Lr(t,e)}function qr(t,e){if(e&&("object"===Mr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Gr(t){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Gr(t)}var Ur=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Lr(t,e)}(i,t);var e,r,n,o=(r=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Gr(r);if(n){var o=Gr(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return qr(this,t)});function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this)).negativeWord="мiнус",t.separatorWord="кома",t.zero="нуль",t.feminine=!1,t.ones={1:"один",2:"два",3:"три",4:"чотири",5:"п'ять",6:"шiсть",7:"сiм",8:"вiсiм",9:"дев'ять"},t.onesFeminine={1:"одна",2:"двi",3:"три",4:"чотири",5:"п'ять",6:"шiсть",7:"сiм",8:"вiсiм",9:"дев'ять"},t.tens={0:"десять",1:"одинадцять",2:"дванадцять",3:"тринадцять",4:"чотирнадцять",5:"п'ятнадцять",6:"шiстнадцять",7:"сiмнадцять",8:"вiсiмнадцять",9:"дев'ятнадцять"},t.twenties={2:"двадцять",3:"тридцять",4:"сорок",5:"п'ятдесят",6:"шiстдесят",7:"сiмдесят",8:"вiсiмдесят",9:"дев'яносто"},t.hundreds={1:"сто",2:"двiстi",3:"триста",4:"чотириста",5:"п'ятсот",6:"шiстсот",7:"сiмсот",8:"вiсiмсот",9:"дев'ятсот"},t.thousands={1:["тисяча","тисячi","тисяч"],2:["мiльйон","мiльйони","мiльйонiв"],3:["мiльярд","мiльярди","мiльярдiв"],4:["трильйон","трильйони","трильйонiв"],5:["квадрильйон","квадрильйони","квадрильйонiв"],6:["квiнтильйон","квiнтильйони","квiнтильйонiв"],7:["секстильйон","секстильйони","секстильйонiв"],8:["септильйон","септильйони","септильйонiв"],9:["октильйон","октильйони","октильйонiв"],10:["нонiльйон","нонiльйони","нонiльйонiв"]},t}return e=i,Object.defineProperty(e,"prototype",{writable:!1}),e}(m);function $r(t){return(new Ur).floatToCardinal(t)}function Vr(t){return Vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vr(t)}function Zr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Hr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Jr(t,e){return Jr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Jr(t,e)}function Xr(t,e){if(e&&("object"===Vr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Kr(t){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Kr(t)}r(7327);var Yr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Jr(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Kr(n);if(o){var r=Kr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Xr(this,t)});function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).negativeWord="负",t.separatorWord="点",t.zero="零",t.spaceSeparator="",t.cards=[{1e12:"万"},{1e8:"亿"},{1e4:"万"},{1e3:"仟"},{100:"佰"},{10:"拾"},{9:"玖"},{8:"捌"},{7:"柒"},{6:"陆"},{5:"伍"},{4:"肆"},{3:"叁"},{2:"贰"},{1:"壹"},{0:"零"}],t}return e=a,(r=[{key:"merge",value:function(t,e){var r=Object.keys(t)[0],n=parseInt(Object.values(t)[0]),o=Object.keys(e)[0],i=parseInt(Object.values(e)[0]),a=Zr({},"".concat(r).concat(o),n+i);return 1==n&&i<10?a=Zr({},o,i):i>n?a=Zr({},"".concat(r).concat(o),n*i):this.zeroDigit(n)>this.digit(i)&&(a=Zr({},"".concat(r).concat(this.zero).concat(o),n+i)),a}},{key:"toDecimal",value:function(t){var e=this;return Array.from(t).map((function(t){return e.getValueFromCards(t)})).join(this.spaceSeparator)}},{key:"digit",value:function(t){return t.toString().length}},{key:"zeroDigit",value:function(t){return Array.from(t.toString()).filter((function(t){return"0"===t})).length}}])&&Hr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function Qr(t){return(new Yr).floatToCardinal(t)}var tn=["en","fr","es","de","pt","it","tr","ru","cz","no","dk","pl","uk","lt","lv","ar","he","ko","nl","sr","fa","zh","hu","id","hr"];function en(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lang:"en"},r="EN";if(e&&e.lang){if(-1===tn.indexOf(e.lang))throw Error("ERROR: Unsupported language. Supported languages are: "+tn.sort().join(", "));r=e.lang.toUpperCase()}return"EN"===r?ut(t):"FR"===r?_t(t):"ES"===r?yt(t):"DE"===r?$(t):"PT"===r?Tr(t):"ID"===r?se(t):"IT"===r?ve(t):"TR"===r?Fr(t,e):"RU"===r?O(t):"CZ"===r?E(t):"NO"===r?ar(t):"DK"===r?Q(t):"PL"===r?yr(t):"UK"===r?$r(t):"LT"===r?Ce(t):"LV"===r?qe(t):"AR"===r?f(t):"HE"===r?Ft(t):"HR"===r?Ht(t):"HU"===r?ee(t):"KO"===r?Se(t):"NL"===r?Ye(t,e):"SR"===r?Ir(t):"FA"===r?wt(t):"ZH"===r?Qr(t):void 0}})(),n.default})()}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n2words",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "Convert numbers to words, in multiple languages",
|
|
5
5
|
"main": "dist/n2words.js",
|
|
6
6
|
"scripts": {
|
|
@@ -55,19 +55,19 @@
|
|
|
55
55
|
},
|
|
56
56
|
"homepage": "https://github.com/forzagreen/n2words#readme",
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@babel/core": "^7.
|
|
59
|
-
"@babel/preset-env": "^7.16.
|
|
60
|
-
"ava": "^
|
|
58
|
+
"@babel/core": "^7.17.7",
|
|
59
|
+
"@babel/preset-env": "^7.16.11",
|
|
60
|
+
"ava": "^4.1.0",
|
|
61
61
|
"babel-loader": "^8.2.3",
|
|
62
|
-
"c8": "^7.
|
|
63
|
-
"core-js": "^3.
|
|
64
|
-
"eslint": "^8.
|
|
65
|
-
"eslint-plugin-ava": "^13.
|
|
66
|
-
"eslint-plugin-import": "^2.25.
|
|
67
|
-
"eslint-plugin-jsdoc": "^
|
|
62
|
+
"c8": "^7.11.0",
|
|
63
|
+
"core-js": "^3.21.1",
|
|
64
|
+
"eslint": "^8.11.0",
|
|
65
|
+
"eslint-plugin-ava": "^13.2.0",
|
|
66
|
+
"eslint-plugin-import": "^2.25.4",
|
|
67
|
+
"eslint-plugin-jsdoc": "^38.0.4",
|
|
68
68
|
"eslint-plugin-node": "^11.1.0",
|
|
69
|
-
"webpack": "^5.
|
|
70
|
-
"webpack-cli": "^4.9.
|
|
69
|
+
"webpack": "^5.70.0",
|
|
70
|
+
"webpack-cli": "^4.9.2"
|
|
71
71
|
},
|
|
72
72
|
"ava": {
|
|
73
73
|
"files": [
|
package/webpack.config.js
CHANGED
|
@@ -12,9 +12,6 @@ module.exports = {
|
|
|
12
12
|
rules: [{
|
|
13
13
|
test: /\.m?js$/,
|
|
14
14
|
exclude: /node_modules/,
|
|
15
|
-
resolve: {
|
|
16
|
-
fullySpecified: false,
|
|
17
|
-
},
|
|
18
15
|
use: {
|
|
19
16
|
loader: 'babel-loader',
|
|
20
17
|
options: {
|
|
@@ -23,7 +20,7 @@ module.exports = {
|
|
|
23
20
|
'@babel/preset-env',
|
|
24
21
|
{
|
|
25
22
|
useBuiltIns: 'usage',
|
|
26
|
-
corejs: '3.
|
|
23
|
+
corejs: '3.21.1',
|
|
27
24
|
},
|
|
28
25
|
],
|
|
29
26
|
],
|