n2words 1.12.0 → 1.12.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/CHANGELOG.md +9 -0
- package/dist/n2words.js +1 -1
- package/lib/i18n/CZ.mjs +8 -8
- package/lib/n2words.mjs +2 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ 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.12.1] - 2022-11-17
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Update dev dependencies [#73](https://github.com/forzagreen/n2words/pull/73).
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- Fix Czech hundreds [#70](https://github.com/forzagreen/n2words/pull/70) [#71](https://github.com/forzagreen/n2words/pull/71). Thanks to [@matej-oliva](https://github.com/matej-oliva) !
|
|
15
|
+
|
|
16
|
+
|
|
8
17
|
## [1.12.0] - 2022-09-01
|
|
9
18
|
|
|
10
19
|
### Added
|
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,(()=>(()=>{var t={9662:(t,e,r)=>{var n=r(614),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},9483:(t,e,r)=>{var n=r(4411),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor")}},6077:(t,e,r)=>{var n=r(614),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},1223:(t,e,r)=>{var n=r(5112),o=r(30),i=r(3070).f,a=n("unscopables"),u=Array.prototype;null==u[a]&&i(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(7976),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw o("Incorrect invocation")}},9670:(t,e,r)=>{var n=r(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(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(9974),o=r(6916),i=r(7908),a=r(3411),u=r(7659),s=r(4411),c=r(6244),l=r(6135),f=r(4121),p=r(1246),d=Array;t.exports=function(t){var e=i(t),r=s(this),y=arguments.length,h=y>1?arguments[1]:void 0,v=void 0!==h;v&&(h=n(h,y>2?arguments[2]:void 0));var b,g,m,O,j,w,S=p(e),T=0;if(!S||this===d&&u(S))for(b=c(e),g=r?new this(b):d(b);b>T;T++)w=v?h(e[T],T):e[T],l(g,T,w);else for(j=(O=f(e,S)).next,g=r?new this:[];!(m=o(j,O)).done;T++)w=v?a(O,h,[m.value,T],!0):m.value,l(g,T,w);return g.length=T,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(y,h,v,b){for(var g,m,O=a(y),j=i(O),w=n(h,v),S=u(j),T=0,x=b||s,R=e?x(y,S):r||p?x(y,0):void 0;S>T;T++)if((d||T in j)&&(m=w(g=j[T],T,O),t))if(e)R[T]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return T;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(1400),o=r(6244),i=r(6135),a=Array,u=Math.max;t.exports=function(t,e,r){for(var s=o(t),c=n(e,s),l=n(void 0===r?s:r,s),f=a(u(l-c,0)),p=0;c<l;c++,p++)i(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(3157),o=r(4411),i=r(111),a=r(5112)("species"),u=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===u||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?u: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(1694),o=r(614),i=r(4326),a=r(5112)("toStringTag"),u=Object,s="Arguments"==i(function(){return arguments}());t.exports=n?i: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=u(t),a))?r:s?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},5631:(t,e,r)=>{"use strict";var n=r(3070).f,o=r(30),i=r(9190),a=r(9974),u=r(5787),s=r(8554),c=r(408),l=r(1656),f=r(6340),p=r(9781),d=r(2423).fastKey,y=r(9909),h=y.set,v=y.getterFor;t.exports={getConstructor:function(t,e,r,l){var f=t((function(t,n){u(t,y),h(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),p||(t.size=0),s(n)||c(n,t[l],{that:t,AS_ENTRIES:r})})),y=f.prototype,b=v(e),g=function(t,e,r){var n,o,i=b(t),a=m(t,e);return a?a.value=r:(i.last=a={index:o=d(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),p?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},m=function(t,e){var r,n=b(t),o=d(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(y,{clear:function(){for(var t=b(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,p?t.size=0:this.size=0},delete:function(t){var e=this,r=b(e),n=m(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),p?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=b(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!!m(this,t)}}),i(y,r?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),p&&n(y,"size",{get:function(){return b(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=v(e),i=v(n);l(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),f(e)}}},7710:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(1702),a=r(4705),u=r(8052),s=r(2423),c=r(408),l=r(5787),f=r(614),p=r(8554),d=r(111),y=r(7293),h=r(7072),v=r(8003),b=r(9587);t.exports=function(t,e,r){var g=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),O=g?"set":"add",j=o[t],w=j&&j.prototype,S=j,T={},x=function(t){var e=i(w[t]);u(w,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(m&&!d(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return m&&!d(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!d(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!f(j)||!(m||w.forEach&&!y((function(){(new j).entries().next()})))))S=r.getConstructor(e,t,g,O),s.enable();else if(a(t,!0)){var R=new S,P=R[O](m?{}:-0,1)!=R,k=y((function(){R.has(1)})),E=h((function(t){new j(t)})),_=!m&&y((function(){for(var t=new j,e=5;e--;)t[O](e,e);return!t.has(-0)}));E||((S=e((function(t,e){l(t,w);var r=b(new j,t,S);return p(e)||c(e,r[O],{that:r,AS_ENTRIES:g}),r}))).prototype=w,w.constructor=S),(k||_)&&(x("delete"),x("has"),g&&x("get")),(_||P)&&x(O),m&&w.clear&&delete w.clear}return T[t]=S,n({global:!0,constructor:!0,forced:S!=j},T),v(S,t),m||r.setStrong(S,t,g),S}},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}))},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}},7045:(t,e,r)=>{var n=r(6339),o=r(3070);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},8052:(t,e,r)=>{var n=r(614),o=r(3070),i=r(6339),a=r(3072);t.exports=function(t,e,r,u){u||(u={});var s=u.enumerable,c=void 0!==u.name?u.name:e;if(n(r)&&i(r,c,u),u.global)s?t[e]=r:a(e,r);else{try{u.unsafe?t[e]&&(s=!0):delete t[e]}catch(t){}s?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},9190:(t,e,r)=>{var n=r(8052);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},3072:(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}},5117:(t,e,r)=>{"use strict";var n=r(6330),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw o("Cannot delete property "+n(e)+" of "+n(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):{}}},7207:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return 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"]},1060:(t,e,r)=>{var n=r(1702),o=Error,i=n("".replace),a=String(o("zxcasd").stack),u=/\n\s*at [^:]*:[^\n]*/,s=u.test(a);t.exports=function(t,e){if(s&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,u,"");return t}},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(8052),u=r(3072),s=r(9920),c=r(4705);t.exports=function(t,e){var r,l,f,p,d,y=t.target,h=t.global,v=t.stat;if(r=h?n:v?n[y]||u(y,{}):(n[y]||{}).prototype)for(l in e){if(p=e[l],f=t.dontCallGetSet?(d=o(r,l))&&d.value:r[l],!c(h?l:y+(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(8052),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)})),y=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||!y||r){var h=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:h(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(1702),o=r(9662),i=r(111),a=r(2597),u=r(206),s=r(4374),c=Function,l=n([].concat),f=n([].join),p={},d=function(t,e,r){if(!a(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=s?c.bind:function(t){var e=o(this),r=e.prototype,n=u(arguments,1),a=function(){var r=l(n,u(arguments));return this instanceof a?d(e,r.length,r):e.apply(t,r)};return i(r)&&(a.prototype=r),a}},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(8554),a=r(7497),u=r(5112)("iterator");t.exports=function(t){if(!i(t))return o(t,u)||o(t,"@@iterator")||a[n(t)]}},4121:(t,e,r)=>{var n=r(6916),o=r(9662),i=r(9670),a=r(6330),u=r(1246),s=TypeError;t.exports=function(t,e){var r=arguments.length<2?u(t):e;if(o(r))return i(n(r,t));throw s(a(t)+" is not iterable")}},8173:(t,e,r)=>{var n=r(9662),o=r(8554);t.exports=function(t,e){var r=t[e];return o(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,y=n.length,h=l;return void 0!==f&&(f=o(f),h=c),u(p,h,(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>y){var p=i(l/10);return 0===p?o:p<=y?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(1702),o=r(7293),i=r(4326),a=Object,u=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?u(t,""):a(t)}:a},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),y=!1,h=p("meta"),v=0,b=function(t){s(t,h,{value:{objectID:"O"+v++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},y=!0;var t=c.f,e=o([].splice),r={};r[h]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===h){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,h)){if(!f(t))return"F";if(!e)return"E";b(t)}return t[h].objectID},getWeakData:function(t,e){if(!u(t,h)){if(!f(t))return!0;if(!e)return!1;b(t)}return t[h].weakData},onFreeze:function(t){return d&&y&&f(t)&&!u(t,h)&&b(t),t}};i[h]=!0},9909:(t,e,r)=>{var n,o,i,a=r(4811),u=r(7854),s=r(1702),c=r(111),l=r(8880),f=r(2597),p=r(5465),d=r(6200),y=r(3501),h="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 v(h);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");y[w]=!0,n=function(t,e){if(f(t,w))throw v(h);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),y=!p.exec(c),h=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 y||!!d(p,s(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?v:h},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},8554:t=>{t.exports=function(t){return null==t}},111:(t,e,r)=>{var n=r(614),o="object"==typeof document&&document.all,i=void 0===o&&void 0!==o;t.exports=i?function(t){return"object"==typeof t?null!==t:n(t)||t===o}: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(5005),o=r(614),i=r(7976),a=r(3307),u=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,u(t))}},408:(t,e,r)=>{var n=r(9974),o=r(6916),i=r(9670),a=r(6330),u=r(7659),s=r(6244),c=r(7976),l=r(4121),f=r(1246),p=r(9212),d=TypeError,y=function(t,e){this.stopped=t,this.result=e},h=y.prototype;t.exports=function(t,e,r){var v,b,g,m,O,j,w,S=r&&r.that,T=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_RECORD),R=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),k=n(e,S),E=function(t){return v&&p(v,"normal",t),new y(!0,t)},_=function(t){return T?(i(t),P?k(t[0],t[1],E):k(t[0],t[1])):P?k(t,E):k(t)};if(x)v=t.iterator;else if(R)v=t;else{if(!(b=f(t)))throw d(a(t)+" is not iterable");if(u(b)){for(g=0,m=s(t);m>g;g++)if((O=_(t[g]))&&c(h,O))return O;return new y(!1)}v=l(t,b)}for(j=x?t.next:v.next;!(w=o(j,v)).done;){try{O=_(w.value)}catch(t){p(v,"throw",t)}if("object"==typeof O&&O&&c(h,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}},3061:(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}},1656:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(1913),a=r(6530),u=r(614),s=r(3061),c=r(9518),l=r(7674),f=r(8003),p=r(8880),d=r(8052),y=r(5112),h=r(7497),v=r(3383),b=a.PROPER,g=a.CONFIGURABLE,m=v.IteratorPrototype,O=v.BUGGY_SAFARI_ITERATORS,j=y("iterator"),w="keys",S="values",T="entries",x=function(){return this};t.exports=function(t,e,r,a,y,v,R){s(r,e,a);var P,k,E,_=function(t){if(t===y&&D)return D;if(!O&&t in C)return C[t];switch(t){case w:case S:case T: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"]||y&&C[y],D=!O&&A||_(y),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&&(h[z]=x)),b&&y==S&&A&&A.name!==S&&(!i&&g?p(C,"name",S):(I=!0,D=function(){return o(A,this)})),y)if(k={values:_(S),keys:v?D:_(w),entries:_(T)},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:y}),h[e]=D,k}},3383:(t,e,r)=>{"use strict";var n,o,i,a=r(7293),u=r(614),s=r(111),c=r(30),l=r(9518),f=r(8052),p=r(5112),d=r(1913),y=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):h=!0),!s(n)||a((function(){var t={};return n[y].call(t)!==t}))?n={}:d&&(n=c(n)),u(n[y])||f(n,y,(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)}},6339:(t,e,r)=>{var n=r(7293),o=r(614),i=r(2597),a=r(9781),u=r(6530).CONFIGURABLE,s=r(2788),c=r(9909),l=c.enforce,f=c.get,p=Object.defineProperty,d=a&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),h=t.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||u&&t.name!==e)&&(a?p(t,"name",{value:e,configurable:!0}):t.name=e),d&&r&&i(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return i(n,"source")||(n.source=y.join("string"==typeof e?e:"")),t};Function.prototype.toString=h((function(){return o(this)&&f(this).source||s(this)}),"toString")},4758:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},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(7850),o=TypeError;t.exports=function(t){if(n(t))throw o("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),y=8!==c(s+"08")||22!==c(s+"0x16")||f&&!o((function(){c(Object(f))}));t.exports=y?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,y=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 h,v=f(arguments[a++]),b=p?y(u(v),p(v)):u(v),g=b.length,m=0;g>m;)h=b[m++],n&&!i(d,v,h)||(r[h]=v[h]);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},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;y="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 y.prototype[a[r]];return y()};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=y(),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(9781),o=r(4664),i=r(3353),a=r(9670),u=r(4948),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor;e.f=n?i?function(t,e,r){if(a(t),e=u(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=l(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 c(t,e,r)}:c:function(t,e,r){if(a(t),e=u(e),a(r),o)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(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(2597),o=r(614),i=r(7908),a=r(6200),u=r(8544),s=a("IE_PROTO"),c=Object,l=c.prototype;t.exports=u?c.getPrototypeOf:function(t){var e=i(t);if(n(e,s))return e[s];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?l: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(6916),o=r(614),i=r(111),a=TypeError;t.exports=function(t,e){var r,u;if("string"===e&&o(r=t.toString)&&!i(u=n(r,t)))return u;if(o(r=t.valueOf)&&!i(u=n(r,t)))return u;if("string"!==e&&o(r=t.toString)&&!i(u=n(r,t)))return u;throw a("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},2626:(t,e,r)=>{var n=r(3070).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},7651:(t,e,r)=>{var n=r(6916),o=r(9670),i=r(614),a=r(4326),u=r(2261),s=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var c=n(r,t,e);return null!==c&&o(c),c}if("RegExp"===a(t))return n(u,t,e);throw s("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),y=r(7168),h=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),S=c.BROKEN_CARET,T=void 0!==/()??/.exec("")[1];(w||T||S||d||y)&&(b=function(t){var e,r,n,o,a,c,l,d=this,y=p(d),x=u(t),R=y.raw;if(R)return R.lastIndex=d.lastIndex,e=i(b,R,x),d.lastIndex=R.lastIndex,e;var P=y.groups,k=S&&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)),T&&(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),T&&o&&o.length>1&&i(h,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.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4706:(t,e,r)=>{var n=r(6916),o=r(2597),i=r(7976),a=r(7066),u=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in u||o(t,"flags")||!i(u,t)?e:n(a,t)}},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(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},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(3072),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.25.0",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(t,e,r)=>{var n=r(9670),o=r(9483),i=r(8554),a=r(5112)("species");t.exports=function(t,e){var r,u=n(t).constructor;return void 0===u||i(r=n(u)[a])?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),y=p.length,h=void 0===n?" ":i(n);return d<=y||""==h?p:((f=s(h,l((a=d-y)/h.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(9303),o=r(1340),i=r(4488),a=RangeError;t.exports=function(t){var e=o(i(this)),r="",u=n(t);if(u<0||u==1/0)throw a("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(e+=e))1&u&&(r+=e);return r}},365:(t,e,r)=>{"use strict";var n=r(3111).end,o=r(6091);t.exports=o("trimEnd")?function(){return n(this)}:"".trimEnd},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)}},6293:(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}))},6532:(t,e,r)=>{var n=r(6916),o=r(5005),i=r(5112),a=r(8052);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,u=i("toPrimitive");e&&!e[u]&&a(e,u,(function(t){return n(r,this)}),{arity:1})}},2015:(t,e,r)=>{var n=r(6293);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},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,e,r)=>{var n=r(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},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(4488),o=Object;t.exports=function(t){return o(n(t))}},7593:(t,e,r)=>{var n=r(6916),o=r(111),i=r(2190),a=r(8173),u=r(2140),s=r(5112),c=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,s=a(t,l);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!o(r)||i(r))return r;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(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(648),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(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(6293);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}))},4811:(t,e,r)=>{var n=r(7854),o=r(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},6800:(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)})}},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(6293),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(2626),l=r(9587),f=r(6277),p=r(8340),d=r(1060),y=r(2914),h=r(9781),v=r(1913);t.exports=function(t,e,r,b){var g="stackTraceLimit",m=b?2:1,O=t.split("."),j=O[O.length-1],w=n.apply(null,O);if(w){var S=w.prototype;if(!v&&o(S,"cause")&&delete S.cause,!r)return w;var T=n("Error"),x=e((function(t,e){var r=f(b?e:t,void 0),n=b?new w(t):new w;return void 0!==r&&i(n,"message",r),y&&i(n,"stack",d(n.stack,2)),this&&a(S,this)&&l(n,this,x),arguments.length>m&&p(n,arguments[m]),n}));if(x.prototype=S,"Error"!==j?u?u(x,T):s(x,T,{name:!0}):h&&g in w&&(c(x,w,g),c(x,w,"prepareStackTrace")),s(x,w),!v)try{S.name!==j&&i(S,"name",j),S.constructor=x}catch(t){}return x}}},2222:(t,e,r)=>{"use strict";var n=r(2109),o=r(7293),i=r(3157),a=r(111),u=r(7908),s=r(6244),c=r(7207),l=r(6135),f=r(5417),p=r(1194),d=r(5112),y=r(7392),h=d("isConcatSpreadable"),v=y>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),b=p("concat"),g=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!v||!b},{concat:function(t){var e,r,n,o,i,a=u(this),p=f(a,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(g(i=-1===e?a:arguments[e]))for(o=s(i),c(d+o),r=0;r<o;r++,d++)r in i&&l(p,d,i[r]);else c(d+1),l(p,d++,i);return p.length=d,p}})},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(7293),a=r(1223);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("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(1656),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 y=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!c&&l&&"values"!==y.name)try{u(y,"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(3157),i=r(4411),a=r(111),u=r(1400),s=r(6244),c=r(5656),l=r(6135),f=r(5112),p=r(1194),d=r(206),y=p("slice"),h=f("species"),v=Array,b=Math.max;n({target:"Array",proto:!0,forced:!y},{slice:function(t,e){var r,n,f,p=c(this),y=s(p),g=u(t,y),m=u(void 0===e?y:e,y);if(o(p)&&(r=p.constructor,(i(r)&&(r===v||o(r.prototype))||a(r)&&null===(r=r[h]))&&(r=void 0),r===v||void 0===r))return d(p,g,m);for(n=new(void 0===r?v:r)(b(m-g,0)),f=0;g<m;g++,f++)g in p&&l(n,f,p[g]);return n.length=f,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(5117),c=r(1340),l=r(7293),f=r(4362),p=r(9341),d=r(8886),y=r(256),h=r(7392),v=r(8008),b=[],g=o(b.sort),m=o(b.push),O=l((function(){b.sort(void 0)})),j=l((function(){b.sort(null)})),w=p("sort"),S=!l((function(){if(h)return h<70;if(!(d&&d>3)){if(y)return!0;if(v)return v<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++)b.push({k:e+n,v:r})}for(b.sort((function(t,e){return e.v-t.v})),n=0;n<b.length;n++)e=b[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:O||!j||!w||!S},{sort:function(t){void 0!==t&&i(t);var e=a(this);if(S)return void 0===t?g(e):g(e,t);var r,n,o=[],l=u(e);for(n=0;n<l;n++)n in e&&m(o,e[n]);for(f(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:c(e)>c(r)?1:-1}}(t)),r=u(o),n=0;n<r;)e[n]=o[n++];for(;n<l;)s(e,n++);return e}})},3710:(t,e,r)=>{var n=r(1702),o=r(8052),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,constructor:!0,arity:1,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,constructor:!0,arity:1,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(8052),o=r(7762),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},4812:(t,e,r)=>{var n=r(2109),o=r(7065);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind: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(5005),i=r(2104),a=r(6916),u=r(1702),s=r(7293),c=r(3157),l=r(614),f=r(111),p=r(2190),d=r(206),y=r(6293),h=o("JSON","stringify"),v=u(/./.exec),b=u("".charAt),g=u("".charCodeAt),m=u("".replace),O=u(1..toString),j=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,T=!y||s((function(){var t=o("Symbol")();return"[null]"!=h([t])||"{}"!=h({a:t})||"{}"!=h(Object(t))})),x=s((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),R=function(t,e){var r=d(arguments),n=e;if((f(e)||void 0!==t)&&!p(t))return c(e)||(e=function(t,e){if(l(n)&&(e=a(n,this,t,e)),!p(e))return e}),r[1]=e,i(h,null,r)},P=function(t,e,r){var n=b(r,e-1),o=b(r,e+1);return v(w,t)&&!v(S,o)||v(S,t)&&!v(w,n)?"\\u"+O(g(t,0),16):t};h&&n({target:"JSON",stat:!0,arity:3,forced:T||x},{stringify:function(t,e,r){var n=d(arguments),o=i(T?R:h,null,n);return x&&"string"==typeof o?m(o,j,P):o}})},9653:(t,e,r)=>{"use strict";var n=r(9781),o=r(7854),i=r(1702),a=r(4705),u=r(8052),s=r(2597),c=r(9587),l=r(7976),f=r(2190),p=r(7593),d=r(7293),y=r(8006).f,h=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,S=i("".slice),T=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=T(c,0))||45===e){if(88===(r=T(c,2))||120===r)return NaN}else if(48===e){switch(T(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=S(c,2)).length,u=0;u<a;u++)if((s=T(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?y(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,h(O,P));k.prototype=j,j.constructor=k,u(o,m,k,{constructor:!0})}},9601:(t,e,r)=>{var n=r(2109),o=r(1574);n({target:"Object",stat:!0,arity:2,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)}})},9660:(t,e,r)=>{var n=r(2109),o=r(6293),i=r(7293),a=r(5181),u=r(7908);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(u(t)):[]}})},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(8052),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,y=[].push,h=f((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),v=!f((function(){p((function(){}))})),b=h||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&&!h)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(y,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(8006).f,l=r(7976),f=r(7850),p=r(1340),d=r(4706),y=r(2999),h=r(2626),v=r(8052),b=r(7293),g=r(2597),m=r(9909).enforce,O=r(6340),j=r(5112),w=r(9441),S=r(7168),T=j("match"),x=o.RegExp,R=x.prototype,P=o.SyntaxError,k=i(R.exec),E=i("".charAt),_=i("".replace),z=i("".indexOf),I=i("".slice),C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,A=/a/g,D=/a/g,W=new x(A)!==A,N=y.MISSED_STICKY,B=y.UNSUPPORTED_Y;if(a("RegExp",n&&(!W||N||w||S||b((function(){return D[T]=!1,x(A)!=A||x(D)==D||"/a/i"!=x(A,"i")}))))){for(var F=function(t,e){var r,n,o,i,a,c,y=l(R,this),h=f(t),v=void 0===e,b=[],O=t;if(!y&&h&&v&&t.constructor===F)return t;if((h||l(R,t))&&(t=t.source,v&&(e=d(O))),t=void 0===t?"":p(t),e=void 0===e?"":p(e),O=t,w&&"dotAll"in A&&(n=!!e&&z(e,"s")>-1)&&(e=_(e,/s/g,"")),r=e,N&&"sticky"in A&&(o=!!e&&z(e,"y")>-1)&&B&&(e=_(e,/y/g,"")),S&&(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=E(t,n)))e+=E(t,++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:k(C,I(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],b=i[1]),a=u(x(t,e),y?this:R,F),(n||o||b.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=E(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+E(t,++n);return o}(t),r)),o&&(c.sticky=!0),b.length&&(c.groups=b)),t!==O)try{s(a,"source",""===O?"(?:)":O)}catch(t){}return a},M=c(x),L=0;M.length>L;)h(F,x,M[L++]);R.constructor=F,F.prototype=R,v(o,"RegExp",F,{constructor:!0})}O("RegExp")},8450:(t,e,r)=>{var n=r(9781),o=r(9441),i=r(4326),a=r(7045),u=r(9909).get,s=RegExp.prototype,c=TypeError;n&&o&&a(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!u(this).dotAll;throw c("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(9781),o=r(2999).MISSED_STICKY,i=r(4326),a=r(7045),u=r(9909).get,s=RegExp.prototype,c=TypeError;n&&o&&a(s,"sticky",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!u(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},7601:(t,e,r)=>{"use strict";r(4916);var n,o,i=r(2109),a=r(6916),u=r(614),s=r(9670),c=r(1340),l=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),f=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(t){var e=s(this),r=c(t),n=e.exec;if(!u(n))return a(f,e,r);var o=a(n,e,r);return null!==o&&(s(o),!0)}})},9714:(t,e,r)=>{"use strict";var n=r(6530).PROPER,o=r(8052),i=r(9670),a=r(1340),u=r(7293),s=r(4706),c="toString",l=RegExp.prototype.toString,f=u((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),p=n&&l.name!=c;(f||p)&&o(RegExp.prototype,c,(function(){var t=i(this);return"/"+a(t.source)+"/"+a(s(t))}),{unsafe:!0})},7227:(t,e,r)=>{"use strict";r(7710)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(5631))},189:(t,e,r)=>{r(7227)},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),y=i("".slice),h=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:h(u(r),n),i=s(t);return d?d(e,i,o):y(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(1656),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(8554),u=r(7466),s=r(1340),c=r(4488),l=r(8173),f=r(1530),p=r(7651);o("match",(function(t,e,r){return[function(e){var r=c(this),o=a(e)?void 0:l(e,t);return o?n(o,e,r):new RegExp(e)[t](s(r))},function(t){var n=i(this),o=s(t),a=r(e,n,o);if(a.done)return a.value;if(!n.global)return p(n,o);var c=n.unicode;n.lastIndex=0;for(var l,d=[],y=0;null!==(l=p(n,o));){var h=s(l[0]);d[y]=h,""===h&&(n.lastIndex=f(o,u(n.lastIndex),c)),y++}return 0===y?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(8554),f=r(9303),p=r(7466),d=r(1340),y=r(4488),h=r(1530),v=r(8173),b=r(647),g=r(7651),m=r(5112)("replace"),O=Math.max,j=Math.min,w=i([].concat),S=i([].push),T=i("".indexOf),x=i("".slice),R="$0"==="a".replace(/./,"$0"),P=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(t,e,r){var i=P?"$":"$0";return[function(t,r){var n=y(this),i=l(t)?void 0:v(t,m);return i?o(i,t,n,r):o(e,d(n),t,r)},function(t,o){var a=s(this),u=d(t);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var l=r(e,a,u,o);if(l.done)return l.value}var y=c(o);y||(o=d(o));var v=a.global;if(v){var m=a.unicode;a.lastIndex=0}for(var R=[];;){var P=g(a,u);if(null===P)break;if(S(R,P),!v)break;""===d(P[0])&&(a.lastIndex=h(u,p(a.lastIndex),m))}for(var k,E="",_=0,z=0;z<R.length;z++){for(var I=d((P=R[z])[0]),C=O(j(f(P.index),u.length),0),A=[],D=1;D<P.length;D++)S(A,void 0===(k=P[D])?k:String(k));var W=P.groups;if(y){var N=w([I],A,C,u);void 0!==W&&S(N,W);var B=d(n(o,void 0,N))}else B=b(I,u,C,A,W,o);C>=_&&(E+=x(u,_,C)+B,_=C+I.length)}return E+x(u,_)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!R||P)},3123:(t,e,r)=>{"use strict";var n=r(2104),o=r(6916),i=r(1702),a=r(7007),u=r(9670),s=r(8554),c=r(7850),l=r(4488),f=r(6707),p=r(1530),d=r(7466),y=r(1340),h=r(8173),v=r(1589),b=r(7651),g=r(2261),m=r(2999),O=r(7293),j=m.UNSUPPORTED_Y,w=4294967295,S=Math.min,T=[].push,x=i(/./.exec),R=i(T),P=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=y(l(this)),a=void 0===r?w:r>>>0;if(0===a)return[];if(void 0===t)return[i];if(!c(t))return o(e,i,t,a);for(var u,s,f,p=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,b=new RegExp(t.source,d+"g");(u=o(g,b,i))&&!((s=b.lastIndex)>h&&(R(p,P(i,h,u.index)),u.length>1&&u.index<i.length&&n(T,p,v(u,1)),f=u[0].length,h=s,p.length>=a));)b.lastIndex===u.index&&b.lastIndex++;return h===i.length?!f&&x(b,"")||R(p,""):R(p,P(i,h)),p.length>a?v(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=l(this),a=s(e)?void 0:h(e,t);return a?o(a,e,n,r):o(i,y(n),e,r)},function(t,n){var o=u(this),a=y(t),s=r(i,o,a,n,i!==e);if(s.done)return s.value;var c=f(o,RegExp),l=o.unicode,h=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(j?"g":"y"),v=new c(j?"^(?:"+o.source+")":o,h),g=void 0===n?w:n>>>0;if(0===g)return[];if(0===a.length)return null===b(v,a)?[a]:[];for(var m=0,O=0,T=[];O<a.length;){v.lastIndex=j?0:O;var x,k=b(v,j?P(a,O):a);if(null===k||(x=S(d(v.lastIndex+(j?O:0)),a.length))===m)O=p(a,O,l);else{if(R(T,P(a,m,O)),T.length===g)return T;for(var E=1;E<=k.length-1;E++)if(R(T,k[E]),T.length===g)return T;O=m=x}}return R(T,P(a,m)),T}]}),!!O((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]})),j)},8702:(t,e,r)=>{r(3462);var n=r(2109),o=r(365);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==o},{trimEnd:o})},3462:(t,e,r)=>{var n=r(2109),o=r(365);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==o},{trimRight:o})},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)}})},4032:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(6916),a=r(1702),u=r(1913),s=r(9781),c=r(6293),l=r(7293),f=r(2597),p=r(7976),d=r(9670),y=r(5656),h=r(4948),v=r(1340),b=r(9114),g=r(30),m=r(1956),O=r(8006),j=r(1156),w=r(5181),S=r(1236),T=r(3070),x=r(6048),R=r(5296),P=r(8052),k=r(2309),E=r(6200),_=r(3501),z=r(9711),I=r(5112),C=r(6061),A=r(6800),D=r(6532),W=r(8003),N=r(9909),B=r(2092).forEach,F=E("hidden"),M="Symbol",L=N.set,q=N.getterFor(M),U=Object.prototype,V=o.Symbol,$=V&&V.prototype,G=o.TypeError,Z=o.QObject,H=S.f,J=T.f,X=j.f,K=R.f,Y=a([].push),Q=k("symbols"),tt=k("op-symbols"),et=k("wks"),rt=!Z||!Z.prototype||!Z.prototype.findChild,nt=s&&l((function(){return 7!=g(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=H(U,e);n&&delete U[e],J(t,e,r),n&&t!==U&&J(U,e,n)}:J,ot=function(t,e){var r=Q[t]=g($);return L(r,{type:M,tag:t,description:e}),s||(r.description=e),r},it=function(t,e,r){t===U&&it(tt,e,r),d(t);var n=h(e);return d(r),f(Q,n)?(r.enumerable?(f(t,F)&&t[F][n]&&(t[F][n]=!1),r=g(r,{enumerable:b(0,!1)})):(f(t,F)||J(t,F,b(1,{})),t[F][n]=!0),nt(t,n,r)):J(t,n,r)},at=function(t,e){d(t);var r=y(e),n=m(r).concat(lt(r));return B(n,(function(e){s&&!i(ut,r,e)||it(t,e,r[e])})),t},ut=function(t){var e=h(t),r=i(K,this,e);return!(this===U&&f(Q,e)&&!f(tt,e))&&(!(r||!f(this,e)||!f(Q,e)||f(this,F)&&this[F][e])||r)},st=function(t,e){var r=y(t),n=h(e);if(r!==U||!f(Q,n)||f(tt,n)){var o=H(r,n);return!o||!f(Q,n)||f(r,F)&&r[F][n]||(o.enumerable=!0),o}},ct=function(t){var e=X(y(t)),r=[];return B(e,(function(t){f(Q,t)||f(_,t)||Y(r,t)})),r},lt=function(t){var e=t===U,r=X(e?tt:y(t)),n=[];return B(r,(function(t){!f(Q,t)||e&&!f(U,t)||Y(n,Q[t])})),n};c||(P($=(V=function(){if(p($,this))throw G("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=z(t),r=function(t){this===U&&i(r,tt,t),f(this,F)&&f(this[F],e)&&(this[F][e]=!1),nt(this,e,b(1,t))};return s&&rt&&nt(U,e,{configurable:!0,set:r}),ot(e,t)}).prototype,"toString",(function(){return q(this).tag})),P(V,"withoutSetter",(function(t){return ot(z(t),t)})),R.f=ut,T.f=it,x.f=at,S.f=st,O.f=j.f=ct,w.f=lt,C.f=function(t){return ot(I(t),t)},s&&(J($,"description",{configurable:!0,get:function(){return q(this).description}}),u||P(U,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),B(m(et),(function(t){A(t)})),n({target:M,stat:!0,forced:!c},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?g(t):at(g(t),e)},defineProperty:it,defineProperties:at,getOwnPropertyDescriptor:st}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ct}),D(),W(V,M),_[F]=!0},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,y=d&&d.prototype;if(o&&s(d)&&(!("description"in y)||void 0!==d().description)){var h={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=c(y,this)?new d(t):void 0===t?d():d(t);return""===t&&(h[e]=!0),e};p(v,d),v.prototype=y,y.constructor=v;var b="Symbol(test)"==String(d("test")),g=a(y.valueOf),m=a(y.toString),O=/^Symbol\((.*)\)[^)]+$/,j=a("".replace),w=a("".slice);f(y,"description",{configurable:!0,get:function(){var t=g(this);if(u(h,t))return"";var e=m(t),r=b?w(e,7,-1):j(e,O,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},763:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2597),a=r(1340),u=r(2309),s=r(2015),c=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=a(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,l[r]=e,r}})},2165:(t,e,r)=>{r(6800)("iterator")},2526:(t,e,r)=>{r(4032),r(763),r(6620),r(8862),r(9660)},6620:(t,e,r)=>{var n=r(2109),o=r(2597),i=r(2190),a=r(6330),u=r(2309),s=r(2015),c=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(a(t)+" is not a symbol");if(o(c,t))return c[t]}})},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:()=>cn}),r(2772),r(1703),r(6647),r(9600),r(2707),r(1058),r(3210),r(8304),r(4812),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?Object.setPrototypeOf.bind():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.bind():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 y(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)?y(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 y(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 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 v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():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.bind():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&&h(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 S(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)?S(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 S(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 T(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?Object.setPrototypeOf.bind():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.bind():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(" ")}}])&&T(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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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 U(t){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},U(t)}var V=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=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),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function $(t){return(new V).floatToCardinal(t)}function G(t){return G="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},G(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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},J(t,e)}function X(t,e){if(e&&("object"===G(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.bind():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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},dt(t)}var yt=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 ht(t){return(new yt).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?Object.setPrototypeOf.bind():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.bind():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 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 Tt(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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Rt(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 kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():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 Tt({},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?Tt({},i%10==1&&80!=o?"".concat(r," et ").concat(n):"".concat(r,"-").concat(n),o+i):Tt({},"".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?Object.setPrototypeOf.bind():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.bind():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 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 Vt(t,e){return Vt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Vt(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 Gt(t){return Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Gt(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&&Vt(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=Gt(n);if(o){var r=Gt(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),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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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 ye(t){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ye(t)}r(5306),r(6541),r(189),r(6699),r(2023);var he=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=ye(n);if(o){var r=ye(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 he).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?Object.setPrototypeOf.bind():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.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},we(t)}var Se=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 Te(t){return(new Se).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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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.bind():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 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},Ue(t)}function Ve(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 Ge(){return Ge="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():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}},Ge.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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},He(t,e)}function Je(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 Xe(t){return Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():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 Ve({},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 Ve({},"".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 Ge(Xe(a.prototype),"toCardinal",this).call(this,e)+"honderd"+(r?(this.options.includeOptionalAnd?" en ":" ")+Ge(Xe(a.prototype),"toCardinal",this).call(this,r):"")}return Ge(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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},dr(t)}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&&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 hr(t){return(new yr).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?Object.setPrototypeOf.bind():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.bind():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 Sr(t){return(new wr).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},Tr(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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},kr(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 _r(t){return _r=Object.setPrototypeOf?Object.getPrototypeOf.bind():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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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 Ur(t){return Ur=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ur(t)}var Vr=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=Ur(r);if(n){var o=Ur(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 Vr).floatToCardinal(t)}function Gr(t){return Gr="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},Gr(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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Hr(t,e)}function Jr(t,e){if(e&&("object"===Gr(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.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xr(t)}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}}),Object.defineProperty(t,"prototype",{writable:!1}),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="âm",t.separatorWord="phẩy",t.zero="không",t.base={0:"không",1:"một",2:"hai",3:"ba",4:"bốn",5:"năm",6:"sáu",7:"bảy",8:"tám",9:"chín",10:"mười",11:"mười một",12:"mười hai",13:"mười ba",14:"mười bốn",15:"mười lăm",16:"mười sáu",17:"mười bảy",18:"mười tám",19:"mười chín"},t.tens={20:"hai mươi",30:"ba mươi",40:"bốn mươi",50:"năm mươi",60:"sáu mươi",70:"bảy mươi",80:"tám mươi",90:"chín mươi"},t.thousands={1:"nghìn",2:"triệu",3:"tỷ",4:"nghìn tỷ",5:"trăm nghìn tỷ",6:"Quintillion",7:"Sextillion",8:"Septillion",9:"Octillion",10:"Nonillion",11:"Decillion",12:"Undecillion",13:"Duodecillion",14:"Tredecillion",15:"Quattuordecillion",16:"Sexdecillion",17:"Septendecillion",18:"Octodecillion",19:"Novemdecillion",20:"Vigintillion"},t}return e=a,(r=[{key:"convertLess100",value:function(t){var e=t%10,r=t-e,n=this.tens[r];if(0===e)return n;var o=this.base[e];return 1===e&&(o="mốt"),5===e&&(o="lăm"),n+" "+o}},{key:"convertLess1000",value:function(t){var e=[],r=t%100,n=t-r;return n>0&&e.push(this.base[n/100],"trăm"),0<r&&r<10&&(e.length>0&&e.push("lẻ"),5===r?e.push("năm"):e.push(this.base[r])),r>=10&&e.push(this.toCardinal(r)),e.join(" ")}},{key:"convertMore1000",value:function(t){for(var e=[],r=Math.floor(t/1e3),n=1;r>=1e3;)r=Math.floor(r/1e3),n+=1;var o=t-r*Math.pow(1e3,n);return e.push(this.toCardinal(r),this.thousands[n]),o>0&&(o<=99&&e.push("lẻ"),e.push(this.toCardinal(o))),e.join(" ")}},{key:"toCardinal",value:function(t){return t<20?this.base[t]:t<100?this.convertLess100(t):t<1e3?this.convertLess1000(t):this.convertMore1000(t)}}])&&Zr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(o);function Yr(t){return(new Kr).floatToCardinal(t)}function Qr(t){return Qr="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},Qr(t)}function tn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function en(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 rn(t,e){return rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},rn(t,e)}function nn(t,e){if(e&&("object"===Qr(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 on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},on(t)}r(7327);var an=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&&rn(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=on(n);if(o){var r=on(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return nn(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=tn({},"".concat(r).concat(o),n+i);return 1==n&&i<10?a=tn({},o,i):i>n?a=tn({},"".concat(r).concat(o),n*i):this.zeroDigit(n)>this.digit(i)&&(a=tn({},"".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}}])&&en(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function un(t){return(new an).floatToCardinal(t)}var sn=["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","vi"];function cn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lang:"en"},r="EN";if(e&&e.lang){if(-1===sn.indexOf(e.lang))throw Error("ERROR: Unsupported language. Supported languages are: "+sn.sort().join(", "));r=e.lang.toUpperCase()}return"EN"===r?ut(t):"FR"===r?_t(t):"ES"===r?ht(t):"DE"===r?$(t):"PT"===r?Sr(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?hr(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?Te(t):"NL"===r?Ye(t,e):"SR"===r?Ir(t):"FA"===r?wt(t):"ZH"===r?un(t):"VI"===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,(()=>(()=>{var t={9662:(t,e,r)=>{var n=r(614),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},9483:(t,e,r)=>{var n=r(4411),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor")}},6077:(t,e,r)=>{var n=r(614),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},1223:(t,e,r)=>{var n=r(5112),o=r(30),i=r(3070).f,a=n("unscopables"),u=Array.prototype;null==u[a]&&i(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(7976),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw o("Incorrect invocation")}},9670:(t,e,r)=>{var n=r(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(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(9974),o=r(6916),i=r(7908),a=r(3411),u=r(7659),s=r(4411),c=r(6244),l=r(6135),f=r(4121),p=r(1246),y=Array;t.exports=function(t){var e=i(t),r=s(this),d=arguments.length,h=d>1?arguments[1]:void 0,v=void 0!==h;v&&(h=n(h,d>2?arguments[2]:void 0));var b,g,m,O,j,w,S=p(e),T=0;if(!S||this===y&&u(S))for(b=c(e),g=r?new this(b):y(b);b>T;T++)w=v?h(e[T],T):e[T],l(g,T,w);else for(j=(O=f(e,S)).next,g=r?new this:[];!(m=o(j,O)).done;T++)w=v?a(O,h,[m.value,T],!0):m.value,l(g,T,w);return g.length=T,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,y=5==t||f;return function(d,h,v,b){for(var g,m,O=a(d),j=i(O),w=n(h,v),S=u(j),T=0,x=b||s,R=e?x(d,S):r||p?x(d,0):void 0;S>T;T++)if((y||T in j)&&(m=w(g=j[T],T,O),t))if(e)R[T]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return T;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)}))}},3658:(t,e,r)=>{"use strict";var n=r(9781),o=r(3157),i=TypeError,a=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!a(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},1589:(t,e,r)=>{var n=r(1400),o=r(6244),i=r(6135),a=Array,u=Math.max;t.exports=function(t,e,r){for(var s=o(t),c=n(e,s),l=n(void 0===r?s:r,s),f=a(u(l-c,0)),p=0;c<l;c++,p++)i(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(3157),o=r(4411),i=r(111),a=r(5112)("species"),u=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===u||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?u: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(1694),o=r(614),i=r(4326),a=r(5112)("toStringTag"),u=Object,s="Arguments"==i(function(){return arguments}());t.exports=n?i: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=u(t),a))?r:s?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},5631:(t,e,r)=>{"use strict";var n=r(3070).f,o=r(30),i=r(9190),a=r(9974),u=r(5787),s=r(8554),c=r(408),l=r(1656),f=r(6178),p=r(6340),y=r(9781),d=r(2423).fastKey,h=r(9909),v=h.set,b=h.getterFor;t.exports={getConstructor:function(t,e,r,l){var f=t((function(t,n){u(t,p),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),y||(t.size=0),s(n)||c(n,t[l],{that:t,AS_ENTRIES:r})})),p=f.prototype,h=b(e),g=function(t,e,r){var n,o,i=h(t),a=m(t,e);return a?a.value=r:(i.last=a={index:o=d(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),y?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},m=function(t,e){var r,n=h(t),o=d(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(p,{clear:function(){for(var t=h(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,y?t.size=0:this.size=0},delete:function(t){var e=this,r=h(e),n=m(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),y?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=h(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!!m(this,t)}}),i(p,r?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),y&&n(p,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=b(e),i=b(n);l(t,e,(function(t,e){v(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)?f("keys"==e?r.key:"values"==e?r.value:[r.key,r.value],!1):(t.target=void 0,f(void 0,!0))}),r?"entries":"values",!r,!0),p(e)}}},7710:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(1702),a=r(4705),u=r(8052),s=r(2423),c=r(408),l=r(5787),f=r(614),p=r(8554),y=r(111),d=r(7293),h=r(7072),v=r(8003),b=r(9587);t.exports=function(t,e,r){var g=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),O=g?"set":"add",j=o[t],w=j&&j.prototype,S=j,T={},x=function(t){var e=i(w[t]);u(w,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(m&&!y(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return m&&!y(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!y(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!f(j)||!(m||w.forEach&&!d((function(){(new j).entries().next()})))))S=r.getConstructor(e,t,g,O),s.enable();else if(a(t,!0)){var R=new S,P=R[O](m?{}:-0,1)!=R,k=d((function(){R.has(1)})),E=h((function(t){new j(t)})),_=!m&&d((function(){for(var t=new j,e=5;e--;)t[O](e,e);return!t.has(-0)}));E||((S=e((function(t,e){l(t,w);var r=b(new j,t,S);return p(e)||c(e,r[O],{that:r,AS_ENTRIES:g}),r}))).prototype=w,w.constructor=S),(k||_)&&(x("delete"),x("has"),g&&x("get")),(_||P)&&x(O),m&&w.clear&&delete w.clear}return T[t]=S,n({global:!0,constructor:!0,forced:S!=j},T),v(S,t),m||r.setStrong(S,t,g),S}},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}))},6178:t=>{t.exports=function(t,e){return{value:t,done:e}}},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}},7045:(t,e,r)=>{var n=r(6339),o=r(3070);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},8052:(t,e,r)=>{var n=r(614),o=r(3070),i=r(6339),a=r(3072);t.exports=function(t,e,r,u){u||(u={});var s=u.enumerable,c=void 0!==u.name?u.name:e;if(n(r)&&i(r,c,u),u.global)s?t[e]=r:a(e,r);else{try{u.unsafe?t[e]&&(s=!0):delete t[e]}catch(t){}s?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},9190:(t,e,r)=>{var n=r(8052);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},3072:(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}},5117:(t,e,r)=>{"use strict";var n=r(6330),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw o("Cannot delete property "+n(e)+" of "+n(t))}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},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):{}}},7207:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return 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"]},1060:(t,e,r)=>{var n=r(1702),o=Error,i=n("".replace),a=String(o("zxcasd").stack),u=/\n\s*at [^:]*:[^\n]*/,s=u.test(a);t.exports=function(t,e){if(s&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,u,"");return t}},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(8052),u=r(3072),s=r(9920),c=r(4705);t.exports=function(t,e){var r,l,f,p,y,d=t.target,h=t.global,v=t.stat;if(r=h?n:v?n[d]||u(d,{}):(n[d]||{}).prototype)for(l in e){if(p=e[l],f=t.dontCallGetSet?(y=o(r,l))&&y.value:r[l],!c(h?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(1470),o=r(8052),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),y=!a((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),d=y&&!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(!y||!d||r){var h=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?y&&!a?{done:!0,value:h(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(1470),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(1702),o=r(9662),i=r(111),a=r(2597),u=r(206),s=r(4374),c=Function,l=n([].concat),f=n([].join),p={},y=function(t,e,r){if(!a(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=s?c.bind:function(t){var e=o(this),r=e.prototype,n=u(arguments,1),a=function(){var r=l(n,u(arguments));return this instanceof a?y(e,r.length,r):e.apply(t,r)};return i(r)&&(a.prototype=r),a}},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}},1470:(t,e,r)=>{var n=r(4326),o=r(1702);t.exports=function(t){if("Function"===n(t))return o(t)}},1702:(t,e,r)=>{var n=r(4374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.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(8554),a=r(7497),u=r(5112)("iterator");t.exports=function(t){if(!i(t))return o(t,u)||o(t,"@@iterator")||a[n(t)]}},4121:(t,e,r)=>{var n=r(6916),o=r(9662),i=r(9670),a=r(6330),u=r(1246),s=TypeError;t.exports=function(t,e){var r=arguments.length<2?u(t):e;if(o(r))return i(n(r,t));throw s(a(t)+" is not iterable")}},8173:(t,e,r)=>{var n=r(9662),o=r(8554);t.exports=function(t,e){var r=t[e];return o(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 y=r+t.length,d=n.length,h=l;return void 0!==f&&(f=o(f),h=c),u(p,h,(function(o,u){var c;switch(a(u,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,r);case"'":return s(e,y);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(1702),o=r(7293),i=r(4326),a=Object,u=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?u(t,""):a(t)}:a},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),y=r(6677),d=!1,h=p("meta"),v=0,b=function(t){s(t,h,{value:{objectID:"O"+v++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},d=!0;var t=c.f,e=o([].splice),r={};r[h]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===h){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,h)){if(!f(t))return"F";if(!e)return"E";b(t)}return t[h].objectID},getWeakData:function(t,e){if(!u(t,h)){if(!f(t))return!0;if(!e)return!1;b(t)}return t[h].weakData},onFreeze:function(t){return y&&d&&f(t)&&!u(t,h)&&b(t),t}};i[h]=!0},9909:(t,e,r)=>{var n,o,i,a=r(4811),u=r(7854),s=r(111),c=r(8880),l=r(2597),f=r(5465),p=r(6200),y=r(3501),d="Object already initialized",h=u.TypeError,v=u.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,n=function(t,e){if(b.has(t))throw h(d);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var g=p("state");y[g]=!0,n=function(t,e){if(l(t,g))throw h(d);return e.facade=t,c(t,g,e),e},o=function(t){return l(t,g)?t[g]:{}},i=function(t){return l(t,g)}}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(!s(e)||(r=o(e)).type!==t)throw h("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,e,r)=>{var n=r(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}: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/,y=n(p.exec),d=!p.exec(c),h=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 d||!!y(p,s(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?v:h},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},8554:t=>{t.exports=function(t){return null==t}},111:(t,e,r)=>{var n=r(614),o=r(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}: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(5005),o=r(614),i=r(7976),a=r(3307),u=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,u(t))}},408:(t,e,r)=>{var n=r(9974),o=r(6916),i=r(9670),a=r(6330),u=r(7659),s=r(6244),c=r(7976),l=r(4121),f=r(1246),p=r(9212),y=TypeError,d=function(t,e){this.stopped=t,this.result=e},h=d.prototype;t.exports=function(t,e,r){var v,b,g,m,O,j,w,S=r&&r.that,T=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_RECORD),R=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),k=n(e,S),E=function(t){return v&&p(v,"normal",t),new d(!0,t)},_=function(t){return T?(i(t),P?k(t[0],t[1],E):k(t[0],t[1])):P?k(t,E):k(t)};if(x)v=t.iterator;else if(R)v=t;else{if(!(b=f(t)))throw y(a(t)+" is not iterable");if(u(b)){for(g=0,m=s(t);m>g;g++)if((O=_(t[g]))&&c(h,O))return O;return new d(!1)}v=l(t,b)}for(j=x?t.next:v.next;!(w=o(j,v)).done;){try{O=_(w.value)}catch(t){p(v,"throw",t)}if("object"==typeof O&&O&&c(h,O))return O}return new d(!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}},3061:(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}},1656:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(1913),a=r(6530),u=r(614),s=r(3061),c=r(9518),l=r(7674),f=r(8003),p=r(8880),y=r(8052),d=r(5112),h=r(7497),v=r(3383),b=a.PROPER,g=a.CONFIGURABLE,m=v.IteratorPrototype,O=v.BUGGY_SAFARI_ITERATORS,j=d("iterator"),w="keys",S="values",T="entries",x=function(){return this};t.exports=function(t,e,r,a,d,v,R){s(r,e,a);var P,k,E,_=function(t){if(t===d&&D)return D;if(!O&&t in C)return C[t];switch(t){case w:case S:case T: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&&(P=c(W.call(new t)))!==Object.prototype&&P.next&&(i||c(P)===m||(l?l(P,m):u(P[j])||y(P,j,x)),f(P,z,!0,!0),i&&(h[z]=x)),b&&d==S&&A&&A.name!==S&&(!i&&g?p(C,"name",S):(I=!0,D=function(){return o(A,this)})),d)if(k={values:_(S),keys:v?D:_(w),entries:_(T)},R)for(E in k)(O||I||!(E in C))&&y(C,E,k[E]);else n({target:e,proto:!0,forced:O||I},k);return i&&!R||C[j]===D||y(C,j,D,{name:d}),h[e]=D,k}},3383:(t,e,r)=>{"use strict";var n,o,i,a=r(7293),u=r(614),s=r(111),c=r(30),l=r(9518),f=r(8052),p=r(5112),y=r(1913),d=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):h=!0),!s(n)||a((function(){var t={};return n[d].call(t)!==t}))?n={}:y&&(n=c(n)),u(n[d])||f(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)}},6339:(t,e,r)=>{var n=r(7293),o=r(614),i=r(2597),a=r(9781),u=r(6530).CONFIGURABLE,s=r(2788),c=r(9909),l=c.enforce,f=c.get,p=Object.defineProperty,y=a&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),d=String(String).split("String"),h=t.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||u&&t.name!==e)&&(a?p(t,"name",{value:e,configurable:!0}):t.name=e),y&&r&&i(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return i(n,"source")||(n.source=d.join("string"==typeof e?e:"")),t};Function.prototype.toString=h((function(){return o(this)&&f(this).source||s(this)}),"toString")},4758:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},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(7850),o=TypeError;t.exports=function(t){if(n(t))throw o("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,y=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||(y(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,y=Object.defineProperty,d=o([].concat);t.exports=!p||a((function(){if(n&&1!==p({b:1},p(y({},"a",{enumerable:!0,get:function(){y(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,y=c.f;o>a;)for(var h,v=f(arguments[a++]),b=p?d(u(v),p(v)):u(v),g=b.length,m=0;g>m;)h=b[m++],n&&!i(y,v,h)||(r[h]=v[h]);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>"},y=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?y(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):y(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.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(9781),o=r(4664),i=r(3353),a=r(9670),u=r(4948),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor;e.f=n?i?function(t,e,r){if(a(t),e=u(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=l(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 c(t,e,r)}:c:function(t,e,r){if(a(t),e=u(e),a(r),o)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(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(2597),o=r(614),i=r(7908),a=r(6200),u=r(8544),s=a("IE_PROTO"),c=Object,l=c.prototype;t.exports=u?c.getPrototypeOf:function(t){var e=i(t);if(n(e,s))return e[s];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?l: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(6916),o=r(614),i=r(111),a=TypeError;t.exports=function(t,e){var r,u;if("string"===e&&o(r=t.toString)&&!i(u=n(r,t)))return u;if(o(r=t.valueOf)&&!i(u=n(r,t)))return u;if("string"!==e&&o(r=t.toString)&&!i(u=n(r,t)))return u;throw a("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},2626:(t,e,r)=>{var n=r(3070).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},7651:(t,e,r)=>{var n=r(6916),o=r(9670),i=r(614),a=r(4326),u=r(2261),s=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var c=n(r,t,e);return null!==c&&o(c),c}if("RegExp"===a(t))return n(u,t,e);throw s("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,y=r(9441),d=r(7168),h=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),S=c.BROKEN_CARET,T=void 0!==/()??/.exec("")[1];(w||T||S||y||d)&&(b=function(t){var e,r,n,o,a,c,l,y=this,d=p(y),x=u(t),R=d.raw;if(R)return R.lastIndex=y.lastIndex,e=i(b,R,x),y.lastIndex=R.lastIndex,e;var P=d.groups,k=S&&y.sticky,E=i(s,y),_=y.source,z=0,I=x;if(k&&(E=O(E,"y",""),-1===m(E,"g")&&(E+="g"),I=j(x,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&"\n"!==g(x,y.lastIndex-1))&&(_="(?: "+_+")",I=" "+I,z++),r=new RegExp("^(?:"+_+")",E)),T&&(r=new RegExp("^"+_+"$(?!\\s)",E)),w&&(n=y.lastIndex),o=i(v,k?r:y,I),k?o?(o.input=j(o.input,z),o[0]=j(o[0],z),o.index=y.lastIndex,y.lastIndex+=o[0].length):y.lastIndex=0:w&&o&&(y.lastIndex=y.global?o.index+o[0].length:n),T&&o&&o.length>1&&i(h,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.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4706:(t,e,r)=>{var n=r(6916),o=r(2597),i=r(7976),a=r(7066),u=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in u||o(t,"flags")||!i(u,t)?e:n(a,t)}},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(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},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(3072),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.26.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},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),y=f.length;return p<0||p>=y?t?"":void 0:(n=s(f,p))<55296||n>56319||p+1===y||(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)),y=o(r),d=p.length,h=void 0===n?" ":i(n);return y<=d||""==h?p:((f=s(h,l((a=y-d)/h.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(9303),o=r(1340),i=r(4488),a=RangeError;t.exports=function(t){var e=o(i(this)),r="",u=n(t);if(u<0||u==1/0)throw a("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(e+=e))1&u&&(r+=e);return r}},365:(t,e,r)=>{"use strict";var n=r(3111).end,o=r(6091);t.exports=o("trimEnd")?function(){return n(this)}:"".trimEnd},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)}},6293:(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}))},6532:(t,e,r)=>{var n=r(6916),o=r(5005),i=r(5112),a=r(8052);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,u=i("toPrimitive");e&&!e[u]&&a(e,u,(function(t){return n(r,this)}),{arity:1})}},2015:(t,e,r)=>{var n=r(6293);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},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,e,r)=>{var n=r(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},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(4488),o=Object;t.exports=function(t){return o(n(t))}},7593:(t,e,r)=>{var n=r(6916),o=r(111),i=r(2190),a=r(8173),u=r(2140),s=r(5112),c=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,s=a(t,l);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!o(r)||i(r))return r;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(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(648),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(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(6293);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}))},4811:(t,e,r)=>{var n=r(7854),o=r(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},6800:(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)})}},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(6293),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(2626),l=r(9587),f=r(6277),p=r(8340),y=r(1060),d=r(2914),h=r(9781),v=r(1913);t.exports=function(t,e,r,b){var g="stackTraceLimit",m=b?2:1,O=t.split("."),j=O[O.length-1],w=n.apply(null,O);if(w){var S=w.prototype;if(!v&&o(S,"cause")&&delete S.cause,!r)return w;var T=n("Error"),x=e((function(t,e){var r=f(b?e:t,void 0),n=b?new w(t):new w;return void 0!==r&&i(n,"message",r),d&&i(n,"stack",y(n.stack,2)),this&&a(S,this)&&l(n,this,x),arguments.length>m&&p(n,arguments[m]),n}));if(x.prototype=S,"Error"!==j?u?u(x,T):s(x,T,{name:!0}):h&&g in w&&(c(x,w,g),c(x,w,"prepareStackTrace")),s(x,w),!v)try{S.name!==j&&i(S,"name",j),S.constructor=x}catch(t){}return x}}},2222:(t,e,r)=>{"use strict";var n=r(2109),o=r(7293),i=r(3157),a=r(111),u=r(7908),s=r(6244),c=r(7207),l=r(6135),f=r(5417),p=r(1194),y=r(5112),d=r(7392),h=y("isConcatSpreadable"),v=d>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),b=p("concat"),g=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!v||!b},{concat:function(t){var e,r,n,o,i,a=u(this),p=f(a,0),y=0;for(e=-1,n=arguments.length;e<n;e++)if(g(i=-1===e?a:arguments[e]))for(o=s(i),c(y+o),r=0;r<o;r++,y++)r in i&&l(p,y,i[r]);else c(y+1),l(p,y++,i);return p.length=y,p}})},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(7293),a=r(1223);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},2772:(t,e,r)=>{"use strict";var n=r(2109),o=r(1470),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(1656),c=r(6178),l=r(1913),f=r(9781),p="Array Iterator",y=a.set,d=a.getterFor(p);t.exports=s(Array,"Array",(function(t,e){y(this,{type:p,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,c(void 0,!0)):c("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"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)}})},7658:(t,e,r)=>{"use strict";var n=r(2109),o=r(7908),i=r(6244),a=r(3658),u=r(7207),s=r(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();n({target:"Array",proto:!0,arity:1,forced:s||c},{push:function(t){var e=o(this),r=i(e),n=arguments.length;u(r+n);for(var s=0;s<n;s++)e[r]=arguments[s],r++;return a(e,r),r}})},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(3157),i=r(4411),a=r(111),u=r(1400),s=r(6244),c=r(5656),l=r(6135),f=r(5112),p=r(1194),y=r(206),d=p("slice"),h=f("species"),v=Array,b=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var r,n,f,p=c(this),d=s(p),g=u(t,d),m=u(void 0===e?d:e,d);if(o(p)&&(r=p.constructor,(i(r)&&(r===v||o(r.prototype))||a(r)&&null===(r=r[h]))&&(r=void 0),r===v||void 0===r))return y(p,g,m);for(n=new(void 0===r?v:r)(b(m-g,0)),f=0;g<m;g++,f++)g in p&&l(n,f,p[g]);return n.length=f,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(5117),c=r(1340),l=r(7293),f=r(4362),p=r(9341),y=r(8886),d=r(256),h=r(7392),v=r(8008),b=[],g=o(b.sort),m=o(b.push),O=l((function(){b.sort(void 0)})),j=l((function(){b.sort(null)})),w=p("sort"),S=!l((function(){if(h)return h<70;if(!(y&&y>3)){if(d)return!0;if(v)return v<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++)b.push({k:e+n,v:r})}for(b.sort((function(t,e){return e.v-t.v})),n=0;n<b.length;n++)e=b[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:O||!j||!w||!S},{sort:function(t){void 0!==t&&i(t);var e=a(this);if(S)return void 0===t?g(e):g(e,t);var r,n,o=[],l=u(e);for(n=0;n<l;n++)n in e&&m(o,e[n]);for(f(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:c(e)>c(r)?1:-1}}(t)),r=u(o),n=0;n<r;)e[n]=o[n++];for(;n<l;)s(e,n++);return e}})},3710:(t,e,r)=>{var n=r(1702),o=r(8052),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,constructor:!0,arity:1,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,constructor:!0,arity:1,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(8052),o=r(7762),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},4812:(t,e,r)=>{var n=r(2109),o=r(7065);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind: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(5005),i=r(2104),a=r(6916),u=r(1702),s=r(7293),c=r(3157),l=r(614),f=r(111),p=r(2190),y=r(206),d=r(6293),h=o("JSON","stringify"),v=u(/./.exec),b=u("".charAt),g=u("".charCodeAt),m=u("".replace),O=u(1..toString),j=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,T=!d||s((function(){var t=o("Symbol")();return"[null]"!=h([t])||"{}"!=h({a:t})||"{}"!=h(Object(t))})),x=s((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),R=function(t,e){var r=y(arguments),n=e;if((f(e)||void 0!==t)&&!p(t))return c(e)||(e=function(t,e){if(l(n)&&(e=a(n,this,t,e)),!p(e))return e}),r[1]=e,i(h,null,r)},P=function(t,e,r){var n=b(r,e-1),o=b(r,e+1);return v(w,t)&&!v(S,o)||v(S,t)&&!v(w,n)?"\\u"+O(g(t,0),16):t};h&&n({target:"JSON",stat:!0,arity:3,forced:T||x},{stringify:function(t,e,r){var n=y(arguments),o=i(T?R:h,null,n);return x&&"string"==typeof o?m(o,j,P):o}})},9653:(t,e,r)=>{"use strict";var n=r(9781),o=r(7854),i=r(1702),a=r(4705),u=r(8052),s=r(2597),c=r(9587),l=r(7976),f=r(2190),p=r(7593),y=r(7293),d=r(8006).f,h=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,S=i("".slice),T=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=T(c,0))||45===e){if(88===(r=T(c,2))||120===r)return NaN}else if(48===e){switch(T(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=S(c,2)).length,u=0;u<a;u++)if((s=T(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)&&y((function(){b(r)}))?c(Object(e),r,k):e},E=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;E.length>_;_++)s(O,P=E[_])&&!s(k,P)&&v(k,P,h(O,P));k.prototype=j,j.constructor=k,u(o,m,k,{constructor:!0})}},9601:(t,e,r)=>{var n=r(2109),o=r(1574);n({target:"Object",stat:!0,arity:2,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)}})},9660:(t,e,r)=>{var n=r(2109),o=r(6293),i=r(7293),a=r(5181),u=r(7908);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(u(t)):[]}})},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(8052),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"),y=Object.prototype,d=[].push,h=f((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),v=!f((function(){p((function(){}))})),b=h||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&&!h)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:y),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(8006).f,l=r(7976),f=r(7850),p=r(1340),y=r(4706),d=r(2999),h=r(2626),v=r(8052),b=r(7293),g=r(2597),m=r(9909).enforce,O=r(6340),j=r(5112),w=r(9441),S=r(7168),T=j("match"),x=o.RegExp,R=x.prototype,P=o.SyntaxError,k=i(R.exec),E=i("".charAt),_=i("".replace),z=i("".indexOf),I=i("".slice),C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,A=/a/g,D=/a/g,W=new x(A)!==A,N=d.MISSED_STICKY,B=d.UNSUPPORTED_Y;if(a("RegExp",n&&(!W||N||w||S||b((function(){return D[T]=!1,x(A)!=A||x(D)==D||"/a/i"!=x(A,"i")}))))){for(var M=function(t,e){var r,n,o,i,a,c,d=l(R,this),h=f(t),v=void 0===e,b=[],O=t;if(!d&&h&&v&&t.constructor===M)return t;if((h||l(R,t))&&(t=t.source,v&&(e=y(O))),t=void 0===t?"":p(t),e=void 0===e?"":p(e),O=t,w&&"dotAll"in A&&(n=!!e&&z(e,"s")>-1)&&(e=_(e,/s/g,"")),r=e,N&&"sticky"in A&&(o=!!e&&z(e,"y")>-1)&&B&&(e=_(e,/y/g,"")),S&&(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=E(t,n)))e+=E(t,++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:k(C,I(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],b=i[1]),a=u(x(t,e),d?this:R,M),(n||o||b.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=E(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+E(t,++n);return o}(t),r)),o&&(c.sticky=!0),b.length&&(c.groups=b)),t!==O)try{s(a,"source",""===O?"(?:)":O)}catch(t){}return a},F=c(x),L=0;F.length>L;)h(M,x,F[L++]);R.constructor=M,M.prototype=R,v(o,"RegExp",M,{constructor:!0})}O("RegExp")},8450:(t,e,r)=>{var n=r(9781),o=r(9441),i=r(4326),a=r(7045),u=r(9909).get,s=RegExp.prototype,c=TypeError;n&&o&&a(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!u(this).dotAll;throw c("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(9781),o=r(2999).MISSED_STICKY,i=r(4326),a=r(7045),u=r(9909).get,s=RegExp.prototype,c=TypeError;n&&o&&a(s,"sticky",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!u(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},7601:(t,e,r)=>{"use strict";r(4916);var n,o,i=r(2109),a=r(6916),u=r(614),s=r(9670),c=r(1340),l=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),f=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(t){var e=s(this),r=c(t),n=e.exec;if(!u(n))return a(f,e,r);var o=a(n,e,r);return null!==o&&(s(o),!0)}})},9714:(t,e,r)=>{"use strict";var n=r(6530).PROPER,o=r(8052),i=r(9670),a=r(1340),u=r(7293),s=r(4706),c="toString",l=RegExp.prototype.toString,f=u((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),p=n&&l.name!=c;(f||p)&&o(RegExp.prototype,c,(function(){var t=i(this);return"/"+a(t.source)+"/"+a(s(t))}),{unsafe:!0})},7227:(t,e,r)=>{"use strict";r(7710)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(5631))},189:(t,e,r)=>{r(7227)},7852:(t,e,r)=>{"use strict";var n,o=r(2109),i=r(1470),a=r(1236).f,u=r(7466),s=r(1340),c=r(3929),l=r(4488),f=r(4964),p=r(1913),y=i("".endsWith),d=i("".slice),h=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:h(u(r),n),i=s(t);return y?y(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(1656),u=r(6178),s="String Iterator",c=i.set,l=i.getterFor(s);a(String,"String",(function(t){c(this,{type:s,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?u(void 0,!0):(t=n(r,o),e.index+=t.length,u(t,!1))}))},4723:(t,e,r)=>{"use strict";var n=r(6916),o=r(7007),i=r(9670),a=r(8554),u=r(7466),s=r(1340),c=r(4488),l=r(8173),f=r(1530),p=r(7651);o("match",(function(t,e,r){return[function(e){var r=c(this),o=a(e)?void 0:l(e,t);return o?n(o,e,r):new RegExp(e)[t](s(r))},function(t){var n=i(this),o=s(t),a=r(e,n,o);if(a.done)return a.value;if(!n.global)return p(n,o);var c=n.unicode;n.lastIndex=0;for(var l,y=[],d=0;null!==(l=p(n,o));){var h=s(l[0]);y[d]=h,""===h&&(n.lastIndex=f(o,u(n.lastIndex),c)),d++}return 0===d?null:y}]}))},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(8554),f=r(9303),p=r(7466),y=r(1340),d=r(4488),h=r(1530),v=r(8173),b=r(647),g=r(7651),m=r(5112)("replace"),O=Math.max,j=Math.min,w=i([].concat),S=i([].push),T=i("".indexOf),x=i("".slice),R="$0"==="a".replace(/./,"$0"),P=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(t,e,r){var i=P?"$":"$0";return[function(t,r){var n=d(this),i=l(t)?void 0:v(t,m);return i?o(i,t,n,r):o(e,y(n),t,r)},function(t,o){var a=s(this),u=y(t);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var l=r(e,a,u,o);if(l.done)return l.value}var d=c(o);d||(o=y(o));var v=a.global;if(v){var m=a.unicode;a.lastIndex=0}for(var R=[];;){var P=g(a,u);if(null===P)break;if(S(R,P),!v)break;""===y(P[0])&&(a.lastIndex=h(u,p(a.lastIndex),m))}for(var k,E="",_=0,z=0;z<R.length;z++){for(var I=y((P=R[z])[0]),C=O(j(f(P.index),u.length),0),A=[],D=1;D<P.length;D++)S(A,void 0===(k=P[D])?k:String(k));var W=P.groups;if(d){var N=w([I],A,C,u);void 0!==W&&S(N,W);var B=y(n(o,void 0,N))}else B=b(I,u,C,A,W,o);C>=_&&(E+=x(u,_,C)+B,_=C+I.length)}return E+x(u,_)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!R||P)},8702:(t,e,r)=>{r(3462);var n=r(2109),o=r(365);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==o},{trimEnd:o})},3462:(t,e,r)=>{var n=r(2109),o=r(365);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==o},{trimRight:o})},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)}})},4032:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(6916),a=r(1702),u=r(1913),s=r(9781),c=r(6293),l=r(7293),f=r(2597),p=r(7976),y=r(9670),d=r(5656),h=r(4948),v=r(1340),b=r(9114),g=r(30),m=r(1956),O=r(8006),j=r(1156),w=r(5181),S=r(1236),T=r(3070),x=r(6048),R=r(5296),P=r(8052),k=r(2309),E=r(6200),_=r(3501),z=r(9711),I=r(5112),C=r(6061),A=r(6800),D=r(6532),W=r(8003),N=r(9909),B=r(2092).forEach,M=E("hidden"),F="Symbol",L=N.set,q=N.getterFor(F),V=Object.prototype,H=o.Symbol,$=H&&H.prototype,G=o.TypeError,U=o.QObject,Z=S.f,J=T.f,X=j.f,K=R.f,Y=a([].push),Q=k("symbols"),tt=k("op-symbols"),et=k("wks"),rt=!U||!U.prototype||!U.prototype.findChild,nt=s&&l((function(){return 7!=g(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Z(V,e);n&&delete V[e],J(t,e,r),n&&t!==V&&J(V,e,n)}:J,ot=function(t,e){var r=Q[t]=g($);return L(r,{type:F,tag:t,description:e}),s||(r.description=e),r},it=function(t,e,r){t===V&&it(tt,e,r),y(t);var n=h(e);return y(r),f(Q,n)?(r.enumerable?(f(t,M)&&t[M][n]&&(t[M][n]=!1),r=g(r,{enumerable:b(0,!1)})):(f(t,M)||J(t,M,b(1,{})),t[M][n]=!0),nt(t,n,r)):J(t,n,r)},at=function(t,e){y(t);var r=d(e),n=m(r).concat(lt(r));return B(n,(function(e){s&&!i(ut,r,e)||it(t,e,r[e])})),t},ut=function(t){var e=h(t),r=i(K,this,e);return!(this===V&&f(Q,e)&&!f(tt,e))&&(!(r||!f(this,e)||!f(Q,e)||f(this,M)&&this[M][e])||r)},st=function(t,e){var r=d(t),n=h(e);if(r!==V||!f(Q,n)||f(tt,n)){var o=Z(r,n);return!o||!f(Q,n)||f(r,M)&&r[M][n]||(o.enumerable=!0),o}},ct=function(t){var e=X(d(t)),r=[];return B(e,(function(t){f(Q,t)||f(_,t)||Y(r,t)})),r},lt=function(t){var e=t===V,r=X(e?tt:d(t)),n=[];return B(r,(function(t){!f(Q,t)||e&&!f(V,t)||Y(n,Q[t])})),n};c||(P($=(H=function(){if(p($,this))throw G("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=z(t),r=function(t){this===V&&i(r,tt,t),f(this,M)&&f(this[M],e)&&(this[M][e]=!1),nt(this,e,b(1,t))};return s&&rt&&nt(V,e,{configurable:!0,set:r}),ot(e,t)}).prototype,"toString",(function(){return q(this).tag})),P(H,"withoutSetter",(function(t){return ot(z(t),t)})),R.f=ut,T.f=it,x.f=at,S.f=st,O.f=j.f=ct,w.f=lt,C.f=function(t){return ot(I(t),t)},s&&(J($,"description",{configurable:!0,get:function(){return q(this).description}}),u||P(V,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),B(m(et),(function(t){A(t)})),n({target:F,stat:!0,forced:!c},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?g(t):at(g(t),e)},defineProperty:it,defineProperties:at,getOwnPropertyDescriptor:st}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ct}),D(),W(H,F),_[M]=!0},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),y=i.Symbol,d=y&&y.prototype;if(o&&s(y)&&(!("description"in d)||void 0!==y().description)){var h={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=c(d,this)?new y(t):void 0===t?y():y(t);return""===t&&(h[e]=!0),e};p(v,y),v.prototype=d,d.constructor=v;var b="Symbol(test)"==String(y("test")),g=a(d.valueOf),m=a(d.toString),O=/^Symbol\((.*)\)[^)]+$/,j=a("".replace),w=a("".slice);f(d,"description",{configurable:!0,get:function(){var t=g(this);if(u(h,t))return"";var e=m(t),r=b?w(e,7,-1):j(e,O,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},763:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2597),a=r(1340),u=r(2309),s=r(2015),c=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=a(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,l[r]=e,r}})},2165:(t,e,r)=>{r(6800)("iterator")},2526:(t,e,r)=>{r(4032),r(763),r(6620),r(8862),r(9660)},6620:(t,e,r)=>{var n=r(2109),o=r(2597),i=r(2190),a=r(6330),u=r(2309),s=r(2015),c=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(a(t)+" is not a symbol");if(o(c,t))return c[t]}})},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 y in o)p(n[y]&&n[y].prototype,y);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:()=>cn}),r(2772),r(1703),r(6647),r(9600),r(2707),r(1058),r(3210),r(8304),r(4812),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(7658),r(9653),r(2222),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?Object.setPrototypeOf.bind():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.bind():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 y(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 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 v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():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.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}r(8862),r(9753),r(7042),r(8309),r(4916),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=y(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&&h(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 S(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)?S(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 S(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 T(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?Object.setPrototypeOf.bind():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.bind():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ři sta",4:"čtyři sta",5:"pět set",6:"šest set",7:"sedm set",8:"osm set",9:"devět set"},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(" ")}}])&&T(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?Object.setPrototypeOf.bind():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.bind():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 M(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F(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?Object.setPrototypeOf.bind():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 V(t){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},V(t)}var H=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=V(n);if(o){var r=V(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 M({},"ein".concat(n),i);if(i<1e6)return M({},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 M({},"".concat(r).concat(n),a)}}])&&F(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function $(t){return(new H).floatToCardinal(t)}function G(t){return G="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},G(t)}function U(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Z(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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},J(t,e)}function X(t,e){if(e&&("object"===G(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.bind():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=U({},"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 U({},"".concat(r+n),a)}}])&&Z(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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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 yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},yt(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}}),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=yt(n);if(o){var r=yt(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 ht(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},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?Object.setPrototypeOf.bind():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.bind():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 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 Tt(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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Rt(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 kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():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 Tt({},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?Tt({},i%10==1&&80!=o?"".concat(r," et ").concat(n):"".concat(r,"-").concat(n),o+i):Tt({},"".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?Object.setPrototypeOf.bind():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.bind():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 Mt(t){return(new Bt).floatToCardinal(t)}function Ft(t){return Ft="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},Ft(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 Vt(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 Ht(t,e){return Ht=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ht(t,e)}function $t(t,e){if(e&&("object"===Ft(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 Gt(t){return Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Gt(t)}var Ut=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&&Ht(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=Gt(n);if(o){var r=Gt(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(" ")}}])&&Vt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(m);function Zt(t){return(new Ut).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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},pe(t,e)}function ye(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.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},de(t)}r(5306),r(6541),r(189),r(6699),r(2023);var he=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=de(n);if(o){var r=de(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return ye(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 he).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?Object.setPrototypeOf.bind():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.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},we(t)}var Se=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 Te(t){return(new Se).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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Be(t,e)}function Me(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 Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Fe(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=Fe(n);if(o){var r=Fe(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Me(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 Ve(t){return Ve="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},Ve(t)}function He(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 Ge(){return Ge="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Ue(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},Ge.apply(this,arguments)}function Ue(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Xe(t)););return t}function Ze(t,e){return Ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ze(t,e)}function Je(t,e){if(e&&("object"===Ve(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.bind():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&&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=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 He({},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 He({},"".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 Ge(Xe(a.prototype),"toCardinal",this).call(this,e)+"honderd"+(r?(this.options.includeOptionalAnd?" en ":" ")+Ge(Xe(a.prototype),"toCardinal",this).call(this,r):"")}return Ge(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?Object.setPrototypeOf.bind():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.bind():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?Object.setPrototypeOf.bind():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 yr(t){return yr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},yr(t)}var dr=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=yr(n);if(o){var r=yr(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 hr(t){return(new dr).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?Object.setPrototypeOf.bind():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.bind():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 Sr(t){return(new wr).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},Tr(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?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},kr(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 _r(t){return _r=Object.setPrototypeOf?Object.getPrototypeOf.bind():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?Object.setPrototypeOf.bind():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.bind():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 Mr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Br(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},Fr(t)}function Lr(t,e){return Lr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Lr(t,e)}function qr(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 Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Vr(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&&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=Vr(r);if(n){var o=Vr(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 Hr).floatToCardinal(t)}function Gr(t){return Gr="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},Gr(t)}function Ur(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 Zr(t,e){return Zr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zr(t,e)}function Jr(t,e){if(e&&("object"===Gr(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.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xr(t)}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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Zr(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="âm",t.separatorWord="phẩy",t.zero="không",t.base={0:"không",1:"một",2:"hai",3:"ba",4:"bốn",5:"năm",6:"sáu",7:"bảy",8:"tám",9:"chín",10:"mười",11:"mười một",12:"mười hai",13:"mười ba",14:"mười bốn",15:"mười lăm",16:"mười sáu",17:"mười bảy",18:"mười tám",19:"mười chín"},t.tens={20:"hai mươi",30:"ba mươi",40:"bốn mươi",50:"năm mươi",60:"sáu mươi",70:"bảy mươi",80:"tám mươi",90:"chín mươi"},t.thousands={1:"nghìn",2:"triệu",3:"tỷ",4:"nghìn tỷ",5:"trăm nghìn tỷ",6:"Quintillion",7:"Sextillion",8:"Septillion",9:"Octillion",10:"Nonillion",11:"Decillion",12:"Undecillion",13:"Duodecillion",14:"Tredecillion",15:"Quattuordecillion",16:"Sexdecillion",17:"Septendecillion",18:"Octodecillion",19:"Novemdecillion",20:"Vigintillion"},t}return e=a,(r=[{key:"convertLess100",value:function(t){var e=t%10,r=t-e,n=this.tens[r];if(0===e)return n;var o=this.base[e];return 1===e&&(o="mốt"),5===e&&(o="lăm"),n+" "+o}},{key:"convertLess1000",value:function(t){var e=[],r=t%100,n=t-r;return n>0&&e.push(this.base[n/100],"trăm"),0<r&&r<10&&(e.length>0&&e.push("lẻ"),5===r?e.push("năm"):e.push(this.base[r])),r>=10&&e.push(this.toCardinal(r)),e.join(" ")}},{key:"convertMore1000",value:function(t){for(var e=[],r=Math.floor(t/1e3),n=1;r>=1e3;)r=Math.floor(r/1e3),n+=1;var o=t-r*Math.pow(1e3,n);return e.push(this.toCardinal(r),this.thousands[n]),o>0&&(o<=99&&e.push("lẻ"),e.push(this.toCardinal(o))),e.join(" ")}},{key:"toCardinal",value:function(t){return t<20?this.base[t]:t<100?this.convertLess100(t):t<1e3?this.convertLess1000(t):this.convertMore1000(t)}}])&&Ur(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(o);function Yr(t){return(new Kr).floatToCardinal(t)}function Qr(t){return Qr="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},Qr(t)}function tn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function en(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 rn(t,e){return rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},rn(t,e)}function nn(t,e){if(e&&("object"===Qr(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 on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},on(t)}r(7327);var an=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&&rn(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=on(n);if(o){var r=on(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return nn(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=tn({},"".concat(r).concat(o),n+i);return 1==n&&i<10?a=tn({},o,i):i>n?a=tn({},"".concat(r).concat(o),n*i):this.zeroDigit(n)>this.digit(i)&&(a=tn({},"".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}}])&&en(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(N);function un(t){return(new an).floatToCardinal(t)}var sn=["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","vi"];function cn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lang:"en"},r="EN";if(e&&e.lang){if(-1===sn.indexOf(e.lang))throw Error("ERROR: Unsupported language. Supported languages are: "+sn.sort().join(", "));r=e.lang.toUpperCase()}return"EN"===r?ut(t):"FR"===r?_t(t):"ES"===r?ht(t):"DE"===r?$(t):"PT"===r?Sr(t):"ID"===r?se(t):"IT"===r?ve(t):"TR"===r?Mr(t,e):"RU"===r?O(t):"CZ"===r?E(t):"NO"===r?ar(t):"DK"===r?Q(t):"PL"===r?hr(t):"UK"===r?$r(t):"LT"===r?Ce(t):"LV"===r?qe(t):"AR"===r?f(t):"HE"===r?Mt(t):"HR"===r?Zt(t):"HU"===r?ee(t):"KO"===r?Te(t):"NL"===r?Ye(t,e):"SR"===r?Ir(t):"FA"===r?wt(t):"ZH"===r?un(t):"VI"===r?Yr(t):ut(t)}})(),n.default})()));
|
package/lib/i18n/CZ.mjs
CHANGED
|
@@ -42,14 +42,14 @@ export class N2WordsCZ extends N2WordsRU {
|
|
|
42
42
|
};
|
|
43
43
|
this.hundreds = {
|
|
44
44
|
1: 'sto',
|
|
45
|
-
2: '
|
|
46
|
-
3: '
|
|
47
|
-
4: '
|
|
48
|
-
5: '
|
|
49
|
-
6: '
|
|
50
|
-
7: '
|
|
51
|
-
8: '
|
|
52
|
-
9: '
|
|
45
|
+
2: 'dvě stě',
|
|
46
|
+
3: 'tři sta',
|
|
47
|
+
4: 'čtyři sta',
|
|
48
|
+
5: 'pět set',
|
|
49
|
+
6: 'šest set',
|
|
50
|
+
7: 'sedm set',
|
|
51
|
+
8: 'osm set',
|
|
52
|
+
9: 'devět set'
|
|
53
53
|
};
|
|
54
54
|
this.thousands = {
|
|
55
55
|
1: ['tisíc', 'tisíce', 'tisíc'], // 10^ 3
|
package/lib/n2words.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n2words",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "Convert numbers to words, in multiple languages",
|
|
5
5
|
"main": "dist/n2words.js",
|
|
6
6
|
"scripts": {
|
|
@@ -56,18 +56,18 @@
|
|
|
56
56
|
},
|
|
57
57
|
"homepage": "https://github.com/forzagreen/n2words#readme",
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@babel/core": "^7.
|
|
60
|
-
"@babel/preset-env": "^7.
|
|
61
|
-
"ava": "^
|
|
62
|
-
"babel-loader": "^
|
|
63
|
-
"c8": "^7.
|
|
64
|
-
"core-js": "^3.
|
|
65
|
-
"eslint": "^8.
|
|
59
|
+
"@babel/core": "^7.20.2",
|
|
60
|
+
"@babel/preset-env": "^7.20.2",
|
|
61
|
+
"ava": "^5.1.0",
|
|
62
|
+
"babel-loader": "^9.1.0",
|
|
63
|
+
"c8": "^7.12.0",
|
|
64
|
+
"core-js": "^3.26.1",
|
|
65
|
+
"eslint": "^8.27.0",
|
|
66
66
|
"eslint-plugin-ava": "^13.2.0",
|
|
67
67
|
"eslint-plugin-import": "^2.26.0",
|
|
68
|
-
"eslint-plugin-jsdoc": "^39.
|
|
68
|
+
"eslint-plugin-jsdoc": "^39.6.2",
|
|
69
69
|
"eslint-plugin-node": "^11.1.0",
|
|
70
|
-
"webpack": "^5.
|
|
70
|
+
"webpack": "^5.75.0",
|
|
71
71
|
"webpack-cli": "^4.10.0"
|
|
72
72
|
},
|
|
73
73
|
"ava": {
|