rosaenlg-n2words
Version:
Convert numbers to words, in multiple languages
1 lines • 40.8 kB
JavaScript
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.n2words=r():t.n2words=r()}(this,(function(){return(()=>{var t={3819:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},8505:(t,r,e)=>{var n=e(5052);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},9736:(t,r,e)=>{var n=e(95),o=e(2391),i=e(1787),a=n("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},6637:(t,r,e)=>{"use strict";var n=e(966).charAt;t.exports=function(t,r,e){return r+(e?n(t,r).length:1)}},1176:(t,r,e)=>{var n=e(5052);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},507:(t,r,e)=>{"use strict";var n=e(7636),o=e(2991),i=e(4960),a=e(1943),u=e(4237),s=e(2324),c=e(8830);t.exports=function(t){var r,e,l,f,p,v,h=o(t),y="function"==typeof this?this:Array,g=arguments.length,d=g>1?arguments[1]:void 0,x=void 0!==d,m=c(h),S=0;if(x&&(d=n(d,g>2?arguments[2]:void 0,2)),null==m||y==Array&&a(m))for(e=new y(r=u(h.length));r>S;S++)v=x?d(h[S],S):h[S],s(e,S,v);else for(p=(f=m.call(h)).next,e=new y;!(l=p.call(f)).done;S++)v=x?i(f,d,[l.value,S],!0):l.value,s(e,S,v);return e.length=S,e}},9540:(t,r,e)=>{var n=e(905),o=e(4237),i=e(3231),a=function(t){return function(r,e,a){var u,s=n(r),c=o(s.length),l=i(a,c);if(t&&e!=e){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===e)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9996:(t,r,e)=>{var n=e(7636),o=e(9337),i=e(2991),a=e(4237),u=e(7501),s=[].push,c=function(t){var r=1==t,e=2==t,c=3==t,l=4==t,f=6==t,p=7==t,v=5==t||f;return function(h,y,g,d){for(var x,m,S=i(h),b=o(S),E=n(y,g,3),O=a(b.length),j=0,w=d||u,I=r?w(h,O):e||p?w(h,0):void 0;O>j;j++)if((v||j in b)&&(m=E(x=b[j],j,S),t))if(r)I[j]=m;else if(m)switch(t){case 3:return!0;case 5:return x;case 6:return j;case 2:s.call(I,x)}else switch(t){case 4:return!1;case 7:s.call(I,x)}return f?-1:c||l?l:I}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},1460:(t,r,e)=>{var n=e(4229),o=e(95),i=e(6358),a=o("species");t.exports=function(t){return i>=51||!n((function(){var r=[];return(r.constructor={})[a]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},6038:(t,r,e)=>{"use strict";var n=e(4229);t.exports=function(t,r){var e=[][t];return!!e&&n((function(){e.call(null,r||function(){throw 1},1)}))}},7501:(t,r,e)=>{var n=e(5052),o=e(3718),i=e(95)("species");t.exports=function(t,r){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?n(e)&&null===(e=e[i])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===r?0:r)}},4960:(t,r,e)=>{var n=e(1176),o=e(7281);t.exports=function(t,r,e,i){try{return i?r(n(e)[0],e[1]):r(e)}catch(r){throw o(t),r}}},4575:(t,r,e)=>{var n=e(95)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},7079:t=>{var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},1589:(t,r,e)=>{var n=e(1601),o=e(7079),i=e(95)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),i))?e:a?o(r):"Object"==(n=o(r))&&"function"==typeof r.callee?"Arguments":n}},7081:(t,r,e)=>{var n=e(816),o=e(4826),i=e(7933),a=e(1787);t.exports=function(t,r){for(var e=o(r),u=a.f,s=i.f,c=0;c<e.length;c++){var l=e[c];n(t,l)||u(t,l,s(r,l))}}},7528:(t,r,e)=>{var n=e(4229);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},3723:(t,r,e)=>{"use strict";var n=e(693).IteratorPrototype,o=e(2391),i=e(5358),a=e(4555),u=e(5495),s=function(){return this};t.exports=function(t,r,e){var c=r+" Iterator";return t.prototype=o(n,{next:i(1,e)}),a(t,c,!1,!0),u[c]=s,t}},5762:(t,r,e)=>{var n=e(7400),o=e(1787),i=e(5358);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},5358:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},2324:(t,r,e)=>{"use strict";var n=e(2066),o=e(1787),i=e(5358);t.exports=function(t,r,e){var a=n(r);a in t?o.f(t,a,i(0,e)):t[a]=e}},7675:(t,r,e)=>{"use strict";var n=e(3103),o=e(3723),i=e(7567),a=e(6540),u=e(4555),s=e(5762),c=e(7487),l=e(95),f=e(4231),p=e(5495),v=e(693),h=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,g=l("iterator"),d="keys",x="values",m="entries",S=function(){return this};t.exports=function(t,r,e,l,v,b,E){o(e,r,l);var O,j,w,I=function(t){if(t===v&&k)return k;if(!y&&t in T)return T[t];switch(t){case d:case x:case m:return function(){return new e(this,t)}}return function(){return new e(this)}},A=r+" Iterator",N=!1,T=t.prototype,_=T[g]||T["@@iterator"]||v&&T[v],k=!y&&_||I(v),R="Array"==r&&T.entries||_;if(R&&(O=i(R.call(new t)),h!==Object.prototype&&O.next&&(f||i(O)===h||(a?a(O,h):"function"!=typeof O[g]&&s(O,g,S)),u(O,A,!0,!0),f&&(p[A]=S))),v==x&&_&&_.name!==x&&(N=!0,k=function(){return _.call(this)}),f&&!E||T[g]===k||s(T,g,k),p[r]=k,v)if(j={values:I(x),keys:b?k:I(d),entries:I(m)},E)for(w in j)(y||N||!(w in T))&&c(T,w,j[w]);else n({target:r,proto:!0,forced:y||N},j);return j}},8423:(t,r,e)=>{var n=e(9276),o=e(816),i=e(5391),a=e(1787).f;t.exports=function(t){var r=n.Symbol||(n.Symbol={});o(r,t)||a(r,t,{value:i.f(t)})}},7400:(t,r,e)=>{var n=e(4229);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2635:(t,r,e)=>{var n=e(9859),o=e(5052),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},5694: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}},8801:(t,r,e)=>{var n=e(7079),o=e(9859);t.exports="process"==n(o.process)},598:(t,r,e)=>{var n=e(1333);t.exports=n("navigator","userAgent")||""},6358:(t,r,e)=>{var n,o,i=e(9859),a=e(598),u=i.process,s=u&&u.versions,c=s&&s.v8;c?o=(n=c.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},3837:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3103:(t,r,e)=>{var n=e(9859),o=e(7933).f,i=e(5762),a=e(7487),u=e(2079),s=e(7081),c=e(6541);t.exports=function(t,r){var e,l,f,p,v,h=t.target,y=t.global,g=t.stat;if(e=y?n:g?n[h]||u(h,{}):(n[h]||{}).prototype)for(l in r){if(p=r[l],f=t.noTargetGet?(v=o(e,l))&&v.value:e[l],!c(y?l:h+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(e,l,p,t)}}},4229:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},4954:(t,r,e)=>{"use strict";e(7950);var n=e(7487),o=e(4229),i=e(95),a=e(3466),u=e(5762),s=i("species"),c=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),v=!o((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,r,e,f){var h=i(t),y=!o((function(){var r={};return r[h]=function(){return 7},7!=""[t](r)})),g=y&&!o((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[s]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return r=!0,null},e[h](""),!r}));if(!y||!g||"replace"===t&&(!c||!l||p)||"split"===t&&!v){var d=/./[h],x=e(h,""[t],(function(t,r,e,n,o){return r.exec===a?y&&!o?{done:!0,value:d.call(r,e,n)}:{done:!0,value:t.call(e,r,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),m=x[0],S=x[1];n(String.prototype,t,m),n(RegExp.prototype,h,2==r?function(t,r){return S.call(t,this,r)}:function(t){return S.call(t,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},7636:(t,r,e)=>{var n=e(3819);t.exports=function(t,r,e){if(n(t),void 0===r)return t;switch(e){case 0:return function(){return t.call(r)};case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}}},1333:(t,r,e)=>{var n=e(9276),o=e(9859),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][r]||o[t]&&o[t][r]}},8830:(t,r,e)=>{var n=e(1589),o=e(5495),i=e(95)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},9859:(t,r,e)=>{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 e.g&&e.g)||function(){return this}()||Function("return this")()},816:t=>{var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},5977:t=>{t.exports={}},3777:(t,r,e)=>{var n=e(1333);t.exports=n("document","documentElement")},4394:(t,r,e)=>{var n=e(7400),o=e(4229),i=e(2635);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},9337:(t,r,e)=>{var n=e(4229),o=e(7079),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},835:(t,r,e)=>{var n=e(5052),o=e(6540);t.exports=function(t,r,e){var i,a;return o&&"function"==typeof(i=r.constructor)&&i!==e&&n(a=i.prototype)&&a!==e.prototype&&o(t,a),t}},8511:(t,r,e)=>{var n=e(5353),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},6407:(t,r,e)=>{var n,o,i,a=e(8694),u=e(9859),s=e(5052),c=e(5762),l=e(816),f=e(5353),p=e(4399),v=e(5977),h=u.WeakMap;if(a){var y=f.state||(f.state=new h),g=y.get,d=y.has,x=y.set;n=function(t,r){return r.facade=t,x.call(y,t,r),r},o=function(t){return g.call(y,t)||{}},i=function(t){return d.call(y,t)}}else{var m=p("state");v[m]=!0,n=function(t,r){return r.facade=t,c(t,m,r),r},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(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(r){var e;if(!s(r)||(e=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},1943:(t,r,e)=>{var n=e(95),o=e(5495),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3718:(t,r,e)=>{var n=e(7079);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6541:(t,r,e)=>{var n=e(4229),o=/#|\.prototype\./,i=function(t,r){var e=u[a(t)];return e==c||e!=s&&("function"==typeof r?n(r):!!r)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},5052:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},4231:t=>{t.exports=!1},8311:(t,r,e)=>{var n=e(5052),o=e(7079),i=e(95)("match");t.exports=function(t){var r;return n(t)&&(void 0!==(r=t[i])?!!r:"RegExp"==o(t))}},7281:(t,r,e)=>{var n=e(1176);t.exports=function(t){var r=t.return;if(void 0!==r)return n(r.call(t)).value}},693:(t,r,e)=>{"use strict";var n,o,i,a=e(4229),u=e(7567),s=e(5762),c=e(816),l=e(95),f=e(4231),p=l("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):v=!0);var h=null==n||a((function(){var t={};return n[p].call(t)!==t}));h&&(n={}),f&&!h||c(n,p)||s(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},5495:t=>{t.exports={}},3839:(t,r,e)=>{var n=e(8801),o=e(6358),i=e(4229);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},8694:(t,r,e)=>{var n=e(9859),o=e(8511),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},6596:(t,r,e)=>{var n=e(9859),o=e(1017).trim,i=e(1647),a=n.parseInt,u=/^[+-]?0[Xx]/,s=8!==a(i+"08")||22!==a(i+"0x16");t.exports=s?function(t,r){var e=o(String(t));return a(e,r>>>0||(u.test(e)?16:10))}:a},2391:(t,r,e)=>{var n,o=e(1176),i=e(219),a=e(3837),u=e(5977),s=e(3777),c=e(2635),l=e(4399)("IE_PROTO"),f=function(){},p=function(t){return"<script>"+t+"<\/script>"},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,r;v=n?function(t){t.write(p("")),t.close();var r=t.parentWindow.Object;return t=null,r}(n):((r=c("iframe")).style.display="none",s.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var e=a.length;e--;)delete v.prototype[a[e]];return v()};u[l]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(f.prototype=o(t),e=new f,f.prototype=null,e[l]=t):e=v(),void 0===r?e:i(e,r)}},219:(t,r,e)=>{var n=e(7400),o=e(1787),i=e(1176),a=e(5632);t.exports=n?Object.defineProperties:function(t,r){i(t);for(var e,n=a(r),u=n.length,s=0;u>s;)o.f(t,e=n[s++],r[e]);return t}},1787:(t,r,e)=>{var n=e(7400),o=e(4394),i=e(1176),a=e(2066),u=Object.defineProperty;r.f=n?u:function(t,r,e){if(i(t),r=a(r,!0),i(e),o)try{return u(t,r,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},7933:(t,r,e)=>{var n=e(7400),o=e(9195),i=e(5358),a=e(905),u=e(2066),s=e(816),c=e(4394),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=a(t),r=u(r,!0),c)try{return l(t,r)}catch(t){}if(s(t,r))return i(!o.f.call(t,r),t[r])}},166:(t,r,e)=>{var n=e(905),o=e(8151).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(n(t))}},8151:(t,r,e)=>{var n=e(140),o=e(3837).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},894:(t,r)=>{r.f=Object.getOwnPropertySymbols},7567:(t,r,e)=>{var n=e(816),o=e(2991),i=e(4399),a=e(7528),u=i("IE_PROTO"),s=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},140:(t,r,e)=>{var n=e(816),o=e(905),i=e(9540).indexOf,a=e(5977);t.exports=function(t,r){var e,u=o(t),s=0,c=[];for(e in u)!n(a,e)&&n(u,e)&&c.push(e);for(;r.length>s;)n(u,e=r[s++])&&(~i(c,e)||c.push(e));return c}},5632:(t,r,e)=>{var n=e(140),o=e(3837);t.exports=Object.keys||function(t){return n(t,o)}},9195:(t,r)=>{"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},6540:(t,r,e)=>{var n=e(1176),o=e(8505);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return n(e),o(i),r?t.call(e,i):e.__proto__=i,e}}():void 0)},4059:(t,r,e)=>{"use strict";var n=e(1601),o=e(1589);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},4826:(t,r,e)=>{var n=e(1333),o=e(8151),i=e(894),a=e(1176);t.exports=n("Reflect","ownKeys")||function(t){var r=o.f(a(t)),e=i.f;return e?r.concat(e(t)):r}},9276:(t,r,e)=>{var n=e(9859);t.exports=n},7487:(t,r,e)=>{var n=e(9859),o=e(5762),i=e(816),a=e(2079),u=e(8511),s=e(6407),c=s.get,l=s.enforce,f=String(String).split("String");(t.exports=function(t,r,e,u){var s,c=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof r||i(e,"name")||o(e,"name",r),(s=l(e)).source||(s.source=f.join("string"==typeof r?r:""))),t!==n?(c?!v&&t[r]&&(p=!0):delete t[r],p?t[r]=e:o(t,r,e)):p?t[r]=e:a(r,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},8115:(t,r,e)=>{var n=e(7079),o=e(3466);t.exports=function(t,r){var e=t.exec;if("function"==typeof e){var i=e.call(t,r);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,r)}},3466:(t,r,e)=>{"use strict";var n,o,i=e(895),a=e(5650),u=RegExp.prototype.exec,s=String.prototype.replace,c=u,l=(n=/a/,o=/b*/g,u.call(n,"a"),u.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(c=function(t){var r,e,n,o,a=this,c=f&&a.sticky,v=i.call(a),h=a.source,y=0,g=t;return c&&(-1===(v=v.replace("y","")).indexOf("g")&&(v+="g"),g=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,y++),e=new RegExp("^(?:"+h+")",v)),p&&(e=new RegExp("^"+h+"$(?!\\s)",v)),l&&(r=a.lastIndex),n=u.call(c?e:a,g),c?n?(n.input=n.input.slice(y),n[0]=n[0].slice(y),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:l&&n&&(a.lastIndex=a.global?n.index+n[0].length:r),p&&n&&n.length>1&&s.call(n[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=c},895:(t,r,e)=>{"use strict";var n=e(1176);t.exports=function(){var t=n(this),r="";return t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.sticky&&(r+="y"),r}},5650:(t,r,e)=>{"use strict";var n=e(4229);function o(t,r){return RegExp(t,r)}r.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),r.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},8885:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},2079:(t,r,e)=>{var n=e(9859),o=e(5762);t.exports=function(t,r){try{o(n,t,r)}catch(e){n[t]=r}return r}},4555:(t,r,e)=>{var n=e(1787).f,o=e(816),i=e(95)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},4399:(t,r,e)=>{var n=e(3036),o=e(1441),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5353:(t,r,e)=>{var n=e(9859),o=e(2079),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},3036:(t,r,e)=>{var n=e(4231),o=e(5353);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.9.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},7942:(t,r,e)=>{var n=e(1176),o=e(3819),i=e(95)("species");t.exports=function(t,r){var e,a=n(t).constructor;return void 0===a||null==(e=n(a)[i])?r:o(e)}},966:(t,r,e)=>{var n=e(6051),o=e(8885),i=function(t){return function(r,e){var i,a,u=String(o(r)),s=n(e),c=u.length;return s<0||s>=c?t?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},7456:(t,r,e)=>{var n=e(598);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},6650:(t,r,e)=>{var n=e(4237),o=e(3124),i=e(8885),a=Math.ceil,u=function(t){return function(r,e,u){var s,c,l=String(i(r)),f=l.length,p=void 0===u?" ":String(u),v=n(e);return v<=f||""==p?l:(s=v-f,(c=o.call(p,a(s/p.length))).length>s&&(c=c.slice(0,s)),t?l+c:c+l)}};t.exports={start:u(!1),end:u(!0)}},3124:(t,r,e)=>{"use strict";var n=e(6051),o=e(8885);t.exports="".repeat||function(t){var r=String(o(this)),e="",i=n(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(r+=r))1&i&&(e+=r);return e}},1017:(t,r,e)=>{var n=e(8885),o="["+e(1647)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),u=function(t){return function(r){var e=String(n(r));return 1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(a,"")),e}};t.exports={start:u(1),end:u(2),trim:u(3)}},3231:(t,r,e)=>{var n=e(6051),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},905:(t,r,e)=>{var n=e(9337),o=e(8885);t.exports=function(t){return n(o(t))}},6051:t=>{var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},4237:(t,r,e)=>{var n=e(6051),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},2991:(t,r,e)=>{var n=e(8885);t.exports=function(t){return Object(n(t))}},2066:(t,r,e)=>{var n=e(5052);t.exports=function(t,r){if(!n(t))return t;var e,o;if(r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!n(o=e.call(t)))return o;if(!r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},1601:(t,r,e)=>{var n={};n[e(95)("toStringTag")]="z",t.exports="[object z]"===String(n)},1441:t=>{var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},6969:(t,r,e)=>{var n=e(3839);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5391:(t,r,e)=>{var n=e(95);r.f=n},95:(t,r,e)=>{var n=e(9859),o=e(3036),i=e(816),a=e(1441),u=e(3839),s=e(6969),c=o("wks"),l=n.Symbol,f=s?l:l&&l.withoutSetter||a;t.exports=function(t){return i(c,t)&&(u||"string"==typeof c[t])||(u&&i(l,t)?c[t]=l[t]:c[t]=f("Symbol."+t)),c[t]}},1647:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},7233:(t,r,e)=>{var n=e(3103),o=e(507);n({target:"Array",stat:!0,forced:!e(4575)((function(t){Array.from(t)}))},{from:o})},8145:(t,r,e)=>{e(3103)({target:"Array",stat:!0},{isArray:e(3718)})},5735:(t,r,e)=>{"use strict";var n=e(905),o=e(9736),i=e(5495),a=e(6407),u=e(7675),s="Array Iterator",c=a.set,l=a.getterFor(s);t.exports=u(Array,"Array",(function(t,r){c(this,{type:s,target:n(t),index:0,kind:r})}),(function(){var t=l(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:n,done:!1}:"values"==e?{value:r[n],done:!1}:{value:[n,r[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},6781:(t,r,e)=>{"use strict";var n=e(3103),o=e(9337),i=e(905),a=e(6038),u=[].join,s=o!=Object,c=a("join",",");n({target:"Array",proto:!0,forced:s||!c},{join:function(t){return u.call(i(this),void 0===t?",":t)}})},3450:(t,r,e)=>{"use strict";var n=e(3103),o=e(9996).map;n({target:"Array",proto:!0,forced:!e(1460)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},9992:(t,r,e)=>{"use strict";var n=e(3103),o=e(3718),i=[].reverse,a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},2501:(t,r,e)=>{"use strict";var n=e(3103),o=e(5052),i=e(3718),a=e(3231),u=e(4237),s=e(905),c=e(2324),l=e(95),f=e(1460)("slice"),p=l("species"),v=[].slice,h=Math.max;n({target:"Array",proto:!0,forced:!f},{slice:function(t,r){var e,n,l,f=s(this),y=u(f.length),g=a(t,y),d=a(void 0===r?y:r,y);if(i(f)&&("function"!=typeof(e=f.constructor)||e!==Array&&!i(e.prototype)?o(e)&&null===(e=e[p])&&(e=void 0):e=void 0,e===Array||void 0===e))return v.call(f,g,d);for(n=new(void 0===e?Array:e)(h(d-g,0)),l=0;g<d;g++,l++)g in f&&c(n,l,f[g]);return n.length=l,n}})},9120:(t,r,e)=>{var n=e(7487),o=Date.prototype,i="Invalid Date",a=o.toString,u=o.getTime;new Date(NaN)+""!=i&&n(o,"toString",(function(){var t=u.call(this);return t==t?a.call(this):i}))},6936:(t,r,e)=>{var n=e(7400),o=e(1787).f,i=Function.prototype,a=i.toString,u=/^\s*function ([^ (]*)/,s="name";n&&!(s in i)&&o(i,s,{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(t){return""}}})},1245:(t,r,e)=>{"use strict";var n=e(7400),o=e(9859),i=e(6541),a=e(7487),u=e(816),s=e(7079),c=e(835),l=e(2066),f=e(4229),p=e(2391),v=e(8151).f,h=e(7933).f,y=e(1787).f,g=e(1017).trim,d="Number",x=o.Number,m=x.prototype,S=s(p(m))==d,b=function(t){var r,e,n,o,i,a,u,s,c=l(t,!1);if("string"==typeof c&&c.length>2)if(43===(r=(c=g(c)).charCodeAt(0))||45===r){if(88===(e=c.charCodeAt(2))||120===e)return NaN}else if(48===r){switch(c.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,u=0;u<a;u++)if((s=i.charCodeAt(u))<48||s>o)return NaN;return parseInt(i,n)}return+c};if(i(d,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var E,O=function(t){var r=arguments.length<1?0:t,e=this;return e instanceof O&&(S?f((function(){m.valueOf.call(e)})):s(e)!=d)?c(new x(b(r)),e,O):b(r)},j=n?v(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),w=0;j.length>w;w++)u(x,E=j[w])&&!u(O,E)&&y(O,E,h(x,E));O.prototype=m,m.constructor=O,a(o,d,O)}},8188:(t,r,e)=>{var n=e(1601),o=e(7487),i=e(4059);n||o(Object.prototype,"toString",i,{unsafe:!0})},8995:(t,r,e)=>{var n=e(3103),o=e(6596);n({global:!0,forced:parseInt!=o},{parseInt:o})},7950:(t,r,e)=>{"use strict";var n=e(3103),o=e(3466);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8233:(t,r,e)=>{"use strict";var n=e(7487),o=e(1176),i=e(4229),a=e(895),u="toString",s=RegExp.prototype,c=s.toString,l=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=u;(l||f)&&n(RegExp.prototype,u,(function(){var t=o(this),r=String(t.source),e=t.flags;return"/"+r+"/"+String(void 0===e&&t instanceof RegExp&&!("flags"in s)?a.call(t):e)}),{unsafe:!0})},8673:(t,r,e)=>{"use strict";var n=e(966).charAt,o=e(6407),i=e(7675),a="String Iterator",u=o.set,s=o.getterFor(a);i(String,"String",(function(t){u(this,{type:a,string:String(t),index:0})}),(function(){var t,r=s(this),e=r.string,o=r.index;return o>=e.length?{value:void 0,done:!0}:(t=n(e,o),r.index+=t.length,{value:t,done:!1})}))},5734:(t,r,e)=>{"use strict";var n=e(3103),o=e(6650).start;n({target:"String",proto:!0,forced:e(7456)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},8319:(t,r,e)=>{"use strict";var n=e(4954),o=e(8311),i=e(1176),a=e(8885),u=e(7942),s=e(6637),c=e(4237),l=e(8115),f=e(3466),p=e(4229),v=[].push,h=Math.min,y=4294967295,g=!p((function(){return!RegExp(y,"y")}));n("split",2,(function(t,r,e){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var n=String(a(this)),i=void 0===e?y:e>>>0;if(0===i)return[];if(void 0===t)return[n];if(!o(t))return r.call(n,t,i);for(var u,s,c,l=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,g=new RegExp(t.source,p+"g");(u=f.call(g,n))&&!((s=g.lastIndex)>h&&(l.push(n.slice(h,u.index)),u.length>1&&u.index<n.length&&v.apply(l,u.slice(1)),c=u[0].length,h=s,l.length>=i));)g.lastIndex===u.index&&g.lastIndex++;return h===n.length?!c&&g.test("")||l.push(""):l.push(n.slice(h)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:r.call(this,t,e)}:r,[function(r,e){var o=a(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e)},function(t,o){var a=e(n,t,this,o,n!==r);if(a.done)return a.value;var f=i(t),p=String(this),v=u(f,RegExp),d=f.unicode,x=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(g?"y":"g"),m=new v(g?f:"^(?:"+f.source+")",x),S=void 0===o?y:o>>>0;if(0===S)return[];if(0===p.length)return null===l(m,p)?[p]:[];for(var b=0,E=0,O=[];E<p.length;){m.lastIndex=g?E:0;var j,w=l(m,g?p:p.slice(E));if(null===w||(j=h(c(m.lastIndex+(g?0:E)),p.length))===b)E=s(p,E,d);else{if(O.push(p.slice(b,E)),O.length===S)return O;for(var I=1;I<=w.length-1;I++)if(O.push(w[I]),O.length===S)return O;E=b=j}}return O.push(p.slice(b)),O}]}),!g)},634:(t,r,e)=>{"use strict";var n=e(3103),o=e(7400),i=e(9859),a=e(816),u=e(5052),s=e(1787).f,c=e(7081),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),r=this instanceof p?new l(t):void 0===t?l():l(t);return""===t&&(f[r]=!0),r};c(p,l);var v=p.prototype=l.prototype;v.constructor=p;var h=v.toString,y="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;s(v,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,r=h.call(t);if(a(f,t))return"";var e=y?r.slice(7,-1):r.replace(g,"$1");return""===e?void 0:e}}),n({global:!0,forced:!0},{Symbol:p})}},796:(t,r,e)=>{e(8423)("iterator")},4115:(t,r,e)=>{"use strict";var n=e(3103),o=e(9859),i=e(1333),a=e(4231),u=e(7400),s=e(3839),c=e(6969),l=e(4229),f=e(816),p=e(3718),v=e(5052),h=e(1176),y=e(2991),g=e(905),d=e(2066),x=e(5358),m=e(2391),S=e(5632),b=e(8151),E=e(166),O=e(894),j=e(7933),w=e(1787),I=e(9195),A=e(5762),N=e(7487),T=e(3036),_=e(4399),k=e(5977),R=e(1441),P=e(95),C=e(5391),L=e(8423),M=e(4555),D=e(6407),F=e(9996).forEach,U=_("hidden"),G="Symbol",H=P("toPrimitive"),V=D.set,$=D.getterFor(G),W=Object.prototype,z=o.Symbol,B=i("JSON","stringify"),Y=j.f,Z=w.f,J=E.f,X=I.f,K=T("symbols"),q=T("op-symbols"),Q=T("string-to-symbol-registry"),tt=T("symbol-to-string-registry"),rt=T("wks"),et=o.QObject,nt=!et||!et.prototype||!et.prototype.findChild,ot=u&&l((function(){return 7!=m(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=Y(W,r);n&&delete W[r],Z(t,r,e),n&&t!==W&&Z(W,r,n)}:Z,it=function(t,r){var e=K[t]=m(z.prototype);return V(e,{type:G,tag:t,description:r}),u||(e.description=r),e},at=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof z},ut=function(t,r,e){t===W&&ut(q,r,e),h(t);var n=d(r,!0);return h(e),f(K,n)?(e.enumerable?(f(t,U)&&t[U][n]&&(t[U][n]=!1),e=m(e,{enumerable:x(0,!1)})):(f(t,U)||Z(t,U,x(1,{})),t[U][n]=!0),ot(t,n,e)):Z(t,n,e)},st=function(t,r){h(t);var e=g(r),n=S(e).concat(pt(e));return F(n,(function(r){u&&!ct.call(e,r)||ut(t,r,e[r])})),t},ct=function(t){var r=d(t,!0),e=X.call(this,r);return!(this===W&&f(K,r)&&!f(q,r))&&(!(e||!f(this,r)||!f(K,r)||f(this,U)&&this[U][r])||e)},lt=function(t,r){var e=g(t),n=d(r,!0);if(e!==W||!f(K,n)||f(q,n)){var o=Y(e,n);return!o||!f(K,n)||f(e,U)&&e[U][n]||(o.enumerable=!0),o}},ft=function(t){var r=J(g(t)),e=[];return F(r,(function(t){f(K,t)||f(k,t)||e.push(t)})),e},pt=function(t){var r=t===W,e=J(r?q:g(t)),n=[];return F(e,(function(t){!f(K,t)||r&&!f(W,t)||n.push(K[t])})),n};s||(N((z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,r=R(t),e=function(t){this===W&&e.call(q,t),f(this,U)&&f(this[U],r)&&(this[U][r]=!1),ot(this,r,x(1,t))};return u&&nt&&ot(W,r,{configurable:!0,set:e}),it(r,t)}).prototype,"toString",(function(){return $(this).tag})),N(z,"withoutSetter",(function(t){return it(R(t),t)})),I.f=ct,w.f=ut,j.f=lt,b.f=E.f=ft,O.f=pt,C.f=function(t){return it(P(t),t)},u&&(Z(z.prototype,"description",{configurable:!0,get:function(){return $(this).description}}),a||N(W,"propertyIsEnumerable",ct,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:z}),F(S(rt),(function(t){L(t)})),n({target:G,stat:!0,forced:!s},{for:function(t){var r=String(t);if(f(Q,r))return Q[r];var e=z(r);return Q[r]=e,tt[e]=r,e},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(f(tt,t))return tt[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!u},{create:function(t,r){return void 0===r?m(t):st(m(t),r)},defineProperty:ut,defineProperties:st,getOwnPropertyDescriptor:lt}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:ft,getOwnPropertySymbols:pt}),n({target:"Object",stat:!0,forced:l((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(y(t))}}),B&&n({target:"JSON",stat:!0,forced:!s||l((function(){var t=z();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))}))},{stringify:function(t,r,e){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=r,(v(r)||void 0!==t)&&!at(t))return p(r)||(r=function(t,r){if("function"==typeof n&&(r=n.call(this,t,r)),!at(r))return r}),o[1]=r,B.apply(null,o)}}),z.prototype[H]||A(z.prototype,H,z.prototype.valueOf),M(z,G),k[U]=!0},6886:(t,r,e)=>{var n=e(9859),o=e(5694),i=e(5735),a=e(5762),u=e(95),s=u("iterator"),c=u("toStringTag"),l=i.values;for(var f in o){var p=n[f],v=p&&p.prototype;if(v){if(v[s]!==l)try{a(v,s,l)}catch(t){v[s]=l}if(v[c]||a(v,c,f),o[f])for(var h in i)if(v[h]!==i[h])try{a(v,h,i[h])}catch(t){v[h]=i[h]}}}}},r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r);var n={};return(()=>{"use strict";function t(){var t=this;this.negative_word,this.separator_word,this.ZERO,this.space_separator=" ",this.toCardinal=function(){},this.floatToCardinal=function(r){if(Number(r)===r){if(r%1==0||void 0===t.separator_word)return t.toCardinal(r);for(var e=r.toString().split("."),n=t.toCardinal(parseInt(e[0],10)),o=e[1],i=Array.from(o),a=[];"0"===i[0];)i.shift(),a.push(t.ZERO);a.push(t.toCardinal(parseInt(o,10)));var u=a.join(t.space_separator);return[n,t.separator_word,u].join(t.space_separator)}}}function r(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],n=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(e.push(a.value),!r||e.length!==r);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return e}}(t,r)||function(t,r){if(t){if("string"==typeof t)return o(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(t,r):void 0}}(t,r)||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 o(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function i(){var e=this;t.call(this),this.feminine=!1,this.negative_word="минус",this.separator_word="запятая",this.ZERO="ноль",this.ONES={1:"один",2:"два",3:"три",4:"четыре",5:"пять",6:"шесть",7:"семь",8:"восемь",9:"девять"},this.ONES_FEMININE={1:"одна",2:"две",3:"три",4:"четыре",5:"пять",6:"шесть",7:"семь",8:"восемь",9:"девять"},this.TENS={0:"десять",1:"одиннадцать",2:"двенадцать",3:"тринадцать",4:"четырнадцать",5:"пятнадцать",6:"шестнадцать",7:"семнадцать",8:"восемнадцать",9:"девятнадцать"},this.TWENTIES={2:"двадцать",3:"тридцать",4:"сорок",5:"пятьдесят",6:"шестьдесят",7:"семьдесят",8:"восемьдесят",9:"девяносто"},this.HUNDREDS={1:"сто",2:"двести",3:"триста",4:"четыреста",5:"пятьсот",6:"шестьсот",7:"семьсот",8:"восемьсот",9:"девятьсот"},this.THOUSANDS={1:["тысяча","тысячи","тысяч"],2:["миллион","миллиона","миллионов"],3:["миллиард","миллиарда","миллиардов"],4:["триллион","триллиона","триллионов"],5:["квадриллион","квадриллиона","квадриллионов"],6:["квинтиллион","квинтиллиона","квинтиллионов"],7:["секстиллион","секстиллиона","секстиллионов"],8:["септиллион","септиллиона","септиллионов"],9:["октиллион","октиллиона","октиллионов"],10:["нониллион","нониллиона","нониллионов"]},this.splitbyx=function(t,r){var e,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=[],i=t.length;if(i>r){var a=i%r;a>0&&(e=t.slice(0,a),n?o.push(parseInt(e)):o.push(e));for(var u=a;u<i;u+=r)e=t.slice(u,u+r),n?o.push(parseInt(e)):o.push(e)}else n?o.push(parseInt(t)):o.push(t);return o},this.get_digits=function(t){return Array.from(JSON.stringify(t).padStart(3,"0").slice(-3)).reverse().map((function(t){return parseInt(t)}))},this.pluralize=function(t,r){var e=2;return(t%100<10||t%100>20)&&(t%10==1?e=0:t%10<5&&t%10>1&&(e=1)),r[e]},this.toCardinal=function(t){if(0==parseInt(t))return e.ZERO;for(var n=[],o=e.splitbyx(JSON.stringify(t),3),i=o.length,a=0;a<o.length;a++){var u=o[a],s=[];if(i-=1,0!=u){var c=r(e.get_digits(u),3),l=c[0],f=c[1],p=c[2];p>0&&n.push(e.HUNDREDS[p]),f>1&&n.push(e.TWENTIES[f]),1==f?n.push(e.TENS[l]):l>0&&(s=1==i||e.feminine&&0==i?e.ONES_FEMININE:e.ONES,n.push(s[l])),i>0&&n.push(e.pluralize(u,e.THOUSANDS[i]))}}return n.join(" ")}}function a(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],n=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(e.push(a.value),!r||e.length!==r);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return e}}(t,r)||function(t,r){if(t){if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,r):void 0}}(t,r)||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 u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function s(){var t=this;i.call(this),this.negative_word="minus",this.separator_word="kablelis",this.feminine=!1,this.ZERO="nulis",this.ONES={1:"vienas",2:"du",3:"trys",4:"keturi",5:"penki",6:"šeši",7:"septyni",8:"aštuoni",9:"devyni"},this.ONES_FEMININE={1:"viena",2:"dvi",3:"trys",4:"keturios",5:"penkios",6:"šešios",7:"septynios",8:"aštuonios",9:"devynios"},this.TENS={0:"dešimt",1:"vienuolika",2:"dvylika",3:"trylika",4:"keturiolika",5:"penkiolika",6:"šešiolika",7:"septyniolika",8:"aštuoniolika",9:"devyniolika"},this.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"},this.HUNDREDS=["šimtas","šimtai"],this.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ų"]},this.pluralize=function(r,e){var n=1,o=a(t.get_digits(r),2),i=o[0];return 1==o[1]||0==i||0==r?n=2:1==i&&(n=0),e[n]},this.toCardinal=function(r){if(0==parseInt(r))return t.ZERO;for(var e=[],n=t.splitbyx(JSON.stringify(r),3),o=n.length,i=0;i<n.length;i++){var u=n[i];if(o-=1,0!=u){var s=a(t.get_digits(u),3),c=s[0],l=s[1],f=s[2];f>0&&(e.push(t.ONES[f]),f>1?e.push(t.HUNDREDS[1]):e.push(t.HUNDREDS[0])),l>1&&e.push(t.TWENTIES[l]),1==l?e.push(t.TENS[c]):c>0&&((1==o||t.feminine&&0==o)&&r<1e3?e.push(t.ONES_FEMININE[c]):e.push(t.ONES[c])),o>0&&e.push(t.pluralize(u,t.THOUSANDS[o]))}}return e.join(" ")}}function c(t){return(new s).toCardinal(t)}e.d(n,{default:()=>c}),e(8995),e(6781),e(8145),e(4115),e(634),e(8188),e(796),e(8673),e(5735),e(6886),e(2501),e(6936),e(7233),e(9992),e(5734),e(3450),e(1245),e(8319),e(7950),e(8233),e(9120)})(),n.default})()}));