From f584cf399bdbc4d6406c6a44fa4edd685169f430 Mon Sep 17 00:00:00 2001 From: jacky6024 Date: Wed, 7 Jun 2017 11:05:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=AE=BE=E8=AE=A1=E5=99=A8?= =?UTF-8?q?=E4=B8=ADTable=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/asserts/js/designer.bundle.js | 20 +++--- ureport2-js/src/designer.js | 53 ++++++++------- .../dialog/BuildinDatasourceSelectDialog.js | 6 +- ureport2-js/src/dialog/MethodSelectDialog.js | 6 +- ureport2-js/src/dialog/OpenDialog.js | 16 +++-- ureport2-js/src/dialog/ParameterTable.js | 6 +- ureport2-js/src/dialog/SaveDialog.js | 10 +-- ureport2-js/src/tools/AlignLeftTool.js | 59 ++++++++++++++++- ureport2-js/src/tools/AlignTopTool.js | 57 ++++++++++++++++- ureport2-js/src/tools/BgcolorTool.js | 64 +++++++++++++++++-- ureport2-js/src/tools/FontFamilyTool.js | 63 +++++++++++++++--- ureport2-js/src/tools/FontSizeTool.js | 54 ++++++++++++++-- ureport2-js/src/tools/ForecolorTool.js | 64 +++++++++++++++++-- 13 files changed, 397 insertions(+), 81 deletions(-) diff --git a/ureport2-console/src/main/resources/asserts/js/designer.bundle.js b/ureport2-console/src/main/resources/asserts/js/designer.bundle.js index 0cdd1b3..fd6a38d 100644 --- a/ureport2-console/src/main/resources/asserts/js/designer.bundle.js +++ b/ureport2-console/src/main/resources/asserts/js/designer.bundle.js @@ -42,16 +42,16 @@ weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma };return"m"===o?n?"хвилина":"хвилину":"h"===o?n?"година":"годину":t+" "+e(i[o],+t)}function o(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},o=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative";return n[o][t.day()]}function i(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var r=t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:o,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}});return r})},function(t,e,n){!function(t,e){e(n(62))}(this,function(t){"use strict";var e=t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(62))}(this,function(t){"use strict";var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(62))}(this,function(t){"use strict";var e=t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(62))}(this,function(t){"use strict";var e=t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var o=100*t+e;return o<600?"凌晨":o<900?"早上":o<1130?"上午":o<1230?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var e,n;return e=t().startOf("week"),n=this.diff(e,"days")>=7?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var e,n;return e=t().startOf("week"),n=this.unix()=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var o=100*t+e;return o<900?"早上":o<1130?"上午":o<1230?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1分鐘",mm:"%d分鐘",h:"1小時",hh:"%d小時",d:"1天",dd:"%d天",M:"1個月",MM:"%d個月",y:"1年",yy:"%d年"}});return e})},function(t,e,n){var o,i;(function(r){(function(){"use strict";function a(t){this._value=t}function s(t){return 0===t?1:Math.floor(Math.log(Math.abs(t))/Math.LN10)+1}function l(t){var e,n="";for(e=0;e0?c=o+i+l(r-i.length):(a=+o<0?"-0":"0",e>0&&(a+="."),u=l(-1*r-1),s=(u+Math.abs(o)+i).substr(0,e),c=a+s),+r>0&&e>0&&(c+="."+l(e)),c}function c(t,e,n,o){var i,r,a=Math.pow(10,e);return t.toString().indexOf("e")>-1?(r=u(t,e),"-"===r.charAt(0)&&+r>=0&&(r=r.substr(1))):r=(n(t+"e+"+e)/a).toFixed(e),o&&(i=new RegExp("0{1,"+o+"}$"),r=r.replace(i,"")),r}function d(t,e,n){var o,i=e.replace(/\{[^\{\}]*\}/g,"");return o=i.indexOf("$")>-1?h(t,S[k].currency.symbol,e,n):i.indexOf("%")>-1?g(t,e,n):i.indexOf(":")>-1?p(t,e):m(t._value,e,n)}function A(t,e){var n,o,i,r,a,s=e,l=!1;if(e.indexOf(":")>-1)t._value=M(e);else if(e===Q)t._value=0;else{for("."!==S[k].delimiters.decimal&&(e=e.replace(/\./g,"").replace(S[k].delimiters.decimal,".")),n=new RegExp("[^a-zA-Z]"+S[k].abbreviations.thousand+"(?:\\)|(\\"+S[k].currency.symbol+")?(?:\\))?)?$"),o=new RegExp("[^a-zA-Z]"+S[k].abbreviations.million+"(?:\\)|(\\"+S[k].currency.symbol+")?(?:\\))?)?$"),i=new RegExp("[^a-zA-Z]"+S[k].abbreviations.billion+"(?:\\)|(\\"+S[k].currency.symbol+")?(?:\\))?)?$"),r=new RegExp("[^a-zA-Z]"+S[k].abbreviations.trillion+"(?:\\)|(\\"+S[k].currency.symbol+")?(?:\\))?)?$"),a=1;a-1?l=Math.pow(1024,a):e.indexOf(D[a])>-1&&(l=Math.pow(1e3,a));var u=e.replace(/[^0-9\.]+/g,"");""===u?t._value=NaN:(t._value=(l?l:1)*(s.match(n)?Math.pow(10,3):1)*(s.match(o)?Math.pow(10,6):1)*(s.match(i)?Math.pow(10,9):1)*(s.match(r)?Math.pow(10,12):1)*(e.indexOf("%")>-1?.01:1)*((e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1)*Number(u),t._value=l?Math.ceil(t._value):t._value)}return t._value}function h(t,e,n,o){var i,r,a=n,s=a.indexOf("$"),l=a.indexOf("("),u=a.indexOf("+"),c=a.indexOf("-"),d="",A="";if(a.indexOf("$")===-1?"infix"===S[k].currency.position?(A=e,S[k].currency.spaceSeparated&&(A=" "+A+" ")):S[k].currency.spaceSeparated&&(d=" "):a.indexOf(" $")>-1?(d=" ",a=a.replace(" $","")):a.indexOf("$ ")>-1?(d=" ",a=a.replace("$ ","")):a=a.replace("$",""),r=m(t._value,a,o,A),n.indexOf("$")===-1)switch(S[k].currency.position){case"postfix":r.indexOf(")")>-1?(r=r.split(""),r.splice(-1,0,d+e),r=r.join("")):r=r+d+e;break;case"infix":break;case"prefix":r.indexOf("(")>-1||r.indexOf("-")>-1?(r=r.split(""),i=Math.max(l,c)+1,r.splice(i,0,e+d),r=r.join("")):r=e+d+r;break;default:throw Error('Currency position should be among ["prefix", "infix", "postfix"]')}else s<=1?r.indexOf("(")>-1||r.indexOf("+")>-1||r.indexOf("-")>-1?(r=r.split(""),i=1,(s-1?(r=r.split(""),r.splice(-1,0,d+e),r=r.join("")):r=r+d+e;return r}function f(t,e,n,o){return h(t,e,n,o)}function g(t,e,n){var o,i="",r=100*t._value;return e.indexOf(" %")>-1?(i=" ",e=e.replace(" %","")):e=e.replace("%",""),o=m(r,e,n),o.indexOf(")")>-1?(o=o.split(""),o.splice(-1,0,i+"%"),o=o.join("")):o=o+i+"%",o}function p(t){var e=Math.floor(t._value/60/60),n=Math.floor((t._value-60*e*60)/60),o=Math.round(t._value-60*e*60-60*n);return e+":"+(n<10?"0"+n:n)+":"+(o<10?"0"+o:o)}function M(t){var e=t.split(":"),n=0;return 3===e.length?(n+=60*Number(e[0])*60,n+=60*Number(e[1]),n+=Number(e[2])):2===e.length&&(n+=60*Number(e[0]),n+=Number(e[1])),Number(n)}function y(t,e,n){var o,i,r,a=e[0],s=Math.abs(t);if(s>=n){for(o=1;o=i&&s-1?(T=!0,e=e.slice(1,-1)):e.indexOf("+")>-1&&(E=!0,e=e.replace(/\+/g,"")),e.indexOf("a")>-1&&(f=e.split(".")[0].match(/[0-9]+/g)||["0"],f=parseInt(f[0],10),D=e.indexOf("aK")>=0,N=e.indexOf("aM")>=0,B=e.indexOf("aB")>=0,j=e.indexOf("aT")>=0,_=D||N||B||j,e.indexOf(" a")>-1?(x=" ",e=e.replace(" a","")):e=e.replace("a",""),a=s(t),d=a%3,d=0===d?3:d,f&&0!==Y&&(A=3*~~((Math.min(f,a)-d)/3),Y/=Math.pow(10,A)),a!==f&&(Y>=Math.pow(10,12)&&!_||j?(x+=S[k].abbreviations.trillion,t/=Math.pow(10,12)):Y=Math.pow(10,9)&&!_||B?(x+=S[k].abbreviations.billion,t/=Math.pow(10,9)):Y=Math.pow(10,6)&&!_||N?(x+=S[k].abbreviations.million,t/=Math.pow(10,6)):(Y=Math.pow(10,3)&&!_||D)&&(x+=S[k].abbreviations.thousand,t/=Math.pow(10,3))),u=s(t),f&&u-1){e.indexOf(" "+i.marker)>-1&&(U=" "),e=e.replace(U+i.marker,""),r=y(t,i.suffixes,i.scale),t=r.value,U+=r.suffix;break}if(e.indexOf("o")>-1&&(e.indexOf(" o")>-1?(R=" ",e=e.replace(" o","")):e=e.replace("o",""),S[k].ordinal&&(R+=S[k].ordinal(t))),e.indexOf("[.]")>-1&&(I=!0,e=e.replace("[.]",".")),g=e.split(".")[1],m=e.indexOf(","),g){var W=[];if(g.indexOf("*")!==-1?(O=t.toString(),W=O.split("."),W.length>1&&(O=c(t,W[1].length,n))):g.indexOf("[")>-1?(g=g.replace("]",""),g=g.split("["),O=c(t,g[0].length+g[1].length,n,g[1].length)):O=c(t,g.length,n),W=O.split("."),h=W[0],W.length>1&&W[1].length){var J=o?x+o:S[k].delimiters.decimal;O=J+W[1]}else O="";I&&0===Number(O.slice(1))&&(O="")}else h=c(t,0,n);return h.indexOf("-")>-1&&(h=h.slice(1),z=!0),h.length-1&&(h=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+S[k].delimiters.thousands)),0===e.indexOf(".")&&(h=""),w=e.indexOf("("),v=e.indexOf("-"),F=w0||"grunt"===r.title||"gulp"===r.title)&&!0}function C(t){var e=t.toString().split(".");return e.length<2?1:Math.pow(10,e[1].length)}function T(){var t=Array.prototype.slice.call(arguments);return t.reduce(function(t,e){var n=C(t),o=C(e);return n>o?n:o},-(1/0))}var E,I="1.11.0",x=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],D=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],N={general:{scale:1024,suffixes:D,marker:"bd"},binary:{scale:1024,suffixes:x,marker:"b"},decimal:{scale:1e3,suffixes:D,marker:"d"}},L=[N.general,N.binary,N.decimal],S={},B=S,k="en-US",Q=null,j="0,0",_="0$",U="undefined"!=typeof t&&t.exports,R={delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",0000 a"},formats:{fourDigits:"0000 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00"}};E=function(t){return t=E.isNumbro(t)?t.value():"string"==typeof t||"number"==typeof t?E.fn.unformat(t):NaN,new a(Number(t))},E.version=I,E.isNumbro=function(t){return t instanceof a},E.setLanguage=function(t,e){console.warn("`setLanguage` is deprecated since version 1.6.0. Use `setCulture` instead");var n=t,o=t.split("-")[0],i=null;B[n]||(Object.keys(B).forEach(function(t){i||t.split("-")[0]!==o||(i=t)}),n=i||e||"en-US"),v(n)},E.setCulture=function(t,e){var n=t,o=t.split("-")[1],i=null;S[n]||(o&&Object.keys(S).forEach(function(t){i||t.split("-")[1]!==o||(i=t)}),n=i||e||"en-US"),v(n)},E.language=function(t,e){if(console.warn("`language` is deprecated since version 1.6.0. Use `culture` instead"),!t)return k;if(t&&!e){if(!B[t])throw new Error("Unknown language : "+t);v(t)}return!e&&B[t]||w(t,e),E},E.culture=function(t,e){if(!t)return k;if(t&&!e){if(!S[t])throw new Error("Unknown culture : "+t);v(t)}return!e&&S[t]||w(t,e),E},E.languageData=function(t){if(console.warn("`languageData` is deprecated since version 1.6.0. Use `cultureData` instead"),!t)return B[k];if(!B[t])throw new Error("Unknown language : "+t);return B[t]},E.cultureData=function(t){if(!t)return S[k];if(!S[t])throw new Error("Unknown culture : "+t);return S[t]},E.culture("en-US",R),E.languages=function(){return console.warn("`languages` is deprecated since version 1.6.0. Use `cultures` instead"),B},E.cultures=function(){return S},E.zeroFormat=function(t){Q="string"==typeof t?t:null},E.defaultFormat=function(t){j="string"==typeof t?t:"0.0"},E.defaultCurrencyFormat=function(t){_="string"==typeof t?t:"0$"},E.validate=function(t,e){var n,o,i,r,a,s,l,u;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numbro.js: Value is not string. It has been co-erced to: ",t)),t=t.trim(),t=t.replace(/^[+-]?/,""),t.match(/^\d+$/))return!0;if(""===t)return!1;try{l=E.cultureData(e)}catch(t){l=E.cultureData(E.culture())}return i=l.currency.symbol,a=l.abbreviations,n=l.delimiters.decimal,o="."===l.delimiters.thousands?"\\.":l.delimiters.thousands,u=t.match(/^[^\d\.\,]+/),(null===u||(t=t.substr(1),u[0]===i))&&(u=t.match(/[^\d]+$/),(null===u||(t=t.slice(0,-1),u[0]===a.thousand||u[0]===a.million||u[0]===a.billion||u[0]===a.trillion))&&(s=new RegExp(o+"{2}"),!t.match(/[^\d.,]/g)&&(r=t.split(n),!(r.length>2)&&(r.length<2?!!r[0].match(/^\d+.*\d$/)&&!r[0].match(s):""===r[0]?!r[0].match(s)&&!!r[1].match(/^\d+$/):1===r[0].length?!!r[0].match(/^\d+$/)&&!r[0].match(s)&&!!r[1].match(/^\d+$/):!!r[0].match(/^\d+.*\d$/)&&!r[0].match(s)&&!!r[1].match(/^\d+$/)))))},E.loadLanguagesInNode=function(){console.warn("`loadLanguagesInNode` is deprecated since version 1.6.0. Use `loadCulturesInNode` instead"),E.loadCulturesInNode()},E.loadCulturesInNode=function(){var t=n(166);for(var e in t)e&&E.culture(e,t[e])},"function"!=typeof Array.prototype.reduce&&(Array.prototype.reduce=function(t,e){if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,o,i=this.length>>>0,r=!1;for(1n;++n)this.hasOwnProperty(n)&&(r?o=t(o,this[n],n,this):(o=this[n],r=!0));if(!r)throw new TypeError("Reduce of empty array with no initial value");return o}),E.fn=a.prototype={clone:function(){return E(this)},format:function(t,e){return d(this,t?t:j,void 0!==e?e:Math.round)},formatCurrency:function(t,e){return h(this,S[k].currency.symbol,t?t:_,void 0!==e?e:Math.round)},formatForeignCurrency:function(t,e,n){return f(this,t,e?e:_,void 0!==n?n:Math.round)},unformat:function(t){if("number"==typeof t)return t;if("string"==typeof t){var e=A(this,t);return isNaN(e)?void 0:e}},binaryByteUnits:function(){return y(this._value,N.binary.suffixes,N.binary.scale).suffix},byteUnits:function(){return y(this._value,N.general.suffixes,N.general.scale).suffix},decimalByteUnits:function(){return y(this._value,N.decimal.suffixes,N.decimal.scale).suffix},value:function(){return this._value},valueOf:function(){return this._value},set:function(t){return this._value=Number(t),this},add:function(t){function e(t,e){return t+n*e}var n=T.call(null,this._value,t);return this._value=[this._value,t].reduce(e,0)/n,this},subtract:function(t){function e(t,e){return t-n*e}var n=T.call(null,this._value,t);return this._value=[t].reduce(e,this._value*n)/n,this},multiply:function(t){function e(t,e){var n=T(t,e),o=t*n;return o*=e*n,o/=n*n}return this._value=[this._value,t].reduce(e,1),this},divide:function(t){function e(t,e){var n=T(t,e);return t*n/(e*n)}return this._value=[this._value,t].reduce(e),this},difference:function(t){return Math.abs(E(this._value).subtract(t).value())}},b()&&E.loadCulturesInNode(),U?t.exports=E:("undefined"==typeof ender&&(this.numbro=E),o=[],i=function(){return E}.apply(e,o),!(void 0!==i&&(t.exports=i)))}).call("undefined"==typeof window?this:window)}).call(e,n(61))},function(t,e,n){e.bg=n(167),e["cs-CZ"]=n(168),e["da-DK"]=n(169),e["de-AT"]=n(170),e["de-CH"]=n(171),e["de-DE"]=n(172),e["de-LI"]=n(173),e.el=n(174),e["en-AU"]=n(175),e["en-GB"]=n(176),e["en-IE"]=n(177),e["en-NZ"]=n(178),e["en-ZA"]=n(179),e["es-AR"]=n(180),e["es-CL"]=n(181),e["es-CO"]=n(182),e["es-CR"]=n(183),e["es-ES"]=n(184),e["es-NI"]=n(185),e["es-PE"]=n(186),e["es-PR"]=n(187),e["es-SV"]=n(188),e["et-EE"]=n(189),e["fa-IR"]=n(190),e["fi-FI"]=n(191),e["fil-PH"]=n(192),e["fr-CA"]=n(193),e["fr-CH"]=n(194),e["fr-FR"]=n(195),e["he-IL"]=n(196),e["hu-HU"]=n(197),e.id=n(198),e["it-CH"]=n(199),e["it-IT"]=n(200),e["ja-JP"]=n(201),e["ko-KR"]=n(202),e["lv-LV"]=n(203),e["nb-NO"]=n(204),e.nb=n(205),e["nl-BE"]=n(206),e["nl-NL"]=n(207),e.nn=n(208),e["pl-PL"]=n(209),e["pt-BR"]=n(210),e["pt-PT"]=n(211),e["ro-RO"]=n(212),e.ro=n(213),e["ru-RU"]=n(214),e["ru-UA"]=n(215),e["sk-SK"]=n(216),e.sl=n(217),e["sr-Cyrl-RS"]=n(218),e["sv-SE"]=n(219),e["th-TH"]=n(220),e["tr-TR"]=n(221),e["uk-UA"]=n(222),e["zh-CN"]=n(223),e["zh-MO"]=n(224),e["zh-SG"]=n(225),e["zh-TW"]=n(226)},function(t,e){(function(){"use strict";var e={langLocaleCode:"bg",cultureCode:"bg",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"И",million:"А",billion:"M",trillion:"T"},ordinal:function(){return"."},currency:{symbol:"лв."}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&this.numbro.culture("bg",e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"cs-CZ",cultureCode:"cs-CZ",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"mld.",trillion:"bil."},ordinal:function(){return"."},currency:{symbol:"Kč",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"da-DK",cultureCode:"da-DK",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mio",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"de-AT",cultureCode:"de-AT",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"de-CH",cultureCode:"de-CH",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"de-DE",cultureCode:"de-DE",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"de-LI",cultureCode:"de-LI",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"el",cultureCode:"el",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"χ",million:"ε",billion:"δ",trillion:"τ"},ordinal:function(){return"."},currency:{symbol:"€"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("el",e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"en-AU",cultureCode:"en-AU",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"en-GB",cultureCode:"en-GB",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"£",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"en-IE",cultureCode:"en-IE",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"€"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("en-gb",e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"en-NZ",cultureCode:"en-NZ",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"en-ZA",cultureCode:"en-ZA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"R",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-AR",cultureCode:"es-AR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"$",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-CL",cultureCode:"es-CL",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:"$0,0"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-CO",cultureCode:"es-CO",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-CR", cultureCode:"es-CR",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"₡",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-ES",cultureCode:"es-ES",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-NI",cultureCode:"es-NI",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"C$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-PE",cultureCode:"es-PE",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"S/.",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-PR",cultureCode:"es-PR",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"es-SV",cultureCode:"es-SV",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===e||3===e?"er":2===e?"do":7===e||0===e?"mo":8===e?"vo":9===e?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"et-EE",cultureCode:"et-EE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:" tuh",million:" mln",billion:" mld",trillion:" trl"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"fa-IR",cultureCode:"fa-IR",delimiters:{thousands:"،",decimal:"."},abbreviations:{thousand:"هزار",million:"میلیون",billion:"میلیارد",trillion:"تریلیون"},ordinal:function(){return"ام"},currency:{symbol:"﷼"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"fi-FI",cultureCode:"fi-FI",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"M",billion:"G",trillion:"T"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"fil-PH",cultureCode:"fil-PH",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"₱"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"fr-CA",cultureCode:"fr-CA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"M",billion:"G",trillion:"T"},ordinal:function(t){return 1===t?"er":"ème"},currency:{symbol:"$",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"fr-CH",cultureCode:"fr-CH",delimiters:{thousands:" ",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){return 1===t?"er":"ème"},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"fr-FR",cultureCode:"fr-FR",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){return 1===t?"er":"ème"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"he-IL",cultureCode:"he-IL",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"אלף",million:"מליון",billion:"בליון",trillion:"טריליון"},currency:{symbol:"₪",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"₪ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"₪ ,0"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"hu-HU",cultureCode:"hu-HU",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"E",million:"M",billion:"Mrd",trillion:"T"},ordinal:function(){return"."},currency:{symbol:" Ft",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"id",cultureCode:"id",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"r",million:"j",billion:"m",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"Rp"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("id",e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"it-CH",cultureCode:"it-CH",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"mila",million:"mil",billion:"b",trillion:"t"},ordinal:function(){return"°"},currency:{symbol:"CHF"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("it-CH",e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"it-IT",cultureCode:"it-IT",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mila",million:"mil",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"ja-JP",cultureCode:"ja-JP",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十億",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"¥",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"ko-KR",cultureCode:"ko-KR",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"천",million:"백만",billion:"십억",trillion:"일조"},ordinal:function(){return"."},currency:{symbol:"₩"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"lv-LV",cultureCode:"lv-LV",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:" tūkst.",million:" milj.",billion:" mljrd.",trillion:" trilj."},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"nb-NO",cultureCode:"nb-NO",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"M",billion:"md",trillion:"t"},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"nb",cultureCode:"nb",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"mil",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("nb",e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"nl-BE",cultureCode:"nl-BE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mld",trillion:"bln"},ordinal:function(t){var e=t%100;return 0!==t&&e<=1||8===e||e>=20?"ste":"de"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"nl-NL",cultureCode:"nl-NL",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mrd",trillion:"bln"},ordinal:function(t){var e=t%100;return 0!==t&&e<=1||8===e||e>=20?"ste":"de"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){!function(){"use strict";var e={langLocaleCode:"nn",cultureCode:"nn",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"mil",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.language&&window.numbro.language("nn",e)}()},function(t,e){(function(){"use strict";var e={langLocaleCode:"pl-PL",cultureCode:"pl-PL",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tys.",million:"mln",billion:"mld",trillion:"bln"},ordinal:function(){return"."},currency:{symbol:" zł",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"pt-BR",cultureCode:"pt-BR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mil",million:"milhões",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"R$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"pt-PT",cultureCode:"pt-PT",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"ro-RO",cultureCode:"ro-RO",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mii",million:"mil",billion:"mld",trillion:"bln"},ordinal:function(){return"."},currency:{symbol:" lei",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"ro",cultureCode:"ro",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mie",million:"mln",billion:"mld",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"RON"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("ro",e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"ru-RU",cultureCode:"ru-RU",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"руб.",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"ru-UA",cultureCode:"ru-UA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"₴",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"sk-SK",cultureCode:"sk-SK",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"mld.",trillion:"bil."},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){!function(){"use strict";var e={langLocaleCode:"sl",cultureCode:"sl",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("sl",e)}()},function(t,e){!function(){"use strict";var e={langLocaleCode:"sr-Cyrl-RS",cultureCode:"sr-Cyrl-RS",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"RSD"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("sr-Cyrl-RS",e)}()},function(t,e){(function(){"use strict";var e={langLocaleCode:"sv-SE",cultureCode:"sv-SE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"M",billion:"md",trillion:"tmd"},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"th-TH",cultureCode:"th-TH",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"พัน",million:"ล้าน",billion:"พันล้าน",trillion:"ล้านล้าน"},ordinal:function(){return"."},currency:{symbol:"฿",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n={langLocaleCode:"tr-TR",cultureCode:"tr-TR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"bin",million:"milyon",billion:"milyar",trillion:"trilyon"},ordinal:function(t){if(0===t)return"'ıncı";var n=t%10,o=t%100-n,i=t>=100?100:null;return e[n]||e[o]||e[i]},currency:{symbol:"₺",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=n),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(n.cultureCode,n)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"uk-UA",cultureCode:"uk-UA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тис.",million:"млн",billion:"млрд",trillion:"блн"},ordinal:function(){return""},currency:{symbol:"₴",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"zh-CN",cultureCode:"zh-CN",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"¥",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e){!function(){"use strict";var e={langLocaleCode:"zh-MO",cultureCode:"zh-MO",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百萬",billion:"十億",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"MOP"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("zh-MO",e)}()},function(t,e){(function(){"use strict";var e={langLocaleCode:"zh-SG",cultureCode:"zh-SG",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"$"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("zh-SG",e)}).call("undefined"==typeof window?this:window)},function(t,e){(function(){"use strict";var e={langLocaleCode:"zh-TW",cultureCode:"zh-TW",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百萬",billion:"十億",trillion:"兆"},ordinal:function(){return"第"},currency:{symbol:"NT$"}};"undefined"!=typeof t&&t.exports&&(t.exports=e),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(e.cultureCode,e)}).call("undefined"==typeof window?this:window)},function(t,e,n){!function(e,o){"use strict";var i;try{i=n(62)}catch(t){}t.exports=o(i)}(this,function(t){"use strict";var e="function"==typeof t,n=!!window.addEventListener,o=window.document,i=window.setTimeout,r=function(t,e,o,i){n?t.addEventListener(e,o,!!i):t.attachEvent("on"+e,o)},a=function(t,e,o,i){n?t.removeEventListener(e,o,!!i):t.detachEvent("on"+e,o)},s=function(t,e,n){var i;o.createEvent?(i=o.createEvent("HTMLEvents"),i.initEvent(e,!0,!1),i=m(i,n),t.dispatchEvent(i)):o.createEventObject&&(i=o.createEventObject(),i=m(i,n),t.fireEvent("on"+e,i))},l=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},u=function(t,e){return(" "+t.className+" ").indexOf(" "+e+" ")!==-1},c=function(t,e){u(t,e)||(t.className=""===t.className?e:t.className+" "+e)},d=function(t,e){t.className=l((" "+t.className+" ").replace(" "+e+" "," "))},A=function(t){return/Array/.test(Object.prototype.toString.call(t))},h=function(t){return/Date/.test(Object.prototype.toString.call(t))&&!isNaN(t.getTime())},f=function(t){var e=t.getDay();return 0===e||6===e},g=function(t){return t%4===0&&t%100!==0||t%400===0},p=function(t,e){return[31,g(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]},M=function(t){h(t)&&t.setHours(0,0,0,0)},y=function(t,e){return t.getTime()===e.getTime()},m=function(t,e,n){var o,i;for(o in e)i=void 0!==t[o],i&&"object"==typeof e[o]&&null!==e[o]&&void 0===e[o].nodeName?h(e[o])?n&&(t[o]=new Date(e[o].getTime())):A(e[o])?n&&(t[o]=e[o].slice(0)):t[o]=m({},e[o],n):!n&&i||(t[o]=e[o]);return t},w=function(t){return t.month<0&&(t.year-=Math.ceil(Math.abs(t.month)/12),t.month+=12),t.month>11&&(t.year+=Math.floor(Math.abs(t.month)/12),t.month-=12),t},v={field:null,bound:void 0,position:"bottom left",reposition:!0,format:"YYYY-MM-DD",defaultDate:null,setDefaultDate:!1,firstDay:0,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,onSelect:null,onOpen:null,onClose:null,onDraw:null},b=function(t,e,n){for(e+=t.firstDay;e>=7;)e-=7;return n?t.i18n.weekdaysShort[e]:t.i18n.weekdays[e]},C=function(t){if(t.isEmpty)return'';var e=[];return t.isDisabled&&e.push("is-disabled"),t.isToday&&e.push("is-today"),t.isSelected&&e.push("is-selected"),t.isInRange&&e.push("is-inrange"),t.isStartRange&&e.push("is-startrange"),t.isEndRange&&e.push("is-endrange"),'"},T=function(t,e,n){var o=new Date(n,0,1),i=Math.ceil(((new Date(n,e,t)-o)/864e5+o.getDay()+1)/7);return''+i+""},E=function(t,e){return""+(e?t.reverse():t).join("")+""},I=function(t){return""+t.join("")+""},x=function(t){var e,n=[];for(t.showWeekNumber&&n.push(""),e=0;e<7;e++)n.push(''+b(t,e,!0)+"");return""+(t.isRTL?n.reverse():n).join("")+""},D=function(t,e,n,o,i){var r,a,s,l,u,c=t._o,d=n===c.minYear,h=n===c.maxYear,f='
',g=!0,p=!0;for(s=[],r=0;r<12;r++)s.push('");for(l='
'+c.i18n.months[o]+'
",A(c.yearRange)?(r=c.yearRange[0],a=c.yearRange[1]+1):(r=n-c.yearRange,a=1+n+c.yearRange),s=[];r=c.minYear&&s.push('");return u='
'+n+c.yearSuffix+'
",f+=c.showMonthAfterYear?u+l:l+u,d&&(0===o||c.minMonth>=o)&&(g=!1),h&&(11===o||c.maxMonth<=o)&&(p=!1),0===e&&(f+='"),e===t._o.numberOfMonths-1&&(f+='"),f+="
"},N=function(t,e){return''+x(t)+I(e)+"
"},L=function(a){var s=this,l=s.config(a);s._onMouseDown=function(t){if(s._v){t=t||window.event;var e=t.target||t.srcElement;if(e)if(u(e,"is-disabled")||(u(e,"pika-button")&&!u(e,"is-empty")?(s.setDate(new Date(e.getAttribute("data-pika-year"),e.getAttribute("data-pika-month"),e.getAttribute("data-pika-day"))),l.bound&&i(function(){s.hide(),l.field&&l.field.blur()},100)):u(e,"pika-prev")?s.prevMonth():u(e,"pika-next")&&s.nextMonth()),u(e,"pika-select"))s._c=!0;else{if(!t.preventDefault)return t.returnValue=!1,!1;t.preventDefault()}}},s._onChange=function(t){t=t||window.event;var e=t.target||t.srcElement;e&&(u(e,"pika-select-month")?s.gotoMonth(e.value):u(e,"pika-select-year")&&s.gotoYear(e.value))},s._onInputChange=function(n){var o;n.firedBy!==s&&(e?(o=t(l.field.value,l.format),o=o&&o.isValid()?o.toDate():null):o=new Date(Date.parse(l.field.value)),h(o)&&s.setDate(o),s._v||s.show())},s._onInputFocus=function(){s.show()},s._onInputClick=function(){s.show()},s._onInputBlur=function(){var t=o.activeElement;do if(u(t,"pika-single"))return;while(t=t.parentNode);s._c||(s._b=i(function(){s.hide()},50)),s._c=!1},s._onClick=function(t){t=t||window.event;var e=t.target||t.srcElement,o=e;if(e){!n&&u(e,"pika-select")&&(e.onchange||(e.setAttribute("onchange","return;"),r(e,"change",s._onChange)));do if(u(o,"pika-single")||o===l.trigger)return;while(o=o.parentNode); s._v&&e!==l.trigger&&o!==l.trigger&&s.hide()}},s.el=o.createElement("div"),s.el.className="pika-single"+(l.isRTL?" is-rtl":"")+(l.theme?" "+l.theme:""),r(s.el,"mousedown",s._onMouseDown,!0),r(s.el,"touchend",s._onMouseDown,!0),r(s.el,"change",s._onChange),l.field&&(l.container?l.container.appendChild(s.el):l.bound?o.body.appendChild(s.el):l.field.parentNode.insertBefore(s.el,l.field.nextSibling),r(l.field,"change",s._onInputChange),l.defaultDate||(e&&l.field.value?l.defaultDate=t(l.field.value,l.format).toDate():l.defaultDate=new Date(Date.parse(l.field.value)),l.setDefaultDate=!0));var c=l.defaultDate;h(c)?l.setDefaultDate?s.setDate(c,!0):s.gotoDate(c):s.gotoDate(new Date),l.bound?(this.hide(),s.el.className+=" is-bound",r(l.trigger,"click",s._onInputClick),r(l.trigger,"focus",s._onInputFocus),r(l.trigger,"blur",s._onInputBlur)):this.show()};return L.prototype={config:function(t){this._o||(this._o=m({},v,!0));var e=m(this._o,t,!0);e.isRTL=!!e.isRTL,e.field=e.field&&e.field.nodeName?e.field:null,e.theme="string"==typeof e.theme&&e.theme?e.theme:null,e.bound=!!(void 0!==e.bound?e.field&&e.bound:e.field),e.trigger=e.trigger&&e.trigger.nodeName?e.trigger:e.field,e.disableWeekends=!!e.disableWeekends,e.disableDayFn="function"==typeof e.disableDayFn?e.disableDayFn:null;var n=parseInt(e.numberOfMonths,10)||1;if(e.numberOfMonths=n>4?4:n,h(e.minDate)||(e.minDate=!1),h(e.maxDate)||(e.maxDate=!1),e.minDate&&e.maxDate&&e.maxDate100&&(e.yearRange=100);return e},toString:function(n){return h(this._d)?e?t(this._d).format(n||this._o.format):this._d.toDateString():""},getMoment:function(){return e?t(this._d):null},setMoment:function(n,o){e&&t.isMoment(n)&&this.setDate(n.toDate(),o)},getDate:function(){return h(this._d)?new Date(this._d.getTime()):null},setDate:function(t,e){if(!t)return this._d=null,this._o.field&&(this._o.field.value="",s(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof t&&(t=new Date(Date.parse(t))),h(t)){var n=this._o.minDate,o=this._o.maxDate;h(n)&&to&&(t=o),this._d=new Date(t.getTime()),M(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),s(this._o.field,"change",{firedBy:this})),e||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(t){var e=!0;if(h(t)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),o=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),i=t.getTime();o.setMonth(o.getMonth()+1),o.setDate(o.getDate()-1),e=i=o&&(this._y=o,!isNaN(a)&&this._m>a&&(this._m=a));for(var l=0;l'+D(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year)+this.render(this.calendars[l].year,this.calendars[l].month)+"";if(this.el.innerHTML=s,e.bound&&"hidden"!==e.field.type&&i(function(){e.trigger.focus()},1),"function"==typeof this._o.onDraw){var u=this;i(function(){u._o.onDraw.call(u)},0)}}},adjustPosition:function(){var t,e,n,i,r,a,s,l,u,c;if(!this._o.container){if(this.el.style.position="absolute",t=this._o.trigger,e=t,n=this.el.offsetWidth,i=this.el.offsetHeight,r=window.innerWidth||o.documentElement.clientWidth,a=window.innerHeight||o.documentElement.clientHeight,s=window.pageYOffset||o.body.scrollTop||o.documentElement.scrollTop,"function"==typeof t.getBoundingClientRect)c=t.getBoundingClientRect(),l=c.left+window.pageXOffset,u=c.bottom+window.pageYOffset;else for(l=e.offsetLeft,u=e.offsetTop+e.offsetHeight;e=e.offsetParent;)l+=e.offsetLeft,u+=e.offsetTop;(this._o.reposition&&l+n>r||this._o.position.indexOf("right")>-1&&l-n+t.offsetWidth>0)&&(l=l-n+t.offsetWidth),(this._o.reposition&&u+i>a+s||this._o.position.indexOf("top")>-1&&u-i-t.offsetHeight>0)&&(u=u-i-t.offsetHeight),this.el.style.left=l+"px",this.el.style.top=u+"px"}},render:function(t,e){var n=this._o,o=new Date,i=p(t,e),r=new Date(t,e,1).getDay(),a=[],s=[];M(o),n.firstDay>0&&(r-=n.firstDay,r<0&&(r+=7));for(var l=i+r,u=l;u>7;)u-=7;l+=7-u;for(var c=0,d=0;c=i+r,v=n.startRange&&y(n.startRange,A),b=n.endRange&&y(n.endRange,A),I=n.startRange&&n.endRange&&n.startRangen.maxDate||n.disableWeekends&&f(A)||n.disableDayFn&&n.disableDayFn(A),D={day:1+(c-r),month:e,year:t,isSelected:g,isToday:m,isDisabled:x,isEmpty:w,isStartRange:v,isEndRange:b,isInRange:I};s.push(C(D)),7===++d&&(n.showWeekNumber&&s.unshift(T(c-r,e,t)),a.push(E(s,n.isRTL)),s=[],d=0)}return N(n,a)},isVisible:function(){return this._v},show:function(){this._v||(d(this.el,"is-hidden"),this._v=!0,this.draw(),this._o.bound&&(r(o,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var t=this._v;t!==!1&&(this._o.bound&&a(o,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",c(this.el,"is-hidden"),this._v=!1,void 0!==t&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){this.hide(),a(this.el,"mousedown",this._onMouseDown,!0),a(this.el,"touchend",this._onMouseDown,!0),a(this.el,"change",this._onChange),this._o.field&&(a(this._o.field,"change",this._onInputChange),this._o.bound&&(a(this._o.trigger,"click",this._onInputClick),a(this._o.trigger,"focus",this._onInputFocus),a(this._o.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},L})},function(t,e,n){var o;!function(i,r){"use strict";var a,s,l,u=i,c=u.document,d=u.navigator,A=u.setTimeout,h=u.clearTimeout,f=u.setInterval,g=u.clearInterval,p=u.getComputedStyle,M=u.encodeURIComponent,y=u.ActiveXObject,m=u.Error,w=u.Number.parseInt||u.parseInt,v=u.Number.parseFloat||u.parseFloat,b=u.Number.isNaN||u.isNaN,C=u.Date.now,T=u.Object.keys,E=u.Object.prototype.hasOwnProperty,I=u.Array.prototype.slice,x=function(){var t=function(t){return t};if("function"==typeof u.wrap&&"function"==typeof u.unwrap)try{var e=c.createElement("div"),n=u.unwrap(e);1===e.nodeType&&n&&1===n.nodeType&&(t=u.unwrap)}catch(t){}return t}(),D=function(t){return I.call(t,0)},N=function(){var t,e,n,o,i,a,s=D(arguments),l=s[0]||{};for(t=1,e=s.length;t=0&&(X=A(function(){"boolean"!=typeof P.deactivated&&(P.deactivated=!0),P.deactivated===!0&&ne.emit({type:"error",name:"flash-deactivated"})},t)),P.overdue=!1,jt())))):(P.ready=!1,void ne.emit({type:"error",name:"browser-unsupported"}))},ht=function(){ne.clearData(),ne.blur(),ne.emit("destroy"),_t(),ne.off()},ft=function(t,e){var n;if("object"==typeof t&&t&&"undefined"==typeof e)n=t,ne.clearData();else{if("string"!=typeof t||!t)return;n={},n[t]=e}for(var o in n)"string"==typeof o&&o&&E.call(n,o)&&"string"==typeof n[o]&&n[o]&&(W[o]=$t(n[o]))},gt=function(t){"undefined"==typeof t?(k(W),J=null):"string"==typeof t&&E.call(W,t)&&delete W[t]},pt=function(t){return"undefined"==typeof t?L(W):"string"==typeof t&&E.call(W,t)?W[t]:void 0},Mt=function(t){if(t&&1===t.nodeType){s&&(Vt(s,nt.activeClass),s!==t&&Vt(s,nt.hoverClass)),s=t,Pt(t,nt.hoverClass);var e=t.getAttribute("title")||nt.title;if("string"==typeof e&&e){var n=kt(P.bridge);n&&n.setAttribute("title",e)}var o=nt.forceHandCursor===!0||"pointer"===Gt(t,"cursor");Kt(o),Zt()}},yt=function(){var t=kt(P.bridge);t&&(t.removeAttribute("title"),t.style.left="0px",t.style.top="-9999px",t.style.width="1px",t.style.height="1px"),s&&(Vt(s,nt.hoverClass),Vt(s,nt.activeClass),s=null)},mt=function(){return s||null},wt=function(t){return"string"==typeof t&&t&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(t)},vt=function(t){var e;if("string"==typeof t&&t?(e=t,t={}):"object"==typeof t&&t&&"string"==typeof t.type&&t.type&&(e=t.type),e){e=e.toLowerCase(),!t.target&&(/^(copy|aftercopy|_click)$/.test(e)||"error"===e&&"clipboard-error"===t.name)&&(t.target=l),N(t,{type:e,target:t.target||s||null,relatedTarget:t.relatedTarget||null,currentTarget:P&&P.bridge||null,timeStamp:t.timeStamp||C()||null});var n=K[t.type];return"error"===t.type&&t.name&&n&&(n=n[t.name]),n&&(t.message=n),"ready"===t.type&&N(t,{target:null,version:P.version}),"error"===t.type&&(tt.test(t.name)&&N(t,{target:null,minimumVersion:V}),et.test(t.name)&&N(t,{version:P.version}),"flash-insecure"===t.name&&N(t,{pageProtocol:u.location.protocol,swfProtocol:dt()})),"copy"===t.type&&(t.clipboardData={setData:ne.setData,clearData:ne.clearData}),"aftercopy"===t.type&&(t=Rt(t,J)),t.target&&!t.relatedTarget&&(t.relatedTarget=bt(t.target)),Ct(t)}},bt=function(t){var e=t&&t.getAttribute&&t.getAttribute("data-clipboard-target");return e?c.getElementById(e):null},Ct=function(t){if(t&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(t.type)){var e=t.target,n="_mouseover"===t.type&&t.relatedTarget?t.relatedTarget:r,o="_mouseout"===t.type&&t.relatedTarget?t.relatedTarget:r,i=Wt(e),a=u.screenLeft||u.screenX||0,s=u.screenTop||u.screenY||0,l=c.body.scrollLeft+c.documentElement.scrollLeft,d=c.body.scrollTop+c.documentElement.scrollTop,A=i.left+("number"==typeof t._stageX?t._stageX:0),h=i.top+("number"==typeof t._stageY?t._stageY:0),f=A-l,g=h-d,p=a+f,M=s+g,y="number"==typeof t.movementX?t.movementX:0,m="number"==typeof t.movementY?t.movementY:0;delete t._stageX,delete t._stageY,N(t,{srcElement:e,fromElement:n,toElement:o,screenX:p,screenY:M,pageX:A,pageY:h,clientX:f,clientY:g,x:f,y:g,movementX:y,movementY:m,offsetX:0,offsetY:0,layerX:0,layerY:0})}return t},Tt=function(t){var e=t&&"string"==typeof t.type&&t.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(e)},Et=function(t,e,n,o){o?A(function(){t.apply(e,n)},0):t.apply(e,n)},It=function(t){if("object"==typeof t&&t&&t.type){var e=Tt(t),n=G["*"]||[],o=G[t.type]||[],i=n.concat(o);if(i&&i.length){var r,a,s,l,c,d=this;for(r=0,a=i.length;r0){var e=L(t);N(e,{type:"error",name:"clipboard-error"}),delete e.success,A(function(){ne.emit(e)},0)}},Lt=function(t){if(t&&"string"==typeof t.type&&t){var e,n=t.target||null,o=n&&n.ownerDocument||c,i={view:o.defaultView||u,canBubble:!0,cancelable:!0,detail:"click"===t.type?1:0,button:"number"==typeof t.which?t.which-1:"number"==typeof t.button?t.button:o.createEvent?0:1},r=N(i,t);n&&o.createEvent&&n.dispatchEvent&&(r=[r.type,r.canBubble,r.cancelable,r.view,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget],e=o.createEvent("MouseEvents"),e.initMouseEvent&&(e.initMouseEvent.apply(e,r),e._source="js",n.dispatchEvent(e)))}},St=function(){var t=nt.flashLoadTimeout;if("number"==typeof t&&t>=0){var e=Math.min(1e3,t/10),n=nt.swfObjectId+"_fallbackContent";Z=f(function(){var t=c.getElementById(n);Jt(t)&&(Xt(),P.deactivated=null,ne.emit({type:"error",name:"swf-not-found"}))},e)}},Bt=function(){var t=c.createElement("div");return t.id=nt.containerId,t.className=nt.containerClass,t.style.position="absolute",t.style.left="0px",t.style.top="-9999px",t.style.width="1px",t.style.height="1px",t.style.zIndex=""+qt(nt.zIndex),t},kt=function(t){for(var e=t&&t.parentNode;e&&"OBJECT"===e.nodeName&&e.parentNode;)e=e.parentNode;return e||null},Qt=function(t){return"string"==typeof t&&t?t.replace(/["&'<>]/g,function(t){switch(t){case'"':return""";case"&":return"&";case"'":return"'";case"<":return"<";case">":return">";default:return t}}):t},jt=function(){var t,e=P.bridge,n=kt(e);if(!e){var o=zt(u.location.host,nt),i="never"===o?"none":"all",r=Ot(N({jsVersion:ne.version},nt)),a=nt.swfPath+Yt(nt.swfPath,nt);F&&(a=Qt(a)),n=Bt();var s=c.createElement("div");n.appendChild(s),c.body.appendChild(n);var l=c.createElement("div"),d="activex"===P.pluginType;l.innerHTML='"+(d?'':"")+'
 
',e=l.firstChild,l=null,x(e).ZeroClipboard=ne,n.replaceChild(e,s),St()}return e||(e=c[nt.swfObjectId],e&&(t=e.length)&&(e=e[t-1]),!e&&n&&(e=n.firstChild)),P.bridge=e||null,e},_t=function(){var t=P.bridge;if(t){var e=kt(t);e&&("activex"===P.pluginType&&"readyState"in t?(t.style.display="none",function n(){if(4===t.readyState){for(var o in t)"function"==typeof t[o]&&(t[o]=null);t.parentNode&&t.parentNode.removeChild(t),e.parentNode&&e.parentNode.removeChild(e)}else A(n,10)}()):(t.parentNode&&t.parentNode.removeChild(t),e.parentNode&&e.parentNode.removeChild(e))),Xt(),P.ready=null,P.bridge=null,P.deactivated=null,P.insecure=null,a=r}},Ut=function(t){var e={},n={};if("object"==typeof t&&t){for(var o in t)if(o&&E.call(t,o)&&"string"==typeof t[o]&&t[o])switch(o.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":e.text=t[o],n.text=o;break;case"text/html":case"html":case"air:html":case"flash:html":e.html=t[o],n.html=o;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":e.rtf=t[o],n.rtf=o}return{data:e,formatMap:n}}},Rt=function(t,e){if("object"!=typeof t||!t||"object"!=typeof e||!e)return t;var n={};for(var o in t)if(E.call(t,o))if("errors"===o){n[o]=t[o]?t[o].slice():[];for(var i=0,r=n[o].length;i0){if(1===r&&"*"===i[0])return"always";if(i.indexOf(e)!==-1)return 1===r&&e===o?"sameDomain":"always"}return"never"}}(),Ft=function(){try{return c.activeElement}catch(t){return null}},Pt=function(t,e){var n,o,i,r=[];if("string"==typeof e&&e&&(r=e.split(/\s+/)),t&&1===t.nodeType&&r.length>0){for(i=(" "+(t.className||"")+" ").replace(/[\t\r\n\f]/g," "),n=0,o=r.length;n0&&t.className){for(i=(" "+t.className+" ").replace(/[\t\r\n\f]/g," "),n=0,o=r.length;n0,o=v(e.width)>0,i=v(e.top)>=0,r=v(e.left)>=0,a=n&&o&&i&&r,s=a?null:Wt(t),l="none"!==e.display&&"collapse"!==e.visibility&&(a||!!s&&(n||s.height>0)&&(o||s.width>0)&&(i||s.top>=0)&&(r||s.left>=0));return l},Xt=function(){h(X),X=0,g(Z),Z=0},Zt=function(){var t;if(s&&(t=kt(P.bridge))){var e=Wt(s);N(t.style,{width:e.width+"px",height:e.height+"px",top:e.top+"px",left:e.left+"px",zIndex:""+qt(nt.zIndex)})}},Kt=function(t){P.ready===!0&&(P.bridge&&"function"==typeof P.bridge.setHandCursor?P.bridge.setHandCursor(t):P.ready=!1)},qt=function(t){if(/^(?:auto|inherit)$/.test(t))return t;var e;return"number"!=typeof t||b(t)?"string"==typeof t&&(e=qt(w(t,10))):e=t,"number"==typeof e?e:"auto"},$t=function(t){var e=/(\r\n|\r|\n)/g;return"string"==typeof t&&nt.fixLineEndings===!0&&(H()?/((^|[^\r])\n|\r([^\n]|$))/.test(t)&&(t=t.replace(e,"\r\n")):/\r/.test(t)&&(t=t.replace(e,"\n"))),t},te=function(t){var e,n,o,r=P.sandboxed,a=null;if(t=t===!0,z===!1)a=!1;else{try{n=i.frameElement||null}catch(t){o={name:t.name,message:t.message}}if(n&&1===n.nodeType&&"IFRAME"===n.nodeName)try{a=n.hasAttribute("sandbox")}catch(t){a=null}else{try{e=document.domain||null}catch(t){e=null}(null===e||o&&"SecurityError"===o.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(o.message.toLowerCase()))&&(a=!0)}}return P.sandboxed=a,r===a||t||ee(y),a},ee=function(t){function e(t){var e=t.match(/[\d]+/g);return e.length=3,e.join(".")}function n(t){return!!t&&(t=t.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(t)||"chrome.plugin"===t.slice(-13))}function o(t){t&&(s=!0,t.version&&(c=e(t.version)),!c&&t.description&&(c=e(t.description)),t.filename&&(u=n(t.filename)))}var i,r,a,s=!1,l=!1,u=!1,c="";if(d.plugins&&d.plugins.length)i=d.plugins["Shockwave Flash"],o(i),d.plugins["Shockwave Flash 2.0"]&&(s=!0,c="2.0.0.11");else if(d.mimeTypes&&d.mimeTypes.length)a=d.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,o(i);else if("undefined"!=typeof t){l=!0;try{r=new t("ShockwaveFlash.ShockwaveFlash.7"),s=!0,c=e(r.GetVariable("$version"))}catch(n){try{r=new t("ShockwaveFlash.ShockwaveFlash.6"),s=!0,c="6.0.21"}catch(n){try{r=new t("ShockwaveFlash.ShockwaveFlash"),s=!0,c=e(r.GetVariable("$version"))}catch(t){l=!1}}}}P.disabled=s!==!0,P.outdated=c&&v(c)0,i=!t.target||o&&n.indexOf(t.target)!==-1,r=t.relatedTarget&&o&&n.indexOf(t.relatedTarget)!==-1,a=t.client&&t.client===this;return!(!e||!(i||r||a))},ye=function(t){var e=ie[this.id];if("object"==typeof t&&t&&t.type&&e){var n=Tt(t),o=e&&e.handlers["*"]||[],i=e&&e.handlers[t.type]||[],r=o.concat(i);if(r&&r.length){var a,s,l,c,d,A=this;for(a=0,s=r.length;a'),e=$(''),n=$(''),o=$('
  • \n \n 保存\n \n
  • ');n.append(o);var i=new d.default,r=this;o.click(function(){var t=(0,h.tableToXml)(r.context);window._reportFile?$.ajax({url:window._server+"/designer/saveReportFile",data:{content:t,file:window._reportFile},type:"POST",success:function(){(0,A.alert)("保存成功!"),(0,h.resetDirty)()},error:function(){(0,A.alert)("文件保存错误!")}}):i.show(t,r.context)});var a=$('
  • \n \n 另存为\n \n
  • ');return n.append(a),a.click(function(){var t=(0,h.tableToXml)(r.context);i.show(t,r.context)}),t.append(e),t.append(n),t}},{key:"getTitle",value:function(){return"保存"}},{key:"getIcon",value:function(){return''}}]),e}(u.default);e.default=f},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n\n '+this.getIcon()+"\n "),e=this;return t.click(function(){e.execute()}),t}},{key:"checkSelection",value:function(){var t=this.context.hot.getSelected();return!(!t||0===t.length)||((0,r.alert)("请先选择单元格!"),!1)}}]),t}();e.default=a},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n