@transferwise/comparison-components 23.0.1 → 23.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/es/{ComparisonTableHeroContainer-62ab3212.js → ComparisonTableHeroContainer-8ae78559.js} +2 -2
- package/dist/es/{ComparisonTableHeroContainer-62ab3212.js.map → ComparisonTableHeroContainer-8ae78559.js.map} +1 -1
- package/dist/es/{ErrorTemplate-bcf5b515.js → ErrorTemplate-1c69f1cc.js} +2 -2
- package/dist/es/{ErrorTemplate-bcf5b515.js.map → ErrorTemplate-1c69f1cc.js.map} +1 -1
- package/dist/es/{ProviderComparisonTable-cae75a3c.js → ProviderComparisonTable-1e6d5316.js} +2 -2
- package/dist/es/{ProviderComparisonTable-cae75a3c.js.map → ProviderComparisonTable-1e6d5316.js.map} +1 -1
- package/dist/es/{ReceiveAmount-7037d499.js → ReceiveAmount-79f5a357.js} +2 -2
- package/dist/es/{ReceiveAmount-7037d499.js.map → ReceiveAmount-79f5a357.js.map} +1 -1
- package/dist/es/TravelMoney-3beb398f.js +2 -0
- package/dist/es/{TravelMoney-eec50670.js.map → TravelMoney-3beb398f.js.map} +1 -1
- package/dist/es/comparison/index.js +1 -1
- package/dist/es/comparison-table/index.js +1 -1
- package/dist/es/comparison-table-hero/index.js +1 -1
- package/dist/es/{index-fe190abc.js → index-071c5cff.js} +2 -2
- package/dist/es/{index-fe190abc.js.map → index-071c5cff.js.map} +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/provider-comparison-table/index.js +1 -1
- package/dist/es/provider-comparison-widget/index.js +1 -1
- package/dist/es/provider-comparison-widget/index.js.map +1 -1
- package/dist/es/travel-money/index.js +1 -1
- package/dist/umd/comparison-components.css +1 -1
- package/dist/umd/comparison-components.js +2 -2
- package/dist/umd/comparison-components.js.map +1 -1
- package/dist/umd/provider-comparison-widget/provider-comparison-widget.css +1 -1
- package/dist/umd/travel-money/travel-money.css +1 -1
- package/package.json +1 -1
- package/src/provider-comparison-widget/ProviderComparisonWidget.module.less +7 -0
- package/src/travel-money/TravelMoney.module.less +7 -0
- package/dist/es/TravelMoney-eec50670.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e,a as n,e as t,b as o,c as r,d as u}from"./getPrototypeOf-21a8384d.js";import{Loader as a}from"@transferwise/components";import i from"prop-types";import s,{Component as c,forwardRef as d}from"react";import l from"react-autobind";import{FormattedMessage as m,useIntl as f}from"react-intl";import{format as h}from"date-fns";import{c as g}from"./_commonjsHelpers-97e6d7b1.js";var p=function(e){var n=new Date(e.getTime()),t=n.getTimezoneOffset();return n.setSeconds(0,0),6e4*t+n.getTime()%6e4};var M=function(e){return e instanceof Date},v=36e5,b=6e4,k=2,D=/[T ]/,x=/:/,y=/^(\d{2})$/,j=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],X=/^(\d{4})/,S=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],E=/^-(\d{2})$/,T=/^-?(\d{3})$/,H=/^-?(\d{2})-?(\d{2})$/,w=/^-?W(\d{2})$/,A=/^-?W(\d{2})-?(\d{1})$/,Y=/^(\d{2}([.,]\d*)?)$/,z=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,P=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,I=/([Z+-].*)$/,N=/^(Z)$/,R=/^([+-])(\d{2})$/,W=/^([+-])(\d{2}):?(\d{2})$/;function G(e,n,t){n=n||0,t=t||0;var o=new Date(0);o.setUTCFullYear(e,0,4);var r=7*n+t+1-(o.getUTCDay()||7);return o.setUTCDate(o.getUTCDate()+r),o}var C=function(e,n){if(M(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var t=(n||{}).additionalDigits;t=null==t?k:Number(t);var o=function(e){var n,t={},o=e.split(D);if(x.test(o[0])?(t.date=null,n=o[0]):(t.date=o[0],n=o[1]),n){var r=I.exec(n);r?(t.time=n.replace(r[1],""),t.timezone=r[1]):t.time=n}return t}(e),r=function(e,n){var t,o=j[n],r=S[n];if(t=X.exec(e)||r.exec(e)){var u=t[1];return{year:parseInt(u,10),restDateString:e.slice(u.length)}}if(t=y.exec(e)||o.exec(e)){var a=t[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(o.date,t),u=r.year,a=function(e,n){if(null===n)return null;var t,o,r,u;if(0===e.length)return(o=new Date(0)).setUTCFullYear(n),o;if(t=E.exec(e))return o=new Date(0),r=parseInt(t[1],10)-1,o.setUTCFullYear(n,r),o;if(t=T.exec(e)){o=new Date(0);var a=parseInt(t[1],10);return o.setUTCFullYear(n,0,a),o}if(t=H.exec(e)){o=new Date(0),r=parseInt(t[1],10)-1;var i=parseInt(t[2],10);return o.setUTCFullYear(n,r,i),o}if(t=w.exec(e))return u=parseInt(t[1],10)-1,G(n,u);if(t=A.exec(e)){u=parseInt(t[1],10)-1;var s=parseInt(t[2],10)-1;return G(n,u,s)}return null}(r.restDateString,u);if(a){var i,s=a.getTime(),c=0;if(o.time&&(c=function(e){var n,t,o;if(n=Y.exec(e))return(t=parseFloat(n[1].replace(",",".")))%24*v;if(n=z.exec(e))return t=parseInt(n[1],10),o=parseFloat(n[2].replace(",",".")),t%24*v+o*b;if(n=P.exec(e)){t=parseInt(n[1],10),o=parseInt(n[2],10);var r=parseFloat(n[3].replace(",","."));return t%24*v+o*b+1e3*r}return null}(o.time)),o.timezone)h=o.timezone,i=((g=N.exec(h))?0:(g=R.exec(h))?(C=60*parseInt(g[2],10),"+"===g[1]?-C:C):(g=W.exec(h))?(C=60*parseInt(g[2],10)+parseInt(g[3],10),"+"===g[1]?-C:C):0)*b;else{var d=s+c,l=new Date(d);i=p(l);var m=new Date(d);m.setDate(l.getDate()+1);var f=p(m)-p(l);f>0&&(i+=f)}return new Date(s+c+i)}var h,g,C;return new Date(e)};var O=function(e,n){var t=C(e).getTime(),o=C(n).getTime();return t>o?-1:t<o?1:0};var F=function(e,n){var t=C(e),o=C(n);return t.getTime()-o.getTime()};var L=function(e,n){var t=F(e,n)/1e3;return t>0?Math.floor(t):Math.ceil(t)};var J=function(e,n){var t=C(e),o=C(n);return 12*(t.getFullYear()-o.getFullYear())+(t.getMonth()-o.getMonth())};var U=function(e,n){var t=C(e).getTime(),o=C(n).getTime();return t<o?-1:t>o?1:0};var Q=function(e,n){var t=C(e),o=C(n),r=U(t,o),u=Math.abs(J(t,o));return t.setMonth(t.getMonth()-r*u),r*(u-(U(t,o)===-r))};var _=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];var q=function(e){var n=[];for(var t in e)e.hasOwnProperty(t)&&n.push(t);var o=_.concat(n).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+o.join("|")+"|.)","g")};var $=function(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=["January","February","March","April","May","June","July","August","September","October","November","December"],t=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],r=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},K={distanceInWords:function(){var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"in "+r:r+" ago":r}}}(),format:$()};K.distanceInWords,K.format;var B=1440,V=2520,Z=43200,ee=86400;var ne=function(e,n,t){var o=t||{},r=O(e,n),u=o.locale,a=K.distanceInWords.localize;u&&u.distanceInWords&&u.distanceInWords.localize&&(a=u.distanceInWords.localize);var i,s,c={addSuffix:Boolean(o.addSuffix),comparison:r};r>0?(i=C(e),s=C(n)):(i=C(n),s=C(e));var d,l=L(s,i),m=s.getTimezoneOffset()-i.getTimezoneOffset(),f=Math.round(l/60)-m;if(f<2)return o.includeSeconds?l<5?a("lessThanXSeconds",5,c):l<10?a("lessThanXSeconds",10,c):l<20?a("lessThanXSeconds",20,c):l<40?a("halfAMinute",null,c):a(l<60?"lessThanXMinutes":"xMinutes",1,c):0===f?a("lessThanXMinutes",1,c):a("xMinutes",f,c);if(f<45)return a("xMinutes",f,c);if(f<90)return a("aboutXHours",1,c);if(f<B)return a("aboutXHours",Math.round(f/60),c);if(f<V)return a("xDays",1,c);if(f<Z)return a("xDays",Math.round(f/B),c);if(f<ee)return a("aboutXMonths",d=Math.round(f/Z),c);if((d=Q(s,i))<12)return a("xMonths",Math.round(f/Z),c);var h=d%12,g=Math.floor(d/12);return h<3?a("aboutXYears",g,c):h<9?a("overXYears",g,c):a("almostXYears",g+1,c)};var te=function(e,n){return ne(Date.now(),e,n)};var oe=function(){var e=["студз","лют","сак","крас","май","чэрв","ліп","жн","вер","кастр","ліст","снеж"],n=["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"],t=["нд","пн","аў","ср","чц","пт","сб"],o=["нядз","пан","аўт","сер","чац","пят","суб"],r=["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},re={distanceInWords:function(){var e={lessThanXSeconds:{one:"менш секунды",other:"менш {{count}} секунд"},xSeconds:{one:"1 секунда",other:"{{count}} секунд(-ы)"},halfAMinute:"паўхвіліны",lessThanXMinutes:{one:"менш хвіліны",other:"менш {{count}} хвілін"},xMinutes:{one:"1 хвіліна",other:"{{count}} хвілін(-ы)"},aboutXHours:{one:"каля 1 гадзіны",other:"каля {{count}} гадзін"},xHours:{one:"1 гадзіна",other:"{{count}} гадзін(-ы)"},xDays:{one:"1 дзень",other:"{{count}} дні (дзён)"},aboutXMonths:{one:"каля 1 месяца",other:"каля {{count}} месяцаў"},xMonths:{one:"1 месяц",other:"{{count}} месяцы(-аў)"},aboutXYears:{one:"каля 1 года",other:"каля {{count}} гадоў"},xYears:{one:"1 год",other:"{{count}} гады(гадоў)"},overXYears:{one:"больш 1 года",other:"больш {{count}} гадоў"},almostXYears:{one:"амаль 1 год",other:"амаль {{count}} гады(-оў)"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"у/праз "+r:r+" таму":r}}}(),format:oe()};var ue=function(){var e=["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],n=["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"],t=["нд","пн","вт","ср","чт","пт","сб"],o=["нед","пон","вто","сря","чет","пет","съб"],r=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],u=["сутринта","на обяд","следобед","вечерта"],a=function(e){var n=e.getHours();return n>=4&&n<12?u[0]:n>=12&&n<14?u[1]:n>=14&&n<17?u[2]:u[3]},i={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:a,a:a,aa:a};return["M","D","DDD","d","Q","W"].forEach(function(e){i[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"-ви";case 2:return e+"-ри"}return e+"-и"}(t[e](n))}}),{formatters:i,formattingTokensRegExp:q(i)}},ae={distanceInWords:function(){var e={lessThanXSeconds:{one:"по-малко от секунда",other:"по-малко от {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половин минута",lessThanXMinutes:{one:"по-малко от минута",other:"по-малко от {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"около час",other:"около {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дни"},aboutXMonths:{one:"около месец",other:"около {{count}} месеца"},xMonths:{one:"1 месец",other:"{{count}} месеца"},aboutXYears:{one:"около година",other:"около {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"над година",other:"над {{count}} години"},almostXYears:{one:"почти година",other:"почти {{count}} години"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"след "+r:"преди "+r:r}}}(),format:ue()};var ie=function(){var e=["gen","feb","mar","abr","mai","jun","jul","ago","set","oct","nov","des"],n=["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octobre","novembre","desembre"],t=["dg","dl","dt","dc","dj","dv","ds"],o=["dge","dls","dts","dcs","djs","dvs","dss"],r=["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){switch(e){case 1:return"1r";case 2:return"2n";case 3:return"3r";case 4:return"4t";default:return e+"è"}}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},se={distanceInWords:function(){var e={lessThanXSeconds:{one:"menys d'un segon",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"en "+r:"fa "+r:r}}}(),format:ie()};function ce(e,n,t){var o=function(e,n){return 1===n?e.one:n>=2&&n<=4?e.twoFour:e.other}(e,n);return(o[t]||o).replace("{{count}}",n)}function de(e){var n="";return"almost"===e&&(n="skoro"),"about"===e&&(n="přibližně"),n.length>0?n+" ":""}function le(e){var n="";return"lessThan"===e&&(n="méně než"),"over"===e&&(n="více než"),n.length>0?n+" ":""}var me=function(){var e=["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],n=["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],t=["ne","po","út","st","čt","pá","so"],o=["ned","pon","úte","stř","čtv","pát","sob"],r=["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],u=["DOP.","ODP."],a=["dop.","odp."],i=["dopoledne","odpoledne"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},fe={distanceInWords:function(){var e={xSeconds:{one:{regular:"vteřina",past:"vteřinou",future:"vteřinu"},twoFour:{regular:"{{count}} vteřiny",past:"{{count}} vteřinami",future:"{{count}} vteřiny"},other:{regular:"{{count}} vteřin",past:"{{count}} vteřinami",future:"{{count}} vteřin"}},halfAMinute:{other:{regular:"půl minuty",past:"půl minutou",future:"půl minuty"}},xMinutes:{one:{regular:"minuta",past:"minutou",future:"minutu"},twoFour:{regular:"{{count}} minuty",past:"{{count}} minutami",future:"{{count}} minuty"},other:{regular:"{{count}} minut",past:"{{count}} minutami",future:"{{count}} minut"}},xHours:{one:{regular:"hodina",past:"hodinou",future:"hodinu"},twoFour:{regular:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{regular:"{{count}} hodin",past:"{{count}} hodinami",future:"{{count}} hodin"}},xDays:{one:{regular:"den",past:"dnem",future:"den"},twoFour:{regular:"{{count}} dni",past:"{{count}} dny",future:"{{count}} dni"},other:{regular:"{{count}} dní",past:"{{count}} dny",future:"{{count}} dní"}},xMonths:{one:{regular:"měsíc",past:"měsícem",future:"měsíc"},twoFour:{regular:"{{count}} měsíce",past:"{{count}} měsíci",future:"{{count}} měsíce"},other:{regular:"{{count}} měsíců",past:"{{count}} měsíci",future:"{{count}} měsíců"}},xYears:{one:{regular:"rok",past:"rokem",future:"rok"},twoFour:{regular:"{{count}} roky",past:"{{count}} roky",future:"{{count}} roky"},other:{regular:"{{count}} roků",past:"{{count}} roky",future:"{{count}} roků"}}};return{localize:function(n,t,o){o=o||{};var r,u=function(e){return["lessThan","about","over","almost"].filter(function(n){return!!e.match(new RegExp("^"+n))})[0]}(n)||"",a=(r=n.substring(u.length)).charAt(0).toLowerCase()+r.slice(1),i=e[a];return o.addSuffix?o.comparison>0?de(u)+"za "+le(u)+ce(i,t,"future"):de(u)+"před "+le(u)+ce(i,t,"past"):de(u)+le(u)+ce(i,t,"regular")}}}(),format:me()};var he=function(){var e=["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],n=["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],t=["sø","ma","ti","on","to","fr","lø"],o=["søn","man","tir","ons","tor","fre","lør"],r=["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},ge={distanceInWords:function(){var e={lessThanXSeconds:{one:"mindre end et sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minut",lessThanXMinutes:{one:"mindre end et minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"om "+r:r+" siden":r}}}(),format:he()};var pe=function(){var e=["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],n=["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],t=["So","Mo","Di","Mi","Do","Fr","Sa"],o=["Son","Mon","Die","Mit","Don","Fre","Sam"],r=["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},Me={distanceInWords:function(){var e={lessThanXSeconds:{standalone:{one:"weniger als eine Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als einer Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"eine Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"einer Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als eine Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als einer Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"eine Minute",other:"{{count}} Minuten"},withPreposition:{one:"einer Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa eine Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa einer Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"eine Stunde",other:"{{count}} Stunden"},withPreposition:{one:"einer Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"ein Tag",other:"{{count}} Tage"},withPreposition:{one:"einem Tag",other:"{{count}} Tagen"}},aboutXMonths:{standalone:{one:"etwa ein Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa einem Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"ein Monat",other:"{{count}} Monate"},withPreposition:{one:"einem Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa ein Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa einem Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"ein Jahr",other:"{{count}} Jahre"},withPreposition:{one:"einem Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als ein Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als einem Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast ein Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast einem Jahr",other:"fast {{count}} Jahren"}}};return{localize:function(n,t,o){var r,u=(o=o||{}).addSuffix?e[n].withPreposition:e[n].standalone;return r="string"==typeof u?u:1===t?u.one:u.other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"in "+r:"vor "+r:r}}}(),format:pe()};var ve=function(){var e=["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],n=["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],t=["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"],o=["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],r=["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],u=["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],a=["ΠΜ","ΜΜ"],i=["πμ","μμ"],s=["π.μ.","μ.μ."],c={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return o[e.getDay()]},ddd:function(e){return r[e.getDay()]},dddd:function(e){return u[e.getDay()]},A:function(e){return e.getHours()/12>=1?a[1]:a[0]},a:function(e){return e.getHours()/12>=1?i[1]:i[0]},aa:function(e){return e.getHours()/12>=1?s[1]:s[0]}},d={M:"ος",D:"η",DDD:"η",d:"η",Q:"ο",W:"η"};return["M","D","DDD","d","Q","W"].forEach(function(e){c[e+"o"]=function(n,t){return t[e](n)+d[e]}}),["D","Do","DD"].forEach(function(e){c[e+" MMMM"]=function(n,o){return(c[e]||o[e])(n,o)+" "+t[n.getMonth()]}}),{formatters:c,formattingTokensRegExp:q(c)}},be={distanceInWords:function(){var e={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"σε "+r:r+" πρίν":r}}}(),format:ve()};var ke=function(){var e=["jan","feb","mar","apr","maj","jun","jul","aŭg","sep","okt","nov","dec"],n=["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"],t=["di","lu","ma","me","ĵa","ve","sa"],o=["dim","lun","mar","mer","ĵaŭ","ven","sab"],r=["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"],u=["A.T.M.","P.T.M."],a=["a.t.m.","p.t.m."],i=["antaŭtagmeze","posttagmeze"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"-a"}}),{formatters:s,formattingTokensRegExp:q(s)}},De={distanceInWords:function(){var e={lessThanXSeconds:{one:"malpli ol sekundo",other:"malpli ol {{count}} sekundoj"},xSeconds:{one:"1 sekundo",other:"{{count}} sekundoj"},halfAMinute:"duonminuto",lessThanXMinutes:{one:"malpli ol minuto",other:"malpli ol {{count}} minutoj"},xMinutes:{one:"1 minuto",other:"{{count}} minutoj"},aboutXHours:{one:"proksimume 1 horo",other:"proksimume {{count}} horoj"},xHours:{one:"1 horo",other:"{{count}} horoj"},xDays:{one:"1 tago",other:"{{count}} tagoj"},aboutXMonths:{one:"proksimume 1 monato",other:"proksimume {{count}} monatoj"},xMonths:{one:"1 monato",other:"{{count}} monatoj"},aboutXYears:{one:"proksimume 1 jaro",other:"proksimume {{count}} jaroj"},xYears:{one:"1 jaro",other:"{{count}} jaroj"},overXYears:{one:"pli ol 1 jaro",other:"pli ol {{count}} jaroj"},almostXYears:{one:"preskaŭ 1 jaro",other:"preskaŭ {{count}} jaroj"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"post "+r:"antaŭ "+r:r}}}(),format:ke()};var xe=function(){var e=["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],n=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],t=["do","lu","ma","mi","ju","vi","sa"],o=["dom","lun","mar","mié","jue","vie","sáb"],r=["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"º"}}),{formatters:s,formattingTokensRegExp:q(s)}},ye={distanceInWords:function(){var e={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"en "+r:"hace "+r:r}}}(),format:xe()};var je=function(){var e=["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],n=["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],t=["su","ma","ti","ke","to","pe","la"],o=["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"];function r(e){return e.getHours()<12?"AP":"IP"}var u={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return t[e.getDay()]},dddd:function(e){return o[e.getDay()]},A:r,a:r,aa:r};return["M","D","DDD","d","Q","W"].forEach(function(e){u[e+"o"]=function(n,t){return t[e](n).toString()+"."}}),{formatters:u,formattingTokensRegExp:q(u)}},Xe={distanceInWords:function(){function e(e){return e.replace(/sekuntia?/,"sekunnin")}function n(e){return e.replace(/minuuttia?/,"minuutin")}function t(e){return e.replace(/tuntia?/,"tunnin")}function o(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function r(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}var u={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:e},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:e},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function(e){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:n},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:n},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:t},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:t},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:function(e){return e.replace(/päivää?/,"päivän")}},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:o},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:o},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:r},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:r},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:r},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:r}};return{localize:function(e,n,t){t=t||{};var o=u[e],r=1===n?o.one:o.other.replace("{{count}}",n);return t.addSuffix?t.comparison>0?o.futureTense(r)+" kuluttua":r+" sitten":r}}}(),format:je()};var Se=function(){var e=["Ene","Peb","Mar","Abr","May","Hun","Hul","Ago","Set","Okt","Nob","Dis"],n=["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Setyembre","Oktubre","Nobyembre","Disyembre"],t=["Li","Lu","Ma","Mi","Hu","Bi","Sa"],o=["Lin","Lun","Mar","Miy","Huw","Biy","Sab"],r=["Linggo","Lunes","Martes","Miyerkules","Huwebes","Biyernes","Sabado"],u=["NU","NT","NH","NG"],a=["nu","nt","nh","ng"],i=["ng umaga","ng tanghali","ng hapon","ng gabi"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()>12?e.getHours()%12<6?u[2]:u[3]:e.getHours()<12?u[0]:u[1]},a:function(e){return e.getHours()>12?e.getHours()%12<6?a[2]:a[3]:e.getHours()<12?a[0]:a[1]},aa:function(e){return e.getHours()>12?e.getHours()%12<6?i[2]:i[3]:e.getHours()<12?i[0]:i[1]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return"ika-"+t[e](n)}}),{formatters:s,formattingTokensRegExp:q(s)}},Ee={distanceInWords:function(){var e={lessThanXSeconds:{one:"mas maliit sa isang segundo",other:"mas maliit sa {{count}} segundo"},xSeconds:{one:"1 segundo",other:"{{count}} segundo"},halfAMinute:"kalahating minuto",lessThanXMinutes:{one:"mas maliit sa isang minuto",other:"mas maliit sa {{count}} minuto"},xMinutes:{one:"1 minuto",other:"{{count}} minuto"},aboutXHours:{one:"mga 1 oras",other:"mga {{count}} oras"},xHours:{one:"1 oras",other:"{{count}} oras"},xDays:{one:"1 araw",other:"{{count}} araw"},aboutXMonths:{one:"mga 1 buwan",other:"mga {{count}} buwan"},xMonths:{one:"1 buwan",other:"{{count}} buwan"},aboutXYears:{one:"mga 1 taon",other:"mga {{count}} taon"},xYears:{one:"1 taon",other:"{{count}} taon"},overXYears:{one:"higit sa 1 taon",other:"higit sa {{count}} taon"},almostXYears:{one:"halos 1 taon",other:"halos {{count}} taon"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"sa loob ng "+r:r+" ang nakalipas":r}}}(),format:Se()};var Te=function(){var e=["janv.","févr.","mars","avr.","mai","juin","juill.","août","sept.","oct.","nov.","déc."],n=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],t=["di","lu","ma","me","je","ve","sa"],o=["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],r=["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],u=["AM","PM"],a=["am","pm"],i=["du matin","de l’après-midi","du soir"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){var n=e.getHours();return n<=12?i[0]:n<=16?i[1]:i[2]},Wo:function(e,n){return 1===(t=n.W(e))?"1re":t+"e";var t}};return["M","D","DDD","d","Q"].forEach(function(e){s[e+"o"]=function(n,t){return 1===(o=t[e](n))?"1er":o+"e";var o}}),["MMM","MMMM"].forEach(function(e){s["Do "+e]=function(n,t){var o=1===n.getDate()?"Do":"D";return(s[o]||t[o])(n,t)+" "+s[e](n)}}),{formatters:s,formattingTokensRegExp:q(s)}},He={distanceInWords:function(){var e={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"dans "+r:"il y a "+r:r}}}(),format:Te()};var we=function(){var e=["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],n=["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],t=["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"],o=["ne","po","ut","sr","če","pe","su"],r=["ned","pon","uto","sri","čet","pet","sub"],u=["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],a=["ujutro","popodne"],i=["ujutro","popodne"],s=["ujutro","popodne"],c={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return o[e.getDay()]},ddd:function(e){return r[e.getDay()]},dddd:function(e){return u[e.getDay()]},A:function(e){return e.getHours()/12>=1?a[1]:a[0]},a:function(e){return e.getHours()/12>=1?i[1]:i[0]},aa:function(e){return e.getHours()/12>=1?s[1]:s[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){c[e+"o"]=function(n,t){return t[e](n)+"."}}),["D","Do","DD"].forEach(function(e){c[e+" MMM"]=function(n,o){return(c[e]||o[e])(n,o)+" "+t[n.getMonth()]}}),{formatters:c,formattingTokensRegExp:q(c)}},Ae={distanceInWords:function(){var e={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?o.addSuffix?o.comparison>0?e[n].one.withPrepositionIn:e[n].one.withPrepositionAgo:e[n].one.standalone:t%10>1&&t%10<5&&"1"!==String(t).substr(-2,1)?e[n].dual.replace("{{count}}",t):e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"za "+r:"prije "+r:r}}}(),format:we()};var Ye=function(){var e=["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Sze","Okt","Nov","Dec"],n=["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],t=["Va","Hé","Ke","Sze","Cs","Pé","Szo"],o=["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],r=["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],u=["DE","DU"],a=["de","du"],i=["délelőtt","délután"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},ze={distanceInWords:function(){var e={lessThanXSeconds:{one:"kevesebb, mint egy másodperce",other:"kevesebb, mint {{count}} másodperce"},xSeconds:{one:"1 másodperce",other:"{{count}} másodperce"},halfAMinute:"fél perce",lessThanXMinutes:{one:"kevesebb, mint egy perce",other:"kevesebb, mint {{count}} perce"},xMinutes:{one:"1 perce",other:"{{count}} perce"},aboutXHours:{one:"közel 1 órája",other:"közel {{count}} órája"},xHours:{one:"1 órája",other:"{{count}} órája"},xDays:{one:"1 napja",other:"{{count}} napja"},aboutXMonths:{one:"közel 1 hónapja",other:"közel {{count}} hónapja"},xMonths:{one:"1 hónapja",other:"{{count}} hónapja"},aboutXYears:{one:"közel 1 éve",other:"közel {{count}} éve"},xYears:{one:"1 éve",other:"{{count}} éve"},overXYears:{one:"több, mint 1 éve",other:"több, mint {{count}} éve"},almostXYears:{one:"majdnem 1 éve",other:"majdnem {{count}} éve"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?""+r:r+"":r}}}(),format:Ye()};var Pe=function(){var e=["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],n=["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],t=["Mi","Sn","Sl","Ra","Ka","Ju","Sa"],o=["Min","Sen","Sel","Rab","Kam","Jum","Sab"],r=["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){switch(e){case 1:return"pertama";case 2:return"kedua";case 3:return"ketiga";default:return"ke-"+e}}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},Ie={distanceInWords:function(){var e={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"dalam waktu "+r:r+" yang lalu":r}}}(),format:Pe()};var Ne=function(){var e=["jan","feb","mar","apr","maí","jún","júl","ágú","sep","okt","nóv","des"],n=["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],t=["su","má","þr","mi","fi","fö","la"],o=["sun","mán","þri","mið","fim","fös","lau"],r=["sunnudaginn","mánudaginn","þriðjudaginn","miðvikudaginn","fimmtudaginn","föstudaginn","laugardaginn"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return""+t[e](n)}}),{formatters:s,formattingTokensRegExp:q(s)}},Re={distanceInWords:function(){var e={lessThanXSeconds:{one:"minna en 1 sekúnda",other:"minna en {{count}} sekúndur"},xSeconds:{one:"1 sekúnda",other:"{{count}} sekúndur"},halfAMinute:"hálf mínúta",lessThanXMinutes:{one:"minna en 1 mínúta",other:"minna en {{count}} mínútur"},xMinutes:{one:"1 mínúta",other:"{{count}} mínútur"},aboutXHours:{one:"u.þ.b. 1 klukkustund",other:"u.þ.b. {{count}} klukkustundir"},xHours:{one:"1 klukkustund",other:"{{count}} klukkustundir"},xDays:{one:"1 dagur",other:"{{count}} dagar"},aboutXMonths:{one:"u.þ.b. 1 mánuður",other:"u.þ.b. {{count}} mánuðir"},xMonths:{one:"1 mánuður",other:"{{count}} mánuðir"},aboutXYears:{one:"u.þ.b. 1 ár",other:"u.þ.b. {{count}} ár"},xYears:{one:"1 ár",other:"{{count}} ár"},overXYears:{one:"meira en 1 ár",other:"meira en {{count}} ár"},almostXYears:{one:"næstum 1 ár",other:"næstum {{count}} ár"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"í "+r:r+" síðan":r}}}(),format:Ne()};var We=function(){var e=["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],n=["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],t=["do","lu","ma","me","gi","ve","sa"],o=["dom","lun","mar","mer","gio","ven","sab"],r=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"º"}}),{formatters:s,formattingTokensRegExp:q(s)}},Ge={distanceInWords:function(){var e={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"tra "+r:r+" fa":r}}}(),format:We()};var Ce=function(){var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],t=["日","月","火","水","木","金","土"],o=["日曜","月曜","火曜","水曜","木曜","金曜","土曜"],r=["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],u=["午前","午後"],a=["午前","午後"],i=["午前","午後"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"日"}}),{formatters:s,formattingTokensRegExp:q(s)}},Oe={distanceInWords:function(){var e={lessThanXSeconds:{one:"1秒以下",other:"{{count}}秒以下"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒ぐらい",lessThanXMinutes:{one:"1分以下",other:"{{count}}分以下"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"1時間ぐらい",other:"{{count}}時間ぐらい"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXMonths:{one:"1ヶ月ぐらい",other:"{{count}}ヶ月ぐらい"},xMonths:{one:"1ヶ月",other:"{{count}}ヶ月"},aboutXYears:{one:"1年ぐらい",other:"{{count}}年ぐらい"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年以下",other:"{{count}}年以下",oneWithSuffix:"1年ぐらい",otherWithSuffix:"{{count}}年ぐらい"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?o.addSuffix&&e[n].oneWithSuffix?e[n].oneWithSuffix:e[n].one:o.addSuffix&&e[n].otherWithSuffix?e[n].otherWithSuffix.replace("{{count}}",t):e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?r+"後":r+"前":r}}}(),format:Ce()};var Fe=function(){var e=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],t=["일","월","화","수","목","금","토"],o=["일","월","화","수","목","금","토"],r=["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],u=["오전","오후"],a=["오전","오후"],i=["오전","오후"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"일"}}),{formatters:s,formattingTokensRegExp:q(s)}},Le={distanceInWords:function(){var e={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?r+" 후":r+" 전":r}}}(),format:Fe()};var Je=function(){var e=["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек"],n=["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],t=["не","по","вт","ср","че","пе","са"],o=["нед","пон","вто","сре","чет","пет","саб"],r=["недела","понеделник","вторник","среда","четврток","петок","сабота"],u=["претпладне","попладне"],a={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?u[1]:u[0]},aa:function(e){return e.getHours()/12>=1?u[1]:u[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"-ви";case 2:return e+"-ри";case 7:case 8:return e+"-ми"}return e+"-ти"}(t[e](n))}}),{formatters:a,formattingTokensRegExp:q(a)}},Ue={distanceInWords:function(){var e={lessThanXSeconds:{one:"помалку од секунда",other:"помалку од {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половина минута",lessThanXMinutes:{one:"помалку од минута",other:"помалку од {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"околу 1 час",other:"околу {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дена"},aboutXMonths:{one:"околу 1 месец",other:"околу {{count}} месеци"},xMonths:{one:"1 месец",other:"{{count}} месеци"},aboutXYears:{one:"околу 1 година",other:"околу {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"повеќе од 1 година",other:"повеќе од {{count}} години"},almostXYears:{one:"безмалку 1 година",other:"безмалку {{count}} години"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"за "+r:"пред "+r:r}}}(),format:Je()};var Qe=function(){var e=["jan.","feb.","mars","april","mai","juni","juli","aug.","sep.","okt.","nov.","des."],n=["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],t=["sø","ma","ti","on","to","fr","lø"],o=["sø.","ma.","ti.","on.","to.","fr.","lø."],r=["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},_e={distanceInWords:function(){var e={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"rundt en time",other:"rundt {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXMonths:{one:"rundt en måned",other:"rundt {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"rundt ett år",other:"rundt {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"om "+r:r+" siden":r}}}(),format:Qe()};var qe=function(){var e=["jan","feb","mar","apr","mei","jun","jul","aug","sep","okt","nov","dec"],n=["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],t=["zo","ma","di","wo","do","vr","za"],o=["zon","maa","din","woe","don","vri","zat"],r=["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"e"}}),{formatters:s,formattingTokensRegExp:q(s)}},$e={distanceInWords:function(){var e={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"over "+r:r+" geleden":r}}}(),format:qe()};function Ke(e,n,t){t=t||"regular";var o=function(e,n){if(1===n)return e.one;var t=n%100;if(t<=20&&t>10)return e.other;var o=t%10;return o>=2&&o<=4?e.twoFour:e.other}(e,n);return(o[t]||o).replace("{{count}}",n)}var Be=function(){var e=["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],n=["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],t=["nd","pn","wt","śr","cz","pt","sb"],o=["niedz.","pon.","wt.","śr.","czw.","piąt.","sob."],r=["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],u=["w nocy","rano","po południu","wieczorem"],a={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){var n=e.getHours();return n>=17?u[3]:n>=12?u[2]:n>=4?u[1]:u[0]}};return a.a=a.A,a.aa=a.A,["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(n,t){return t[e](n).toString()}}),{formatters:a,formattingTokensRegExp:q(a)}},Ve={distanceInWords:function(){var e={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godzina",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};return{localize:function(n,t,o){o=o||{};var r=e[n];return o.addSuffix?o.comparison>0?"za "+Ke(r,t,"future"):Ke(r,t,"past")+" temu":Ke(r,t)}}}(),format:Be()};var Ze=function(){var e=["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],n=["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],t=["do","se","te","qa","qi","se","sa"],o=["dom","seg","ter","qua","qui","sex","sáb"],r=["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"º"}}),{formatters:s,formattingTokensRegExp:q(s)}},en={distanceInWords:function(){var e={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"daqui a "+r:"há "+r:r}}}(),format:Ze()};var nn=function(){var e=["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],n=["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],t=["du","lu","ma","mi","jo","vi","sâ"],o=["dum","lun","mar","mie","joi","vin","sâm"],r=["duminică","luni","marți","miercuri","joi","vineri","sâmbăta"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n).toString()}}),{formatters:s,formattingTokensRegExp:q(s)}},tn={distanceInWords:function(){var e={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"în "+r:r+" în urmă":r}}}(),format:nn()};function on(e,n){if(void 0!==e.one&&1===n)return e.one;var t=n%10,o=n%100;return 1===t&&11!==o?e.singularNominative.replace("{{count}}",n):t>=2&&t<=4&&(o<10||o>20)?e.singularGenitive.replace("{{count}}",n):e.pluralGenitive.replace("{{count}}",n)}function rn(e){return function(n,t){return t.addSuffix?t.comparison>0?e.future?on(e.future,n):"через "+on(e.regular,n):e.past?on(e.past,n):on(e.regular,n)+" назад":on(e.regular,n)}}var un=function(){var e=["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],n=["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"],t=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],o=["вс","пн","вт","ср","чт","пт","сб"],r=["вск","пнд","втр","срд","чтв","птн","суб"],u=["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],a=["ночи","утра","дня","вечера"],i={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return o[e.getDay()]},ddd:function(e){return r[e.getDay()]},dddd:function(e){return u[e.getDay()]},A:function(e){var n=e.getHours();return n>=17?a[3]:n>=12?a[2]:n>=4?a[1]:a[0]},Do:function(e,n){return n.D(e)+"-е"},Wo:function(e,n){return n.W(e)+"-я"}};return i.a=i.A,i.aa=i.A,["M","DDD","d","Q"].forEach(function(e){i[e+"o"]=function(n,t){return t[e](n)+"-й"}}),["D","Do","DD"].forEach(function(e){i[e+" MMMM"]=function(n,o){return(i[e]||o[e])(n,o)+" "+t[n.getMonth()]}}),{formatters:i,formattingTokensRegExp:q(i)}},an={distanceInWords:function(){var e={lessThanXSeconds:rn({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:rn({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(e,n){return n.addSuffix?n.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:rn({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:rn({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:rn({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:rn({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:rn({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXMonths:rn({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:rn({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:rn({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:rn({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:rn({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:rn({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})};return{localize:function(n,t,o){return o=o||{},e[n](t,o)}}}(),format:un()};function sn(e,n,t){var o=function(e,n){return 1===n?e.one:n>=2&&n<=4?e.twoFour:e.other}(e,n);return(o[t]||o).replace("{{count}}",n)}function cn(e){var n="";return"almost"===e&&(n="takmer"),"about"===e&&(n="približne"),n.length>0?n+" ":""}function dn(e){var n="";return"lessThan"===e&&(n="menej než"),"over"===e&&(n="viac než"),n.length>0?n+" ":""}var ln=function(){var e=["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],n=["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],t=["ne","po","ut","st","št","pi","so"],o=["neď","pon","uto","str","štv","pia","sob"],r=["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},mn={distanceInWords:function(){var e={xSeconds:{one:{regular:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{regular:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{regular:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{regular:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{regular:"minúta",past:"minútou",future:"minútu"},twoFour:{regular:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{regular:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{regular:"hodina",past:"hodinou",future:"hodinu"},twoFour:{regular:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{regular:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{regular:"deň",past:"dňom",future:"deň"},twoFour:{regular:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{regular:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xMonths:{one:{regular:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{regular:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{regular:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{regular:"rok",past:"rokom",future:"rok"},twoFour:{regular:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{regular:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}};return{localize:function(n,t,o){o=o||{};var r,u=function(e){return["lessThan","about","over","almost"].filter(function(n){return!!e.match(new RegExp("^"+n))})[0]}(n)||"",a=(r=n.substring(u.length)).charAt(0).toLowerCase()+r.slice(1),i=e[a];return o.addSuffix?o.comparison>0?cn(u)+"za "+dn(u)+sn(i,t,"future"):cn(u)+"pred "+dn(u)+sn(i,t,"past"):cn(u)+dn(u)+sn(i,t,"regular")}}}(),format:ln()};var fn=function(){var e=["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],n=["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"],t=["ne","po","to","sr","če","pe","so"],o=["ned","pon","tor","sre","čet","pet","sob"],r=["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},hn={distanceInWords:function(){var e={lessThanXSeconds:{one:"manj kot sekunda",two:"manj kot 2 sekundi",three:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},xSeconds:{one:"1 sekunda",two:"2 sekundi",three:"{{count}} sekunde",other:"{{count}} sekund"},halfAMinute:"pol minute",lessThanXMinutes:{one:"manj kot minuta",two:"manj kot 2 minuti",three:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},xMinutes:{one:"1 minuta",two:"2 minuti",three:"{{count}} minute",other:"{{count}} minut"},aboutXHours:{one:"približno 1 ura",two:"približno 2 uri",three:"približno {{count}} ure",other:"približno {{count}} ur"},xHours:{one:"1 ura",two:"2 uri",three:"{{count}} ure",other:"{{count}} ur"},xDays:{one:"1 dan",two:"2 dni",three:"{{count}} dni",other:"{{count}} dni"},aboutXMonths:{one:"približno 1 mesec",two:"približno 2 meseca",three:"približno {{count}} mesece",other:"približno {{count}} mesecev"},xMonths:{one:"1 mesec",two:"2 meseca",three:"{{count}} meseci",other:"{{count}} mesecev"},aboutXYears:{one:"približno 1 leto",two:"približno 2 leti",three:"približno {{count}} leta",other:"približno {{count}} let"},xYears:{one:"1 leto",two:"2 leti",three:"{{count}} leta",other:"{{count}} let"},overXYears:{one:"več kot 1 leto",two:"več kot 2 leti",three:"več kot {{count}} leta",other:"več kot {{count}} let"},almostXYears:{one:"skoraj 1 leto",two:"skoraj 2 leti",three:"skoraj {{count}} leta",other:"skoraj {{count}} let"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:2===t?e[n].two:3===t||4===t?e[n].three.replace("{{count}}",t):e[n].other.replace("{{count}}",t),o.addSuffix?(r=r.replace(/(minut|sekund|ur)(a)/,"$1o"),"xMonths"===n&&(r=r.replace(/(mesec)(i)/,"$1e")),o.comparison>0?"čez "+r:r+" nazaj"):r}}}(),format:fn()};var gn=function(){var e=["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],n=["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],t=["ne","po","ut","sr","če","pe","su"],o=["ned","pon","uto","sre","čet","pet","sub"],r=["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},pn={distanceInWords:function(){var e={lessThanXSeconds:{one:"manje od sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:"1 sekund",other:"{{count}} sekunde"},halfAMinute:"pola minuta",lessThanXMinutes:{one:"manje od minute",other:"manje od {{count}} minuta"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"oko 1 sat",other:"oko {{count}} sata"},xHours:{one:"1 sat",other:"{{count}} sati"},xDays:{one:"1 dan",other:"{{count}} dani"},aboutXMonths:{one:"oko 1 mesec",other:"oko {{count}} meseca"},xMonths:{one:"1 mesec",other:"{{count}} meseci"},aboutXYears:{one:"oko 1 godine",other:"oko {{count}} godina"},xYears:{one:"1 godina",other:"{{count}} godine"},overXYears:{one:"više od 1 godine",other:"više od {{count}} godina"},almostXYears:{one:"skoro 1 godinu",other:"skoro {{count}} godina"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"za "+r:r+" pre":r}}}(),format:gn()};var Mn=function(){var e=["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],n=["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],t=["sö","må","ti","on","to","fr","lö"],o=["sön","mån","tis","ons","tor","fre","lör"],r=["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],u=["f.m.","e.m."],a={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},aa:function(e){return e.getHours()/12>=1?u[1]:u[0]}};return a.A=a.aa,a.a=a.aa,["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:case 2:return e+":a"}return e+":e"}(t[e](n))}}),{formatters:a,formattingTokensRegExp:q(a)}},vn={distanceInWords:function(){var e={lessThanXSeconds:{singular:"mindre än en sekund",plural:"mindre än {{count}} sekunder"},xSeconds:{singular:"en sekund",plural:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{singular:"mindre än en minut",plural:"mindre än {{count}} minuter"},xMinutes:{singular:"en minut",plural:"{{count}} minuter"},aboutXHours:{singular:"ungefär en timme",plural:"ungefär {{count}} timmar"},xHours:{singular:"en timme",plural:"{{count}} timmar"},xDays:{singular:"en dag",plural:"{{count}} dagar"},aboutXMonths:{singular:"ungefär en månad",plural:"ungefär {{count}} månader"},xMonths:{singular:"en månad",plural:"{{count}} månader"},aboutXYears:{singular:"ungefär ett år",plural:"ungefär {{count}} år"},xYears:{singular:"ett år",plural:"{{count}} år"},overXYears:{singular:"över ett år",plural:"över {{count}} år"},almostXYears:{singular:"nästan ett år",plural:"nästan {{count}} år"}},n=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"];return{localize:function(t,o,r){r=r||{};var u,a=e[t];return u="string"==typeof a?a:0===o||o>1?a.plural.replace("{{count}}",o<13?n[o]:o):a.singular,r.addSuffix?r.comparison>0?"om "+u:u+" sedan":u}}}(),format:Mn()};var bn=function(){var e=["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],n=["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],t=["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],o=["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],r=["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],u=["น."],a=["น."],i=["นาฬิกา"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return u[0]},a:function(e){return a[0]},aa:function(e){return i[0]}};return{formatters:s,formattingTokensRegExp:q(s)}},kn={distanceInWords:function(){var e={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"halfAMinute"===n?"ใน"+r:"ใน "+r:r+"ที่ผ่านมา":r}}}(),format:bn()};var Dn=function(){var e=["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],n=["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],t=["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],o=["Paz","Pts","Sal","Çar","Per","Cum","Cts"],r=["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],u=["ÖÖ","ÖS"],a=["öö","ös"],i=["ö.ö.","ö.s."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){var n={1:"'inci",2:"'inci",3:"'üncü",4:"'üncü",5:"'inci",6:"'ıncı",7:"'inci",8:"'inci",9:"'uncu",10:"'uncu",20:"'inci",30:"'uncu",50:"'inci",60:"'ıncı",70:"'inci",80:"'inci",90:"'ıncı",100:"'üncü"};if(0===e)return"0'ıncı";var t=e%10,o=e%100-t,r=e>=100?100:null;return e+(n[t]||n[o]||n[r])}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},xn={distanceInWords:function(){var e={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},n=["lessThanXSeconds","lessThanXMinutes","overXYears"];return{localize:function(t,o,r){var u;if(r=r||{},u="string"==typeof e[t]?e[t]:1===o?e[t].one:e[t].other.replace("{{count}}",o),r.addSuffix){var a="";return n.indexOf(t)>-1&&(a=" bir süre"),r.comparison>0?u+a+" içinde":u+a+" önce"}return u}}}(),format:Dn()};var yn=function(){var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],t=["日","一","二","三","四","五","六"],o=["周日","周一","周二","周三","周四","周五","周六"],r=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],u=["上午","下午"],a={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]}};return a.a=a.aa=a.A=function(e){return e.getHours()/12>=1?u[1]:u[0]},["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(n,t){return t[e](n).toString()}}),{formatters:a,formattingTokensRegExp:q(a)}},jn={distanceInWords:function(){var e={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?r+"内":r+"前":r}}}(),format:yn()};var Xn=function(){var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],t=["日","一","二","三","四","五","六"],o=["周日","周一","周二","周三","周四","周五","周六"],r=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],u=["AM","PM"],a=["am","pm"],i=["上午","下午"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n).toString()}}),{formatters:s,formattingTokensRegExp:q(s)}},Sn={distanceInWords:function(){var e={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?r+"內":r+"前":r}}}(),format:Xn()},En={be:re,bg:ae,ca:se,cs:fe,da:ge,de:Me,el:be,en:K,eo:De,es:ye,fi:Xe,fil:Ee,fr:He,hr:Ae,hu:ze,id:Ie,is:Re,it:Ge,ja:Oe,ko:Le,mk:Ue,nb:_e,nl:$e,pl:Ve,pt:en,ro:tn,ru:an,sk:mn,sl:hn,sr:pn,sv:vn,th:kn,tr:xn,zh_cn:jn,zh_tw:Sn};function Tn(e){return En[e]||K}var Hn=function(e,n){return te(e,{locale:Tn(n)})};function wn(e){var 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(e){return!1}}();return function(){var t,o=r(e);if(n){var a=r(this).constructor;t=Reflect.construct(o,arguments,a)}else t=o.apply(this,arguments);return u(this,t)}}var An={b:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return s.createElement("b",null,n)},p:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return s.createElement("p",null,n)},ul:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return s.createElement("ul",null,n)}},Yn=function(r){e(i,c);var u=wn(i);function i(e){var o;n(this,i),o=u.call(this,e),l(t(o));var r=o.props.expandDisclaimer;return o.state={shouldScroll:r,openDisclaimer:r},o}return o(i,[{key:"componentDidUpdate",value:function(){var e=this.state.shouldScroll,n=this.props.expandDisclaimer,t=e&&e===n,o=document.querySelector("#close-message");o&&t&&this.doScroll(o)}},{key:"doScroll",value:function(e){e.scrollIntoView(),this.setState({shouldScroll:!1})}},{key:"clear",value:function(e){e.preventDefault(),this.setState({openDisclaimer:!1})}},{key:"openDisclaimer",value:function(e){e.preventDefault(),this.setState({openDisclaimer:!0})}},{key:"renderTable",value:function(){var e=this.props,n=e.lang,t=e.createClassNames,o=e.referenceQuotes;return s.createElement("div",{className:t(["table-responsive"])},s.createElement("table",{className:t(["table","table-condensed","table-striped"])},s.createElement("thead",null,s.createElement("tr",null,s.createElement("td",null,s.createElement(m,{id:"provider"})),s.createElement("td",null,s.createElement(m,{id:"currency-route"})),s.createElement("td",null,s.createElement(m,{id:"amount-checked"})),s.createElement("td",null,s.createElement(m,{id:"date-collection"})))),s.createElement("tbody",null,o.map(function(e){return Object.keys(e.routes).map(function(t){return Object.keys(e.routes[t]).map(function(o){return e.routes[t][o].recordedAmounts.map(function(r){return s.createElement("tr",{key:"".concat(e.alias,"-").concat(r.amount)},s.createElement("td",null,e.name),s.createElement("td",null,t," ",s.createElement(m,{id:"to"})," ",o),s.createElement("td",null,r.amount," ",t),s.createElement("td",null,s.createElement("span",null,function(e){var n=e.date,t=e.lang;return h(n,"DD MMM YYYY HH:mm:ss",{locale:Tn(t)})}({date:r.dateCollected,lang:n})," UTC")))})})})}))))}},{key:"renderDisclaimerText",value:function(){var e=this.props,n=e.loading,t=e.createClassNames,o=e.referenceQuotes,r=e.style;return n?s.createElement("div",{className:t(["text-xs-center","m-t-3"])},s.createElement(a,{classNames:r})):s.createElement("div",{className:t(["small","m-t-2"])},s.createElement(m,{values:An,id:"disclaimer-introduction"}),s.createElement(m,{values:An,id:"disclaimer-transfer-fee"}),s.createElement(m,{values:An,id:"disclaimer-exchange-rate"}),s.createElement(m,{values:An,id:"disclaimer-amount-not-collected"}),o.length>0&&s.createElement(m,{values:An,id:"disclaimer-conclusion"}),o.length>0&&this.renderTable())}},{key:"render",value:function(){var e=this.props.createClassNames,n=this.state.openDisclaimer;return s.createElement("div",{className:e(["container"])},n?s.createElement("div",{className:e(["small","m-t-5","text-xs-center"])},s.createElement("button",{type:"button",className:e(["anchor"]),id:"close-message",onClick:this.clear},s.createElement(m,{id:"close"}))):s.createElement("div",{className:e(["small","text-xs-center","m-b-5","m-t-5"])},s.createElement("span",null,s.createElement(m,{id:"disclaimer-pay-in"}))," ",s.createElement("button",{type:"button",className:e(["anchor"]),onClick:this.openDisclaimer},s.createElement(m,{id:"how"}))),s.createElement("div",{className:e(["col-sm-10","col-sm-offset-1","m-b-5"])},n&&this.renderDisclaimerText()))}}]),i}();Yn.propTypes={style:i.shape({}).isRequired,createClassNames:i.func.isRequired,referenceQuotes:i.arrayOf(i.shape({alias:i.string.isRequired,country:i.string,logo:i.string.isRequired,name:i.string.isRequired,routes:i.objectOf(i.object)})),lang:i.string.isRequired,loading:i.bool,expandDisclaimer:i.bool},Yn.defaultProps={referenceQuotes:[],loading:!1,expandDisclaimer:!1};var zn,Pn,In,Nn=g(function(e){!function(){var n={}.hasOwnProperty;function t(){for(var e=[],o=0;o<arguments.length;o++){var r=arguments[o];if(r){var u=typeof r;if("string"===u||"number"===u)e.push(r);else if(Array.isArray(r)){if(r.length){var a=t.apply(null,r);a&&e.push(a)}}else if("object"===u){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var i in r)n.call(r,i)&&r[i]&&e.push(i)}}}return e.join(" ")}e.exports?(t.default=t,e.exports=t):window.classNames=t}()});(In=zn||(zn={})).SMALL="small",In.MEDIUM="medium",In.LARGE="large";var Rn,Wn=((Pn={})[zn.SMALL]=200,Pn[zn.MEDIUM]=300,Pn[zn.LARGE]=500,Pn),Gn=d(function(e,n){var t=e.id,o=e.name,r=e.alt,u=e.loading,a=void 0===u?"eager":u,i=e.className,c=e.size,d=void 0===c?zn.MEDIUM:c,l=e.disableMargin,m=void 0!==l&&l,f=zn.SMALL,h=zn.MEDIUM;return o?s.createElement("picture",null,d===zn.LARGE||d===zn.MEDIUM?s.createElement(s.Fragment,null,s.createElement("source",{width:Wn[f],height:Wn[f],media:"(max-width: 575px)",srcSet:Cn(o,f,"1x")+", "+Cn(o,f,"2x")+" 2x"}),d!==zn.MEDIUM?s.createElement("source",{width:Wn[h],height:Wn[h],media:"(min-width: 992px)",srcSet:Cn(o,h,"1x")+", "+Cn(o,h,"2x")+" 2x"}):null):null,s.createElement("img",{id:t,ref:n,alt:r,"data-testid":"wds-"+o+"-illustration",className:Nn("wds-illustration","wds-illustration-"+o,{"wds-illustration-margin":!m},i),loading:a,src:Cn(o,d,"1x"),srcSet:Cn(o,d,"2x")+" 2x",width:Wn[d],height:Wn[d]})):null});function Cn(e,n,t){return"https://wise.com/web-art/assets/illustrations/"+e+"-"+n+"@"+t+".webp"}!function(e){e.BELL="bell",e.BRIEFCASE="briefcase",e.CALENDAR="calendar",e.CHECK_MARK="check-mark",e.CLOSED_WINDOW="closed-window",e.COIN_PILE="coin-pile",e.CONFETTI="confetti",e.CONSTRUCTION_FENCE="construction-fence",e.CONVERT="convert",e.COOKIE="cookie",e.DOCUMENTS="documents",e.DOOR="door",e.ELECTRIC_PLUG="electric-plug",e.EMAIL="email",e.EXCLAMATION_MARK="exclamation-mark",e.FLAG="flag",e.FLOWER="flower",e.GEAR="gear",e.GLOBE="globe",e.GRAPH="graph",e.HEART="heart",e.HOUSE="house",e.ID_CARD="id-card",e.INFINITE="infinite",e.INVITE_LETTER="invite-letter",e.JARS="jars",e.KEY="key",e.LIGHT_BULB="light-bulb",e.LOCK="lock",e.MAGNIFYING_GLASS="magnifying-glass",e.MAP="map",e.MEGAPHONE="megaphone",e.MULTI_CURRENCY="multi-currency",e.ONE_INVITE_LETTER_OPENED="one-invite-letter-opened",e.PALM_TREE="palm-tree",e.PHONES="phones",e.PIE_CHART="pie-chart",e.PLANE="plane",e.PUZZLE_PIECES="puzzle-pieces",e.QUESTION_MARK="question-mark",e.RECEIVE="receive",e.REMINDER_LETTER="reminder-letter",e.SAND_TIMER="sand-timer",e.SHOPPING_BAG="shopping-bag",e.SKIP_AUTHENTICATION="skip-authentication",e.SPEECH_BUBBLE="speech-bubble",e.TOOL="tool",e.TWO_INVITE_LETTERS_OPENED="two-invite-letters-opened",e.WALLET="wallet"}(Rn||(Rn={}));var On=function(e){var n=e.style,t=f().formatMessage;return s.createElement(s.Fragment,null,s.createElement("div",{className:n["error-img-main"]},s.createElement("img",{className:n["img-responsive"],src:"https://widgets.wise.com/comparison/23.0.1/0ffb90ee82f7d8a3.svg",alt:t({id:"error-image-alt-text"})})),s.createElement("div",{className:n["error-img-alternate"]},s.createElement(Gn,{loading:"lazy",name:"construction-fence",size:"medium",alt:t({id:"error-image-alt-text"})})))};On.propTypes={style:i.shape({"m-b-5":i.string.isRequired,"img-responsive":i.string.isRequired}).isRequired};var Fn=function(e){var n=e.unsupportedType,t=e.messageLabel,o=e.source,r=e.maxAmountCollected;return s.createElement(m,{id:{UNSUPPORTED_AMOUNT:{title:"error-unsupported-amount-title",body:"error-unsupported-amount-body"},UNSUPPORTED_ROUTE:{title:"error-unsupported-route-title",body:"error-unsupported-route-body"},EXCEPTION:{title:"error-server-title",body:"error-server-body"}}[n][t],values:{source:o,maxAmountCollected:r}})};Fn.propTypes={unsupportedType:i.string.isRequired,messageLabel:i.string.isRequired,source:i.string.isRequired,maxAmountCollected:i.string.isRequired};var Ln=function(e){var n=e.source,t=e.errorType,o=e.createClassNames,r=e.maxAmountCollected,u=e.onClickToSeeAnAvailableComparison,a=e.style;return s.createElement("div",{className:o(["container","p-t-3","p-b-9"]),role:"alert"},s.createElement("div",{className:o(["col-xs-12","col-sm-10","col-sm-offset-1","text-xs-center"])},s.createElement(On,{style:a}),s.createElement("h4",{className:o(["h4","m-b-1"])},s.createElement(Fn,{unsupportedType:t,messageLabel:"title"})),s.createElement("p",{className:o(["small"])},s.createElement(Fn,{unsupportedType:t,messageLabel:"body",maxAmountCollected:r,source:n})),"UNSUPPORTED_AMOUNT"===t&&s.createElement("div",null,s.createElement("div",{className:o(["row","col-sm-8","col-sm-offset-2"])},s.createElement("button",{className:o(["btn","btn-default","btn-block"]),type:"submit",onClick:function(){return u(r)}},s.createElement(m,{values:{maxAmountCollected:r,source:n},id:"compare-button"}))))))};Ln.propTypes={style:i.shape({}).isRequired,source:i.string.isRequired,errorType:i.oneOf(["UNSUPPORTED_AMOUNT","UNSUPPORTED_ROUTE","EXCEPTION"]).isRequired,createClassNames:i.func.isRequired,maxAmountCollected:i.number,onClickToSeeAnAvailableComparison:i.func},Ln.defaultProps={maxAmountCollected:null,onClickToSeeAnAvailableComparison:function(){}};export{Yn as D,Ln as E,Hn as t};
|
|
2
|
-
//# sourceMappingURL=ErrorTemplate-
|
|
1
|
+
import{_ as e,a as n,e as t,b as o,c as r,d as u}from"./getPrototypeOf-21a8384d.js";import{Loader as a}from"@transferwise/components";import i from"prop-types";import s,{Component as c,forwardRef as d}from"react";import l from"react-autobind";import{FormattedMessage as m,useIntl as f}from"react-intl";import{format as h}from"date-fns";import{c as g}from"./_commonjsHelpers-97e6d7b1.js";var p=function(e){var n=new Date(e.getTime()),t=n.getTimezoneOffset();return n.setSeconds(0,0),6e4*t+n.getTime()%6e4};var M=function(e){return e instanceof Date},v=36e5,b=6e4,k=2,D=/[T ]/,x=/:/,y=/^(\d{2})$/,j=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],X=/^(\d{4})/,S=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],E=/^-(\d{2})$/,T=/^-?(\d{3})$/,H=/^-?(\d{2})-?(\d{2})$/,w=/^-?W(\d{2})$/,A=/^-?W(\d{2})-?(\d{1})$/,Y=/^(\d{2}([.,]\d*)?)$/,z=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,P=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,I=/([Z+-].*)$/,N=/^(Z)$/,R=/^([+-])(\d{2})$/,W=/^([+-])(\d{2}):?(\d{2})$/;function G(e,n,t){n=n||0,t=t||0;var o=new Date(0);o.setUTCFullYear(e,0,4);var r=7*n+t+1-(o.getUTCDay()||7);return o.setUTCDate(o.getUTCDate()+r),o}var C=function(e,n){if(M(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var t=(n||{}).additionalDigits;t=null==t?k:Number(t);var o=function(e){var n,t={},o=e.split(D);if(x.test(o[0])?(t.date=null,n=o[0]):(t.date=o[0],n=o[1]),n){var r=I.exec(n);r?(t.time=n.replace(r[1],""),t.timezone=r[1]):t.time=n}return t}(e),r=function(e,n){var t,o=j[n],r=S[n];if(t=X.exec(e)||r.exec(e)){var u=t[1];return{year:parseInt(u,10),restDateString:e.slice(u.length)}}if(t=y.exec(e)||o.exec(e)){var a=t[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(o.date,t),u=r.year,a=function(e,n){if(null===n)return null;var t,o,r,u;if(0===e.length)return(o=new Date(0)).setUTCFullYear(n),o;if(t=E.exec(e))return o=new Date(0),r=parseInt(t[1],10)-1,o.setUTCFullYear(n,r),o;if(t=T.exec(e)){o=new Date(0);var a=parseInt(t[1],10);return o.setUTCFullYear(n,0,a),o}if(t=H.exec(e)){o=new Date(0),r=parseInt(t[1],10)-1;var i=parseInt(t[2],10);return o.setUTCFullYear(n,r,i),o}if(t=w.exec(e))return u=parseInt(t[1],10)-1,G(n,u);if(t=A.exec(e)){u=parseInt(t[1],10)-1;var s=parseInt(t[2],10)-1;return G(n,u,s)}return null}(r.restDateString,u);if(a){var i,s=a.getTime(),c=0;if(o.time&&(c=function(e){var n,t,o;if(n=Y.exec(e))return(t=parseFloat(n[1].replace(",",".")))%24*v;if(n=z.exec(e))return t=parseInt(n[1],10),o=parseFloat(n[2].replace(",",".")),t%24*v+o*b;if(n=P.exec(e)){t=parseInt(n[1],10),o=parseInt(n[2],10);var r=parseFloat(n[3].replace(",","."));return t%24*v+o*b+1e3*r}return null}(o.time)),o.timezone)h=o.timezone,i=((g=N.exec(h))?0:(g=R.exec(h))?(C=60*parseInt(g[2],10),"+"===g[1]?-C:C):(g=W.exec(h))?(C=60*parseInt(g[2],10)+parseInt(g[3],10),"+"===g[1]?-C:C):0)*b;else{var d=s+c,l=new Date(d);i=p(l);var m=new Date(d);m.setDate(l.getDate()+1);var f=p(m)-p(l);f>0&&(i+=f)}return new Date(s+c+i)}var h,g,C;return new Date(e)};var O=function(e,n){var t=C(e).getTime(),o=C(n).getTime();return t>o?-1:t<o?1:0};var F=function(e,n){var t=C(e),o=C(n);return t.getTime()-o.getTime()};var L=function(e,n){var t=F(e,n)/1e3;return t>0?Math.floor(t):Math.ceil(t)};var J=function(e,n){var t=C(e),o=C(n);return 12*(t.getFullYear()-o.getFullYear())+(t.getMonth()-o.getMonth())};var U=function(e,n){var t=C(e).getTime(),o=C(n).getTime();return t<o?-1:t>o?1:0};var Q=function(e,n){var t=C(e),o=C(n),r=U(t,o),u=Math.abs(J(t,o));return t.setMonth(t.getMonth()-r*u),r*(u-(U(t,o)===-r))};var _=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];var q=function(e){var n=[];for(var t in e)e.hasOwnProperty(t)&&n.push(t);var o=_.concat(n).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+o.join("|")+"|.)","g")};var $=function(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=["January","February","March","April","May","June","July","August","September","October","November","December"],t=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],r=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},K={distanceInWords:function(){var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"in "+r:r+" ago":r}}}(),format:$()};K.distanceInWords,K.format;var B=1440,V=2520,Z=43200,ee=86400;var ne=function(e,n,t){var o=t||{},r=O(e,n),u=o.locale,a=K.distanceInWords.localize;u&&u.distanceInWords&&u.distanceInWords.localize&&(a=u.distanceInWords.localize);var i,s,c={addSuffix:Boolean(o.addSuffix),comparison:r};r>0?(i=C(e),s=C(n)):(i=C(n),s=C(e));var d,l=L(s,i),m=s.getTimezoneOffset()-i.getTimezoneOffset(),f=Math.round(l/60)-m;if(f<2)return o.includeSeconds?l<5?a("lessThanXSeconds",5,c):l<10?a("lessThanXSeconds",10,c):l<20?a("lessThanXSeconds",20,c):l<40?a("halfAMinute",null,c):a(l<60?"lessThanXMinutes":"xMinutes",1,c):0===f?a("lessThanXMinutes",1,c):a("xMinutes",f,c);if(f<45)return a("xMinutes",f,c);if(f<90)return a("aboutXHours",1,c);if(f<B)return a("aboutXHours",Math.round(f/60),c);if(f<V)return a("xDays",1,c);if(f<Z)return a("xDays",Math.round(f/B),c);if(f<ee)return a("aboutXMonths",d=Math.round(f/Z),c);if((d=Q(s,i))<12)return a("xMonths",Math.round(f/Z),c);var h=d%12,g=Math.floor(d/12);return h<3?a("aboutXYears",g,c):h<9?a("overXYears",g,c):a("almostXYears",g+1,c)};var te=function(e,n){return ne(Date.now(),e,n)};var oe=function(){var e=["студз","лют","сак","крас","май","чэрв","ліп","жн","вер","кастр","ліст","снеж"],n=["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"],t=["нд","пн","аў","ср","чц","пт","сб"],o=["нядз","пан","аўт","сер","чац","пят","суб"],r=["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},re={distanceInWords:function(){var e={lessThanXSeconds:{one:"менш секунды",other:"менш {{count}} секунд"},xSeconds:{one:"1 секунда",other:"{{count}} секунд(-ы)"},halfAMinute:"паўхвіліны",lessThanXMinutes:{one:"менш хвіліны",other:"менш {{count}} хвілін"},xMinutes:{one:"1 хвіліна",other:"{{count}} хвілін(-ы)"},aboutXHours:{one:"каля 1 гадзіны",other:"каля {{count}} гадзін"},xHours:{one:"1 гадзіна",other:"{{count}} гадзін(-ы)"},xDays:{one:"1 дзень",other:"{{count}} дні (дзён)"},aboutXMonths:{one:"каля 1 месяца",other:"каля {{count}} месяцаў"},xMonths:{one:"1 месяц",other:"{{count}} месяцы(-аў)"},aboutXYears:{one:"каля 1 года",other:"каля {{count}} гадоў"},xYears:{one:"1 год",other:"{{count}} гады(гадоў)"},overXYears:{one:"больш 1 года",other:"больш {{count}} гадоў"},almostXYears:{one:"амаль 1 год",other:"амаль {{count}} гады(-оў)"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"у/праз "+r:r+" таму":r}}}(),format:oe()};var ue=function(){var e=["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],n=["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"],t=["нд","пн","вт","ср","чт","пт","сб"],o=["нед","пон","вто","сря","чет","пет","съб"],r=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],u=["сутринта","на обяд","следобед","вечерта"],a=function(e){var n=e.getHours();return n>=4&&n<12?u[0]:n>=12&&n<14?u[1]:n>=14&&n<17?u[2]:u[3]},i={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:a,a:a,aa:a};return["M","D","DDD","d","Q","W"].forEach(function(e){i[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"-ви";case 2:return e+"-ри"}return e+"-и"}(t[e](n))}}),{formatters:i,formattingTokensRegExp:q(i)}},ae={distanceInWords:function(){var e={lessThanXSeconds:{one:"по-малко от секунда",other:"по-малко от {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половин минута",lessThanXMinutes:{one:"по-малко от минута",other:"по-малко от {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"около час",other:"около {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дни"},aboutXMonths:{one:"около месец",other:"около {{count}} месеца"},xMonths:{one:"1 месец",other:"{{count}} месеца"},aboutXYears:{one:"около година",other:"около {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"над година",other:"над {{count}} години"},almostXYears:{one:"почти година",other:"почти {{count}} години"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"след "+r:"преди "+r:r}}}(),format:ue()};var ie=function(){var e=["gen","feb","mar","abr","mai","jun","jul","ago","set","oct","nov","des"],n=["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octobre","novembre","desembre"],t=["dg","dl","dt","dc","dj","dv","ds"],o=["dge","dls","dts","dcs","djs","dvs","dss"],r=["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){switch(e){case 1:return"1r";case 2:return"2n";case 3:return"3r";case 4:return"4t";default:return e+"è"}}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},se={distanceInWords:function(){var e={lessThanXSeconds:{one:"menys d'un segon",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"en "+r:"fa "+r:r}}}(),format:ie()};function ce(e,n,t){var o=function(e,n){return 1===n?e.one:n>=2&&n<=4?e.twoFour:e.other}(e,n);return(o[t]||o).replace("{{count}}",n)}function de(e){var n="";return"almost"===e&&(n="skoro"),"about"===e&&(n="přibližně"),n.length>0?n+" ":""}function le(e){var n="";return"lessThan"===e&&(n="méně než"),"over"===e&&(n="více než"),n.length>0?n+" ":""}var me=function(){var e=["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],n=["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],t=["ne","po","út","st","čt","pá","so"],o=["ned","pon","úte","stř","čtv","pát","sob"],r=["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],u=["DOP.","ODP."],a=["dop.","odp."],i=["dopoledne","odpoledne"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},fe={distanceInWords:function(){var e={xSeconds:{one:{regular:"vteřina",past:"vteřinou",future:"vteřinu"},twoFour:{regular:"{{count}} vteřiny",past:"{{count}} vteřinami",future:"{{count}} vteřiny"},other:{regular:"{{count}} vteřin",past:"{{count}} vteřinami",future:"{{count}} vteřin"}},halfAMinute:{other:{regular:"půl minuty",past:"půl minutou",future:"půl minuty"}},xMinutes:{one:{regular:"minuta",past:"minutou",future:"minutu"},twoFour:{regular:"{{count}} minuty",past:"{{count}} minutami",future:"{{count}} minuty"},other:{regular:"{{count}} minut",past:"{{count}} minutami",future:"{{count}} minut"}},xHours:{one:{regular:"hodina",past:"hodinou",future:"hodinu"},twoFour:{regular:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{regular:"{{count}} hodin",past:"{{count}} hodinami",future:"{{count}} hodin"}},xDays:{one:{regular:"den",past:"dnem",future:"den"},twoFour:{regular:"{{count}} dni",past:"{{count}} dny",future:"{{count}} dni"},other:{regular:"{{count}} dní",past:"{{count}} dny",future:"{{count}} dní"}},xMonths:{one:{regular:"měsíc",past:"měsícem",future:"měsíc"},twoFour:{regular:"{{count}} měsíce",past:"{{count}} měsíci",future:"{{count}} měsíce"},other:{regular:"{{count}} měsíců",past:"{{count}} měsíci",future:"{{count}} měsíců"}},xYears:{one:{regular:"rok",past:"rokem",future:"rok"},twoFour:{regular:"{{count}} roky",past:"{{count}} roky",future:"{{count}} roky"},other:{regular:"{{count}} roků",past:"{{count}} roky",future:"{{count}} roků"}}};return{localize:function(n,t,o){o=o||{};var r,u=function(e){return["lessThan","about","over","almost"].filter(function(n){return!!e.match(new RegExp("^"+n))})[0]}(n)||"",a=(r=n.substring(u.length)).charAt(0).toLowerCase()+r.slice(1),i=e[a];return o.addSuffix?o.comparison>0?de(u)+"za "+le(u)+ce(i,t,"future"):de(u)+"před "+le(u)+ce(i,t,"past"):de(u)+le(u)+ce(i,t,"regular")}}}(),format:me()};var he=function(){var e=["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],n=["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],t=["sø","ma","ti","on","to","fr","lø"],o=["søn","man","tir","ons","tor","fre","lør"],r=["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},ge={distanceInWords:function(){var e={lessThanXSeconds:{one:"mindre end et sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minut",lessThanXMinutes:{one:"mindre end et minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"om "+r:r+" siden":r}}}(),format:he()};var pe=function(){var e=["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],n=["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],t=["So","Mo","Di","Mi","Do","Fr","Sa"],o=["Son","Mon","Die","Mit","Don","Fre","Sam"],r=["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},Me={distanceInWords:function(){var e={lessThanXSeconds:{standalone:{one:"weniger als eine Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als einer Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"eine Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"einer Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als eine Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als einer Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"eine Minute",other:"{{count}} Minuten"},withPreposition:{one:"einer Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa eine Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa einer Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"eine Stunde",other:"{{count}} Stunden"},withPreposition:{one:"einer Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"ein Tag",other:"{{count}} Tage"},withPreposition:{one:"einem Tag",other:"{{count}} Tagen"}},aboutXMonths:{standalone:{one:"etwa ein Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa einem Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"ein Monat",other:"{{count}} Monate"},withPreposition:{one:"einem Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa ein Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa einem Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"ein Jahr",other:"{{count}} Jahre"},withPreposition:{one:"einem Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als ein Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als einem Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast ein Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast einem Jahr",other:"fast {{count}} Jahren"}}};return{localize:function(n,t,o){var r,u=(o=o||{}).addSuffix?e[n].withPreposition:e[n].standalone;return r="string"==typeof u?u:1===t?u.one:u.other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"in "+r:"vor "+r:r}}}(),format:pe()};var ve=function(){var e=["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],n=["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],t=["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"],o=["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],r=["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],u=["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],a=["ΠΜ","ΜΜ"],i=["πμ","μμ"],s=["π.μ.","μ.μ."],c={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return o[e.getDay()]},ddd:function(e){return r[e.getDay()]},dddd:function(e){return u[e.getDay()]},A:function(e){return e.getHours()/12>=1?a[1]:a[0]},a:function(e){return e.getHours()/12>=1?i[1]:i[0]},aa:function(e){return e.getHours()/12>=1?s[1]:s[0]}},d={M:"ος",D:"η",DDD:"η",d:"η",Q:"ο",W:"η"};return["M","D","DDD","d","Q","W"].forEach(function(e){c[e+"o"]=function(n,t){return t[e](n)+d[e]}}),["D","Do","DD"].forEach(function(e){c[e+" MMMM"]=function(n,o){return(c[e]||o[e])(n,o)+" "+t[n.getMonth()]}}),{formatters:c,formattingTokensRegExp:q(c)}},be={distanceInWords:function(){var e={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"σε "+r:r+" πρίν":r}}}(),format:ve()};var ke=function(){var e=["jan","feb","mar","apr","maj","jun","jul","aŭg","sep","okt","nov","dec"],n=["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"],t=["di","lu","ma","me","ĵa","ve","sa"],o=["dim","lun","mar","mer","ĵaŭ","ven","sab"],r=["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"],u=["A.T.M.","P.T.M."],a=["a.t.m.","p.t.m."],i=["antaŭtagmeze","posttagmeze"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"-a"}}),{formatters:s,formattingTokensRegExp:q(s)}},De={distanceInWords:function(){var e={lessThanXSeconds:{one:"malpli ol sekundo",other:"malpli ol {{count}} sekundoj"},xSeconds:{one:"1 sekundo",other:"{{count}} sekundoj"},halfAMinute:"duonminuto",lessThanXMinutes:{one:"malpli ol minuto",other:"malpli ol {{count}} minutoj"},xMinutes:{one:"1 minuto",other:"{{count}} minutoj"},aboutXHours:{one:"proksimume 1 horo",other:"proksimume {{count}} horoj"},xHours:{one:"1 horo",other:"{{count}} horoj"},xDays:{one:"1 tago",other:"{{count}} tagoj"},aboutXMonths:{one:"proksimume 1 monato",other:"proksimume {{count}} monatoj"},xMonths:{one:"1 monato",other:"{{count}} monatoj"},aboutXYears:{one:"proksimume 1 jaro",other:"proksimume {{count}} jaroj"},xYears:{one:"1 jaro",other:"{{count}} jaroj"},overXYears:{one:"pli ol 1 jaro",other:"pli ol {{count}} jaroj"},almostXYears:{one:"preskaŭ 1 jaro",other:"preskaŭ {{count}} jaroj"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"post "+r:"antaŭ "+r:r}}}(),format:ke()};var xe=function(){var e=["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],n=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],t=["do","lu","ma","mi","ju","vi","sa"],o=["dom","lun","mar","mié","jue","vie","sáb"],r=["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"º"}}),{formatters:s,formattingTokensRegExp:q(s)}},ye={distanceInWords:function(){var e={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"en "+r:"hace "+r:r}}}(),format:xe()};var je=function(){var e=["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],n=["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],t=["su","ma","ti","ke","to","pe","la"],o=["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"];function r(e){return e.getHours()<12?"AP":"IP"}var u={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return t[e.getDay()]},dddd:function(e){return o[e.getDay()]},A:r,a:r,aa:r};return["M","D","DDD","d","Q","W"].forEach(function(e){u[e+"o"]=function(n,t){return t[e](n).toString()+"."}}),{formatters:u,formattingTokensRegExp:q(u)}},Xe={distanceInWords:function(){function e(e){return e.replace(/sekuntia?/,"sekunnin")}function n(e){return e.replace(/minuuttia?/,"minuutin")}function t(e){return e.replace(/tuntia?/,"tunnin")}function o(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function r(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}var u={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:e},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:e},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function(e){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:n},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:n},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:t},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:t},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:function(e){return e.replace(/päivää?/,"päivän")}},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:o},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:o},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:r},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:r},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:r},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:r}};return{localize:function(e,n,t){t=t||{};var o=u[e],r=1===n?o.one:o.other.replace("{{count}}",n);return t.addSuffix?t.comparison>0?o.futureTense(r)+" kuluttua":r+" sitten":r}}}(),format:je()};var Se=function(){var e=["Ene","Peb","Mar","Abr","May","Hun","Hul","Ago","Set","Okt","Nob","Dis"],n=["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Setyembre","Oktubre","Nobyembre","Disyembre"],t=["Li","Lu","Ma","Mi","Hu","Bi","Sa"],o=["Lin","Lun","Mar","Miy","Huw","Biy","Sab"],r=["Linggo","Lunes","Martes","Miyerkules","Huwebes","Biyernes","Sabado"],u=["NU","NT","NH","NG"],a=["nu","nt","nh","ng"],i=["ng umaga","ng tanghali","ng hapon","ng gabi"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()>12?e.getHours()%12<6?u[2]:u[3]:e.getHours()<12?u[0]:u[1]},a:function(e){return e.getHours()>12?e.getHours()%12<6?a[2]:a[3]:e.getHours()<12?a[0]:a[1]},aa:function(e){return e.getHours()>12?e.getHours()%12<6?i[2]:i[3]:e.getHours()<12?i[0]:i[1]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return"ika-"+t[e](n)}}),{formatters:s,formattingTokensRegExp:q(s)}},Ee={distanceInWords:function(){var e={lessThanXSeconds:{one:"mas maliit sa isang segundo",other:"mas maliit sa {{count}} segundo"},xSeconds:{one:"1 segundo",other:"{{count}} segundo"},halfAMinute:"kalahating minuto",lessThanXMinutes:{one:"mas maliit sa isang minuto",other:"mas maliit sa {{count}} minuto"},xMinutes:{one:"1 minuto",other:"{{count}} minuto"},aboutXHours:{one:"mga 1 oras",other:"mga {{count}} oras"},xHours:{one:"1 oras",other:"{{count}} oras"},xDays:{one:"1 araw",other:"{{count}} araw"},aboutXMonths:{one:"mga 1 buwan",other:"mga {{count}} buwan"},xMonths:{one:"1 buwan",other:"{{count}} buwan"},aboutXYears:{one:"mga 1 taon",other:"mga {{count}} taon"},xYears:{one:"1 taon",other:"{{count}} taon"},overXYears:{one:"higit sa 1 taon",other:"higit sa {{count}} taon"},almostXYears:{one:"halos 1 taon",other:"halos {{count}} taon"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"sa loob ng "+r:r+" ang nakalipas":r}}}(),format:Se()};var Te=function(){var e=["janv.","févr.","mars","avr.","mai","juin","juill.","août","sept.","oct.","nov.","déc."],n=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],t=["di","lu","ma","me","je","ve","sa"],o=["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],r=["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],u=["AM","PM"],a=["am","pm"],i=["du matin","de l’après-midi","du soir"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){var n=e.getHours();return n<=12?i[0]:n<=16?i[1]:i[2]},Wo:function(e,n){return 1===(t=n.W(e))?"1re":t+"e";var t}};return["M","D","DDD","d","Q"].forEach(function(e){s[e+"o"]=function(n,t){return 1===(o=t[e](n))?"1er":o+"e";var o}}),["MMM","MMMM"].forEach(function(e){s["Do "+e]=function(n,t){var o=1===n.getDate()?"Do":"D";return(s[o]||t[o])(n,t)+" "+s[e](n)}}),{formatters:s,formattingTokensRegExp:q(s)}},He={distanceInWords:function(){var e={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"dans "+r:"il y a "+r:r}}}(),format:Te()};var we=function(){var e=["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],n=["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],t=["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"],o=["ne","po","ut","sr","če","pe","su"],r=["ned","pon","uto","sri","čet","pet","sub"],u=["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],a=["ujutro","popodne"],i=["ujutro","popodne"],s=["ujutro","popodne"],c={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return o[e.getDay()]},ddd:function(e){return r[e.getDay()]},dddd:function(e){return u[e.getDay()]},A:function(e){return e.getHours()/12>=1?a[1]:a[0]},a:function(e){return e.getHours()/12>=1?i[1]:i[0]},aa:function(e){return e.getHours()/12>=1?s[1]:s[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){c[e+"o"]=function(n,t){return t[e](n)+"."}}),["D","Do","DD"].forEach(function(e){c[e+" MMM"]=function(n,o){return(c[e]||o[e])(n,o)+" "+t[n.getMonth()]}}),{formatters:c,formattingTokensRegExp:q(c)}},Ae={distanceInWords:function(){var e={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?o.addSuffix?o.comparison>0?e[n].one.withPrepositionIn:e[n].one.withPrepositionAgo:e[n].one.standalone:t%10>1&&t%10<5&&"1"!==String(t).substr(-2,1)?e[n].dual.replace("{{count}}",t):e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"za "+r:"prije "+r:r}}}(),format:we()};var Ye=function(){var e=["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Sze","Okt","Nov","Dec"],n=["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],t=["Va","Hé","Ke","Sze","Cs","Pé","Szo"],o=["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],r=["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],u=["DE","DU"],a=["de","du"],i=["délelőtt","délután"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},ze={distanceInWords:function(){var e={lessThanXSeconds:{one:"kevesebb, mint egy másodperce",other:"kevesebb, mint {{count}} másodperce"},xSeconds:{one:"1 másodperce",other:"{{count}} másodperce"},halfAMinute:"fél perce",lessThanXMinutes:{one:"kevesebb, mint egy perce",other:"kevesebb, mint {{count}} perce"},xMinutes:{one:"1 perce",other:"{{count}} perce"},aboutXHours:{one:"közel 1 órája",other:"közel {{count}} órája"},xHours:{one:"1 órája",other:"{{count}} órája"},xDays:{one:"1 napja",other:"{{count}} napja"},aboutXMonths:{one:"közel 1 hónapja",other:"közel {{count}} hónapja"},xMonths:{one:"1 hónapja",other:"{{count}} hónapja"},aboutXYears:{one:"közel 1 éve",other:"közel {{count}} éve"},xYears:{one:"1 éve",other:"{{count}} éve"},overXYears:{one:"több, mint 1 éve",other:"több, mint {{count}} éve"},almostXYears:{one:"majdnem 1 éve",other:"majdnem {{count}} éve"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?""+r:r+"":r}}}(),format:Ye()};var Pe=function(){var e=["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],n=["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],t=["Mi","Sn","Sl","Ra","Ka","Ju","Sa"],o=["Min","Sen","Sel","Rab","Kam","Jum","Sab"],r=["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){switch(e){case 1:return"pertama";case 2:return"kedua";case 3:return"ketiga";default:return"ke-"+e}}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},Ie={distanceInWords:function(){var e={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"dalam waktu "+r:r+" yang lalu":r}}}(),format:Pe()};var Ne=function(){var e=["jan","feb","mar","apr","maí","jún","júl","ágú","sep","okt","nóv","des"],n=["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],t=["su","má","þr","mi","fi","fö","la"],o=["sun","mán","þri","mið","fim","fös","lau"],r=["sunnudaginn","mánudaginn","þriðjudaginn","miðvikudaginn","fimmtudaginn","föstudaginn","laugardaginn"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return""+t[e](n)}}),{formatters:s,formattingTokensRegExp:q(s)}},Re={distanceInWords:function(){var e={lessThanXSeconds:{one:"minna en 1 sekúnda",other:"minna en {{count}} sekúndur"},xSeconds:{one:"1 sekúnda",other:"{{count}} sekúndur"},halfAMinute:"hálf mínúta",lessThanXMinutes:{one:"minna en 1 mínúta",other:"minna en {{count}} mínútur"},xMinutes:{one:"1 mínúta",other:"{{count}} mínútur"},aboutXHours:{one:"u.þ.b. 1 klukkustund",other:"u.þ.b. {{count}} klukkustundir"},xHours:{one:"1 klukkustund",other:"{{count}} klukkustundir"},xDays:{one:"1 dagur",other:"{{count}} dagar"},aboutXMonths:{one:"u.þ.b. 1 mánuður",other:"u.þ.b. {{count}} mánuðir"},xMonths:{one:"1 mánuður",other:"{{count}} mánuðir"},aboutXYears:{one:"u.þ.b. 1 ár",other:"u.þ.b. {{count}} ár"},xYears:{one:"1 ár",other:"{{count}} ár"},overXYears:{one:"meira en 1 ár",other:"meira en {{count}} ár"},almostXYears:{one:"næstum 1 ár",other:"næstum {{count}} ár"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"í "+r:r+" síðan":r}}}(),format:Ne()};var We=function(){var e=["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],n=["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],t=["do","lu","ma","me","gi","ve","sa"],o=["dom","lun","mar","mer","gio","ven","sab"],r=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"º"}}),{formatters:s,formattingTokensRegExp:q(s)}},Ge={distanceInWords:function(){var e={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"tra "+r:r+" fa":r}}}(),format:We()};var Ce=function(){var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],t=["日","月","火","水","木","金","土"],o=["日曜","月曜","火曜","水曜","木曜","金曜","土曜"],r=["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],u=["午前","午後"],a=["午前","午後"],i=["午前","午後"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"日"}}),{formatters:s,formattingTokensRegExp:q(s)}},Oe={distanceInWords:function(){var e={lessThanXSeconds:{one:"1秒以下",other:"{{count}}秒以下"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒ぐらい",lessThanXMinutes:{one:"1分以下",other:"{{count}}分以下"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"1時間ぐらい",other:"{{count}}時間ぐらい"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXMonths:{one:"1ヶ月ぐらい",other:"{{count}}ヶ月ぐらい"},xMonths:{one:"1ヶ月",other:"{{count}}ヶ月"},aboutXYears:{one:"1年ぐらい",other:"{{count}}年ぐらい"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年以下",other:"{{count}}年以下",oneWithSuffix:"1年ぐらい",otherWithSuffix:"{{count}}年ぐらい"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?o.addSuffix&&e[n].oneWithSuffix?e[n].oneWithSuffix:e[n].one:o.addSuffix&&e[n].otherWithSuffix?e[n].otherWithSuffix.replace("{{count}}",t):e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?r+"後":r+"前":r}}}(),format:Ce()};var Fe=function(){var e=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],t=["일","월","화","수","목","금","토"],o=["일","월","화","수","목","금","토"],r=["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],u=["오전","오후"],a=["오전","오후"],i=["오전","오후"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"일"}}),{formatters:s,formattingTokensRegExp:q(s)}},Le={distanceInWords:function(){var e={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?r+" 후":r+" 전":r}}}(),format:Fe()};var Je=function(){var e=["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек"],n=["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],t=["не","по","вт","ср","че","пе","са"],o=["нед","пон","вто","сре","чет","пет","саб"],r=["недела","понеделник","вторник","среда","четврток","петок","сабота"],u=["претпладне","попладне"],a={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?u[1]:u[0]},aa:function(e){return e.getHours()/12>=1?u[1]:u[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"-ви";case 2:return e+"-ри";case 7:case 8:return e+"-ми"}return e+"-ти"}(t[e](n))}}),{formatters:a,formattingTokensRegExp:q(a)}},Ue={distanceInWords:function(){var e={lessThanXSeconds:{one:"помалку од секунда",other:"помалку од {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половина минута",lessThanXMinutes:{one:"помалку од минута",other:"помалку од {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"околу 1 час",other:"околу {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дена"},aboutXMonths:{one:"околу 1 месец",other:"околу {{count}} месеци"},xMonths:{one:"1 месец",other:"{{count}} месеци"},aboutXYears:{one:"околу 1 година",other:"околу {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"повеќе од 1 година",other:"повеќе од {{count}} години"},almostXYears:{one:"безмалку 1 година",other:"безмалку {{count}} години"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"за "+r:"пред "+r:r}}}(),format:Je()};var Qe=function(){var e=["jan.","feb.","mars","april","mai","juni","juli","aug.","sep.","okt.","nov.","des."],n=["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],t=["sø","ma","ti","on","to","fr","lø"],o=["sø.","ma.","ti.","on.","to.","fr.","lø."],r=["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},_e={distanceInWords:function(){var e={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"rundt en time",other:"rundt {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXMonths:{one:"rundt en måned",other:"rundt {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"rundt ett år",other:"rundt {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"om "+r:r+" siden":r}}}(),format:Qe()};var qe=function(){var e=["jan","feb","mar","apr","mei","jun","jul","aug","sep","okt","nov","dec"],n=["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],t=["zo","ma","di","wo","do","vr","za"],o=["zon","maa","din","woe","don","vri","zat"],r=["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"e"}}),{formatters:s,formattingTokensRegExp:q(s)}},$e={distanceInWords:function(){var e={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"over "+r:r+" geleden":r}}}(),format:qe()};function Ke(e,n,t){t=t||"regular";var o=function(e,n){if(1===n)return e.one;var t=n%100;if(t<=20&&t>10)return e.other;var o=t%10;return o>=2&&o<=4?e.twoFour:e.other}(e,n);return(o[t]||o).replace("{{count}}",n)}var Be=function(){var e=["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],n=["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],t=["nd","pn","wt","śr","cz","pt","sb"],o=["niedz.","pon.","wt.","śr.","czw.","piąt.","sob."],r=["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],u=["w nocy","rano","po południu","wieczorem"],a={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){var n=e.getHours();return n>=17?u[3]:n>=12?u[2]:n>=4?u[1]:u[0]}};return a.a=a.A,a.aa=a.A,["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(n,t){return t[e](n).toString()}}),{formatters:a,formattingTokensRegExp:q(a)}},Ve={distanceInWords:function(){var e={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godzina",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};return{localize:function(n,t,o){o=o||{};var r=e[n];return o.addSuffix?o.comparison>0?"za "+Ke(r,t,"future"):Ke(r,t,"past")+" temu":Ke(r,t)}}}(),format:Be()};var Ze=function(){var e=["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],n=["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],t=["do","se","te","qa","qi","se","sa"],o=["dom","seg","ter","qua","qui","sex","sáb"],r=["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"º"}}),{formatters:s,formattingTokensRegExp:q(s)}},en={distanceInWords:function(){var e={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"daqui a "+r:"há "+r:r}}}(),format:Ze()};var nn=function(){var e=["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],n=["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],t=["du","lu","ma","mi","jo","vi","sâ"],o=["dum","lun","mar","mie","joi","vin","sâm"],r=["duminică","luni","marți","miercuri","joi","vineri","sâmbăta"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n).toString()}}),{formatters:s,formattingTokensRegExp:q(s)}},tn={distanceInWords:function(){var e={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"în "+r:r+" în urmă":r}}}(),format:nn()};function on(e,n){if(void 0!==e.one&&1===n)return e.one;var t=n%10,o=n%100;return 1===t&&11!==o?e.singularNominative.replace("{{count}}",n):t>=2&&t<=4&&(o<10||o>20)?e.singularGenitive.replace("{{count}}",n):e.pluralGenitive.replace("{{count}}",n)}function rn(e){return function(n,t){return t.addSuffix?t.comparison>0?e.future?on(e.future,n):"через "+on(e.regular,n):e.past?on(e.past,n):on(e.regular,n)+" назад":on(e.regular,n)}}var un=function(){var e=["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],n=["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"],t=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],o=["вс","пн","вт","ср","чт","пт","сб"],r=["вск","пнд","втр","срд","чтв","птн","суб"],u=["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],a=["ночи","утра","дня","вечера"],i={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return o[e.getDay()]},ddd:function(e){return r[e.getDay()]},dddd:function(e){return u[e.getDay()]},A:function(e){var n=e.getHours();return n>=17?a[3]:n>=12?a[2]:n>=4?a[1]:a[0]},Do:function(e,n){return n.D(e)+"-е"},Wo:function(e,n){return n.W(e)+"-я"}};return i.a=i.A,i.aa=i.A,["M","DDD","d","Q"].forEach(function(e){i[e+"o"]=function(n,t){return t[e](n)+"-й"}}),["D","Do","DD"].forEach(function(e){i[e+" MMMM"]=function(n,o){return(i[e]||o[e])(n,o)+" "+t[n.getMonth()]}}),{formatters:i,formattingTokensRegExp:q(i)}},an={distanceInWords:function(){var e={lessThanXSeconds:rn({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:rn({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(e,n){return n.addSuffix?n.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:rn({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:rn({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:rn({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:rn({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:rn({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXMonths:rn({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:rn({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:rn({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:rn({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:rn({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:rn({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})};return{localize:function(n,t,o){return o=o||{},e[n](t,o)}}}(),format:un()};function sn(e,n,t){var o=function(e,n){return 1===n?e.one:n>=2&&n<=4?e.twoFour:e.other}(e,n);return(o[t]||o).replace("{{count}}",n)}function cn(e){var n="";return"almost"===e&&(n="takmer"),"about"===e&&(n="približne"),n.length>0?n+" ":""}function dn(e){var n="";return"lessThan"===e&&(n="menej než"),"over"===e&&(n="viac než"),n.length>0?n+" ":""}var ln=function(){var e=["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],n=["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],t=["ne","po","ut","st","št","pi","so"],o=["neď","pon","uto","str","štv","pia","sob"],r=["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},mn={distanceInWords:function(){var e={xSeconds:{one:{regular:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{regular:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{regular:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{regular:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{regular:"minúta",past:"minútou",future:"minútu"},twoFour:{regular:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{regular:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{regular:"hodina",past:"hodinou",future:"hodinu"},twoFour:{regular:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{regular:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{regular:"deň",past:"dňom",future:"deň"},twoFour:{regular:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{regular:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xMonths:{one:{regular:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{regular:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{regular:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{regular:"rok",past:"rokom",future:"rok"},twoFour:{regular:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{regular:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}};return{localize:function(n,t,o){o=o||{};var r,u=function(e){return["lessThan","about","over","almost"].filter(function(n){return!!e.match(new RegExp("^"+n))})[0]}(n)||"",a=(r=n.substring(u.length)).charAt(0).toLowerCase()+r.slice(1),i=e[a];return o.addSuffix?o.comparison>0?cn(u)+"za "+dn(u)+sn(i,t,"future"):cn(u)+"pred "+dn(u)+sn(i,t,"past"):cn(u)+dn(u)+sn(i,t,"regular")}}}(),format:ln()};var fn=function(){var e=["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],n=["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"],t=["ne","po","to","sr","če","pe","so"],o=["ned","pon","tor","sre","čet","pet","sob"],r=["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},hn={distanceInWords:function(){var e={lessThanXSeconds:{one:"manj kot sekunda",two:"manj kot 2 sekundi",three:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},xSeconds:{one:"1 sekunda",two:"2 sekundi",three:"{{count}} sekunde",other:"{{count}} sekund"},halfAMinute:"pol minute",lessThanXMinutes:{one:"manj kot minuta",two:"manj kot 2 minuti",three:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},xMinutes:{one:"1 minuta",two:"2 minuti",three:"{{count}} minute",other:"{{count}} minut"},aboutXHours:{one:"približno 1 ura",two:"približno 2 uri",three:"približno {{count}} ure",other:"približno {{count}} ur"},xHours:{one:"1 ura",two:"2 uri",three:"{{count}} ure",other:"{{count}} ur"},xDays:{one:"1 dan",two:"2 dni",three:"{{count}} dni",other:"{{count}} dni"},aboutXMonths:{one:"približno 1 mesec",two:"približno 2 meseca",three:"približno {{count}} mesece",other:"približno {{count}} mesecev"},xMonths:{one:"1 mesec",two:"2 meseca",three:"{{count}} meseci",other:"{{count}} mesecev"},aboutXYears:{one:"približno 1 leto",two:"približno 2 leti",three:"približno {{count}} leta",other:"približno {{count}} let"},xYears:{one:"1 leto",two:"2 leti",three:"{{count}} leta",other:"{{count}} let"},overXYears:{one:"več kot 1 leto",two:"več kot 2 leti",three:"več kot {{count}} leta",other:"več kot {{count}} let"},almostXYears:{one:"skoraj 1 leto",two:"skoraj 2 leti",three:"skoraj {{count}} leta",other:"skoraj {{count}} let"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:2===t?e[n].two:3===t||4===t?e[n].three.replace("{{count}}",t):e[n].other.replace("{{count}}",t),o.addSuffix?(r=r.replace(/(minut|sekund|ur)(a)/,"$1o"),"xMonths"===n&&(r=r.replace(/(mesec)(i)/,"$1e")),o.comparison>0?"čez "+r:r+" nazaj"):r}}}(),format:fn()};var gn=function(){var e=["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],n=["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],t=["ne","po","ut","sr","če","pe","su"],o=["ned","pon","uto","sre","čet","pet","sub"],r=["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],u=["AM","PM"],a=["am","pm"],i=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n)+"."}}),{formatters:s,formattingTokensRegExp:q(s)}},pn={distanceInWords:function(){var e={lessThanXSeconds:{one:"manje od sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:"1 sekund",other:"{{count}} sekunde"},halfAMinute:"pola minuta",lessThanXMinutes:{one:"manje od minute",other:"manje od {{count}} minuta"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"oko 1 sat",other:"oko {{count}} sata"},xHours:{one:"1 sat",other:"{{count}} sati"},xDays:{one:"1 dan",other:"{{count}} dani"},aboutXMonths:{one:"oko 1 mesec",other:"oko {{count}} meseca"},xMonths:{one:"1 mesec",other:"{{count}} meseci"},aboutXYears:{one:"oko 1 godine",other:"oko {{count}} godina"},xYears:{one:"1 godina",other:"{{count}} godine"},overXYears:{one:"više od 1 godine",other:"više od {{count}} godina"},almostXYears:{one:"skoro 1 godinu",other:"skoro {{count}} godina"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"za "+r:r+" pre":r}}}(),format:gn()};var Mn=function(){var e=["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],n=["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],t=["sö","må","ti","on","to","fr","lö"],o=["sön","mån","tis","ons","tor","fre","lör"],r=["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],u=["f.m.","e.m."],a={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},aa:function(e){return e.getHours()/12>=1?u[1]:u[0]}};return a.A=a.aa,a.a=a.aa,["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:case 2:return e+":a"}return e+":e"}(t[e](n))}}),{formatters:a,formattingTokensRegExp:q(a)}},vn={distanceInWords:function(){var e={lessThanXSeconds:{singular:"mindre än en sekund",plural:"mindre än {{count}} sekunder"},xSeconds:{singular:"en sekund",plural:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{singular:"mindre än en minut",plural:"mindre än {{count}} minuter"},xMinutes:{singular:"en minut",plural:"{{count}} minuter"},aboutXHours:{singular:"ungefär en timme",plural:"ungefär {{count}} timmar"},xHours:{singular:"en timme",plural:"{{count}} timmar"},xDays:{singular:"en dag",plural:"{{count}} dagar"},aboutXMonths:{singular:"ungefär en månad",plural:"ungefär {{count}} månader"},xMonths:{singular:"en månad",plural:"{{count}} månader"},aboutXYears:{singular:"ungefär ett år",plural:"ungefär {{count}} år"},xYears:{singular:"ett år",plural:"{{count}} år"},overXYears:{singular:"över ett år",plural:"över {{count}} år"},almostXYears:{singular:"nästan ett år",plural:"nästan {{count}} år"}},n=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"];return{localize:function(t,o,r){r=r||{};var u,a=e[t];return u="string"==typeof a?a:0===o||o>1?a.plural.replace("{{count}}",o<13?n[o]:o):a.singular,r.addSuffix?r.comparison>0?"om "+u:u+" sedan":u}}}(),format:Mn()};var bn=function(){var e=["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],n=["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],t=["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],o=["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],r=["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],u=["น."],a=["น."],i=["นาฬิกา"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return u[0]},a:function(e){return a[0]},aa:function(e){return i[0]}};return{formatters:s,formattingTokensRegExp:q(s)}},kn={distanceInWords:function(){var e={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?"halfAMinute"===n?"ใน"+r:"ใน "+r:r+"ที่ผ่านมา":r}}}(),format:bn()};var Dn=function(){var e=["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],n=["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],t=["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],o=["Paz","Pts","Sal","Çar","Per","Cum","Cts"],r=["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],u=["ÖÖ","ÖS"],a=["öö","ös"],i=["ö.ö.","ö.s."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return function(e){var n={1:"'inci",2:"'inci",3:"'üncü",4:"'üncü",5:"'inci",6:"'ıncı",7:"'inci",8:"'inci",9:"'uncu",10:"'uncu",20:"'inci",30:"'uncu",50:"'inci",60:"'ıncı",70:"'inci",80:"'inci",90:"'ıncı",100:"'üncü"};if(0===e)return"0'ıncı";var t=e%10,o=e%100-t,r=e>=100?100:null;return e+(n[t]||n[o]||n[r])}(t[e](n))}}),{formatters:s,formattingTokensRegExp:q(s)}},xn={distanceInWords:function(){var e={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},n=["lessThanXSeconds","lessThanXMinutes","overXYears"];return{localize:function(t,o,r){var u;if(r=r||{},u="string"==typeof e[t]?e[t]:1===o?e[t].one:e[t].other.replace("{{count}}",o),r.addSuffix){var a="";return n.indexOf(t)>-1&&(a=" bir süre"),r.comparison>0?u+a+" içinde":u+a+" önce"}return u}}}(),format:Dn()};var yn=function(){var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],t=["日","一","二","三","四","五","六"],o=["周日","周一","周二","周三","周四","周五","周六"],r=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],u=["上午","下午"],a={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]}};return a.a=a.aa=a.A=function(e){return e.getHours()/12>=1?u[1]:u[0]},["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(n,t){return t[e](n).toString()}}),{formatters:a,formattingTokensRegExp:q(a)}},jn={distanceInWords:function(){var e={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?r+"内":r+"前":r}}}(),format:yn()};var Xn=function(){var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],t=["日","一","二","三","四","五","六"],o=["周日","周一","周二","周三","周四","周五","周六"],r=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],u=["AM","PM"],a=["am","pm"],i=["上午","下午"],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){s[e+"o"]=function(n,t){return t[e](n).toString()}}),{formatters:s,formattingTokensRegExp:q(s)}},Sn={distanceInWords:function(){var e={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}};return{localize:function(n,t,o){var r;return o=o||{},r="string"==typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),o.addSuffix?o.comparison>0?r+"內":r+"前":r}}}(),format:Xn()},En={be:re,bg:ae,ca:se,cs:fe,da:ge,de:Me,el:be,en:K,eo:De,es:ye,fi:Xe,fil:Ee,fr:He,hr:Ae,hu:ze,id:Ie,is:Re,it:Ge,ja:Oe,ko:Le,mk:Ue,nb:_e,nl:$e,pl:Ve,pt:en,ro:tn,ru:an,sk:mn,sl:hn,sr:pn,sv:vn,th:kn,tr:xn,zh_cn:jn,zh_tw:Sn};function Tn(e){return En[e]||K}var Hn=function(e,n){return te(e,{locale:Tn(n)})};function wn(e){var 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(e){return!1}}();return function(){var t,o=r(e);if(n){var a=r(this).constructor;t=Reflect.construct(o,arguments,a)}else t=o.apply(this,arguments);return u(this,t)}}var An={b:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return s.createElement("b",null,n)},p:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return s.createElement("p",null,n)},ul:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return s.createElement("ul",null,n)}},Yn=function(r){e(i,c);var u=wn(i);function i(e){var o;n(this,i),o=u.call(this,e),l(t(o));var r=o.props.expandDisclaimer;return o.state={shouldScroll:r,openDisclaimer:r},o}return o(i,[{key:"componentDidUpdate",value:function(){var e=this.state.shouldScroll,n=this.props.expandDisclaimer,t=e&&e===n,o=document.querySelector("#close-message");o&&t&&this.doScroll(o)}},{key:"doScroll",value:function(e){e.scrollIntoView(),this.setState({shouldScroll:!1})}},{key:"clear",value:function(e){e.preventDefault(),this.setState({openDisclaimer:!1})}},{key:"openDisclaimer",value:function(e){e.preventDefault(),this.setState({openDisclaimer:!0})}},{key:"renderTable",value:function(){var e=this.props,n=e.lang,t=e.createClassNames,o=e.referenceQuotes;return s.createElement("div",{className:t(["table-responsive"])},s.createElement("table",{className:t(["table","table-condensed","table-striped"])},s.createElement("thead",null,s.createElement("tr",null,s.createElement("td",null,s.createElement(m,{id:"provider"})),s.createElement("td",null,s.createElement(m,{id:"currency-route"})),s.createElement("td",null,s.createElement(m,{id:"amount-checked"})),s.createElement("td",null,s.createElement(m,{id:"date-collection"})))),s.createElement("tbody",null,o.map(function(e){return Object.keys(e.routes).map(function(t){return Object.keys(e.routes[t]).map(function(o){return e.routes[t][o].recordedAmounts.map(function(r){return s.createElement("tr",{key:"".concat(e.alias,"-").concat(r.amount)},s.createElement("td",null,e.name),s.createElement("td",null,t," ",s.createElement(m,{id:"to"})," ",o),s.createElement("td",null,r.amount," ",t),s.createElement("td",null,s.createElement("span",null,function(e){var n=e.date,t=e.lang;return h(n,"DD MMM YYYY HH:mm:ss",{locale:Tn(t)})}({date:r.dateCollected,lang:n})," UTC")))})})})}))))}},{key:"renderDisclaimerText",value:function(){var e=this.props,n=e.loading,t=e.createClassNames,o=e.referenceQuotes,r=e.style;return n?s.createElement("div",{className:t(["text-xs-center","m-t-3"])},s.createElement(a,{classNames:r})):s.createElement("div",{className:t(["small","m-t-2"])},s.createElement(m,{values:An,id:"disclaimer-introduction"}),s.createElement(m,{values:An,id:"disclaimer-transfer-fee"}),s.createElement(m,{values:An,id:"disclaimer-exchange-rate"}),s.createElement(m,{values:An,id:"disclaimer-amount-not-collected"}),o.length>0&&s.createElement(m,{values:An,id:"disclaimer-conclusion"}),o.length>0&&this.renderTable())}},{key:"render",value:function(){var e=this.props.createClassNames,n=this.state.openDisclaimer;return s.createElement("div",{className:e(["container"])},n?s.createElement("div",{className:e(["small","m-t-5","text-xs-center"])},s.createElement("button",{type:"button",className:e(["anchor"]),id:"close-message",onClick:this.clear},s.createElement(m,{id:"close"}))):s.createElement("div",{className:e(["small","text-xs-center","m-b-5","m-t-5"])},s.createElement("span",null,s.createElement(m,{id:"disclaimer-pay-in"}))," ",s.createElement("button",{type:"button",className:e(["anchor"]),onClick:this.openDisclaimer},s.createElement(m,{id:"how"}))),s.createElement("div",{className:e(["col-sm-10","col-sm-offset-1","m-b-5"])},n&&this.renderDisclaimerText()))}}]),i}();Yn.propTypes={style:i.shape({}).isRequired,createClassNames:i.func.isRequired,referenceQuotes:i.arrayOf(i.shape({alias:i.string.isRequired,country:i.string,logo:i.string.isRequired,name:i.string.isRequired,routes:i.objectOf(i.object)})),lang:i.string.isRequired,loading:i.bool,expandDisclaimer:i.bool},Yn.defaultProps={referenceQuotes:[],loading:!1,expandDisclaimer:!1};var zn,Pn,In,Nn=g(function(e){!function(){var n={}.hasOwnProperty;function t(){for(var e=[],o=0;o<arguments.length;o++){var r=arguments[o];if(r){var u=typeof r;if("string"===u||"number"===u)e.push(r);else if(Array.isArray(r)){if(r.length){var a=t.apply(null,r);a&&e.push(a)}}else if("object"===u){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var i in r)n.call(r,i)&&r[i]&&e.push(i)}}}return e.join(" ")}e.exports?(t.default=t,e.exports=t):window.classNames=t}()});(In=zn||(zn={})).SMALL="small",In.MEDIUM="medium",In.LARGE="large";var Rn,Wn=((Pn={})[zn.SMALL]=200,Pn[zn.MEDIUM]=300,Pn[zn.LARGE]=500,Pn),Gn=d(function(e,n){var t=e.id,o=e.name,r=e.alt,u=e.loading,a=void 0===u?"eager":u,i=e.className,c=e.size,d=void 0===c?zn.MEDIUM:c,l=e.disableMargin,m=void 0!==l&&l,f=zn.SMALL,h=zn.MEDIUM;return o?s.createElement("picture",null,d===zn.LARGE||d===zn.MEDIUM?s.createElement(s.Fragment,null,s.createElement("source",{width:Wn[f],height:Wn[f],media:"(max-width: 575px)",srcSet:Cn(o,f,"1x")+", "+Cn(o,f,"2x")+" 2x"}),d!==zn.MEDIUM?s.createElement("source",{width:Wn[h],height:Wn[h],media:"(min-width: 992px)",srcSet:Cn(o,h,"1x")+", "+Cn(o,h,"2x")+" 2x"}):null):null,s.createElement("img",{id:t,ref:n,alt:r,"data-testid":"wds-"+o+"-illustration",className:Nn("wds-illustration","wds-illustration-"+o,{"wds-illustration-margin":!m},i),loading:a,src:Cn(o,d,"1x"),srcSet:Cn(o,d,"2x")+" 2x",width:Wn[d],height:Wn[d]})):null});function Cn(e,n,t){return"https://wise.com/web-art/assets/illustrations/"+e+"-"+n+"@"+t+".webp"}!function(e){e.BELL="bell",e.BRIEFCASE="briefcase",e.CALENDAR="calendar",e.CHECK_MARK="check-mark",e.CLOSED_WINDOW="closed-window",e.COIN_PILE="coin-pile",e.CONFETTI="confetti",e.CONSTRUCTION_FENCE="construction-fence",e.CONVERT="convert",e.COOKIE="cookie",e.DOCUMENTS="documents",e.DOOR="door",e.ELECTRIC_PLUG="electric-plug",e.EMAIL="email",e.EXCLAMATION_MARK="exclamation-mark",e.FLAG="flag",e.FLOWER="flower",e.GEAR="gear",e.GLOBE="globe",e.GRAPH="graph",e.HEART="heart",e.HOUSE="house",e.ID_CARD="id-card",e.INFINITE="infinite",e.INVITE_LETTER="invite-letter",e.JARS="jars",e.KEY="key",e.LIGHT_BULB="light-bulb",e.LOCK="lock",e.MAGNIFYING_GLASS="magnifying-glass",e.MAP="map",e.MEGAPHONE="megaphone",e.MULTI_CURRENCY="multi-currency",e.ONE_INVITE_LETTER_OPENED="one-invite-letter-opened",e.PALM_TREE="palm-tree",e.PHONES="phones",e.PIE_CHART="pie-chart",e.PLANE="plane",e.PUZZLE_PIECES="puzzle-pieces",e.QUESTION_MARK="question-mark",e.RECEIVE="receive",e.REMINDER_LETTER="reminder-letter",e.SAND_TIMER="sand-timer",e.SHOPPING_BAG="shopping-bag",e.SKIP_AUTHENTICATION="skip-authentication",e.SPEECH_BUBBLE="speech-bubble",e.TOOL="tool",e.TWO_INVITE_LETTERS_OPENED="two-invite-letters-opened",e.WALLET="wallet"}(Rn||(Rn={}));var On=function(e){var n=e.style,t=f().formatMessage;return s.createElement(s.Fragment,null,s.createElement("div",{className:n["error-img-main"]},s.createElement("img",{className:n["img-responsive"],src:"https://widgets.wise.com/comparison/23.0.3/0ffb90ee82f7d8a3.svg",alt:t({id:"error-image-alt-text"})})),s.createElement("div",{className:n["error-img-alternate"]},s.createElement(Gn,{loading:"lazy",name:"construction-fence",size:"medium",alt:t({id:"error-image-alt-text"})})))};On.propTypes={style:i.shape({"m-b-5":i.string.isRequired,"img-responsive":i.string.isRequired}).isRequired};var Fn=function(e){var n=e.unsupportedType,t=e.messageLabel,o=e.source,r=e.maxAmountCollected;return s.createElement(m,{id:{UNSUPPORTED_AMOUNT:{title:"error-unsupported-amount-title",body:"error-unsupported-amount-body"},UNSUPPORTED_ROUTE:{title:"error-unsupported-route-title",body:"error-unsupported-route-body"},EXCEPTION:{title:"error-server-title",body:"error-server-body"}}[n][t],values:{source:o,maxAmountCollected:r}})};Fn.propTypes={unsupportedType:i.string.isRequired,messageLabel:i.string.isRequired,source:i.string.isRequired,maxAmountCollected:i.string.isRequired};var Ln=function(e){var n=e.source,t=e.errorType,o=e.createClassNames,r=e.maxAmountCollected,u=e.onClickToSeeAnAvailableComparison,a=e.style;return s.createElement("div",{className:o(["container","p-t-3","p-b-9"]),role:"alert"},s.createElement("div",{className:o(["col-xs-12","col-sm-10","col-sm-offset-1","text-xs-center"])},s.createElement(On,{style:a}),s.createElement("h4",{className:o(["h4","m-b-1"])},s.createElement(Fn,{unsupportedType:t,messageLabel:"title"})),s.createElement("p",{className:o(["small"])},s.createElement(Fn,{unsupportedType:t,messageLabel:"body",maxAmountCollected:r,source:n})),"UNSUPPORTED_AMOUNT"===t&&s.createElement("div",null,s.createElement("div",{className:o(["row","col-sm-8","col-sm-offset-2"])},s.createElement("button",{className:o(["btn","btn-default","btn-block"]),type:"submit",onClick:function(){return u(r)}},s.createElement(m,{values:{maxAmountCollected:r,source:n},id:"compare-button"}))))))};Ln.propTypes={style:i.shape({}).isRequired,source:i.string.isRequired,errorType:i.oneOf(["UNSUPPORTED_AMOUNT","UNSUPPORTED_ROUTE","EXCEPTION"]).isRequired,createClassNames:i.func.isRequired,maxAmountCollected:i.number,onClickToSeeAnAvailableComparison:i.func},Ln.defaultProps={maxAmountCollected:null,onClickToSeeAnAvailableComparison:function(){}};export{Yn as D,Ln as E,Hn as t};
|
|
2
|
+
//# sourceMappingURL=ErrorTemplate-1c69f1cc.js.map
|