n2words 1.15.0 → 1.16.0
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/LICENSE +1 -1
- package/README.md +13 -29
- package/lib/classes/{AbstractLanguage.mjs → AbstractLanguage.js} +2 -2
- package/lib/classes/{BaseLanguage.mjs → BaseLanguage.js} +3 -3
- package/lib/i18n/{AR.mjs → AR.js} +1 -1
- package/lib/i18n/{AZ.mjs → AZ.js} +1 -1
- package/lib/i18n/{CZ.mjs → CZ.js} +1 -1
- package/lib/i18n/{DE.mjs → DE.js} +1 -1
- package/lib/i18n/{DK.mjs → DK.js} +1 -1
- package/lib/i18n/{EN.mjs → EN.js} +1 -1
- package/lib/i18n/{ES.mjs → ES.js} +1 -1
- package/lib/i18n/{FA.mjs → FA.js} +1 -1
- package/lib/i18n/{FR.mjs → FR.js} +1 -1
- package/lib/i18n/{HE.mjs → HE.js} +1 -1
- package/lib/i18n/{HR.mjs → HR.js} +1 -1
- package/lib/i18n/{HU.mjs → HU.js} +1 -1
- package/lib/i18n/{ID.mjs → ID.js} +1 -1
- package/lib/i18n/{IT.mjs → IT.js} +1 -1
- package/lib/i18n/{KO.mjs → KO.js} +1 -1
- package/lib/i18n/{LT.mjs → LT.js} +1 -1
- package/lib/i18n/{LV.mjs → LV.js} +1 -1
- package/lib/i18n/{NL.mjs → NL.js} +1 -1
- package/lib/i18n/{NO.mjs → NO.js} +1 -1
- package/lib/i18n/{PL.mjs → PL.js} +1 -1
- package/lib/i18n/{PT.mjs → PT.js} +1 -1
- package/lib/i18n/{RU.mjs → RU.js} +1 -1
- package/lib/i18n/{SR.mjs → SR.js} +1 -1
- package/lib/i18n/{TR.mjs → TR.js} +1 -1
- package/lib/i18n/{UK.mjs → UK.js} +1 -1
- package/lib/i18n/{VI.mjs → VI.js} +1 -1
- package/lib/i18n/{ZH.mjs → ZH.js} +1 -1
- package/lib/{n2words.mjs → n2words.js} +28 -28
- package/package.json +44 -36
- package/.editorconfig +0 -13
- package/.eslintrc.json +0 -105
- package/.gitattributes +0 -5
- package/bench.mjs +0 -94
- package/dist/n2words.js +0 -1
- package/examples/node.mjs +0 -10
- package/webpack.config.js +0 -31
package/dist/n2words.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
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,u=n("unscopables"),a=Array.prototype;null==a[u]&&i(a,u,{configurable:!0,value:o(null)}),t.exports=function(t){a[u][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),u=r(3411),a=r(7659),c=r(4411),s=r(6244),f=r(6135),l=r(4121),p=r(1246),y=Array;t.exports=function(t){var e=i(t),r=c(this),v=arguments.length,b=v>1?arguments[1]:void 0,d=void 0!==b;d&&(b=n(b,v>2?arguments[2]:void 0));var h,m,g,j,w,O,S=p(e),P=0;if(!S||this===y&&a(S))for(h=s(e),m=r?new this(h):y(h);h>P;P++)O=d?b(e[P],P):e[P],f(m,P,O);else for(w=(j=l(e,S)).next,m=r?new this:[];!(g=o(w,j)).done;P++)O=d?u(j,b,[g.value,P],!0):g.value,f(m,P,O);return m.length=P,m}},1318:(t,e,r)=>{var n=r(5656),o=r(1400),i=r(6244),u=function(t){return function(e,r,u){var a,c=n(e),s=i(c),f=o(u,s);if(t&&r!=r){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},2092:(t,e,r)=>{var n=r(9974),o=r(1702),i=r(8361),u=r(7908),a=r(6244),c=r(5417),s=o([].push),f=function(t){var e=1==t,r=2==t,o=3==t,f=4==t,l=6==t,p=7==t,y=5==t||l;return function(v,b,d,h){for(var m,g,j=u(v),w=i(j),O=n(b,d),S=a(w),P=0,x=h||c,k=e?x(v,S):r||p?x(v,0):void 0;S>P;P++)if((y||P in w)&&(g=O(m=w[P],P,j),t))if(e)k[P]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return P;case 2:s(k,m)}else switch(t){case 4:return!1;case 7:s(k,m)}return l?-1:o||f?f:k}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},1194:(t,e,r)=>{var n=r(7293),o=r(5112),i=r(7392),u=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[u]=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,u=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(o(t)&&!u(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),u=Array,a=Math.max;t.exports=function(t,e,r){for(var c=o(t),s=n(e,c),f=n(void 0===r?c:r,c),l=u(a(f-s,0)),p=0;s<f;s++,p++)i(l,p,t[s]);return l.length=p,l}},206:(t,e,r)=>{var n=r(1702);t.exports=n([].slice)},7475:(t,e,r)=>{var n=r(3157),o=r(4411),i=r(111),u=r(5112)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[u]))&&(e=void 0)),void 0===e?a: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,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,(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),u=r(5112)("toStringTag"),a=Object,c="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=a(t),u))?r:c?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},5631:(t,e,r)=>{"use strict";var n=r(30),o=r(7045),i=r(9190),u=r(9974),a=r(5787),c=r(8554),s=r(408),f=r(1656),l=r(6178),p=r(6340),y=r(9781),v=r(2423).fastKey,b=r(9909),d=b.set,h=b.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t((function(t,o){a(t,p),d(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),y||(t.size=0),c(o)||s(o,t[f],{that:t,AS_ENTRIES:r})})),p=l.prototype,b=h(e),m=function(t,e,r){var n,o,i=b(t),u=g(t,e);return u?u.value=r:(i.last=u={index:o=v(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),y?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},g=function(t,e){var r,n=b(t),o=v(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=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,y?t.size=0:this.size=0},delete:function(t){var e=this,r=b(e),n=g(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),y?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=b(this),n=u(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(p,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),y&&o(p,"size",{configurable:!0,get:function(){return b(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=h(e),i=h(n);f(t,e,(function(t,e){d(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"==e?r.key:"values"==e?r.value:[r.key,r.value],!1):(t.target=void 0,l(void 0,!0))}),r?"entries":"values",!r,!0),p(e)}}},9320:(t,e,r)=>{"use strict";var n=r(1702),o=r(9190),i=r(2423).getWeakData,u=r(5787),a=r(9670),c=r(8554),s=r(111),f=r(408),l=r(2092),p=r(2597),y=r(9909),v=y.set,b=y.getterFor,d=l.find,h=l.findIndex,m=n([].splice),g=0,j=function(t){return t.frozen||(t.frozen=new w)},w=function(){this.entries=[]},O=function(t,e){return d(t.entries,(function(t){return t[0]===e}))};w.prototype={get:function(t){var e=O(this,t);if(e)return e[1]},has:function(t){return!!O(this,t)},set:function(t,e){var r=O(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,(function(e){return e[0]===t}));return~e&&m(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,r,n){var l=t((function(t,o){u(t,y),v(t,{type:e,id:g++,frozen:void 0}),c(o)||f(o,t[n],{that:t,AS_ENTRIES:r})})),y=l.prototype,d=b(e),h=function(t,e,r){var n=d(t),o=i(a(e),!0);return!0===o?j(n).set(e,r):o[n.id]=r,t};return o(y,{delete:function(t){var e=d(this);if(!s(t))return!1;var r=i(t);return!0===r?j(e).delete(t):r&&p(r,e.id)&&delete r[e.id]},has:function(t){var e=d(this);if(!s(t))return!1;var r=i(t);return!0===r?j(e).has(t):r&&p(r,e.id)}}),o(y,r?{get:function(t){var e=d(this);if(s(t)){var r=i(t);return!0===r?j(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return h(this,t,e)}}:{add:function(t){return h(this,t,!0)}}),l}}},7710:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(1702),u=r(4705),a=r(8052),c=r(2423),s=r(408),f=r(5787),l=r(614),p=r(8554),y=r(111),v=r(7293),b=r(7072),d=r(8003),h=r(9587);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),j=m?"set":"add",w=o[t],O=w&&w.prototype,S=w,P={},x=function(t){var e=i(O[t]);a(O,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!y(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return g&&!y(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!y(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(u(t,!l(w)||!(g||O.forEach&&!v((function(){(new w).entries().next()})))))S=r.getConstructor(e,t,m,j),c.enable();else if(u(t,!0)){var k=new S,E=k[j](g?{}:-0,1)!=k,T=v((function(){k.has(1)})),_=b((function(t){new w(t)})),R=!g&&v((function(){for(var t=new w,e=5;e--;)t[j](e,e);return!t.has(-0)}));_||((S=e((function(t,e){f(t,O);var r=h(new w,t,S);return p(e)||s(e,r[j],{that:r,AS_ENTRIES:m}),r}))).prototype=O,O.constructor=S),(T||R)&&(x("delete"),x("has"),m&&x("get")),(R||E)&&x(j),g&&O.clear&&delete O.clear}return P[t]=S,n({global:!0,constructor:!0,forced:S!=w},P),d(S,t),g||r.setStrong(S,t,m),S}},9920:(t,e,r)=>{var n=r(2597),o=r(3887),i=r(1236),u=r(3070);t.exports=function(t,e,r){for(var a=o(e),c=u.f,s=i.f,f=0;f<a.length;f++){var l=a[f];n(t,l)||r&&n(r,l)||c(t,l,s(e,l))}}},4964:(t,e,r)=>{var n=r(5112)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},8544:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},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 u=n(e);u in t?o.f(t,u,i(0,r)):t[u]=r}},8709:(t,e,r)=>{"use strict";var n=r(9670),o=r(2140),i=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw i("Incorrect hint");return o(this,t)}},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),u=r(3072);t.exports=function(t,e,r,a){a||(a={});var c=a.enumerable,s=void 0!==a.name?a.name:e;if(n(r)&&i(r,s,a),a.global)c?t[e]=r:u(e,r);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.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}},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,u=o(i)&&o(i.createElement);t.exports=function(t){return u?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},8113:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:(t,e,r)=>{var n,o,i=r(7854),u=r(8113),a=i.process,c=i.Deno,s=a&&a.versions||c&&c.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1060:(t,e,r)=>{var n=r(1702),o=Error,i=n("".replace),u=String(o("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(u);t.exports=function(t,e){if(c&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},5392:(t,e,r)=>{var n=r(8880),o=r(1060),i=r(2914),u=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(u?u(t,e):n(t,"stack",o(r,a)))}},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),u=r(30),a=r(6277),c=Error.prototype.toString,s=o((function(){if(n){var t=u(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==c.call(t))return!0}return"2: 1"!==c.call({message:1,name:2})||"Error"!==c.call({})}));t.exports=s?function(){var t=i(this),e=a(t.name,"Error"),r=a(t.message);return e?r?e+": "+r:e:r}:c},2109:(t,e,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),u=r(8052),a=r(3072),c=r(9920),s=r(4705);t.exports=function(t,e){var r,f,l,p,y,v=t.target,b=t.global,d=t.stat;if(r=b?n:d?n[v]||a(v,{}):(n[v]||{}).prototype)for(f in e){if(p=e[f],l=t.dontCallGetSet?(y=o(r,f))&&y.value:r[f],!s(b?f:v+(d?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,f,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),u=r(7293),a=r(5112),c=r(8880),s=a("species"),f=RegExp.prototype;t.exports=function(t,e,r,l){var p=a(t),y=!u((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),v=y&&!u((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[s]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!y||!v||r){var b=n(/./[p]),d=e(p,""[t],(function(t,e,r,o,u){var a=n(t),c=e.exec;return c===i||c===f.exec?y&&!u?{done:!0,value:b(e,r,o)}:{done:!0,value:a(r,e,o)}:{done:!1}}));o(String.prototype,t,d[0]),o(f,p,d[1])}l&&c(f[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,u=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?u.bind(i):function(){return u.apply(i,arguments)})},9974:(t,e,r)=>{var n=r(1470),o=r(9662),i=r(4374),u=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?u(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),u=r(2597),a=r(206),c=r(4374),s=Function,f=n([].concat),l=n([].join),p={};t.exports=c?s.bind:function(t){var e=o(this),r=e.prototype,n=a(arguments,1),c=function(){var r=f(n,a(arguments));return this instanceof c?function(t,e,r){if(!u(p,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";p[e]=s("C,a","return new C("+l(n,",")+")")}return p[e](t,r)}(e,r.length,r):e.apply(t,r)};return i(r)&&(c.prototype=r),c}},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,u=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,s=a&&(!n||n&&u(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:s}},5668:(t,e,r)=>{var n=r(1702),o=r(9662);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},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,u=n&&o.bind.bind(i,i);t.exports=n?u:function(t){return function(){return i.apply(t,arguments)}}},5005:(t,e,r)=>{var n=r(7854),o=r(614);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},1246:(t,e,r)=>{var n=r(648),o=r(8173),i=r(8554),u=r(7497),a=r(5112)("iterator");t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||u[n(t)]}},4121:(t,e,r)=>{var n=r(6916),o=r(9662),i=r(9670),u=r(6330),a=r(1246),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(o(r))return i(n(r,t));throw c(u(t)+" is not iterable")}},8044:(t,e,r)=>{var n=r(1702),o=r(3157),i=r(614),u=r(4326),a=r(1340),c=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var s=t[n];"string"==typeof s?c(r,s):"number"!=typeof s&&"Number"!=u(s)&&"String"!=u(s)||c(r,a(s))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},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,u=n("".charAt),a=n("".replace),c=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,l,p){var y=r+t.length,v=n.length,b=f;return void 0!==l&&(l=o(l),b=s),a(p,b,(function(o,a){var s;switch(u(a,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,r);case"'":return c(e,y);case"<":s=l[c(a,1,-1)];break;default:var f=+a;if(0===f)return o;if(f>v){var p=i(f/10);return 0===p?o:p<=v?void 0===n[p-1]?u(a,1):n[p-1]+u(a,1):o}s=n[f-1]}return void 0===s?"":s}))}},7854:function(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}()||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),u=Object,a=n("".split);t.exports=o((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):u(t)}:u},9587:(t,e,r)=>{var n=r(614),o=r(111),i=r(7674);t.exports=function(t,e,r){var u,a;return i&&n(u=e.constructor)&&u!==r&&o(a=u.prototype)&&a!==r.prototype&&i(t,a),t}},2788:(t,e,r)=>{var n=r(1702),o=r(614),i=r(5465),u=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(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),u=r(111),a=r(2597),c=r(3070).f,s=r(8006),f=r(1156),l=r(2050),p=r(9711),y=r(6677),v=!1,b=p("meta"),d=0,h=function(t){c(t,b,{value:{objectID:"O"+d++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},v=!0;var t=s.f,e=o([].splice),r={};r[b]=1,t(r).length&&(s.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===b){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!u(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,b)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[b].objectID},getWeakData:function(t,e){if(!a(t,b)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[b].weakData},onFreeze:function(t){return y&&v&&l(t)&&!a(t,b)&&h(t),t}};i[b]=!0},9909:(t,e,r)=>{var n,o,i,u=r(4811),a=r(7854),c=r(111),s=r(8880),f=r(2597),l=r(5465),p=r(6200),y=r(3501),v="Object already initialized",b=a.TypeError,d=a.WeakMap;if(u||l.state){var h=l.state||(l.state=new d);h.get=h.get,h.has=h.has,h.set=h.set,n=function(t,e){if(h.has(t))throw b(v);return e.facade=t,h.set(t,e),e},o=function(t){return h.get(t)||{}},i=function(t){return h.has(t)}}else{var m=p("state");y[m]=!0,n=function(t,e){if(f(t,m))throw b(v);return e.facade=t,s(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}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 b("Incompatible receiver, "+t+" required");return r}}}},7659:(t,e,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[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),u=r(648),a=r(5005),c=r(2788),s=function(){},f=[],l=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,y=n(p.exec),v=!p.exec(s),b=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(t){return!1}},d=function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!y(p,c(t))}catch(t){return!0}};d.sham=!0,t.exports=!l||o((function(){var t;return b(b.call)||!b(Object)||!b((function(){t=!0}))||t}))?d:b},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\./,u=function(t,e){var r=c[a(t)];return r==f||r!=s&&(o(e)?n(e):!!e)},a=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=u.data={},s=u.NATIVE="N",f=u.POLYFILL="P";t.exports=u},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),u=r(3307),a=Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},408:(t,e,r)=>{var n=r(9974),o=r(6916),i=r(9670),u=r(6330),a=r(7659),c=r(6244),s=r(7976),f=r(4121),l=r(1246),p=r(9212),y=TypeError,v=function(t,e){this.stopped=t,this.result=e},b=v.prototype;t.exports=function(t,e,r){var d,h,m,g,j,w,O,S=r&&r.that,P=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),T=n(e,S),_=function(t){return d&&p(d,"normal",t),new v(!0,t)},R=function(t){return P?(i(t),E?T(t[0],t[1],_):T(t[0],t[1])):E?T(t,_):T(t)};if(x)d=t.iterator;else if(k)d=t;else{if(!(h=l(t)))throw y(u(t)+" is not iterable");if(a(h)){for(m=0,g=c(t);g>m;m++)if((j=R(t[m]))&&s(b,j))return j;return new v(!1)}d=f(t,h)}for(w=x?t.next:d.next;!(O=o(w,d)).done;){try{j=R(O.value)}catch(t){p(d,"throw",t)}if("object"==typeof j&&j&&s(b,j))return j}return new v(!1)}},9212:(t,e,r)=>{var n=r(6916),o=r(9670),i=r(8173);t.exports=function(t,e,r){var u,a;o(t);try{if(!(u=i(t,"return"))){if("throw"===e)throw r;return r}u=n(u,t)}catch(t){a=!0,u=t}if("throw"===e)throw r;if(a)throw u;return o(u),r}},3061:(t,e,r)=>{"use strict";var n=r(3383).IteratorPrototype,o=r(30),i=r(9114),u=r(8003),a=r(7497),c=function(){return this};t.exports=function(t,e,r,s){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!s,r)}),u(t,f,!1,!0),a[f]=c,t}},1656:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(1913),u=r(6530),a=r(614),c=r(3061),s=r(9518),f=r(7674),l=r(8003),p=r(8880),y=r(8052),v=r(5112),b=r(7497),d=r(3383),h=u.PROPER,m=u.CONFIGURABLE,g=d.IteratorPrototype,j=d.BUGGY_SAFARI_ITERATORS,w=v("iterator"),O="keys",S="values",P="entries",x=function(){return this};t.exports=function(t,e,r,u,v,d,k){c(r,e,u);var E,T,_,R=function(t){if(t===v&&W)return W;if(!j&&t in A)return A[t];switch(t){case O:case S:case P:return function(){return new r(this,t)}}return function(){return new r(this)}},z=e+" Iterator",C=!1,A=t.prototype,I=A[w]||A["@@iterator"]||v&&A[v],W=!j&&I||R(v),N="Array"==e&&A.entries||I;if(N&&(E=s(N.call(new t)))!==Object.prototype&&E.next&&(i||s(E)===g||(f?f(E,g):a(E[w])||y(E,w,x)),l(E,z,!0,!0),i&&(b[z]=x)),h&&v==S&&I&&I.name!==S&&(!i&&m?p(A,"name",S):(C=!0,W=function(){return o(I,this)})),v)if(T={values:R(S),keys:d?W:R(O),entries:R(P)},k)for(_ in T)(j||C||!(_ in A))&&y(A,_,T[_]);else n({target:e,proto:!0,forced:j||C},T);return i&&!k||A[w]===W||y(A,w,W,{name:v}),b[e]=W,T}},3383:(t,e,r)=>{"use strict";var n,o,i,u=r(7293),a=r(614),c=r(111),s=r(30),f=r(9518),l=r(8052),p=r(5112),y=r(1913),v=p("iterator"),b=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):b=!0),!c(n)||u((function(){var t={};return n[v].call(t)!==t}))?n={}:y&&(n=s(n)),a(n[v])||l(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:b}},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(1702),o=r(7293),i=r(614),u=r(2597),a=r(9781),c=r(6530).CONFIGURABLE,s=r(2788),f=r(9909),l=f.enforce,p=f.get,y=String,v=Object.defineProperty,b=n("".slice),d=n("".replace),h=n([].join),m=a&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),g=String(String).split("String"),j=t.exports=function(t,e,r){"Symbol("===b(y(e),0,7)&&(e="["+d(y(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!u(t,"name")||c&&t.name!==e)&&(a?v(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&u(r,"arity")&&t.length!==r.arity&&v(t,"length",{value:r.arity});try{r&&u(r,"constructor")&&r.constructor?a&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return u(n,"source")||(n.source=h(g,"string"==typeof e?e:"")),t};Function.prototype.toString=j((function(){return i(this)&&p(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),u=r(1340),a=r(3111).trim,c=r(1361),s=n.parseInt,f=n.Symbol,l=f&&f.iterator,p=/^[+-]?0x/i,y=i(p.exec),v=8!==s(c+"08")||22!==s(c+"0x16")||l&&!o((function(){s(Object(l))}));t.exports=v?function(t,e){var r=a(u(t));return s(r,e>>>0||(y(p,r)?16:10))}:s},1574:(t,e,r)=>{"use strict";var n=r(9781),o=r(1702),i=r(6916),u=r(7293),a=r(1956),c=r(5181),s=r(5296),f=r(7908),l=r(8361),p=Object.assign,y=Object.defineProperty,v=o([].concat);t.exports=!p||u((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]||a(p({},e)).join("")!=o}))?function(t,e){for(var r=f(t),o=arguments.length,u=1,p=c.f,y=s.f;o>u;)for(var b,d=l(arguments[u++]),h=p?v(a(d),p(d)):a(d),m=h.length,g=0;m>g;)b=h[g++],n&&!i(y,d,b)||(r[b]=d[b]);return r}:p},30:(t,e,r)=>{var n,o=r(9670),i=r(6048),u=r(748),a=r(3501),c=r(490),s=r(317),f=r(6200),l="prototype",p="script",y=f("IE_PROTO"),v=function(){},b=function(t){return"<"+p+">"+t+"</"+p+">"},d=function(t){t.write(b("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;h="undefined"!=typeof document?document.domain&&n?d(n):(e=s("iframe"),r="java"+p+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(b("document.F=Object")),t.close(),t.F):d(n);for(var o=u.length;o--;)delete h[l][u[o]];return h()};a[y]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[l]=o(t),r=new v,v[l]=null,r[y]=t):r=h(),void 0===e?r:i.f(r,e)}},6048:(t,e,r)=>{var n=r(9781),o=r(3353),i=r(3070),u=r(9670),a=r(5656),c=r(1956);e.f=n&&!o?Object.defineProperties:function(t,e){u(t);for(var r,n=a(e),o=c(e),s=o.length,f=0;s>f;)i.f(t,r=o[f++],n[r]);return t}},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(3353),u=r(9670),a=r(4948),c=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",y="writable";e.f=n?i?function(t,e,r){if(u(t),e=a(e),u(r),"function"==typeof t&&"prototype"===e&&"value"in r&&y in r&&!r[y]){var n=f(t,e);n&&n[y]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return s(t,e,r)}:s:function(t,e,r){if(u(t),e=a(e),u(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(6916),i=r(5296),u=r(9114),a=r(5656),c=r(4948),s=r(2597),f=r(4664),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=c(e),f)try{return l(t,e)}catch(t){}if(s(t,e))return u(!o(i.f,t,e),t[e])}},1156:(t,e,r)=>{var n=r(4326),o=r(5656),i=r(8006).f,u=r(1589),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return u(a)}}(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),u=r(6200),a=r(8544),c=u("IE_PROTO"),s=Object,f=s.prototype;t.exports=a?s.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof s?f:null}},2050:(t,e,r)=>{var n=r(7293),o=r(111),i=r(4326),u=r(7556),a=Object.isExtensible,c=n((function(){a(1)}));t.exports=c||u?function(t){return!!o(t)&&(!u||"ArrayBuffer"!=i(t))&&(!a||a(t))}:a},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),u=r(1318).indexOf,a=r(3501),c=n([].push);t.exports=function(t,e){var r,n=i(t),s=0,f=[];for(r in n)!o(a,r)&&o(n,r)&&c(f,r);for(;e.length>s;)o(n,r=e[s++])&&(~u(f,r)||c(f,r));return f}},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(5668),o=r(9670),i=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(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),u=r(5656),a=o(r(5296).f),c=o([].push),s=function(t){return function(e){for(var r,o=u(e),s=i(o),f=s.length,l=0,p=[];f>l;)r=s[l++],n&&!a(o,r)||c(p,t?[r,o[r]]:o[r]);return p}};t.exports={entries:s(!0),values:s(!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),u=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw u("Can't convert object to primitive value")}},3887:(t,e,r)=>{var n=r(5005),o=r(1702),i=r(8006),u=r(5181),a=r(9670),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=u.f;return r?c(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),u=r(4326),a=r(2261),c=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var s=n(r,t,e);return null!==s&&o(s),s}if("RegExp"===u(t))return n(a,t,e);throw c("RegExp#exec called on incompatible receiver")}},2261:(t,e,r)=>{"use strict";var n,o,i=r(6916),u=r(1702),a=r(1340),c=r(7066),s=r(2999),f=r(2309),l=r(30),p=r(9909).get,y=r(9441),v=r(7168),b=f("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,h=d,m=u("".charAt),g=u("".indexOf),j=u("".replace),w=u("".slice),O=(o=/b*/g,i(d,n=/a/,"a"),i(d,o,"a"),0!==n.lastIndex||0!==o.lastIndex),S=s.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(O||P||S||y||v)&&(h=function(t){var e,r,n,o,u,s,f,y=this,v=p(y),x=a(t),k=v.raw;if(k)return k.lastIndex=y.lastIndex,e=i(h,k,x),y.lastIndex=k.lastIndex,e;var E=v.groups,T=S&&y.sticky,_=i(c,y),R=y.source,z=0,C=x;if(T&&(_=j(_,"y",""),-1===g(_,"g")&&(_+="g"),C=w(x,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&"\n"!==m(x,y.lastIndex-1))&&(R="(?: "+R+")",C=" "+C,z++),r=new RegExp("^(?:"+R+")",_)),P&&(r=new RegExp("^"+R+"$(?!\\s)",_)),O&&(n=y.lastIndex),o=i(d,T?r:y,C),T?o?(o.input=w(o.input,z),o[0]=w(o[0],z),o.index=y.lastIndex,y.lastIndex+=o[0].length):y.lastIndex=0:O&&o&&(y.lastIndex=y.global?o.index+o[0].length:n),P&&o&&o.length>1&&i(b,o[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o&&E)for(o.groups=s=l(null),u=0;u<E.length;u++)s[(f=E[u])[0]]=o[f[1]];return o}),t.exports=h},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),u=r(7066),a=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in a||o(t,"flags")||!i(a,t)?e:n(u,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")})),u=i||n((function(){return!o("a","y").sticky})),a=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:u,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(7045),i=r(5112),u=r(9781),a=i("species");t.exports=function(t){var e=n(t);u&&e&&!e[a]&&o(e,a,{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__",u=n[i]||o(i,{});t.exports=u},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.30.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:(t,e,r)=>{var n=r(1702),o=r(9303),i=r(1340),u=r(4488),a=n("".charAt),c=n("".charCodeAt),s=n("".slice),f=function(t){return function(e,r){var n,f,l=i(u(e)),p=o(r),y=l.length;return p<0||p>=y?t?"":void 0:(n=c(l,p))<55296||n>56319||p+1===y||(f=c(l,p+1))<56320||f>57343?t?a(l,p):n:t?s(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!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),u=r(8415),a=r(4488),c=n(u),s=n("".slice),f=Math.ceil,l=function(t){return function(e,r,n){var u,l,p=i(a(e)),y=o(r),v=p.length,b=void 0===n?" ":i(n);return y<=v||""==b?p:((l=c(b,f((u=y-v)/b.length))).length>u&&(l=s(l,0,u)),t?p+l:l+p)}};t.exports={start:l(!1),end:l(!0)}},8415:(t,e,r)=>{"use strict";var n=r(9303),o=r(1340),i=r(4488),u=RangeError;t.exports=function(t){var e=o(i(this)),r="",a=n(t);if(a<0||a==1/0)throw u("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(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),u=r(1361),a=n("".replace),c=RegExp("^["+u+"]+"),s=RegExp("(^|[^"+u+"])["+u+"]+$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=a(r,c,"")),2&t&&(r=a(r,s,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},6293:(t,e,r)=>{var n=r(7392),o=r(7293),i=r(7854).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},6532:(t,e,r)=>{var n=r(6916),o=r(5005),i=r(5112),u=r(8052);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&u(e,a,(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),u=r(8173),a=r(2140),c=r(5112),s=TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=u(t,f);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw s("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(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(),u=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++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),u=r(3070).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||u(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),u=r(9711),a=r(6293),c=r(3307),s=n.Symbol,f=o("wks"),l=c?s.for||s:s&&s.withoutSetter||u;t.exports=function(t){return i(f,t)||(f[t]=a&&i(s,t)?s[t]:l("Symbol."+t)),f[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),u=r(7976),a=r(7674),c=r(9920),s=r(2626),f=r(9587),l=r(6277),p=r(8340),y=r(5392),v=r(9781),b=r(1913);t.exports=function(t,e,r,d){var h="stackTraceLimit",m=d?2:1,g=t.split("."),j=g[g.length-1],w=n.apply(null,g);if(w){var O=w.prototype;if(!b&&o(O,"cause")&&delete O.cause,!r)return w;var S=n("Error"),P=e((function(t,e){var r=l(d?e:t,void 0),n=d?new w(t):new w;return void 0!==r&&i(n,"message",r),y(n,P,n.stack,2),this&&u(O,this)&&f(n,this,P),arguments.length>m&&p(n,arguments[m]),n}));if(P.prototype=O,"Error"!==j?a?a(P,S):c(P,S,{name:!0}):v&&h in w&&(s(P,w,h),s(P,w,"prepareStackTrace")),c(P,w),!b)try{O.name!==j&&i(O,"name",j),O.constructor=P}catch(t){}return P}}},2222:(t,e,r)=>{"use strict";var n=r(2109),o=r(7293),i=r(3157),u=r(111),a=r(7908),c=r(6244),s=r(7207),f=r(6135),l=r(5417),p=r(1194),y=r(5112),v=r(7392),b=y("isConcatSpreadable"),d=v>=51||!o((function(){var t=[];return t[b]=!1,t.concat()[0]!==t})),h=function(t){if(!u(t))return!1;var e=t[b];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!d||!p("concat")},{concat:function(t){var e,r,n,o,i,u=a(this),p=l(u,0),y=0;for(e=-1,n=arguments.length;e<n;e++)if(h(i=-1===e?u:arguments[e]))for(o=c(i),s(y+o),r=0;r<o;r++,y++)r in i&&f(p,y,i[r]);else s(y+1),f(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)}})},9826:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).find,i=r(1223),u="find",a=!0;u in[]&&Array(1)[u]((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(u)},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),u=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)}}),u("includes")},2772:(t,e,r)=>{"use strict";var n=r(2109),o=r(1470),i=r(1318).indexOf,u=r(9341),a=o([].indexOf),c=!!a&&1/a([1],1,-0)<0;n({target:"Array",proto:!0,forced:c||!u("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return c?a(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),u=r(9909),a=r(3070).f,c=r(1656),s=r(6178),f=r(1913),l=r(9781),p="Array Iterator",y=u.set,v=u.getterFor(p);t.exports=c(Array,"Array",(function(t,e){y(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=v(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,s(void 0,!0)):s("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var b=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==b.name)try{a(b,"name",{value:"values"})}catch(t){}},9600:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(8361),u=r(5656),a=r(9341),c=o([].join);n({target:"Array",proto:!0,forced:i!=Object||!a("join",",")},{join:function(t){return c(u(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),u=r(3658),a=r(7207);n({target:"Array",proto:!0,arity:1,forced:r(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=o(this),r=i(e),n=arguments.length;a(r+n);for(var c=0;c<n;c++)e[r]=arguments[c],r++;return u(e,r),r}})},5069:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(3157),u=o([].reverse),a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),u(this)}})},7042:(t,e,r)=>{"use strict";var n=r(2109),o=r(3157),i=r(4411),u=r(111),a=r(1400),c=r(6244),s=r(5656),f=r(6135),l=r(5112),p=r(1194),y=r(206),v=p("slice"),b=l("species"),d=Array,h=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(t,e){var r,n,l,p=s(this),v=c(p),m=a(t,v),g=a(void 0===e?v:e,v);if(o(p)&&(r=p.constructor,(i(r)&&(r===d||o(r.prototype))||u(r)&&null===(r=r[b]))&&(r=void 0),r===d||void 0===r))return y(p,m,g);for(n=new(void 0===r?d:r)(h(g-m,0)),l=0;m<g;m++,l++)m in p&&f(n,l,p[m]);return n.length=l,n}})},6078:(t,e,r)=>{var n=r(2597),o=r(8052),i=r(8709),u=r(5112)("toPrimitive"),a=Date.prototype;n(a,u)||o(a,u,i)},3710:(t,e,r)=>{var n=r(1702),o=r(8052),i=Date.prototype,u="Invalid Date",a="toString",c=n(i[a]),s=n(i.getTime);String(new Date(NaN))!=u&&o(i,a,(function(){var t=s(this);return t==t?c(this):u}))},1703:(t,e,r)=>{var n=r(2109),o=r(7854),i=r(2104),u=r(9191),a="WebAssembly",c=o[a],s=7!==Error("e",{cause:7}).cause,f=function(t,e){var r={};r[t]=u(t,e,s),n({global:!0,constructor:!0,arity:1,forced:s},r)},l=function(t,e){if(c&&c[t]){var r={};r[t]=u(a+"."+t,e,s),n({target:a,stat:!0,constructor:!0,arity:1,forced:s},r)}};f("Error",(function(t){return function(e){return i(t,this,arguments)}})),f("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),f("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),f("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),f("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),f("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),f("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),u=r(7045),a=Function.prototype,c=i(a.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(s.exec);n&&!o&&u(a,"name",{configurable:!0,get:function(){try{return f(s,c(this))[1]}catch(t){return""}}})},8862:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2104),u=r(6916),a=r(1702),c=r(7293),s=r(614),f=r(2190),l=r(206),p=r(8044),y=r(6293),v=String,b=o("JSON","stringify"),d=a(/./.exec),h=a("".charAt),m=a("".charCodeAt),g=a("".replace),j=a(1..toString),w=/[\uD800-\uDFFF]/g,O=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,P=!y||c((function(){var t=o("Symbol")();return"[null]"!=b([t])||"{}"!=b({a:t})||"{}"!=b(Object(t))})),x=c((function(){return'"\\udf06\\ud834"'!==b("\udf06\ud834")||'"\\udead"'!==b("\udead")})),k=function(t,e){var r=l(arguments),n=p(e);if(s(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(s(n)&&(e=u(n,this,v(t),e)),!f(e))return e},i(b,null,r)},E=function(t,e,r){var n=h(r,e-1),o=h(r,e+1);return d(O,t)&&!d(S,o)||d(S,t)&&!d(O,n)?"\\u"+j(m(t,0),16):t};b&&n({target:"JSON",stat:!0,arity:3,forced:P||x},{stringify:function(t,e,r){var n=l(arguments),o=i(P?k:b,null,n);return x&&"string"==typeof o?g(o,w,E):o}})},9653:(t,e,r)=>{"use strict";var n=r(2109),o=r(1913),i=r(9781),u=r(7854),a=r(857),c=r(1702),s=r(4705),f=r(2597),l=r(9587),p=r(7976),y=r(2190),v=r(7593),b=r(7293),d=r(8006).f,h=r(1236).f,m=r(3070).f,g=r(863),j=r(3111).trim,w="Number",O=u[w],S=a[w],P=O.prototype,x=u.TypeError,k=c("".slice),E=c("".charCodeAt),T=s(w,!O(" 0o1")||!O("0b1")||O("+0x1")),_=function(t){var e,r=arguments.length<1?0:O(function(t){var e=v(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,o,i,u,a,c,s=v(t,"number");if(y(s))throw x("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=j(s),43===(e=E(s,0))||45===e){if(88===(r=E(s,2))||120===r)return NaN}else if(48===e){switch(E(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(u=(i=k(s,2)).length,a=0;a<u;a++)if((c=E(i,a))<48||c>o)return NaN;return parseInt(i,n)}return+s}(e)}(t));return p(P,e=this)&&b((function(){g(e)}))?l(Object(r),this,_):r};_.prototype=P,T&&!o&&(P.constructor=_),n({global:!0,constructor:!0,wrap:!0,forced:T},{Number:_});var R=function(t,e){for(var r,n=i?d(e):"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(","),o=0;n.length>o;o++)f(e,r=n[o])&&!f(t,r)&&m(t,r,h(e,r))};o&&S&&R(a[w],S),(T||o)&&R(a[w],O)},4048:(t,e,r)=>{r(2109)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},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),u=r(1236).f,a=r(9781);n({target:"Object",stat:!0,forced:!a||o((function(){u(1)})),sham:!a},{getOwnPropertyDescriptor:function(t,e){return u(i(t),e)}})},9660:(t,e,r)=>{var n=r(2109),o=r(6293),i=r(7293),u=r(5181),a=r(7908);n({target:"Object",stat:!0,forced:!o||i((function(){u.f(1)}))},{getOwnPropertySymbols:function(t){var e=u.f;return e?e(a(t)):[]}})},489:(t,e,r)=>{var n=r(2109),o=r(7293),i=r(7908),u=r(9518),a=r(8544);n({target:"Object",stat:!0,forced:o((function(){u(1)})),sham:!a},{getPrototypeOf:function(t){return u(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))}})},7987:(t,e,r)=>{"use strict";var n=r(9781),o=r(7045),i=r(111),u=r(7908),a=r(4488),c=Object.getPrototypeOf,s=Object.setPrototypeOf,f=Object.prototype,l="__proto__";if(n&&c&&s&&!(l in f))try{o(f,l,{configurable:!0,get:function(){return c(u(this))},set:function(t){var e=a(this);(i(t)||null===t)&&i(e)&&s(e,t)}})}catch(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),u=r(7065),a=r(9483),c=r(9670),s=r(111),f=r(30),l=r(7293),p=o("Reflect","construct"),y=Object.prototype,v=[].push,b=l((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),d=!l((function(){p((function(){}))})),h=b||d;n({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,e){a(t),c(e);var r=arguments.length<3?t:a(arguments[2]);if(d&&!b)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(v,n,e),new(i(u,t,n))}var o=r.prototype,l=f(s(o)?o:y),h=i(t,l,e);return s(h)?h:l}})},4819:(t,e,r)=>{var n=r(2109),o=r(6916),i=r(111),u=r(9670),a=r(5032),c=r(1236),s=r(9518);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,f,l=arguments.length<3?e:arguments[2];return u(e)===l?e[r]:(n=c.f(e,r))?a(n)?n.value:void 0===n.get?void 0:o(n.get,l):i(f=s(e))?t(f,r,l):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),u=r(4705),a=r(9587),c=r(8880),s=r(8006).f,f=r(7976),l=r(7850),p=r(1340),y=r(4706),v=r(2999),b=r(2626),d=r(8052),h=r(7293),m=r(2597),g=r(9909).enforce,j=r(6340),w=r(5112),O=r(9441),S=r(7168),P=w("match"),x=o.RegExp,k=x.prototype,E=o.SyntaxError,T=i(k.exec),_=i("".charAt),R=i("".replace),z=i("".indexOf),C=i("".slice),A=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,W=/a/g,N=new x(I)!==I,B=v.MISSED_STICKY,D=v.UNSUPPORTED_Y;if(u("RegExp",n&&(!N||B||O||S||h((function(){return W[P]=!1,x(I)!=I||x(W)==W||"/a/i"!=x(I,"i")}))))){for(var M=function(t,e){var r,n,o,i,u,s,v=f(k,this),b=l(t),d=void 0===e,h=[],j=t;if(!v&&b&&d&&t.constructor===M)return t;if((b||f(k,t))&&(t=t.source,d&&(e=y(j))),t=void 0===t?"":p(t),e=void 0===e?"":p(e),j=t,O&&"dotAll"in I&&(n=!!e&&z(e,"s")>-1)&&(e=R(e,/s/g,"")),r=e,B&&"sticky"in I&&(o=!!e&&z(e,"y")>-1)&&D&&(e=R(e,/y/g,"")),S&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],u={},a=!1,c=!1,s=0,f="";n<=r;n++){if("\\"===(e=_(t,n)))e+=_(t,++n);else if("]"===e)a=!1;else if(!a)switch(!0){case"["===e:a=!0;break;case"("===e:T(A,C(t,n+1))&&(n+=2,c=!0),o+=e,s++;continue;case">"===e&&c:if(""===f||m(u,f))throw new E("Invalid capture group name");u[f]=!0,i[i.length]=[f,s],c=!1,f="";continue}c?f+=e:o+=e}return[o,i]}(t),t=i[0],h=i[1]),u=a(x(t,e),v?this:k,M),(n||o||h.length)&&(s=g(u),n&&(s.dotAll=!0,s.raw=M(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=_(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+_(t,++n);return o}(t),r)),o&&(s.sticky=!0),h.length&&(s.groups=h)),t!==j)try{c(u,"source",""===j?"(?:)":j)}catch(t){}return u},F=s(x),L=0;F.length>L;)b(M,x,F[L++]);k.constructor=M,M.prototype=k,d(o,"RegExp",M,{constructor:!0})}j("RegExp")},8450:(t,e,r)=>{var n=r(9781),o=r(9441),i=r(4326),u=r(7045),a=r(9909).get,c=RegExp.prototype,s=TypeError;n&&o&&u(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!a(this).dotAll;throw s("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),u=r(7045),a=r(9909).get,c=RegExp.prototype,s=TypeError;n&&o&&u(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!a(this).sticky;throw s("Incompatible receiver, RegExp required")}}})},7601:(t,e,r)=>{"use strict";r(4916);var n,o,i=r(2109),u=r(6916),a=r(614),c=r(9670),s=r(1340),f=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),l=/./.test;i({target:"RegExp",proto:!0,forced:!f},{test:function(t){var e=c(this),r=s(t),n=e.exec;if(!a(n))return u(l,e,r);var o=u(n,e,r);return null!==o&&(c(o),!0)}})},9714:(t,e,r)=>{"use strict";var n=r(6530).PROPER,o=r(8052),i=r(9670),u=r(1340),a=r(7293),c=r(4706),s="toString",f=RegExp.prototype[s],l=a((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),p=n&&f.name!=s;(l||p)&&o(RegExp.prototype,s,(function(){var t=i(this);return"/"+u(t.source)+"/"+u(c(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),u=r(1236).f,a=r(7466),c=r(1340),s=r(3929),f=r(4488),l=r(4964),p=r(1913),y=i("".endsWith),v=i("".slice),b=Math.min,d=l("endsWith");o({target:"String",proto:!0,forced:!(!p&&!d&&(n=u(String.prototype,"endsWith"),n&&!n.writable)||d)},{endsWith:function(t){var e=c(f(this));s(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:b(a(r),n),i=c(t);return y?y(e,i,o):v(e,o-i.length,o)===i}})},2023:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(3929),u=r(4488),a=r(1340),c=r(4964),s=o("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~s(a(u(this)),a(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),u=r(1656),a=r(6178),c="String Iterator",s=i.set,f=i.getterFor(c);u(String,"String",(function(t){s(this,{type:c,string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?a(void 0,!0):(t=n(r,o),e.index+=t.length,a(t,!1))}))},4723:(t,e,r)=>{"use strict";var n=r(6916),o=r(7007),i=r(9670),u=r(8554),a=r(7466),c=r(1340),s=r(4488),f=r(8173),l=r(1530),p=r(7651);o("match",(function(t,e,r){return[function(e){var r=s(this),o=u(e)?void 0:f(e,t);return o?n(o,e,r):new RegExp(e)[t](c(r))},function(t){var n=i(this),o=c(t),u=r(e,n,o);if(u.done)return u.value;if(!n.global)return p(n,o);var s=n.unicode;n.lastIndex=0;for(var f,y=[],v=0;null!==(f=p(n,o));){var b=c(f[0]);y[v]=b,""===b&&(n.lastIndex=l(o,a(n.lastIndex),s)),v++}return 0===v?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)}})},5306:(t,e,r)=>{"use strict";var n=r(2104),o=r(6916),i=r(1702),u=r(7007),a=r(7293),c=r(9670),s=r(614),f=r(8554),l=r(9303),p=r(7466),y=r(1340),v=r(4488),b=r(1530),d=r(8173),h=r(647),m=r(7651),g=r(5112)("replace"),j=Math.max,w=Math.min,O=i([].concat),S=i([].push),P=i("".indexOf),x=i("".slice),k="$0"==="a".replace(/./,"$0"),E=!!/./[g]&&""===/./[g]("a","$0");u("replace",(function(t,e,r){var i=E?"$":"$0";return[function(t,r){var n=v(this),i=f(t)?void 0:d(t,g);return i?o(i,t,n,r):o(e,y(n),t,r)},function(t,o){var u=c(this),a=y(t);if("string"==typeof o&&-1===P(o,i)&&-1===P(o,"$<")){var f=r(e,u,a,o);if(f.done)return f.value}var v=s(o);v||(o=y(o));var d=u.global;if(d){var g=u.unicode;u.lastIndex=0}for(var k=[];;){var E=m(u,a);if(null===E)break;if(S(k,E),!d)break;""===y(E[0])&&(u.lastIndex=b(a,p(u.lastIndex),g))}for(var T,_="",R=0,z=0;z<k.length;z++){for(var C=y((E=k[z])[0]),A=j(w(l(E.index),a.length),0),I=[],W=1;W<E.length;W++)S(I,void 0===(T=E[W])?T:String(T));var N=E.groups;if(v){var B=O([C],I,A,a);void 0!==N&&S(B,N);var D=y(n(o,void 0,B))}else D=h(C,a,A,I,N,o);A>=R&&(_+=x(a,R,A)+D,R=A+C.length)}return _+x(a,R)}]}),!!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||E)},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),u=r(1702),a=r(1913),c=r(9781),s=r(6293),f=r(7293),l=r(2597),p=r(7976),y=r(9670),v=r(5656),b=r(4948),d=r(1340),h=r(9114),m=r(30),g=r(1956),j=r(8006),w=r(1156),O=r(5181),S=r(1236),P=r(3070),x=r(6048),k=r(5296),E=r(8052),T=r(7045),_=r(2309),R=r(6200),z=r(3501),C=r(9711),A=r(5112),I=r(6061),W=r(6800),N=r(6532),B=r(8003),D=r(9909),M=r(2092).forEach,F=R("hidden"),L="Symbol",q="prototype",$=D.set,G=D.getterFor(L),U=Object[q],V=o.Symbol,H=V&&V[q],X=o.TypeError,Y=o.QObject,K=S.f,Q=P.f,Z=w.f,J=k.f,tt=u([].push),et=_("symbols"),rt=_("op-symbols"),nt=_("wks"),ot=!Y||!Y[q]||!Y[q].findChild,it=c&&f((function(){return 7!=m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=K(U,e);n&&delete U[e],Q(t,e,r),n&&t!==U&&Q(U,e,n)}:Q,ut=function(t,e){var r=et[t]=m(H);return $(r,{type:L,tag:t,description:e}),c||(r.description=e),r},at=function(t,e,r){t===U&&at(rt,e,r),y(t);var n=b(e);return y(r),l(et,n)?(r.enumerable?(l(t,F)&&t[F][n]&&(t[F][n]=!1),r=m(r,{enumerable:h(0,!1)})):(l(t,F)||Q(t,F,h(1,{})),t[F][n]=!0),it(t,n,r)):Q(t,n,r)},ct=function(t,e){y(t);var r=v(e),n=g(r).concat(pt(r));return M(n,(function(e){c&&!i(st,r,e)||at(t,e,r[e])})),t},st=function(t){var e=b(t),r=i(J,this,e);return!(this===U&&l(et,e)&&!l(rt,e))&&(!(r||!l(this,e)||!l(et,e)||l(this,F)&&this[F][e])||r)},ft=function(t,e){var r=v(t),n=b(e);if(r!==U||!l(et,n)||l(rt,n)){var o=K(r,n);return!o||!l(et,n)||l(r,F)&&r[F][n]||(o.enumerable=!0),o}},lt=function(t){var e=Z(v(t)),r=[];return M(e,(function(t){l(et,t)||l(z,t)||tt(r,t)})),r},pt=function(t){var e=t===U,r=Z(e?rt:v(t)),n=[];return M(r,(function(t){!l(et,t)||e&&!l(U,t)||tt(n,et[t])})),n};s||(E(H=(V=function(){if(p(H,this))throw X("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,e=C(t),r=function(t){this===U&&i(r,rt,t),l(this,F)&&l(this[F],e)&&(this[F][e]=!1),it(this,e,h(1,t))};return c&&ot&&it(U,e,{configurable:!0,set:r}),ut(e,t)})[q],"toString",(function(){return G(this).tag})),E(V,"withoutSetter",(function(t){return ut(C(t),t)})),k.f=st,P.f=at,x.f=ct,S.f=ft,j.f=w.f=lt,O.f=pt,I.f=function(t){return ut(A(t),t)},c&&(T(H,"description",{configurable:!0,get:function(){return G(this).description}}),a||E(U,"propertyIsEnumerable",st,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:V}),M(g(nt),(function(t){W(t)})),n({target:L,stat:!0,forced:!s},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!c},{create:function(t,e){return void 0===e?m(t):ct(m(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:lt}),N(),B(V,L),z[F]=!0},1817:(t,e,r)=>{"use strict";var n=r(2109),o=r(9781),i=r(7854),u=r(1702),a=r(2597),c=r(614),s=r(7976),f=r(1340),l=r(7045),p=r(9920),y=i.Symbol,v=y&&y.prototype;if(o&&c(y)&&(!("description"in v)||void 0!==y().description)){var b={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=s(v,this)?new y(t):void 0===t?y():y(t);return""===t&&(b[e]=!0),e};p(d,y),d.prototype=v,v.constructor=d;var h="Symbol(test)"==String(y("test")),m=u(v.valueOf),g=u(v.toString),j=/^Symbol\((.*)\)[^)]+$/,w=u("".replace),O=u("".slice);l(v,"description",{configurable:!0,get:function(){var t=m(this);if(a(b,t))return"";var e=g(t),r=h?O(e,7,-1):w(e,j,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:d})}},763:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2597),u=r(1340),a=r(2309),c=r(2015),s=a("string-to-symbol-registry"),f=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=u(t);if(i(s,e))return s[e];var r=o("Symbol")(e);return s[e]=r,f[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),u=r(6330),a=r(2309),c=r(2015),s=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw TypeError(u(t)+" is not a symbol");if(o(s,t))return s[t]}})},6649:(t,e,r)=>{var n=r(6800),o=r(6532);n("toPrimitive"),o()},1202:(t,e,r)=>{"use strict";var n,o=r(6677),i=r(7854),u=r(1702),a=r(9190),c=r(2423),s=r(7710),f=r(9320),l=r(111),p=r(9909).enforce,y=r(7293),v=r(4811),b=Object,d=Array.isArray,h=b.isExtensible,m=b.isFrozen,g=b.isSealed,j=b.freeze,w=b.seal,O={},S={},P=!i.ActiveXObject&&"ActiveXObject"in i,x=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},k=s("WeakMap",x,f),E=k.prototype,T=u(E.set);if(v)if(P){n=f.getConstructor(x,"WeakMap",!0),c.enable();var _=u(E.delete),R=u(E.has),z=u(E.get);a(E,{delete:function(t){if(l(t)&&!h(t)){var e=p(this);return e.frozen||(e.frozen=new n),_(this,t)||e.frozen.delete(t)}return _(this,t)},has:function(t){if(l(t)&&!h(t)){var e=p(this);return e.frozen||(e.frozen=new n),R(this,t)||e.frozen.has(t)}return R(this,t)},get:function(t){if(l(t)&&!h(t)){var e=p(this);return e.frozen||(e.frozen=new n),R(this,t)?z(this,t):e.frozen.get(t)}return z(this,t)},set:function(t,e){if(l(t)&&!h(t)){var r=p(this);r.frozen||(r.frozen=new n),R(this,t)?T(this,t,e):r.frozen.set(t,e)}else T(this,t,e);return this}})}else o&&y((function(){var t=j([]);return T(new k,t,1),!m(t)}))&&a(E,{set:function(t,e){var r;return d(t)&&(m(t)?r=O:g(t)&&(r=S)),T(this,t,e),r==O&&j(t),r==S&&w(t),this}})},4129:(t,e,r)=>{r(1202)},3948:(t,e,r)=>{var n=r(7854),o=r(8324),i=r(8509),u=r(6992),a=r(8880),c=r(5112),s=c("iterator"),f=c("toStringTag"),l=u.values,p=function(t,e){if(t){if(t[s]!==l)try{a(t,s,l)}catch(e){t[s]=l}if(t[f]||a(t,f,e),o[e])for(var r in u)if(t[r]!==u[r])try{a(t,r,u[r])}catch(e){t[r]=u[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].call(i.exports,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(e,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,i=function(e,r){if("object"!==t(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===t(i)?i:String(i)),o)}var i}function o(t,e,r){!function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,e),e.set(t,r)}function i(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,a(t,e,"get"))}function u(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,a(t,e,"set"),r),r}function a(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r.d(n,{default:()=>Rn}),r(1703),r(6647),r(9601),r(1058),r(2772),r(9653),r(3210),r(6649),r(6078),r(2526),r(1817),r(1539),r(9070),r(8304),r(4812),r(489),r(7987),r(1299),r(2419),r(8011),r(2165),r(6992),r(8783),r(3948),r(5069),r(7658),r(2222),r(4048),r(3710),r(9714),r(9600),r(4129);var c=new WeakMap,s=new WeakMap,f=new WeakMap,l=new WeakMap,p=new WeakMap,y=function(){function r(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),o(this,c,{writable:!0,value:void 0}),o(this,s,{writable:!0,value:void 0}),o(this,f,{writable:!0,value:void 0}),o(this,l,{writable:!0,value:void 0}),o(this,p,{writable:!0,value:void 0}),t=Object.assign({negativeWord:"",separatorWord:void 0,zeroWord:void 0,spaceSeparator:" "},t),u(this,c,t.negativeWord),u(this,s,t.separatorWord),u(this,f,t.zero),u(this,l,t.spaceSeparator)}var n,a;return n=r,(a=[{key:"negativeWord",get:function(){return i(this,c)}},{key:"separatorWord",get:function(){return i(this,s)}},{key:"zero",get:function(){return i(this,f)}},{key:"spaceSeparator",get:function(){return i(this,l)}},{key:"wholeNumber",get:function(){return i(this,p)}},{key:"decimalToCardinal",value:function(t){for(var e=[],r=t.split("").reverse();"0"==r.pop();)e.push(this.zero);return e.concat(this.toCardinal(BigInt(t)))}},{key:"floatToCardinal",value:function(e){if("number"==typeof e){if(Number.isNaN(e))throw new Error("NaN is not an accepted number.");e=e.toString()}else if("string"==typeof e){if(0==(e=e.trim()).length||Number.isNaN(Number(e)))throw new Error('"'+e+'" is not a valid number.')}else if("bigint"!=typeof e)throw new TypeError("Invalid variable type: "+t(e));var r,n,o=[];if(e<0&&o.push(this.negativeWord),"bigint"==typeof e)r=e;else{var i=e.split(".");r=BigInt(i[0]),n=i[1]}return r<0&&(r=-r),u(this,p,r),o=o.concat(this.toCardinal(r)),n&&(o.push(this.separatorWord),o=o.concat(this.decimalToCardinal(n))),o.join(this.spaceSeparator)}}])&&e(n.prototype,a),Object.defineProperty(n,"prototype",{writable:!1}),r}();function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function b(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,j(n.key),n)}}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(t,e,r){return(e=j(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function j(t){var e=function(t,e){if("object"!==v(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===v(e)?e:String(e)}var w=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&&d(t,e)}(u,t);var e,r,n,o,i=(n=u,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=m(n);if(o){var r=m(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===v(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return h(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),g(h(e=i.call(this,Object.assign({negativeWord:"ناقص",separatorWord:"فاصلة",zero:"صفر"},t))),"integerValue",0),g(h(e),"decimalValue",0),g(h(e),"number",0),g(h(e),"arabicOnes",["","واحد","اثنان","ثلاثة","أربعة","خمسة","ستة","سبعة","ثمانية","تسعة","عشرة","أحد عشر","اثنا عشر","ثلاثة عشر","أربعة عشر","خمسة عشر","ستة عشر","سبعة عشر","ثمانية عشر","تسعة عشر"]),g(h(e),"arabicFeminineOnes",["","إحدى","اثنتان","ثلاث","أربع","خمس","ست","سبع","ثمان","تسع","عشر","إحدى عشرة","اثنتا عشرة","ثلاث عشرة","أربع عشرة","خمس عشرة","ست عشرة","سبع عشرة","ثماني عشرة","تسع عشرة"]),g(h(e),"arabicTens",["عشرون","ثلاثون","أربعون","خمسون","ستون","سبعون","ثمانون","تسعون"]),g(h(e),"arabicHundreds",["","مائة","مئتان","ثلاثمائة","أربعمائة","خمسمائة","ستمائة","سبعمائة","ثمانمائة","تسعمائة"]),g(h(e),"arabicAppendedTwos",["مئتا","ألفا","مليونا","مليارا","تريليونا","كوادريليونا","كوينتليونا","سكستيليونا"]),g(h(e),"arabicTwos",["مئتان","ألفان","مليونان","ملياران","تريليونان","كوادريليونان","كوينتليونان","سكستيليونان"]),g(h(e),"arabicGroup",["مائة","ألف","مليون","مليار","تريليون","كوادريليون","كوينتليون","سكستيليون"]),g(h(e),"arabicAppendedGroup",["","ألفاً","مليوناً","ملياراً","تريليوناً","كوادريليوناً","كوينتليوناً","سكستيليوناً"]),g(h(e),"arabicPluralGroups",["","آلاف","ملايين","مليارات","تريليونات","كوادريليونات","كوينتليونات","سكستيليونات"]),e}return e=u,(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 u=n%10;n=n/10-2,u>0&&(""!=i&&n<4&&(i+=" و "),i+=this.digitFeminineStatus(u,e)),""!=i&&0!=u&&(i+=" و "),i+=this.arabicTens[parseInt(n)]}return i}},{key:"toCardinal",value:function(t){if(0==(t=Number(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()}}])&&b(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(y);function O(t){return O="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},O(t)}function S(t,e,r){return(e=x(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function P(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,x(n.key),n)}}function x(t){var e=function(t,e){if("object"!==O(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===O(e)?e:String(e)}function k(t,e){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},k(t,e)}function E(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(t){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},T(t)}function _(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r(7941),r(6833),r(9826),r(9753),r(1249),r(7042),r(8702);var R=new WeakMap,z=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&&k(t,e)}(u,t);var e,r,n,o,i=(n=u,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=T(n);if(o){var r=T(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return E(t)}(this,t)});function u(t,e){var r,n,o,a;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),n=E(r=i.call(this,t)),a={writable:!0,value:void 0},function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(n,o=R),o.set(n,a),function(t,e,r){(function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}})(t,_(t,e,"set"),r)}(E(r),R,e),r}return e=u,(r=[{key:"cards",get:function(){return function(t,e){return e.get?e.get.call(t):e.value}(this,_(this,R,"get"))}},{key:"getCardWord",value:function(t){var e=this.cards.find((function(e){return e[0]==t}));return Array.isArray(e)?e[1]:void 0}},{key:"toCardMatches",value:function(t){var e=[],r=t;do{var n=this.cards.find((function(t){return r>=t[0]})),o=void 0;0==r?(o=1,r=0):(o=r/n[0],r%=n[0]),1==o?e.push(S({},this.getCardWord(1),1)):e.push(this.toCardMatches(o)),e.push(S({},n[1],n[0]))}while(r>0);return e}},{key:"scanNum",value:function(t){var e=this;return t.split("").map((function(t){return e.getCardWord(Number(t))}))}},{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.toCardMatches(t),r=Object.keys(this.clean(e))[0];return this.postClean(r)}}])&&P(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(y);function C(t){return C="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},C(t)}function A(t,e,r){return(e=W(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(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,W(n.key),n)}}function W(t){var e=function(t,e){if("object"!==C(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==C(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===C(e)?e:String(e)}function N(t,e){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},N(t,e)}function B(t){return B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},B(t)}var D=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&&N(t,e)}(u,t);var e,r,n,o,i=(n=u,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=B(n);if(o){var r=B(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===C(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)}(this,t)});function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"mənfi",separatorWord:"nöqtə",zero:"sıfır"},t),[[1000000000000000000n,"kentilyon"],[1000000000000000n,"katrilyon"],[1000000000000n,"trilyon"],[1000000000n,"milyar"],[1000000n,"milyon"],[1000n,"min"],[100n,"yüz"],[90n,"doxsan"],[80n,"səksən"],[70n,"yetmiş"],[60n,"altmış"],[50n,"əlli"],[40n,"qırx"],[30n,"otuz"],[20n,"iyirmi"],[10n,"on"],[9n,"doqquz"],[8n,"səkkiz"],[7n,"yeddi"],[6n,"altı"],[5n,"beş"],[4n,"dörd"],[3n,"üç"],[2n,"iki"],[1n,"bir"],[0n,"sıfır"]])}return e=u,(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||1e3==i)?A({},n,i):A({},"".concat(r).concat(this.spaceSeparator).concat(n),i>o?o*i:o+i)}}])&&I(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function M(t){return M="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},M(t)}function F(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,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return L(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)?L(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 L(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 q(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,H(n.key),n)}}function $(t,e){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},$(t,e)}function G(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U(t){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},U(t)}function V(t,e,r){return(e=H(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function H(t){var e=function(t,e){if("object"!==M(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==M(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===M(e)?e:String(e)}r(8309),r(1038),r(4916),r(7601),r(3112);var X=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)}(u,t);var e,r,n,o,i=(n=u,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 function(t,e){if(e&&("object"===M(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return G(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),V(G(e=i.call(this,Object.assign({negativeWord:"минус",separatorWord:"запятая",zero:"ноль"},t))),"feminine",void 0),V(G(e),"ones",{1:"один",2:"два",3:"три",4:"четыре",5:"пять",6:"шесть",7:"семь",8:"восемь",9:"девять"}),V(G(e),"onesFeminine",{1:"одна",2:"две",3:"три",4:"четыре",5:"пять",6:"шесть",7:"семь",8:"восемь",9:"девять"}),V(G(e),"tens",{0:"десять",1:"одиннадцать",2:"двенадцать",3:"тринадцать",4:"четырнадцать",5:"пятнадцать",6:"шестнадцать",7:"семнадцать",8:"восемнадцать",9:"девятнадцать"}),V(G(e),"twenties",{2:"двадцать",3:"тридцать",4:"сорок",5:"пятьдесят",6:"шестьдесят",7:"семьдесят",8:"восемьдесят",9:"девяносто"}),V(G(e),"hundreds",{1:"сто",2:"двести",3:"триста",4:"четыреста",5:"пятьсот",6:"шестьсот",7:"семьсот",8:"восемьсот",9:"девятьсот"}),V(G(e),"thousands",{1:["тысяча","тысячи","тысяч"],2:["миллион","миллиона","миллионов"],3:["миллиард","миллиарда","миллиардов"],4:["триллион","триллиона","триллионов"],5:["квадриллион","квадриллиона","квадриллионов"],6:["квинтиллион","квинтиллиона","квинтиллионов"],7:["секстиллион","секстиллиона","секстиллионов"],8:["септиллион","септиллиона","септиллионов"],9:["октиллион","октиллиона","октиллионов"],10:["нониллион","нониллиона","нониллионов"]}),t=Object.assign({feminine:!1}),e.feminine=t.feminine,e}return e=u,r=[{key:"toCardinal",value:function(t){if(0==t)return this.zero;for(var e=[],r=this.splitByX(t.toString(),3),n=r.length,o=0;o<r.length;o++){var i=r[o],u=[];if(n-=1,0!=i){var a=F(this.getDigits(i),3),c=a[0],s=a[1],f=a[2];f>0&&e.push(this.hundreds[f]),s>1&&e.push(this.twenties[s]),1==s?e.push(this.tens[c]):c>0&&(u=1==n||this.feminine&&0==n?this.onesFeminine:this.ones,e.push(u[c])),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}},{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 u=i%e;u>0&&(r=t.slice(0,u),n?o.push(BigInt(r)):o.push(r));for(var a=u;a<i;a+=e)r=t.slice(a,a+e),n?o.push(BigInt(r)):o.push(r)}else n?o.push(BigInt(t)):o.push(t);return o}},{key:"getDigits",value:function(t){return Array.from(t.toString().padStart(3,"0").slice(-3)).reverse().map((function(t){return BigInt(t)}))}},{key:"pluralize",value:function(t,e){var r=2;return(t%100n<10n||t%100n>20n)&&(t%10n==1n?r=0:t%10n<5n&&t%10n>1n&&(r=1)),e[r]}}],r&&q(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(y);function Y(t){return Y="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},Y(t)}function K(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,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Q(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)?Q(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 Q(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 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,nt(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 tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function et(t){return et=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},et(t)}function rt(t,e,r){return(e=nt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nt(t){var e=function(t,e){if("object"!==Y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Y(e)?e:String(e)}var ot=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)}(u,t);var e,r,n,o,i=(n=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=et(n);if(o){var r=et(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return tt(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),rt(tt(e=i.call(this,Object.assign({negativeWord:"mínus",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"}),rt(tt(e),"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"}),rt(tt(e),"twenties",{2:"dvacet",3:"třicet",4:"čtyřicet",5:"padesát",6:"šedesát",7:"sedmdesát",8:"osmdesát",9:"devadesát"}),rt(tt(e),"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"}),rt(tt(e),"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ů"]}),e}return e=u,(r=[{key:"separatorWord",get:function(){return 0n==this.wholeNumber||1n==this.wholeNumber?"celá":this.wholeNumber>=2n&&this.wholeNumber<=4n?"celé":"celých"}},{key:"pluralize",value:function(t,e){var r=2;return 1==t?r=0:t%10n<5n&&t%10n>1n&&(t%100n<10n||t%100n>20n)&&(r=1),e[r]}},{key:"toCardinal",value:function(t){if(0==t)return this.zero;for(var e=[],r=this.splitByX(t.toString(),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var u=K(this.getDigits(i),3),a=u[0],c=u[1],s=u[2];s>0&&e.push(this.hundreds[s]),c>1&&e.push(this.twenties[c]),1==c?e.push(this.tens[a]):a>0&&!(n>0&&1==i)&&e.push(this.ones[a]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&Z(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(X);function it(t){return it="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},it(t)}function ut(t,e,r){return(e=ct(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}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,ct(n.key),n)}}function ct(t){var e=function(t,e){if("object"!==it(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==it(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===it(e)?e:String(e)}function st(t,e){return st=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},st(t,e)}function ft(t){return ft=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ft(t)}var lt=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&&st(t,e)}(u,t);var e,r,n,o,i=(n=u,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=ft(n);if(o){var r=ft(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===it(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)}(this,t)});function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"minus",separatorWord:"komma",zero:"null"},t),[[1000000000000000000000000000n,"Quadrilliarde"],[1000000000000000000000000n,"Quadrillion"],[1000000000000000000000n,"Trilliarde"],[1000000000000000000n,"Trillion"],[1000000000000000n,"Billiarde"],[1000000000000n,"Billion"],[1000000000n,"Milliarde"],[1000000n,"Million"],[1000n,"tausend"],[100n,"hundert"],[90n,"neunzig"],[80n,"achtzig"],[70n,"siebzig"],[60n,"sechzig"],[50n,"fünfzig"],[40n,"vierzig"],[30n,"dreißig"],[20n,"zwanzig"],[19n,"neunzehn"],[18n,"achtzehn"],[17n,"siebzehn"],[16n,"sechzehn"],[15n,"fünfzehn"],[14n,"vierzehn"],[13n,"dreizehn"],[12n,"zwölf"],[11n,"elf"],[10n,"zehn"],[9n,"neun"],[8n,"acht"],[7n,"sieben"],[6n,"sechs"],[5n,"fünf"],[4n,"vier"],[3n,"drei"],[2n,"zwei"],[1n,"eins"],[0n,"null"]])}return e=u,(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 ut({},"ein".concat(n),i);if(i<1e6)return ut({},n,i);r="eine"}var u=0;if(i>o)i>=1e6&&(o>1&&("e"==n[n.length-1]?n+="n":n+="en"),r+=" "),u=o*i;else{if(i<10&&o>10&&o<100){1==i&&(n="ein");var a=n;n=r,r="".concat(a,"und")}else o>=1e6&&(r+=" ");u=o+i}return ut({},"".concat(r).concat(n),u)}}])&&at(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function pt(t){return pt="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},pt(t)}function yt(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,mt(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 bt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},dt(t)}function ht(t,e,r){return(e=mt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mt(t){var e=function(t,e){if("object"!==pt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==pt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===pt(e)?e:String(e)}var gt=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)}(u,t);var e,r,n,o,i=(n=u,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 function(t,e){if(e&&("object"===pt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return bt(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),t=Object.assign({negativeWord:"minus",separatorWord:"komma",zero:"nul",ordFlag:!1},t),ht(bt(e=i.call(this,t,[[1000000000000000000000000000n,"quadrillarder"],[1000000000000000000000000n,"quadrillioner"],[1000000000000000000000n,"trillarder"],[1000000000000000000n,"trillioner"],[1000000000000000n,"billarder"],[1000000000000n,"billioner"],[1000000000n,"millarder"],[1000000n,"millioner"],[1000n,"tusind"],[100n,"hundrede"],[90n,"halvfems"],[80n,"firs"],[70n,"halvfjerds"],[60n,"treds"],[50n,"halvtreds"],[40n,"fyrre"],[30n,"tredive"],[20n,"tyve"],[19n,"nitten"],[18n,"atten"],[17n,"sytten"],[16n,"seksten"],[15n,"femten"],[14n,"fjorten"],[13n,"tretten"],[12n,"tolv"],[11n,"elleve"],[10n,"ti"],[9n,"ni"],[8n,"otte"],[7n,"syv"],[6n,"seks"],[5n,"fem"],[4n,"fire"],[3n,"tre"],[2n,"to"],[1n,"et"],[0n,"nul"]])),"ordFlag",void 0),e.ordFlag=t.ordFlag,e}return e=u,(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]),u=1;if(100!=i&&1e3!=i||(e=ht({},"et".concat(n),i)),1==o){if(i<1e6||this.ordFlag)return e;r="en"}if(i>o)i>=1e6&&(r+=" "),u=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 a=n;n=r,r=a+"og"}else o>=1e6&&(r+=" ");u=o+i}return ht({},"".concat(r+n),u)}}])&&yt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);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 wt(t,e,r){return(e=St(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ot(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,St(n.key),n)}}function St(t){var e=function(t,e){if("object"!==jt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==jt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===jt(e)?e:String(e)}function Pt(t,e){return Pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Pt(t,e)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},xt(t)}var kt=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&&Pt(t,e)}(u,t);var e,r,n,o,i=(n=u,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=xt(n);if(o){var r=xt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(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)}(this,t)});function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"minus",separatorWord:"point",zero:"zero"},t),[[1000000000000000000000000000n,"octillion"],[1000000000000000000000000n,"septillion"],[1000000000000000000000n,"sextillion"],[1000000000000000000n,"quintillion"],[1000000000000000n,"quadrillion"],[1000000000000n,"trillion"],[1000000000n,"billion"],[1000000n,"million"],[1000n,"thousand"],[100n,"hundred"],[90n,"ninety"],[80n,"eighty"],[70n,"seventy"],[60n,"sixty"],[50n,"fifty"],[40n,"forty"],[30n,"thirty"],[20n,"twenty"],[19n,"nineteen"],[18n,"eighteen"],[17n,"seventeen"],[16n,"sixteen"],[15n,"fifteen"],[14n,"fourteen"],[13n,"thirteen"],[12n,"twelve"],[11n,"eleven"],[10n,"ten"],[9n,"nine"],[8n,"eight"],[7n,"seven"],[6n,"six"],[5n,"five"],[4n,"four"],[3n,"three"],[2n,"two"],[1n,"one"],[0n,"zero"]])}return e=u,(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?wt({},o,i):100>n&&n>i?wt({},"".concat(r,"-").concat(o),n+i):n>=100&&100>i?wt({},"".concat(r," and ").concat(o),n+i):wt({},"".concat(r," ").concat(o),i>n?n*i:n+i)}}])&&Ot(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function Et(t){return Et="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},Et(t)}function Tt(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,At(n.key),n)}}function _t(t,e){return _t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_t(t,e)}function Rt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zt(t){return zt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},zt(t)}function Ct(t,e,r){return(e=At(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function At(t){var e=function(t,e){if("object"!==Et(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Et(e)?e:String(e)}var It=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(t,e)}(u,t);var e,r,n,o,i=(n=u,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=zt(n);if(o){var r=zt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Et(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Rt(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),t=Object.assign({negativeWord:"menos",separatorWord:"punto",zero:"cero",genderStem:"o"},t),Ct(Rt(e=i.call(this,t,[[1000000000000000000000000n,"cuatrillón"],[1000000000000000000n,"trillón"],[1000000000000n,"billón"],[1000000n,"millón"],[1000n,"mil"],[100n,"cien"],[90n,"noventa"],[80n,"ochenta"],[70n,"setenta"],[60n,"sesenta"],[50n,"cincuenta"],[40n,"cuarenta"],[30n,"treinta"],[29n,"veintinueve"],[28n,"veintiocho"],[27n,"veintisiete"],[26n,"veintiséis"],[25n,"veinticinco"],[24n,"veinticuatro"],[23n,"veintitrés"],[22n,"veintidós"],[21n,"veintiuno"],[20n,"veinte"],[19n,"diecinueve"],[18n,"dieciocho"],[17n,"diecisiete"],[16n,"dieciseis"],[15n,"quince"],[14n,"catorce"],[13n,"trece"],[12n,"doce"],[11n,"once"],[10n,"diez"],[9n,"nueve"],[8n,"ocho"],[7n,"siete"],[6n,"seis"],[5n,"cinco"],[4n,"cuatro"],[3n,"tres"],[2n,"dos"],[1n,"uno"],[0n,"cero"]])),"genderStem",void 0),e.genderStem=t.genderStem,e}return e=u,(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))}}])&&Tt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function Wt(t){return Wt="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},Wt(t)}function Nt(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,Ft(n.key),n)}}function Bt(t,e){return Bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Bt(t,e)}function Dt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mt(t){return Mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Mt(t)}function Ft(t){var e=function(t,e){if("object"!==Wt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Wt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Wt(e)?e:String(e)}var Lt=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&&Bt(t,e)}(u,t);var e,r,n,o,i=(n=u,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=Mt(n);if(o){var r=Mt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Wt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Dt(t)}(this,t)});function u(t){var e,r,n,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),r=Dt(e=i.call(this,Object.assign({negativeWord:"منفى",separatorWord:"ممیّز",zero:"صفر"},t))),o={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:"میلیون"},(n=Ft(n="namedNumbers"))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,e}return e=u,(r=[{key:"toCardinal",value:function(t){if(this.namedNumbers[t])return this.namedNumbers[t];if(t>20n&&t<100n){var e=t%10n,r=t-e;return"".concat(this.namedNumbers[r]," و ").concat(this.namedNumbers[e])}if(t>100n&&t<1000n){var n=100n*(t/100n),o=this.toCardinal(t-n);return"".concat(this.namedNumbers[n]," و ").concat(o)}if(t>1000n&&t<1000000n){var i=t/1000n,u=(1n==i?"":this.toCardinal(i))+" "+this.namedNumbers[1e3],a=t-1000n*i,c=0n==a?"":" "+this.toCardinal(a);return"".concat(u).concat(c)}if(t>1000000n){var s=t/1000000n,f=this.toCardinal(s)+" "+this.namedNumbers[1e6],l=t-1000000n*s,p=0n==l?"":" و "+this.toCardinal(l);return"".concat(f).concat(p)}}}])&&Nt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(y);function qt(t){return qt="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},qt(t)}function $t(t,e,r){return(e=Ut(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ut(n.key),n)}}function Ut(t){var e=function(t,e){if("object"!==qt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==qt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===qt(e)?e:String(e)}function Vt(t,e){return Vt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Vt(t,e)}function Ht(t){return Ht=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ht(t)}var Xt=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)}(u,t);var e,r,n,o,i=(n=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Ht(n);if(o){var r=Ht(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===qt(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)}(this,t)});function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"moins",separatorWord:"virgule",zero:"zéro"},t),[[1000000000000000000000000000n,"quadrilliard"],[1000000000000000000000000n,"quadrillion"],[1000000000000000000000n,"trilliard"],[1000000000000000000n,"trillion"],[1000000000000000n,"billiard"],[1000000000000n,"billion"],[1000000000n,"milliard"],[1000000n,"million"],[1000n,"mille"],[100n,"cent"],[80n,"quatre-vingts"],[60n,"soixante"],[50n,"cinquante"],[40n,"quarante"],[30n,"trente"],[20n,"vingt"],[19n,"dix-neuf"],[18n,"dix-huit"],[17n,"dix-sept"],[16n,"seize"],[15n,"quinze"],[14n,"quatorze"],[13n,"treize"],[12n,"douze"],[11n,"onze"],[10n,"dix"],[9n,"neuf"],[8n,"huit"],[7n,"sept"],[6n,"six"],[5n,"cinq"],[4n,"quatre"],[3n,"trois"],[2n,"deux"],[1n,"un"],[0n,"zéro"]])}return e=u,(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 $t({},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?$t({},i%10==1&&80!=o?"".concat(r," et ").concat(n):"".concat(r,"-").concat(n),o+i):$t({},"".concat(r," ").concat(n),i>o?o*i:o+i)}}])&&Gt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function Yt(t){return Yt="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},Yt(t)}function Kt(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,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(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 Zt(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,ne(n.key),n)}}function Jt(t,e){return Jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Jt(t,e)}function te(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ee(t){return ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ee(t)}function re(t,e,r){return(e=ne(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ne(t){var e=function(t,e){if("object"!==Yt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Yt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Yt(e)?e:String(e)}var oe=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&&Jt(t,e)}(u,t);var e,r,n,o,i=(n=u,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=ee(n);if(o){var r=ee(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Yt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return te(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),t=Object.assign({negativeWord:"מינוס",zero:"אפס",and:"ו"},t),re(te(e=i.call(this,t)),"and",void 0),re(te(e),"ones",{1:"אחת",2:"שתים",3:"שלש",4:"ארבע",5:"חמש",6:"שש",7:"שבע",8:"שמונה",9:"תשע"}),re(te(e),"tens",{0:"עשר",1:"אחת עשרה",2:"שתים עשרה",3:"שלש עשרה",4:"ארבע עשרה",5:"חמש עשרה",6:"שש עשרה",7:"שבע עשרה",8:"שמונה עשרה",9:"תשע עשרה"}),re(te(e),"twenties",{2:"עשרים",3:"שלשים",4:"ארבעים",5:"חמישים",6:"ששים",7:"שבעים",8:"שמונים",9:"תשעים"}),re(te(e),"hundreds",{1:"מאה",2:"מאתיים",3:"מאות"}),re(te(e),"thousands",{1:"אלף",2:"אלפיים",3:"שלשת אלפים",4:"ארבעת אלפים",5:"חמשת אלפים",6:"ששת אלפים",7:"שבעת אלפים",8:"שמונת אלפים",9:"תשעת אלפים"}),e.and=t.and,e}return e=u,(r=[{key:"toCardinal",value:function(t){if(0==t)return this.zero;for(var e=[],r=this.splitByX(t.toString(),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var u=Kt(this.getDigits(i),3),a=u[0],c=u[1],s=u[2];n>0?e.push(this.thousands[a]):(s>0&&(s<=2?e.push(this.hundreds[s]):e.push(this.ones[s]+" "+this.hundreds[3])),c>1&&e.push(this.twenties[c]),1==c?e.push(this.tens[a]):a>0&&!(n>0&&1==i)&&e.push(this.ones[a]),n>0&&e.push(this.thousands[n]))}}return e.length>1&&(e[e.length-1]=this.and+e[e.length-1]),e.join(" ")}}])&&Zt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(X);function ie(t){return ie="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},ie(t)}function ue(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,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ae(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)?ae(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 ae(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 ce(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,ye(n.key),n)}}function se(t,e){return se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},se(t,e)}function fe(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t){return le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},le(t)}function pe(t,e,r){return(e=ye(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ye(t){var e=function(t,e){if("object"!==ie(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ie(e)?e:String(e)}var ve=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&&se(t,e)}(u,t);var e,r,n,o,i=(n=u,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=le(n);if(o){var r=le(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===ie(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return fe(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),pe(fe(e=i.call(this,Object.assign({negativeWord:"minus",separatorWord:"zarez",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"]}),pe(fe(e),"tens",{0:"deset",1:"jedanaest",2:"dvanaest",3:"trinaest",4:"četrnaest",5:"petnaest",6:"šesnaest",7:"sedamnaest",8:"osamnaest",9:"devetnaest"}),pe(fe(e),"twenties",{2:"dvadeset",3:"trideset",4:"četrdeset",5:"pedeset",6:"šezdeset",7:"sedamdeset",8:"osamdeset",9:"devedeset"}),pe(fe(e),"hundreds",{1:"sto",2:"dvjesto",3:"tristo",4:"četiristo",5:"petsto",6:"šesto",7:"sedamsto",8:"osamsto",9:"devetsto"}),pe(fe(e),"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]}),e}return e=u,(r=[{key:"pluralize",value:function(t,e){var r=2;return(t%100n<10n||t%100n>20n)&&(t%10n==1n?r=0:t%10n>1n&&t%10n<5n&&(r=1)),e[r]}},{key:"toCardinal",value:function(t){if(0==t)return this.zero;for(var e=[],r=this.splitByX(t.toString(),3),n=r.length,o=0;o<r.length;o++){var i=r[o];n-=1;var u=ue(this.getDigits(i),3),a=u[0],c=u[1],s=u[2];if(s>0&&e.push(this.hundreds[s]),c>1&&e.push(this.twenties[c]),1==c)e.push(this.tens[a]);else if(a>0){var f=this.feminine||this.SCALE[n][3]?1:0;e.push(this.ones[a][f])}n>0&&0!=i&&e.push(this.pluralize(i,this.SCALE[n]))}return e.join(" ")}}])&&ce(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(X);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 de(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,(void 0,o=function(t,e){if("object"!==be(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==be(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===be(o)?o:String(o)),n)}var o}function he(t,e){return he=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},he(t,e)}function me(t){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},me(t)}var ge=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)}(u,t);var e,r,n,o,i=(n=u,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 function(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)}(this,t)});function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"mínusz",separatorWord:"egész",zero:"nulla"},t),[[1000000000000000000000000000n,"quadrilliárd"],[1000000000000000000000000n,"quadrillió"],[1000000000000000000000n,"trilliárd"],[1000000000000000000n,"trillió"],[1000000000000000n,"billiárd"],[1000000000000n,"billió"],[1000000000n,"milliárd"],[1000000n,"millió"],[1000n,"ezer"],[100n,"száz"],[90n,"kilencven"],[80n,"nyolcvan"],[70n,"hetven"],[60n,"hatvan"],[50n,"ötven"],[40n,"negyven"],[30n,"harminc"],[29n,"huszonkilenc"],[28n,"huszonnyolc"],[27n,"huszonhét"],[26n,"huszonhat"],[25n,"huszonöt"],[24n,"huszonnégy"],[23n,"huszonhárom"],[22n,"huszonkettő"],[21n,"huszonegy"],[20n,"húsz"],[19n,"tizenkilenc"],[18n,"tizennyolc"],[17n,"tizenhét"],[16n,"tizenhat"],[15n,"tizenöt"],[14n,"tizennégy"],[13n,"tizenhárom"],[12n,"tizenkettő"],[11n,"tizenegy"],[10n,"tíz"],[9n,"kilenc"],[8n,"nyolc"],[7n,"hét"],[6n,"hat"],[5n,"öt"],[4n,"négy"],[3n,"három"],[2n,"kettő"],[1n,"egy"],[0n,"nulla"]])}return e=u,r=[{key:"tensToCardinal",value:function(t){if(this.getCardWord(t))return this.getCardWord(t);var e=Math.floor(t/10),r=t%10;return this.getCardWord(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=t.toString().length,r=e%3!=0?e:e-2,n=Math.pow(10,3*Math.floor(r/3)),o=this.toCardinal(t/BigInt(n),""),i=this.toCardinal(t%BigInt(n),""),u=""!==i?"-"+i:"";return o+this.getCardWord(n)+u}},{key:"toCardinal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.zero;return 0n==t?e:""==e&&2==t?"két":t<30n?this.getCardWord(Number(t)):t<100n?this.tensToCardinal(Number(t)):t<1000n?this.hundredsToCardinal(Number(t)):t<1000000n?this.thousandsToCardinal(Number(t)):this.bigNumberToCardinal(t)}}],r&&de(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function je(t){return je="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},je(t)}function we(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,ke(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 Se(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pe(t)}function xe(t,e,r){return(e=ke(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ke(t){var e=function(t,e){if("object"!==je(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==je(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===je(e)?e:String(e)}var Ee=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)}(u,t);var e,r,n,o,i=(n=u,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=Pe(n);if(o){var r=Pe(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===je(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Se(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),xe(Se(e=i.call(this,Object.assign({negativeWord:"min",separatorWord:"koma",zero:"nol"},t))),"base",{0:[],1:["satu"],2:["dua"],3:["tiga"],4:["empat"],5:["lima"],6:["enam"],7:["tujuh"],8:["delapan"],9:["sembilan"]}),xe(Se(e),"thousands",{3:"ribu",6:"juta",9:"miliar",12:"triliun",15:"kuadriliun",18:"kuantiliun",21:"sekstiliun",24:"septiliun",27:"oktiliun",30:"noniliun",33:"desiliun"}),e}return e=u,(r=[{key:"splitBy3",value:function(t){var e,r=[],n=t.toString(),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 u=i;u<o;u+=3){var a=[n.slice(u,u+3)];r.push(a)}}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()}}])&&we(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(y);function Te(t){return Te="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},Te(t)}function _e(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 Re(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,We(n.key),n)}}function ze(t,e){return ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ze(t,e)}function Ce(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ae(t){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ae(t)}function Ie(t,e,r){return(e=We(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function We(t){var e=function(t,e){if("object"!==Te(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Te(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Te(e)?e:String(e)}r(5306),r(6541),r(189),r(6699),r(2023);var Ne=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)}(u,t);var e,r,n,o,i=(n=u,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 function(t,e){if(e&&("object"===Te(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ce(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),Ie(Ce(e=i.call(this,Object.assign({negativeWord:"meno",separatorWord:"virgola",zero:"zero"},t),[])),"cardinalWords",[e.zero,"uno","due","tre","quattro","cinque","sei","sette","otto","nove","dieci","undici","dodici","tredici","quattordici","quindici","sedici","diciassette","diciotto","diciannove"]),Ie(Ce(e),"strTens",{2:"venti",3:"trenta",4:"quaranta",6:"sessanta"}),Ie(Ce(e),"exponentPrefixes",[e.zero,"m","b","tr","quadr","quint","sest","sett","ott","nov","dec"]),e}return e=u,(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,u=Array.from(t.toString()),a=u.length%3==0?3:u.length%3,c=u.slice(0,a),s=u.slice(a),f=this.exponentLengthToString(s.length);return"1"==c.toString()?e="un ":(e=this.toCardinal(parseInt(c.join(""))),f=" "+f.slice(0,-1)+"i"),n=new Set(s),o=new Set(["0"]),n.size==o.size&&(i=n,function(t){if(Array.isArray(t))return _e(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 _e(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)?_e(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(s.join("")))).includes(" e ")?f+=", ":f+=" e ",e+f+r}},{key:"toCardinal",value:function(t){var e;return e=t<20n?this.cardinalWords[t]:t<100n?this.tensToCardinal(Number(t)):t<1000n?this.hundredsToCardinal(Number(t)):t<1000000n?this.thousandsToCardinal(Number(t)):this.bigNumberToCardinal(t),this.accentuate(e)}}])&&Re(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);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 De(t,e,r){return(e=Fe(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,Fe(n.key),n)}}function Fe(t){var e=function(t,e){if("object"!==Be(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Be(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Be(e)?e:String(e)}function Le(t,e){return Le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Le(t,e)}function qe(t){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},qe(t)}var $e=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Le(t,e)}(u,t);var e,r,n,o,i=(n=u,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=qe(n);if(o){var r=qe(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(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)}(this,t)});function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"마이너스",separatorWord:"점",zero:"영"},t),[[10000000000000000000000000000n,"양"],[1000000000000000000000000n,"자"],[100000000000000000000n,"해"],[10000000000000000n,"경"],[1000000000000n,"조"],[100000000n,"억"],[10000n,"만"],[1000n,"천"],[100n,"백"],[10n,"십"],[9n,"구"],[8n,"팔"],[7n,"칠"],[6n,"육"],[5n,"오"],[4n,"사"],[3n,"삼"],[2n,"이"],[1n,"일"],[0n,"영"]])}return e=u,(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?De({},n,i):1e4>o&&o>i?De({},"".concat(r).concat(n),o+i):o>=1e4&&o>i?De({},"".concat(r," ").concat(n),o+i):De({},"".concat(r).concat(n),o*i)}}])&&Me(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function Ge(t){return Ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ge(t)}function Ue(t,e){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,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ve(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)?Ve(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 Ve(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 He(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,Ze(n.key),n)}}function Xe(t,e){return Xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Xe(t,e)}function Ye(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ke(t){return Ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ke(t)}function Qe(t,e,r){return(e=Ze(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ze(t){var e=function(t,e){if("object"!==Ge(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ge(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ge(e)?e:String(e)}var Je=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&&Xe(t,e)}(u,t);var e,r,n,o,i=(n=u,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=Ke(n);if(o){var r=Ke(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Ge(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ye(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),Qe(Ye(e=i.call(this,Object.assign({negativeWord:"minus",separatorWord:"kablelis",zero:"nulis"},t))),"ones",{1:"vienas",2:"du",3:"trys",4:"keturi",5:"penki",6:"šeši",7:"septyni",8:"aštuoni",9:"devyni"}),Qe(Ye(e),"onesFeminine",{1:"viena",2:"dvi",3:"trys",4:"keturios",5:"penkios",6:"šešios",7:"septynios",8:"aštuonios",9:"devynios"}),Qe(Ye(e),"tens",{0:"dešimt",1:"vienuolika",2:"dvylika",3:"trylika",4:"keturiolika",5:"penkiolika",6:"šešiolika",7:"septyniolika",8:"aštuoniolika",9:"devyniolika"}),Qe(Ye(e),"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"}),Qe(Ye(e),"hundreds",["šimtas","šimtai"]),Qe(Ye(e),"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ų"]}),e}return e=u,(r=[{key:"pluralize",value:function(t,e){var r=1,n=Ue(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==t)return this.zero;for(var e=[],r=this.splitByX(t.toString(),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var u=Ue(this.getDigits(i),3),a=u[0],c=u[1],s=u[2];s>0&&(e.push(this.ones[s]),s>1?e.push(this.hundreds[1]):e.push(this.hundreds[0])),c>1&&e.push(this.twenties[c]),1==c?e.push(this.tens[a]):a>0&&((1==n||this.feminine&&0==n)&&t<1e3?e.push(this.onesFeminine[a]):e.push(this.ones[a])),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&He(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(X);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 er(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,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(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 nr(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,cr(n.key),n)}}function or(t,e){return or=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},or(t,e)}function ir(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ur(t){return ur=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ur(t)}function ar(t,e,r){return(e=cr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function cr(t){var e=function(t,e){if("object"!==tr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==tr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===tr(e)?e:String(e)}var sr=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&&or(t,e)}(u,t);var e,r,n,o,i=(n=u,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=ur(n);if(o){var r=ur(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(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 ir(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),ar(ir(e=i.call(this,Object.assign({negativeWord:"mīnus",separatorWord:"komats",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"}),ar(ir(e),"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"}),ar(ir(e),"twenties",{2:"divdesmit",3:"trīsdesmit",4:"četrdesmit",5:"piecdesmit",6:"sešdesmit",7:"septiņdesmit",8:"astoņdesmit",9:"deviņdesmit"}),ar(ir(e),"hundreds",["simts","simti","simtu"]),ar(ir(e),"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"]}),e}return e=u,(r=[{key:"pluralize",value:function(t,e){var r=2;return 0n!=t&&(r=t%10n==1n&&t%100n!=11n?0:1),e[r]}},{key:"toCardinal",value:function(t){if(0==t)return this.zero;for(var e=[],r=this.splitByX(t.toString(),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var u=er(this.getDigits(i),3),a=u[0],c=u[1],s=u[2];s>0&&(1==s&&0==c&&a>0?e.push(this.hundreds[2]):s>1?(e.push(this.ones[s]),e.push(this.hundreds[1])):e.push(this.hundreds[0])),c>1&&e.push(this.twenties[c]),1==c?e.push(this.tens[a]):a>0&&!(n>0&&1==i)&&e.push(this.ones[a]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&nr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(X);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){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,hr(n.key),n)}}function pr(){return pr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=br(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},pr.apply(this,arguments)}function yr(t,e){return yr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},yr(t,e)}function vr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function br(t){return br=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},br(t)}function dr(t,e,r){return(e=hr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hr(t){var e=function(t,e){if("object"!==fr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==fr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===fr(e)?e:String(e)}r(7852),r(4819),r(5003);var mr=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&&yr(t,e)}(u,t);var e,r,n,o,i=(n=u,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=br(n);if(o){var r=br(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(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 vr(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),t=Object.assign({negativeWord:"min",separatorWord:"komma",zero:"nul",includeOptionalAnd:!1,noHundredPairs:!1},t),dr(vr(e=i.call(this,t,[[1000000000000000000000000000n,"quadriljard"],[1000000000000000000000000n,"quadriljoen"],[1000000000000000000000n,"triljard"],[1000000000000000000n,"triljoen"],[1000000000000000n,"biljard"],[1000000000000n,"biljoen"],[1000000000n,"miljard"],[1000000n,"miljoen"],[1000n,"duizend"],[100n,"honderd"],[90n,"negentig"],[80n,"tachtig"],[70n,"zeventig"],[60n,"zestig"],[50n,"vijftig"],[40n,"veertig"],[30n,"dertig"],[20n,"twintig"],[19n,"negentien"],[18n,"achttien"],[17n,"zeventien"],[16n,"zestien"],[15n,"vijftien"],[14n,"veertien"],[13n,"dertien"],[12n,"twaalf"],[11n,"elf"],[10n,"tien"],[9n,"negen"],[8n,"acht"],[7n,"zeven"],[6n,"zes"],[5n,"vijf"],[4n,"vier"],[3n,"drie"],[2n,"twee"],[1n,"een"],[0n,"nul"]])),"includeOptionalAnd",void 0),dr(vr(e),"noHundredPairs",void 0),e.includeOptionalAnd=t.includeOptionalAnd,e.noHundredPairs=t.noHundredPairs,e}return e=u,(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 dr({},n,i);r="een"}var u=0;if(i>o)i>=1e6?r+=" ":i>100&&(n+=" "),u=o*i;else{if(i<10&&o>10&&o<100){var a=n;n=r;var c=a.endsWith("e")?"ën":"en";r="".concat(a).concat(c)}else i<13&&o<1e3&&this.includeOptionalAnd?r="".concat(r,"en"):i<13&&o>=1e3&&this.includeOptionalAnd?n=" en ".concat(n):(o>=1e6||1e3==o)&&(r+=" ");u=o+i}return dr({},"".concat(r).concat(n),u)}},{key:"toCardinal",value:function(t){if(t>=1100n&&t<10000n&&!this.noHundredPairs){var e=t/100n,r=t%100n;if(e%10n!==0n)return pr(br(u.prototype),"toCardinal",this).call(this,e)+"honderd"+(r?(this.includeOptionalAnd?" en ":" ")+pr(br(u.prototype),"toCardinal",this).call(this,r):"")}return pr(br(u.prototype),"toCardinal",this).call(this,t)}}])&&lr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);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 jr(t,e,r){return(e=Or(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function wr(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,Or(n.key),n)}}function Or(t){var e=function(t,e){if("object"!==gr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==gr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===gr(e)?e:String(e)}function Sr(t,e){return Sr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Sr(t,e)}function Pr(t){return Pr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pr(t)}var xr=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&&Sr(t,e)}(u,t);var e,r,n,o,i=(n=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Pr(n);if(o){var r=Pr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(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)}(this,t)});function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"minus",separatorWord:"komma",zero:"null"},t),[[1000000000000000000000000000000000n,"quintillard"],[1000000000000000000000000000000n,"quintillion"],[1000000000000000000000000000n,"quadrillard"],[1000000000000000000000000n,"quadrillion"],[1000000000000000000000n,"trillard"],[1000000000000000000n,"trillion"],[1000000000000000n,"billard"],[1000000000000n,"billion"],[1000000000n,"millard"],[1000000n,"million"],[1000n,"tusen"],[100n,"hundre"],[90n,"nitti"],[80n,"åtti"],[70n,"sytti"],[60n,"seksti"],[50n,"femti"],[40n,"førti"],[30n,"tretti"],[20n,"tjue"],[19n,"nitten"],[18n,"atten"],[17n,"sytten"],[16n,"seksten"],[15n,"femten"],[14n,"fjorten"],[13n,"tretten"],[12n,"tolv"],[11n,"elleve"],[10n,"ti"],[9n,"ni"],[8n,"åtte"],[7n,"syv"],[6n,"seks"],[5n,"fem"],[4n,"fire"],[3n,"tre"],[2n,"to"],[1n,"en"],[0n,"null"]])}return e=u,(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?jr({},n,i):o<100&&o>i?jr({},"".concat(r,"-").concat(n),o+i):o>=100&&i<100?jr({},"".concat(r," og ").concat(n),o+i):i>o?jr({},"".concat(r," ").concat(n),o*i):jr({},"".concat(r,", ").concat(n),o+i)}}])&&wr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function kr(t){return kr="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},kr(t)}function Er(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,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Tr(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)?Tr(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 Tr(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 _r(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,Ir(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 zr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cr(t){return Cr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Cr(t)}function Ar(t,e,r){return(e=Ir(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ir(t){var e=function(t,e){if("object"!==kr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==kr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===kr(e)?e:String(e)}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&&Rr(t,e)}(u,t);var e,r,n,o,i=(n=u,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=Cr(n);if(o){var r=Cr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===kr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return zr(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),Ar(zr(e=i.call(this,Object.assign({negativeWord:"minus",separatorWord:"przecinek",zero:"zero"},t))),"ones",{1:"jeden",2:"dwa",3:"trzy",4:"cztery",5:"pięć",6:"sześć",7:"siedem",8:"osiem",9:"dziewięć"}),Ar(zr(e),"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"}),Ar(zr(e),"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"}),Ar(zr(e),"hundreds",{1:"sto",2:"dwieście",3:"trzysta",4:"czterysta",5:"pięćset",6:"sześćset",7:"siedemset",8:"osiemset",9:"dziewięćset"}),Ar(zr(e),"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"]}),e}return e=u,(r=[{key:"pluralize",value:function(t,e){var r=2;return 1==t?r=0:t%10n<5n&&t%10n>1n&&(t%100n<10n||t%100n>20n)&&(r=1),e[r]}},{key:"toCardinal",value:function(t){if(0==t)return this.zero;for(var e=[],r=this.splitByX(t.toString(),3),n=r.length,o=0;o<r.length;o++){var i=r[o];if(n-=1,0!=i){var u=Er(this.getDigits(i),3),a=u[0],c=u[1],s=u[2];s>0&&e.push(this.hundreds[s]),c>1&&e.push(this.twenties[c]),1==c?e.push(this.tens[a]):a>0&&!(n>0&&1==i)&&e.push(this.ones[a]),n>0&&e.push(this.pluralize(i,this.thousands[n]))}}return e.join(" ")}}])&&_r(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(X);function Nr(t){return Nr="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},Nr(t)}function Br(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,qr(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 Mr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fr(t){return Fr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Fr(t)}function Lr(t,e,r){return(e=qr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qr(t){var e=function(t,e){if("object"!==Nr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Nr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Nr(e)?e:String(e)}r(4723),r(4603),r(8450),r(8386);var $r=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dr(t,e)}(u,t);var e,r,n,o,i=(n=u,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=Fr(n);if(o){var r=Fr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Nr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Mr(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),Lr(Mr(e=i.call(this,Object.assign({negativeWord:"menos",separatorWord:"vírgula",zero:"zero"},t),[[1000000000000000000000000n,"quatrilião"],[1000000000000000000n,"trilião"],[1000000000000n,"bilião"],[1000000n,"milião"],[1000n,"mil"],[100n,"cem"],[90n,"noventa"],[80n,"oitenta"],[70n,"setenta"],[60n,"sessenta"],[50n,"cinquenta"],[40n,"quarenta"],[30n,"trinta"],[20n,"vinte"],[19n,"dezanove"],[18n,"dezoito"],[17n,"dezassete"],[16n,"dezasseis"],[15n,"quinze"],[14n,"catorze"],[13n,"treze"],[12n,"doze"],[11n,"onze"],[10n,"dez"],[9n,"nove"],[8n,"oito"],[7n,"sete"],[6n,"seis"],[5n,"cinco"],[4n,"quatro"],[3n,"três"],[2n,"dois"],[1n,"um"],[0n,"zero"]])),"hundreds",{1:"cento",2:"duzentos",3:"trezentos",4:"quatrocentos",5:"quinhentos",6:"seiscentos",7:"setecentos",8:"oitocentos",9:"novecentos"}),e}return e=u,(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 Lr({},n,i);r="um"}else 100==o&&i%1e3!=0&&(r="cento");return i<o?Lr({},"".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,Lr({},"".concat(r).concat(n),o*i))}}])&&Br(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);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){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,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Vr(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)?Vr(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 Vr(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 Hr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Zr(n.key),n)}}function Xr(t,e){return Xr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Xr(t,e)}function Yr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kr(t){return Kr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Kr(t)}function Qr(t,e,r){return(e=Zr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zr(t){var e=function(t,e){if("object"!==Gr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Gr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Gr(e)?e:String(e)}var Jr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Xr(t,e)}(u,t);var e,r,n,o,i=(n=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Kr(n);if(o){var r=Kr(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(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 Yr(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),Qr(Yr(e=i.call(this,Object.assign({negativeWord:"minus",separatorWord:"zapeta",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"]}),Qr(Yr(e),"tens",{0:"deset",1:"jedanaest",2:"dvanaest",3:"trinaest",4:"četrnaest",5:"petnaest",6:"šesnaest",7:"sedamnaest",8:"osamnaest",9:"devetnaest"}),Qr(Yr(e),"twenties",{2:"dvadeset",3:"trideset",4:"četrdeset",5:"pedeset",6:"šezdeset",7:"sedamdeset",8:"osamdeset",9:"devedeset"}),Qr(Yr(e),"hundreds",{1:"sto",2:"dvesta",3:"trista",4:"četiristo",5:"petsto",6:"šesto",7:"sedamsto",8:"osamsto",9:"devetsto"}),Qr(Yr(e),"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]}),e}return e=u,(r=[{key:"pluralize",value:function(t,e){var r=2;return(t%100n<10n||t%100n>20n)&&(t%10n==1n?r=0:t%10n>1n&&t%10n<5n&&(r=1)),e[r]}},{key:"toCardinal",value:function(t){if(0==t)return this.zero;for(var e=[],r=this.splitByX(t.toString(),3),n=r.length,o=0;o<r.length;o++){var i=r[o];n-=1;var u=Ur(this.getDigits(i),3),a=u[0],c=u[1],s=u[2];if(s>0&&e.push(this.hundreds[s]),c>1&&e.push(this.twenties[c]),1==c)e.push(this.tens[a]);else if(a>0){var f=this.feminine||this.SCALE[n][3]?1:0;e.push(this.ones[a][f])}n>0&&0!=i&&e.push(this.pluralize(i,this.SCALE[n]))}return e.join(" ")}}])&&Hr(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(X);function tn(t){return tn="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},tn(t)}function en(t,e,r){return(e=nn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rn(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,nn(n.key),n)}}function nn(t){var e=function(t,e){if("object"!==tn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==tn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===tn(e)?e:String(e)}function on(t,e){return on=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},on(t,e)}function un(t){return un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},un(t)}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&&on(t,e)}(u,t);var e,r,n,o,i=(n=u,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=un(n);if(o){var r=un(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===tn(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)}(this,t)});function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"eksi",separatorWord:"virgül",zero:"sıfır",spaceSeparator:!0===t.dropSpaces?"":" "},t),[[1000000000000000000n,"kentilyon"],[1000000000000000n,"katrilyon"],[1000000000000n,"trilyon"],[1000000000n,"milyar"],[1000000n,"milyon"],[1000n,"bin"],[100n,"yüz"],[90n,"doksan"],[80n,"seksen"],[70n,"yetmiş"],[60n,"altmış"],[50n,"elli"],[40n,"kırk"],[30n,"otuz"],[20n,"yirmi"],[10n,"on"],[9n,"dokuz"],[8n,"sekiz"],[7n,"yedi"],[6n,"altı"],[5n,"beş"],[4n,"dört"],[3n,"üç"],[2n,"iki"],[1n,"bir"],[0n,"sıfır"]])}return e=u,(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||1e3==i)?en({},n,i):en({},"".concat(r).concat(this.spaceSeparator).concat(n),i>o?o*i:o+i)}}])&&rn(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function cn(t){return cn="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},cn(t)}function sn(t,e){return sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},sn(t,e)}function fn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ln(t){return ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ln(t)}function pn(t,e,r){return(e=yn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yn(t){var e=function(t,e){if("object"!==cn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==cn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===cn(e)?e:String(e)}var vn=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&&sn(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=ln(r);if(n){var o=ln(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===cn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return fn(t)}(this,t)});function i(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),pn(fn(e=o.call(this,Object.assign({negativeWord:"мiнус",separatorWord:"кома",zero:"нуль"},t))),"ones",{1:"один",2:"два",3:"три",4:"чотири",5:"п'ять",6:"шiсть",7:"сiм",8:"вiсiм",9:"дев'ять"}),pn(fn(e),"onesFeminine",{1:"одна",2:"двi",3:"три",4:"чотири",5:"п'ять",6:"шiсть",7:"сiм",8:"вiсiм",9:"дев'ять"}),pn(fn(e),"tens",{0:"десять",1:"одинадцять",2:"дванадцять",3:"тринадцять",4:"чотирнадцять",5:"п'ятнадцять",6:"шiстнадцять",7:"сiмнадцять",8:"вiсiмнадцять",9:"дев'ятнадцять"}),pn(fn(e),"twenties",{2:"двадцять",3:"тридцять",4:"сорок",5:"п'ятдесят",6:"шiстдесят",7:"сiмдесят",8:"вiсiмдесят",9:"дев'яносто"}),pn(fn(e),"hundreds",{1:"сто",2:"двiстi",3:"триста",4:"чотириста",5:"п'ятсот",6:"шiстсот",7:"сiмсот",8:"вiсiмсот",9:"дев'ятсот"}),pn(fn(e),"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в"]}),e}return e=i,Object.defineProperty(e,"prototype",{writable:!1}),e}(X);function bn(t){return bn="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},bn(t)}function dn(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,wn(n.key),n)}}function hn(t,e){return hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},hn(t,e)}function mn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},gn(t)}function jn(t,e,r){return(e=wn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function wn(t){var e=function(t,e){if("object"!==bn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==bn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===bn(e)?e:String(e)}var On=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&&hn(t,e)}(u,t);var e,r,n,o,i=(n=u,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=gn(n);if(o){var r=gn(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===bn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return mn(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),jn(mn(e=i.call(this,Object.assign({negativeWord:"âm",separatorWord:"phẩy",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"}),jn(mn(e),"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"}),jn(mn(e),"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"}),e}return e=u,(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=t/1000n,n=1;r>=1000n;)r/=1000n,n+=1;var o=t-r*BigInt(Math.pow(1e3,n));return e.push(this.toCardinal(r),this.thousands[n]),o>0n&&(o<=99n&&e.push("lẻ"),e.push(this.toCardinal(o))),e.join(" ")}},{key:"toCardinal",value:function(t){return t<20n?this.base[Number(t)]:t<100n?this.convertLess100(Number(t)):t<1000n?this.convertLess1000(Number(t)):this.convertMore1000(t)}}])&&dn(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(y);function Sn(t){return Sn="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},Sn(t)}function Pn(t,e,r){return(e=kn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xn(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,kn(n.key),n)}}function kn(t){var e=function(t,e){if("object"!==Sn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Sn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Sn(e)?e:String(e)}function En(t,e){return En=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},En(t,e)}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tn(t)}r(7327);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&&En(t,e)}(u,t);var e,r,n,o,i=(n=u,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=Tn(n);if(o){var r=Tn(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Sn(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)}(this,t)});function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,Object.assign({negativeWord:"负",separatorWord:"点",zero:"零",spaceSeparator:""},t),[[1000000000000n,"万"],[100000000n,"亿"],[10000n,"万"],[1000n,"仟"],[100n,"佰"],[10n,"拾"],[9n,"玖"],[8n,"捌"],[7n,"柒"],[6n,"陆"],[5n,"伍"],[4n,"肆"],[3n,"叁"],[2n,"贰"],[1n,"壹"],[0n,"零"]])}return e=u,(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]),u=Pn({},"".concat(r).concat(o),n+i);return 1==n&&i<10?u=Pn({},o,i):i>n?u=Pn({},"".concat(r).concat(o),n*i):this.zeroDigit(n)>this.digit(i)&&(u=Pn({},"".concat(r).concat(this.zero).concat(o),n+i)),u}},{key:"decimalToCardinal",value:function(t){var e=this;return t.split("").map((function(t){return e.getCardWord(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}}])&&xn(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(z);function Rn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lang:"en"};switch(e.lang){case"en":return function(t,e){return new kt(e).floatToCardinal(t)}(t,e);case"ar":return function(t,e){return new w(e).floatToCardinal(t)}(t,e);case"az":return function(t,e){return new D(e).floatToCardinal(t)}(t,e);case"cz":return function(t,e){return new ot(e).floatToCardinal(t)}(t,e);case"de":return function(t,e){return new lt(e).floatToCardinal(t)}(t,e);case"dk":return function(t,e){return new gt(e).floatToCardinal(t)}(t,e);case"es":return function(t,e){return new It(e).floatToCardinal(t)}(t,e);case"fa":return function(t,e){return new Lt(e).floatToCardinal(t)}(t,e);case"fr":return function(t,e){return new Xt(e).floatToCardinal(t)}(t,e);case"he":return function(t,e){return new oe(e).floatToCardinal(t)}(t,e);case"hr":return function(t,e){return new ve(e).floatToCardinal(t)}(t,e);case"hu":return function(t,e){return new ge(e).floatToCardinal(t)}(t,e);case"id":return function(t,e){return new Ee(e).floatToCardinal(t)}(t,e);case"it":return function(t,e){return new Ne(e).floatToCardinal(t)}(t,e);case"ko":return function(t,e){return new $e(e).floatToCardinal(t)}(t,e);case"lt":return function(t,e){return new Je(e).floatToCardinal(t)}(t,e);case"lv":return function(t,e){return new sr(e).floatToCardinal(t)}(t,e);case"nl":return function(t,e){return new mr(e).floatToCardinal(t)}(t,e);case"no":return function(t,e){return new xr(e).floatToCardinal(t)}(t,e);case"pl":return function(t,e){return new Wr(e).floatToCardinal(t)}(t,e);case"pt":return function(t,e){return new $r(e).floatToCardinal(t)}(t,e);case"ru":return function(t,e){return new X(e).floatToCardinal(t)}(t,e);case"sr":return function(t,e){return new Jr(e).floatToCardinal(t)}(t,e);case"tr":return function(t,e){return new an(e).floatToCardinal(t)}(t,e);case"uk":return function(t,e){return new vn(e).floatToCardinal(t)}(t,e);case"vi":return function(t,e){return new On(e).floatToCardinal(t)}(t,e);case"zh":return function(t,e){return new _n(e).floatToCardinal(t)}(t,e);default:throw Error("Unsupported language: "+t+".")}}})(),n.default})()));
|
package/examples/node.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* eslint-disable import/no-nodejs-modules */
|
|
2
|
-
import n2words from '../lib/i18n/EN.mjs';
|
|
3
|
-
import * as readline from 'node:readline/promises';
|
|
4
|
-
import {stdin as input, stdout as output} from 'node:process';
|
|
5
|
-
|
|
6
|
-
const rl = readline.createInterface({input, output});
|
|
7
|
-
|
|
8
|
-
console.log(n2words(await rl.question('Value to convert? ')));
|
|
9
|
-
|
|
10
|
-
rl.close();
|
package/webpack.config.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
mode: 'production',
|
|
3
|
-
entry: './lib/n2words.mjs',
|
|
4
|
-
output: {
|
|
5
|
-
library: 'n2words',
|
|
6
|
-
libraryTarget: 'umd',
|
|
7
|
-
libraryExport: 'default',
|
|
8
|
-
filename: 'n2words.js',
|
|
9
|
-
globalObject: 'this',
|
|
10
|
-
},
|
|
11
|
-
module: {
|
|
12
|
-
rules: [{
|
|
13
|
-
test: /\.m?js$/,
|
|
14
|
-
exclude: /node_modules/,
|
|
15
|
-
use: {
|
|
16
|
-
loader: 'babel-loader',
|
|
17
|
-
options: {
|
|
18
|
-
presets: [
|
|
19
|
-
[
|
|
20
|
-
'@babel/preset-env',
|
|
21
|
-
{
|
|
22
|
-
useBuiltIns: 'usage',
|
|
23
|
-
corejs: '3.30.1',
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
}],
|
|
30
|
-
},
|
|
31
|
-
};
|