@mescius/spread-common
Version:
SpreadJS common module
12 lines • 194 kB
JavaScript
/*!
*
* SpreadJS Library 18.2.1
*
* Copyright(c) MESCIUS inc. All rights reserved.
*
* Licensed under the SpreadJS Commercial License.
* us.sales@mescius.com
* https://developer.mescius.com/spreadjs
*
*/
var GC;(()=>{var t,r={"./node_modules_local/@spreadjs/js-sheets-common/dist/gc.spread.common.js":t=>{var r;!function(){"use strict";var t,n={"./src/common/common.entry.ts":function(t,r,n){var e,i,o,u,a,s,f,c,y,m,M=this&&this.JKr||(Object.create?function(t,r,n,e){void 0===e&&(e=n);var i=Object.getOwnPropertyDescriptor(r,n);i&&!("get"in i?!r.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,e,i)}:function(t,r,n,e){void 0===e&&(e=n),t[e]=r[n]}),h=this&&this.XKr||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||M(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),r.B3=r.rbush=r.CultureManager=r.CultureInfo=r.zf=r.$T=r.st=r.ct=r.Uf=r.lt=r.ft=void 0,e=n("./src/common/util/colorhelper.ts"),Object.defineProperty(r,"ft",{enumerable:!0,get:function(){return e.ft}}),i=n("./src/common/util/types.ts"),Object.defineProperty(r,"lt",{enumerable:!0,get:function(){return i.lt}}),o=n("./src/common/util/arrayhelper.ts"),Object.defineProperty(r,"Uf",{enumerable:!0,get:function(){return o.Uf}}),u=n("./src/common/util/datetimehelper.ts"),Object.defineProperty(r,"ct",{enumerable:!0,get:function(){return u.ct}}),Object.defineProperty(r,"B3",{enumerable:!0,get:function(){return u.getSR}}),a=n("./src/common/util/numberhelper.ts"),Object.defineProperty(r,"st",{enumerable:!0,get:function(){return a.st}}),s=n("./src/common/util/regexhelper.ts"),Object.defineProperty(r,"$T",{enumerable:!0,get:function(){return s.$T}}),f=n("./src/common/util/stringhelper.ts"),Object.defineProperty(r,"zf",{enumerable:!0,get:function(){return f.zf}}),c=n("./src/common/util/rbush.ts"),Object.defineProperty(r,"rbush",{enumerable:!0,get:function(){return c.rbush}}),y=n("./src/common/util/common.ts"),Object.defineProperty(r,"HandleExcelSpecialDate",{set:function(t){y.HandleExcelSpecialDate=t},get:function(){return y.HandleExcelSpecialDate}}),h(n("./src/common/util/common.ts"),r),m=n("./src/common/culture/cultureInfo.ts"),Object.defineProperty(r,"CultureInfo",{enumerable:!0,get:function(){return m.CultureInfo}}),Object.defineProperty(r,"CultureManager",{enumerable:!0,get:function(){return m.CultureManager}}),h(n("./src/common/util/functionhelper.ts"),r)},"./src/common/culture/cultureInfo.ts":function(t,r,n){var e,i,o,u,a,s,f,c,y,m,M,h,d,l,v,g,p,b,F,_,w,D,H,N,$,k,S,x=this&&this.qKr||(P=function(t,r){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},P(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}P(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}),P;function C(t){return t.split("\xa0").join(" ").toUpperCase()}function A(t){var r,n,e=[];for(r=0,n=t.length;r<n;r++)e[r]=C(t[r]);return e}function T(t,r,n){var e=C(t),i=r.indexOf(e);return-1===i&&(i=n.indexOf(e)),i}function O(t){if(t){var r=t.charCodeAt(0);if(r>=11904&&r<12032||r>=8208&&r<8252||r>=12288&&r<40960||r>=43360&&r<43392||r>=44032&&r<55215||r>=63744&&r<64256||r>=65280&&r<65535)return!0}return!1}function j(t,r,n){if(" "===t||n&&"\u3000"===t)return 0;var e=n&&n(t);return r.lineBreakingForbidStart&&-1!==r.lineBreakingForbidStart.indexOf(t)?!n||e?7:6:r.lineBreakingForbidEnd&&-1!==r.lineBreakingForbidEnd.indexOf(t)?!n||e?5:4:e?2:r.lineBreakingChar&&-1!==r.lineBreakingChar.indexOf(t)?3:1}function E(t,r,n){var e,i,o,u,a,f;if(!t)return[];for(e=[t[0]],i=0,o=j(t[0],r,n),u=1;u<t.length;u++)a=j(t[u],r,n),g[f=o+""+a]&&e[++i]===s&&(e[i]=""),e[i]+=t[u],o=a;return e}function R(t,r,n){var e,i,o,u=this;for(i=0,o=r.length;i<o;i++)e=r[i],u[t][e]=n[i]}function I(t,r){var n;"object"==typeof document&&("function"!=typeof CustomEvent?(n=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):n=new CustomEvent("cultureChanged",{}),n.cultureInfo=t,a.gcCultureInfo=t,a.gcCultureObj=r,document.dispatchEvent(n))}Object.defineProperty(r,"__esModule",{value:!0}),r.CultureManager=r.XPt=r.CultureInfo=r.TimelineDateOrder=void 0,e=n("./src/common/util/types.ts"),i=n("./src/common/util/common.ts"),o=n("./src/common/util/arrayhelper.ts"),u=n("./src/common/util/regexhelper.ts"),a="undefined"!=typeof window?window:n.g,s=void 0,f=null,c=e.lt.y0,y=e.lt.Dh,m=(new Date).getFullYear(),d=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],l=(M=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"]).concat(h=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"]),c(M,(function(t,r){c(h,(function(t,n){t<h.length-4&&l.push(r+" "+n)}))})),l=l.concat(d),c(d,(function(t,r){c(h,(function(t,n){t<h.length-4&&l.push(r+" "+n)}))})),function(t){t[t.year=1]="year",t[t.quarterOrMonth=2]="quarterOrMonth",t[t.date=3]="date"}(v=r.TimelineDateOrder||(r.TimelineDateOrder={})),g={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1},p=function(){function t(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"\xa4",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"\u2030",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=s,this.predefinedFormats={},this.TimelineDateOrder=[v.quarterOrMonth,v.date,v.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=s}return t.prototype.mTe=function(){return[" "]},t.prototype.FAe=function(t){var r=this,n=r.mTe(),e={lineBreakingChar:n};return r.TextFormat&&r.TextFormat.lineBreakingStrategy?r.TextFormat.lineBreakingStrategy(t,e):E(t,e)},t.prototype.hse=function(t){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var r={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(t,r)}return E(t,this.TextFormat||{lineBreakingChar:[" ","-"]})},t.prototype.qPt=function(){var t,r,n,e;return this.$Pt||(n=(n=[r=(t=this.DateTimeFormat).shortDatePattern.replace(/m/g,"M"),r+" h:mm",r+" h:mm:ss",r+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"]).concat(l),1041===this.id&&(e=t.eraFormatter,n=(n=n.concat(this.QPt)).concat(e)),n=n.concat(t.preselectedFormatters),this.$Pt=n),this.$Pt},t.prototype.tGt=function(t){var r=this;return r.nGt||(r.nGt=A(r.DateTimeFormat.monthNames),r.eGt=A(r.DateTimeFormat.monthGenitiveNames)),T(t,r.nGt,r.eGt)},t.prototype.iGt=function(t){var r=this;return r.rGt||(r.rGt=A(r.DateTimeFormat.abbreviatedMonthNames),r.oGt=A(r.DateTimeFormat.abbreviatedMonthGenitiveNames)),T(t,r.rGt,r.oGt)},t.prototype.aGt=function(t){var r=this;return r.uGt||(r.uGt=A(r.DateTimeFormat.dayNames)),r.uGt.indexOf(C(t))},t.prototype.sGt=function(t){var r=this;return r.cGt||(r.cGt=A(r.DateTimeFormat.abbreviatedDayNames)),r.cGt.indexOf(C(t))},t}(),r.CultureInfo=p,b=function(){function t(){}return t.fGt=function(r){return r>=t.lGt()&&r<=t.hGt()},t.dGt=function(){var t,r,n=p.eras;if(n!==s){for(t=[],r=0;r<n.length;r++)t[r]=new Date(n[r].startDate.replace(/-/g,"/"));return t}return this.vGt},t.mGt=function(r){var n,e,i,o,u;switch(r){case"g":n="symbol",e=t.gGt;break;case"gg":n="abbreviation",e=t.pGt;break;case"ggg":n="name",e=t.DEt;break;default:return[]}if(o=[],(i=p.eras)!==s){for(u=0;u<i.length;u++)o[u]=i[u][n];return o}return e},t.hGt=function(){var t,r=p.eras;return r!==s&&r.length>0?((t=new Date(r[r.length-1].startDate.replace(/-/g,"/"))).setFullYear(t.getFullYear()+99),t):this.bGt},t.lGt=function(){var t=p.eras;return t!==s&&t.length>0?new Date(t[0].startDate.replace(/-/g,"/")):this.yGt},t.wGt=function(){var t=p.eras;return t!==s?t.length:this.MGt},t.CGt=function(){var t,r,n,e,i=p.eras;if(i!==s){for(t=[],r=1;r<i.length;r++)n=new Date(i[r-1].startDate.replace(/-/g,"/")),e=new Date(i[r].startDate.replace(/-/g,"/")),t[r-1]=e.getFullYear()-n.getFullYear()+1;return t[r-1]=99,t}return this.SGt},t.TGt=function(r){var n,e,i={AGt:-1,IGt:-1};if(!t.fGt(r)){if(!(r>t.hGt()))return i;r=t.hGt()}for(n=0;n<t.wGt();n++)if(r<(e=n+1!==t.wGt()?t.dGt()[n+1]:t.xGt(t.hGt(),1))){i.AGt=n,i.IGt=r.getFullYear()-t.dGt()[n].getFullYear()+1;break}return i},t.xGt=function(t,r){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds());return n.setMilliseconds(n.getMilliseconds()+r),new Date(n.valueOf())},t.NGt=function(r,n){var e;return t.dGt()[r].getFullYear()+n-1},t.kGt=function(r,n){var e,i;for(n=n.toUpperCase(),e=t.mGt(r),i=0;i<e.length;i++)if(e[i]===n)return i;return-1},t.DGt=function(r,n,e){var i,o,u,a=t,s=a.TGt(n),f=s.AGt;if(f>=0&&(i=a.mGt(r)).length>0)return i[f];if((o=s.IGt)>=0){if("1"===(u=o.toString())&&e)return u="\u5143";if("ee"===r)return 1===u.length&&(u="0"+u),u;if("e"===r)return u}return""},t.vGt=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],t.MGt=5,t.SGt=[45,15,64,31,99],t.bGt=new Date(2117,11,31,23,59,59),t.yGt=new Date(1868,8,8),t._Gt=["1,m","2,t","3,s","4,h","5,r"],t.EGt=[0,1,2,3,0,1,2,3],t.DEt=["\u660e\u6cbb","\u5927\u6b63","\u662d\u548c","\u5e73\u6210","\u4ee4\u548c"],t.gGt=["M","T","S","H","R"],t.pGt=["\u660e","\u5927","\u662d","\u5e73","\u4ee4"],t.jGt=99,t.eraExcelFormatter="[$-ja-JP-x-gannen]",t.eraInternalFormatter="[$-411]",t}(),r.XPt=b,F=function(t){function r(){var r,n=t.call(this)||this;return R.call(n,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]),r=["MMM yyyy","MMMM yyyy"],R.call(n,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,r]),n.DateTimeFormat.defaultDatePattern=n.DateTimeFormat.shortDatePattern+" H:mm:ss",n.name=function(){return"en-US"},n.displayName="English (United States)",n.id=1033,n.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},n}return x(r,t),r}(p),_=function(t){function r(){var r,n,e,i=t.call(this)||this,o={1:{letters:["\u5146","\u5343","\u767e","\u5341","\u4ebf","\u5343","\u767e","\u5341","\u4e07","\u5343","\u767e","\u5341",""],numbers:["\u3007","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d"]},2:{letters:["\u5146","\u9621","\u767e","\u62fe","\u5104","\u9621","\u767e","\u62fe","\u842c","\u9621","\u767e","\u62fe",""],numbers:["\u3007","\u58f1","\u5f10","\u53c2","\u56db","\u4f0d","\u516d","\u4e03","\u516b","\u4e5d"]},3:{letters:f,numbers:["\uff10","\uff11","\uff12","\uff13","\uff14","\uff15","\uff16","\uff17","\uff18","\uff19"]}},u={Hundreds:"\u767e",Thousands:"\u5343",Millions:"\u767e\u4e07",Billions:"\u5341\u5104",Trillions:"\u5146"};return R.call(i,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"\xa5",!1,"NaN (\u975e\u6570\u5024)","-\u221e",1,1,"+\u221e",o,u]),r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708",""],e=["yyyy\u5e74M\u6708d\u65e5","yyyy\u5e74M\u6708dd\u65e5","yyyy\u5e74MM\u6708d\u65e5","yyyy\u5e74MM\u6708dd\u65e5"],R.call(i,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],r,r,"\u5348\u524d",!1,["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"],"yyyy'\u5e74'M'\u6708'd'\u65e5' H:mm:ss","yyyy'\u5e74'M'\u6708'd'\u65e5'","H:mm:ss","M'\u6708'd'\u65e5'",n,n,"\u897f\u66a6 (\u65e5\u672c\u8a9e)","\u5348\u5f8c","yyyy/MM/dd",["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],"H:mm","yyyy'\u5e74'M'\u6708'","yyyy\u5e74/mmmm/d\u65e5",e,"ggge/mmmm/d\u65e5"]),i.DateTimeFormat.eras=!0,i.DateTimeFormat.defaultDatePattern=i.DateTimeFormat.shortDatePattern+" "+i.DateTimeFormat.longTimePattern,i.QPt=['gggee"\u5e74"MM"\u6708"dd"\u65e5','gggee"\u5e74"M"\u6708"d"\u65e5','ge"\u5e74"M"\u6708"d"\u65e5','ggge"\u5e74"M"\u6708"d"\u65e5','ggee"\u5e74"M"\u6708"d"\u65e5','gge"\u5e74"M"\u6708"d"\u65e5'],i.name=function(){return"ja-JP"},i.id=1041,i.displayName="Japanese (Japan)",i.isJCKCulture=!0,i.predefinedFormats={Accounting:'_-[$\xa5-411]* #,##0.00_-;-[$\xa5-411]* #,##0.00_-;_-[$\xa5-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$\xa5-411]#,##0_);[Red]([$\xa5-411]#,##0)","[$\xa5-411]#,##0_);([$\xa5-411]#,##0)","[$\xa5-411]#,##0;[Red][$\xa5-411]#,##0","[$\xa5-411]#,##0;-[$\xa5-411]#,##0","[$\xa5-411]#,##0;[Red]-[$\xa5-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"\u5e74"m"\u6708"d"\u65e5";@','yyyy"\u5e74"m"\u6708";@','m"\u6708"d"\u65e5";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"\u6642"mm"\u5206";@','h"\u6642"mm"\u5206"ss"\u79d2";@'],Special:{"\u90f5\u4fbf\u756a\u53f7":"[<=999]000;[<=9999]000-00;000-0000","\u96fb\u8a71\u756a\u53f7\uff08\u6771\u4eac)":"[<=99999999]####-####;(00) ####-####","\u6b63\u8ca0\u8a18\u53f7 \uff08+ = \u25b3; - = \u25b2)":'"\u25b3" #,##0;"\u25b2" #,##0',"\u6f22\u6570\u5b57\uff08\u5341\u4e8c\u4e07\u4e09\u5343\u56db\u767e\uff09":"[DBNum1][$-411]General","\u5927\u5b57 (\u58f1\u62fe\u5f10\u842c\u53c2\u9621\u56db\u767e)":"[DBNum2][$-411]General","\u5168\u89d2 (\uff11\uff12\uff13\uff14\uff15)":"[DBNum3][$-411]0","\u5168\u89d2 \u6841\u533a\u5207\u308a\uff08\uff11\uff12,\uff13\uff14\uff15\uff09":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$\xa5-411]#,##0.00",Accounting:'_-[$\xa5-411]* #,##0.00_-;-[$\xa5-411]* #,##0.00_-;_-[$\xa5-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},i.TimelineDateOrder=[v.year,v.quarterOrMonth,v.date],i.TimelineDateSuffix={year:"\u5e74",quarter:"",month:"\u6708",date:"\u65e5"},i.TextFormat={lineBreakingChar:[" ","\u3000","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","\uff01","\uff05","\uff09","\uff0c","\uff0e","\uff1a","\uff1b","\uff1f","\uff3d","\uff5d","\u300d","\u3002","\u3001","\u30fc"],lineBreakingForbidEnd:["(","[","{","\uff08","\uff3b","\uff5b","\u300c","$","\uff04","\\","\uffe5"],lineBreakingStrategy:function(t,r){return E(t,r,O)}},i.equalCharacters=["\u2015\u309d\u309e\u30a0\u30fd\u30fe\u30fc","\u3190\u3191\u31e4\u31e5","\u2038\u204a",".\u2024","&\u204b","%\u204f","$\u2052","#\u2057",'"\u204d',"\u2039\u2053"],i}return x(r,t),r}(p),w=function(t){function r(){var r,n,e,i=t.call(this)||this,o={1:{letters:["\u5146","\u5343","\u767e","\u5341","\u4ebf","\u5343","\u767e","\u5341","\u4e07","\u5343","\u767e","\u5341",""],numbers:["\u25cb","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d"]},2:{letters:["\u5146","\u4edf","\u4f70","\u62fe","\u4ebf","\u4edf","\u4f70","\u62fe","\u4e07","\u4edf","\u4f70","\u62fe",""],numbers:["\u96f6","\u58f9","\u8d30","\u53c1","\u8086","\u4f0d","\u9646","\u67d2","\u634c","\u7396"]},3:{letters:f,numbers:["\uff10","\uff11","\uff12","\uff13","\uff14","\uff15","\uff16","\uff17","\uff18","\uff19"]}},a={Hundreds:"\u767e",Thousands:"\u5343",Millions:"\u767e\u4e07",Billions:"\u5341\u4ebf",Trillions:"\u5146"};return R.call(i,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"\xa5",!1,"\u975e\u6570\u5b57","\u8d1f\u65e0\u7a77\u5927",1,1,"\u6b63\u65e0\u7a77\u5927",o,a]),r=["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708",""],n=["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708",""],e=["yyyy\u5e74M\u6708","M\u6708d\u65e5","yyyy\u5e74M\u6708d\u65e5","h\u65f6mm\u5206","h\u65f6mm\u5206ss\u79d2"],R.call(i,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],r,r,"\u4e0a\u5348",!1,["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],1,"yyyy'\u5e74'M'\u6708'd'\u65e5' H:mm:ss","yyyy'\u5e74'M'\u6708'd'\u65e5'","H:mm:ss","M'\u6708'd'\u65e5'",n,n,"\u516c\u5386","\u4e0b\u5348","yyyy/M/d",["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],"H:mm","yyyy'\u5e74'M'\u6708'","yyyy\u5e74/mmmm/d\u65e5",e]),i.DateTimeFormat.defaultDatePattern=i.DateTimeFormat.shortDatePattern+" "+i.DateTimeFormat.longTimePattern,i.name=function(){return"zh-cn"},i.id=2052,i.displayName="Chinese (China)",i.isJCKCulture=!0,i.localeCompare=function(t,r){var n=t.localeCompare(r,"zh");return n<0&&t>="\u4e00"&&r<"\u4e00"||n>0&&r>="\u4e00"&&t<"\u4e00"?-n:n},i.predefinedFormats={Accounting:'_ [$\xa5-804]* #,##0.00_ ;_ [$\xa5-804]* -#,##0.00_ ;_ [$\xa5-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$\xa5-804]#,##0","[$\xa5-804]#,##0;[Red][$\xa5-804]#,##0","[$\xa5-804]#,##0;[$\xa5-804]-#,##0","[$\xa5-804]#,##0;[Red][$\xa5-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"\u5e74"m"\u6708"d"\u65e5";@','[DBNum1][$-804]yyyy"\u5e74"m"\u6708";@','[DBNum1][$-804]m"\u6708"d"\u65e5";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"\u5e74"m"\u6708"d"\u65e5";@','yyyy"\u5e74"m"\u6708";@','m"\u6708"d"\u65e5";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"\u65f6"mm"\u5206";@','h"\u65f6"mm"\u5206"ss"\u79d2";@','[$-804]\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206";@','[$-804]\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2";@','[DBNum1][$-804]h"\u65f6"mm"\u5206";@','[DBNum1][$-804]\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206";@'],Special:{"\u90ae\u653f\u7f16\u7801":"000000","\u4e2d\u6587\u5c0f\u5199\u5b57\u6bcd":"[DBNum1][$-804]General","\u4e2d\u6587\u5927\u5199\u5b57\u6bcd":"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$\xa5-804]#,##0.00",Accounting:'_ [$\xa5-804]* #,##0.00_ ;_ [$\xa5-804]* -#,##0.00_ ;_ [$\xa5-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},i.TimelineDateOrder=[v.year,v.quarterOrMonth,v.date],i.TimelineDateSuffix={year:"\u5e74",quarter:"",month:"",date:"\u65e5"},i.TextFormat={lineBreakingChar:[" ","\u3000","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","\uff01","\uff05","\uff09","\uff0c","\uff0e","\uff1a","\uff1b","\uff1f","\uff3d","\uff5d"],lineBreakingForbidEnd:["(","[","{","\uff08","\uff3b","\uff5b"],lineBreakingStrategy:function(t,r){return E(t,r,O)}},i.normalizeDateTimeString=function(t){var r,n;return u.$T.qT("^([0-9]{1,2}|[0-9]{4})\u5e74[0-9]{1,2}\u6708$").test(t)?(r=t.split("\u5e74"))[1].replace("\u6708","")+"/1/"+r[0]:u.$T.qT("^[0-9]{1,2}\u6708[0-9]{1,2}\u65e5$").test(t)?(r=t.split("\u6708"))[0]+"/"+r[1].replace("\u65e5","")+"/"+m:u.$T.qT("^(\u4e0a\u5348|\u4e0b\u5348)?[0-9]{1,2}\u65f6[0-9]{1,2}\u5206([0-9]{1,2}\u79d2)?$").test(t)?((n=(n=t.replace("\u65f6",":").replace("\u5206",":").replace("\u79d2","")).endsWith(":")?n+"00":n).startsWith("\u4e0a\u5348")&&(n=n.replace("\u4e0a\u5348","")+" AM"),n.startsWith("\u4e0b\u5348")&&(n=n.replace("\u4e0b\u5348","")+" PM"),n):t.includes("\u4e0a\u5348")||t.includes("\u4e0b\u5348")?t.replace("\u4e0a\u5348","am").replace("\u4e0b\u5348","pm"):f},i}return x(r,t),r.prototype.mTe=function(){return[" ","\u3000"]},r}(p),D=function(t){function r(){var r,n,e=t.call(this)||this,i={1:{letters:["\u5146","\u5343","\u767e","\u5341","\u5104","\u5343","\u767e","\u5341","\u4e07","\u5343","\u767e","\u5341",""],numbers:["\uff10","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\uf9d1","\u4e03","\u516b","\u4e5d"]},2:{letters:["\u5146","\u9621","\u767e","\uf973","\u5104","\u9621","\u767e","\uf973","\u842c","\u9621","\u767e","\uf973",""],numbers:["\uf9b2","\u58f9","\u8cb3","\uf96b","\u56db","\u4f0d","\uf9d1","\u4e03","\u516b","\u4e5d"]},3:{letters:["\u5146","\u5343","\u767e","\u5341","\u5104","\u5343","\u767e","\u5341","\u4e07","\u5343","\u767e","\u5341",""],numbers:["\uff10","\uff11","\uff12","\uff13","\uff14","\uff15","\uff16","\uff17","\uff18","\uff19"]},4:{letters:["\uc870","\ucc9c","\ubc31","\uc2ed","\uc5b5","\ucc9c","\ubc31","\uc2ed","\ub9cc","\ucc9c","\ubc31","\uc2ed",""],numbers:["\u25cb","\uc77c","\uc774","\uc0bc","\uc0ac","\uc624","\uc721","\uce60","\ud314","\uad6c"]}},o={Hundreds:"\ubc31",Thousands:"\ucc9c",Millions:"\ubc31\ub9cc",Billions:"10\uc5b5",Trillions:"\uc870"};return R.call(e,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"\u20a9",!1,i,o]),r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4",""],R.call(e,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],r,r,"\uc624\uc804",!1,["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"],1,"yyyy'\ub144' M'\uc6d4' d'\uc77c' dddd h:mm:ss","yyyy'\ub144' M'\uc6d4' d'\uc77c' dddd","h:mm:ss","M'\uc6d4' d'\uc77c'",n,n,"\uc11c\uae30","\uc624\ud6c4","yyyy-MM-dd",["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],"tt h:mm","yyyy'\ub144' M'\uc6d4'","yyyy\ub144/mmmm/d\uc77c"]),e.DateTimeFormat.defaultDatePattern=e.DateTimeFormat.shortDatePattern+" "+e.DateTimeFormat.longTimePattern,e.name=function(){return"ko-kr"},e.id=1042,e.displayName="Korean (Korea)",e.isJCKCulture=!0,e.predefinedFormats={Accounting:'_-[$\u20a9-412]* #,##0.00_-;-[$\u20a9-412]* #,##0.00_-;_-[$\u20a9-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$\u20a9-412]#,##0","[$\u20a9-412]#,##0;[Red][$\u20a9-412]#,##0","[$\u20a9-412]#,##0;-[$\u20a9-412]#,##0","[$\u20a9-412]#,##0;[Red]-[$\u20a9-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"\ub144" m"\uc6d4" d"\uc77c" dddd',"yyyy-mm-dd;@",'yyyy"\ub144" m"\uc6d4" d"\uc77c";@','yy"\u5e74" m"\u6708" d"\u65e5";@','yyyy"\ub144" m"\uc6d4";@','m"\uc6d4" d"\uc77c";@',"yy-m-d;@","yy-m-d h:mm;@",'m"\u6708"d"\u65e5";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"\uc2dc" mm"\ubd84";@','h"\uc2dc" mm"\ubd84" ss"\ucd08";@','[$-412]AM/PM h"\uc2dc" mm"\ubd84";@','[$-412]AM/PM h"\uc2dc" mm"\ubd84" ss"\ucd08";@'],Special:{"\uc6b0\ud3b8 \ubc88\ud638":"000-000","\uc804\ud654 \ubc88\ud638 (\uad6d\ubc88 4\uc790\ub9ac)":"[<=999999]####-####;(0##) ####-####","\uc804\ud654 \ubc88\ud638 (\uad6d\ubc88 3\uc790\ub9ac)":"[<=9999999]###-####;(0##) ###-####","\uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638":"000000-0000000","\uc22b\uc790(\ud55c\uc790)":"[DBNum1][$-412]General","\uc22b\uc790(\ud55c\uc790-\uac16\uc740\uc790)":"[DBNum2][$-412]General","\uc22b\uc790(\ud55c\uae00)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$\u20a9-412]#,##0.00",Accounting:'_-[$\u20a9-412]* #,##0.00_-;-[$\u20a9-412]* #,##0.00_-;_-[$\u20a9-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"\ub144" m"\uc6d4" d"\uc77c" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},e.TimelineDateOrder=[v.year,v.quarterOrMonth,v.date],e.TimelineDateSuffix={year:"\ub144",quarter:"",month:"\uc6d4",date:"\uc77c"},e}return x(r,t),r}(p),H={invariant:new p,"en-us":new F,"ja-jp":new _,"zh-cn":new w,"ko-kr":new D},N={},$=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],k=["wmk1","wmk2"],S=function(){function t(){this.KPt=1,this.JPt={}}return t.instance=function(){return this.OGt||(this.OGt=new this)},t.prototype.culture=function(r){if(0===arguments.length)return t.RGt;r&&t.RGt!==r&&(t.RGt=r.toLowerCase(),this.KPt++,I(t.RGt,t.OGt.getCultureInfo()))},t.prototype.addCultureInfo=function(t,r,n){var e,o,u,a,s;if(r&&r instanceof p){if(e=r.NumberFormat&&r.NumberFormat.numberDecimalSeparator,o=r.NumberFormat.arrayListSeparator,u=r.NumberFormat.arrayGroupSeparator,e===r.NumberFormat.listSeparator||u===o)throw(a=new i.ResourceManager(i.SR)).getResource().Exp_Separator;H[t.toLowerCase()]=r}n&&"object"==typeof n&&(s=t.toLowerCase(),N[s]=y(!0,{},n),this.KPt++)},t.prototype.getCultureInfoDict=function(){return H},t.prototype.getCultureInfo=function(r){var n,e,i;if(0===arguments.length)return H[t.RGt];for(i in"string"==typeof r&&(r=r.toLowerCase()),e=f,n=H)if(i===r||n[i].id!==s&&n[i].id===r){e=n[i];break}return e},t.prototype.getLanguage=function(t){if("string"==typeof t){var r=t.toLowerCase();return N[r]}return f},t.prototype.getResources=function(t){var r,n=this.culture().toLowerCase();return t!==f&&t!==s||(t=n),"string"==typeof t&&(r=t.toLowerCase(),this.JPt[r])?this.BGt(this.JPt[r]):f},t.prototype.BGt=function(t){var r,n="PivotTables",e="ReportSheet",i="GanttSheet",o="DataChart",u="Sheets",a="CalcEngine",s="Functions",f="TableFunctions",c=y(!0,{},t);return c[n]&&this.LGt(c[n],k),c[e]&&this.LGt(c[e],k),c[i]&&this.LGt(c[i],k),c[o]&&this.LGt(c[o],k),c[u]&&this.LGt(c[u],$),(r=c[a])&&(c[s]=r.wmt,c[f]=r.d2t,delete r.wmt,delete r.d2t),c},t.prototype.LGt=function(t,r){var n,e,i;for(n=0,e=r;n<e.length;n++)delete t[i=e[n]]},t.prototype.FGt=function(t,r,n){var e,i,u=N[t.toLowerCase()];for(e in r)o.Uf.OS($,e)||null!==(i=this.PGt(u,e,n))&&"string"==typeof i&&"string"==typeof r[e]&&(r[e]=i);r.wmt&&u.Functions&&this.GGt(u.Functions,r.wmt),r.d2t&&u.TableFunctions&&y(!0,r.d2t,u.TableFunctions)},t.prototype.PGt=function(t,r,n){var e,i;if(t.hasOwnProperty(r))return t[r];if(n&&(e=t[n])&&"object"==typeof e&&e.hasOwnProperty(r))return e[r];for(i in t)if((e=t[i])&&"object"==typeof e&&e.hasOwnProperty(r))return e[r];return null},t.prototype.GGt=function(t,r){var n,e,i,o,u,a,s,f={};for(n in r)if(t.hasOwnProperty(n))for(a in e=r[n],i=t[n],o=e.parameters,u=i.parameters,e.description=i.description,o)u.hasOwnProperty(a)&&"string"==typeof(s=u[a])&&(o[a].name=s);return f},t.prototype.Fe=function(r){var n=this.getCultureInfo(r);return n||(n=H[t.RGt])||(n=new p),n},t.prototype.xat=function(t,r){var n=this.getCultureInfo(t)||this.getCultureInfo("en-US"),e=n.DateTimeFormat,i=e.filterDialogDateFormatter;return(r.indexOf("g")>=0||r.indexOf("e")>=0)&&(i=e.EraFilterDialogDateFormatter||i),i},t.RGt="en-us",t}(),r.CultureManager=S.instance()},"./src/common/util/arrayhelper.ts":function(t,r){var n,e,i;function o(t,r){var e,i;for(e in r)r.hasOwnProperty(e)&&(i=r[e],Array.isArray(i)?(t[e]=[],o(t[e],r[e])):i!==n&&"object"==typeof i?(t[e]={},o(t[e],r[e])):t[e]=r[e])}Object.defineProperty(r,"__esModule",{value:!0}),r.Uf=void 0,n=null,e=void 0,i=function(){function t(){}return t.Eit=function(t,r,n){t.splice(r,0,n)},t.ZP=function(t,r){t.push(r)},t.OS=function(t,r){return t.indexOf(r)>-1},t.VP=function(t,r){var n=t.indexOf(r);n>-1&&t.splice(n,1)},t.UGt=function(t,r){return t.slice(0,r).concat(t.slice(r+1))},t.hD=function(t,r,n){return t.indexOf(r,n)},t.d5=function(t,r,e){if(!(r<0))for(var i=0;i<e&&r+i<t.length;i++)t[r+i]=n},t.N2t=function(t,r){var i,o;for(r<0&&(r=-1),o=i=r+1;o<t.length;o++)if(t[o]!==e&&t[o]!==n)return o;return-1},t.tR=function(t){return t&&t.length},t.Gf=function(t){var r=[];return o(r,t),r},t}(),r.Uf=i},"./src/common/util/colorhelper.ts":function(t,r,n){var e,i,o,u,a,s,f,c,y,m;function M(t,r,n){return n<0&&(n+=240),n>240&&(n-=240),n<40?t+((r-t)*n+20)/40:n<120?r:n<160?t+((r-t)*(160-n)+20)/40:t}function h(t,r,n){var e,i,o,u,a;return 0===n?e=i=o=s(255*r/240+"",10):(u=void 0,a=void 0,e=d(u=2*r-(a=r<=120?s((r*(240+n)+120)/240+""):r+n-s((r*n+120)/240+"")),a,t+80),i=d(u,a,t),o=d(u,a,t-80)),{a:255,r:e,g:i,b:o}}function d(t,r,n){return o(s((255*M(t,r,n)+120)/240+""),255)}function l(t){var r,n,e,i,o,u,a,s,c,m;return/^#[A-Fa-f0-9]+$/.test(t)?(r=t.replace(/^#/,""),e="",i="",6===(n=r.length)||8===n?(e=r.substr(0,6),8===n&&(i=r.substr(6,2))):3!==n&&4!==n||(e=(o=r.split(3===n?/(.)/:/(..)/)).filter(Boolean).map((function(t){return parseInt(3===n?t+t:t,16)})).map((function(t){return t.toString(16).padStart(2,"0")})).join(""),4===n&&(i=o[3]+o[3])),[u=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),s=parseInt(e.slice(4,6),16),c=i?parseInt(i,16):255]):t.toLowerCase()in f?f[t.toLowerCase()]:null!==(m=y.exec(t))?(c=void 0===m[4]?255:255*+m[4],[m[1],m[2],m[3],c]):null}Object.defineProperty(r,"__esModule",{value:!0}),r.ft=void 0,e=n("./src/common/util/numberhelper.ts"),i=e.st.VGt,o=Math.min,u=Math.max,a=Math.abs,s=parseInt,f={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},c=function(){function t(t){var r,n,e,i,a=this,f=t.r,c=t.g,y=t.b,m=u(u(f,c),y),M=o(o(f,c),y),h=m+M;a.HGt=s((240*h+255)/510+"",10),0===(r=m-M)?(a.zGt=0,a.wv=160):(a.HGt<=120?a.zGt=s((240*r+h/2)/h+"",10):a.zGt=s((240*r+(510-h)/2)/(510-h)+"",10),n=(40*(m-f)+r/2)/r,e=(40*(m-c)+r/2)/r,i=(40*(m-y)+r/2)/r,a.wv=s(f===m?i-e+"":c===m?80+n-i+"":160+e-n+"",10),a.wv<0&&(a.wv+=240),a.wv>240&&(a.wv-=240))}return t.prototype.YGt=function(t){var r=this,n=r.HGt,e=r.ZGt(r.HGt,500,!0);return h(r.wv,n+(e-n)*t,r.zGt)},t.prototype.ZGt=function(t,r,n){return 0===r?t:n?r>0?(t*(1e3-r)+241*r)/1e3:t*(r+1e3)/1e3:((t+=240*r/1e3)<0&&(t=0),t>240&&(t=240),t)},t}(),y=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/,m=function(){function t(){}return t.j=function(t){var r=t.a,n=t.r,e=t.g,o=t.b;return 3===arguments.length&&(r=255,n=arguments[0],e=arguments[1],o=arguments[2]),4===arguments.length&&(r=arguments[0],n=arguments[1],e=arguments[2],o=arguments[3]),255===r?"#"+i(n,!0,2)+i(e,!0,2)+i(o,!0,2):"rgba("+n+","+e+","+o+","+r+")"},t.Tv=function(t,r){return t.stops||t.type?JSON.stringify(t)===JSON.stringify(r):t.a===r.a&&t.r===r.r&&t.g===r.g&&t.b===r.b},t.rp=function(t){return(299*t.r+587*t.g+114*t.b)/1e3},t.Km=function(t,r){var n,e=255-a(t.r-r.r),i=255-a(t.g-r.g),o=255-a(t.b-r.b),u=a(t.a-r.a);return!!((n=((e/=255)+(i/=255)+(o/=255))/3)>=.9&&u<=.05)},t.Uv=function(r){var n=255^r.r,e=255^r.g,i=255^r.b;return t.j(r.a,n,e,i)},t.WGt=function(r){var e,i,o,u;return"object"!=typeof document?l(r):((e=t.xf)||(i=document.createElement("canvas"))&&i.getContext&&(e=t.xf=i.getContext("2d",{willReadFrequently:!0})),e||((o=n("canvas"))&&o.createCanvas&&(i=o.createCanvas(2,2),e=t.xf=i.getContext("2d")),e)?(e.clearRect(1,1,1,1),e.fillStyle=r,e.fillRect(1,1,1,1),(u=e.getImageData(1,1,1,1))?u.data:null):l(r))},t._=function(r){var n,e,i,o,u;return r instanceof t||null!==r&&"object"==typeof r?r:(n=0,e=0,i=0,o=0,r&&(u=t.WGt(r))&&(e=u[0],i=u[1],o=u[2],n=u[3]),{a:n,r:e,g:i,b:o})},t.Cv=function(r,n){var e,i;return 0===n?r:(e=new c(r),i=s((n>0?(240-e.HGt)*n:e.HGt*n)+"",10),t.QGt(e.wv,e.HGt+i,e.zGt))},t.YGt=function(r,n){var e=t._(r),i=new c(e),o=i.YGt(n);return t.j(o)},t.Dz=M,t.QGt=h,t}(),r.ft=m},"./src/common/util/common.ts":function(t,r,n){var e,i,o,u,a;function s(t,r,n,e){var i,o,u,a,s;if(t&&0<=n&&n<r){for(i=[],o=void 0,u=void 0,u=n;u<r;u++)void 0!==t[u]&&i.push(u);for(o=i.length,u=0;u<o;u++)s=t[a=i[o-u-1]],t[a]=null,t[Math.floor(a)+e]=s}}function f(t,r,n,e){var i,o,u,a,s,f;if(t&&0<=n&&n<r){for(i=[],o=void 0,u=n+e,a=void 0,a=n;a<r;a++)void 0!==t[a]&&(n<=a&&a<u?t[a]=null:a>=u&&i.push(a));for(o=i.length,a=0;a<o;a++)f=t[s=i[a]],t[s]=null,t[Math.floor(s)-e]=f}}function c(t,r){return t.hasOwnProperty(r)}function y(t,r){return t instanceof r}Object.defineProperty(r,"__esModule",{value:!0}),r.ut=r.kh=r.X8=r.J8=r.ResourceManager=r.SR=void 0,e=n("./src/common/culture/cultureInfo.ts"),i=n("./src/common/util/util.res.en.ts"),o=n("./src/common/util/types.ts"),r.SR={en:i},u=o.lt.Dh,a=function(){function t(t,r){this.res=t,this.KGt=r,this.JPt=e.CultureManager.JPt,this.cachedResource=this.JGt(t,!0),this.XGt(this.cachedResource,r),this.KPt=0}return t.prototype.getResource=function(){var t=this.JGt(this.res,!this.cachedResource);return t&&(this.cachedResource=t),this.XGt(this.cachedResource,this.KGt),this.cachedResource},t.prototype.XGt=function(t,r){var n,i;r&&(i=(n=e.CultureManager.culture()).toLowerCase(),this.JPt[i]=this.JPt[i]||{},this.JPt[i][r]=t,e.CultureManager.JPt=this.JPt)},t.prototype.JGt=function(t,r){var n,i,o,a=e.CultureManager.culture();if(t&&a){if(n=e.CultureManager.KPt,this.KPt===n&&!r)return;return this.KPt=n,e.CultureManager.getLanguage(a)?(i=u(!0,{},t.en),e.CultureManager.FGt(a,i,this.KGt),i):(o=a.substr(0,2).toLowerCase(),t.hasOwnProperty(o)?t[o]:t.en)}return{}},t}(),r.ResourceManager=a,r.J8=s,r.X8=f,r.kh=c,r.ut=y},"./src/common/util/datetimehelper.ts":function(t,r,n){var e,i,o,u,a,s,f,c,y,m,M,h,d,l,v,g;function p(t,r){if(e.HandleExcelSpecialDate)return e.HandleExcelSpecialDate.apply(null,[t,r]);switch(r){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();default:return}}function b(t,n,e,i){var o,a,s,c,y,m,l,v,g,_,w,D,H,N,$,k,S,x,P,C,A,T,O,j,E=e.DateTimeFormat,R=E.Calendar.convert;if(!n||!n.length)return e&&e.name.length?R?b(t,E.fullDateTimePattern,e):t.toLocaleString():t.toString();function I(){return y||m||(y=l.test(n),m=M),y}function B(t,r){return _?_[r]:p(t,r)}for(o=E.eras,s="",l=/([^d]|^)(d|dd)([^d]|$)/g,v=0,g=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g,!(a="s"===n)&&R&&(_=R.fromGregorian(t)),w=-2,D=-2,H={y4:""},N=0;$=g.lastIndex,k=g.exec(n),S=n.slice($,k?k.index:n.length),H.y4="",v+=F(S,H),s+=H.y4,k;N++)if(v%2!=1)switch(x=B(t,0),P=t.getDay(),C=t.getHours(),A=t.getMinutes(),T=t.getSeconds(),O=t.getMilliseconds(),j=t.getTimezoneOffset(),k[0]){case"dddd":s+=E.dayNames[P];break;case"ddd":s+=E.abbreviatedDayNames[P];break;case"dd":y=M,s+=f(B(t,2),2);break;case"d":y=M,s+=B(t,2);break;case"MMMM":s+=E.monthGenitiveNames&&I()?E.monthGenitiveNames[B(t,1)]:E.monthNames[B(t,1)];break;case"MMM":s+=E.abbreviatedMonthGenitiveNames&&I()?E.abbreviatedMonthGenitiveNames[B(t,1)]:E.abbreviatedMonthNames[B(t,1)];break;case"MM":s+=f(B(t,1)+1,2);break;case"M":s+=B(t,1)+1;break;case"yyyy":case"yyy":s+=w>=0?u.XPt.DGt("ee",t,i):f(_?_[0]:x,4);break;case"yy":s+=w>=0?u.XPt.DGt("ee",t,i):f((_?_[0]:x)%100,2);break;case"y":s+=w>=0?u.XPt.DGt("e",t,i):((_?_[0]:x)%100).toString();break;case"hh":0===(c=C%12)&&(c=12),s+=f(c,2);break;case"h":0===(c=C%12)&&(c=12),s+=c;break;case"HH":s+=f(C,2);break;case"H":s+=C.toString();break;case"mm":s+=f(A,2);break;case"m":s+=A.toString();break;case"ss":s+=f(T,2);break;case"s":s+=T.toString();break;case"tt":s+=C<12?E.amDesignator:E.pmDesignator;break;case"t":s+=(C<12?E.amDesignator:E.pmDesignator).charAt(0);break;case"f":case"0":s+=f(O,3).charAt(0);break;case"ff":case"00":s+=f(O,3).substr(0,2);break;case"fff":case"000":s+=f(O,3);break;case"z":s+=((c=j/60)<=0?"+":"-")+h(d(c));break;case"zz":s+=((c=j/60)<=0?"+":"-")+f(h(d(c)),2);break;case"zzz":s+=((c=j/60)<=0?"+":"-")+f(h(d(c)),2)+":"+f(d(j%60),2);break;case"g":case"gg":case"ggg":if(!o)break;if(w===N-1){w=N;break}s+=u.XPt.DGt(k[0],t,i),w=N;break;case"e":case"ee":if(!o){s+=f(_?_[0]:x,4);break}if(D===N-1){D=N;break}s+=u.XPt.DGt(k[0],t,i),D=N;break;case"/":s+=E.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(k[0]))throw new Error((0,r.getSR)().Exp_InvalidDateFormat);s+=k[0]}else s+=k[0];return s.toString()}function F(t,r){var n,e,i,o=0,u=m;for(n=0,e=t.length;n<e;n++)switch(i=t.charAt(n)){case'"':u?r.y4+="'":o++,u=m;break;case"\\":u&&(r.y4+="\\"),u=!u;break;default:r.y4+=i,u=m}return o}function _(t,r){var n,e=new Date,i=t.DateTimeFormat.eras;return i&&r<100&&(r+=(n=u.XPt.TGt(e).IGt)-n%100)>t.DateTimeFormat.Calendar.TwoDigitYearMax&&(r-=100),r}function w(){return/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g}function D(t,n,e){var i,u,a,s,f,y,m,M,h,d,l;if(t.qGt){if(t.qGt[n])return t.qGt[n]}else t.qGt={};for(i=(i=(i=n).replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1"),u="^",a={y4:""},s=[],f=0,y=0,m=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;(M=m.exec(i))!==c;)if(a.y4="",h=i.slice(f,M.index),f=m.lastIndex,y+=F(h,a),u+=a.y4,y%2!=1){switch(M[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":u+="(\\D+)";break;case"tt":case"t":u+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":u+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":u+=e?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":u+="(\\d{2}|\\d{4})";break;case"fff":case"000":u+="(\\d{3})";break;case"ff":case"00":u+="(\\d{2})";break;case"f":case"0":u+="(\\d)";break;case"zzz":u+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":u+="([+-]?\\d\\d?)";break;case"/":u+="/"===t.dateSeparator?"(\\/)":"([\\/\\"+t.dateSeparator+"])";break;default:throw new Error((0,r.getSR)().Exp_InvalidDateFormat)}o.Uf.ZP(s,M[0])}else u+=M[0];return a.y4="",F(i.slice(f),a),u+=a.y4,l={$Gt:d=(u+="$").toString().replace(/\s+/g,"\\s+"),QMt:s,tUt:new RegExp(d)},t.qGt[n]=l,l}function H(t){var r=t.getTimezoneOffset();return-485===r&&(r=-485-43/60),-321===r&&(r=-321-10/60),-507===r&&(r=-507-52/60),-402===r&&(r=-402-4/60),r}Object.defineProperty(r,"__esModule",{value:!0}),r.ct=r.getSR=void 0,e=n("./src/common/util/common.ts"),i=n("./src/common/util/stringhelper.ts"),o=n("./src/common/util/arrayhelper.ts"),u=n("./src/common/culture/cultureInfo.ts"),a=n("./src/common/util/types.ts"),s=a.lt.ht,f=i.zf.B9t,c=null,y=parseInt,m=!1,M=!0,h=Math.floor,d=Math.abs,l=new e.ResourceManager(e.SR,"Common"),r.getSR=l.getResource.bind(l),v={},g=function(){function t(){}return t.L9t=function(t,r,n,e){return n||(n=u.CultureManager.Fe()),b(t,r,n,e)},t.Pe=function(t,r,n){return b(t,r,n||u.CultureManager.Fe())},t.Mjt=function(r,n,e){var i,o,u,a,s,f=m;for((s=e).slice(1).forEach((function(t){t&&(f=!0)})),f||(s=s.concat(n.qPt())),o=s.length,i=1;i<o;i++)if((a=s[i])&&(f=M,u=t.nUt(r,a,n)))return u;return c},t.yU=function(r,n,e){var i,o;return n||e||void 0===(o=v[r])?(i=n?[r,n]:[r],o=t.Mjt(r,e||u.CultureManager.Fe(),i),n||e||(v[r]=o),o?new Date(o):o):o?new Date(o):o},t.Z6t=function(r,n){return t.Mjt(r,u.CultureManager.Fe("invariant"),[r,n])},t.nUt=function(t,r,n){var e,o,a,s,f,M,h,d,l,v,g,p,b,F,w,H,N,$,k,S,x,P,C,A,T,O,j,E,R,I;if(t=t.trim(),(s=(a=D(e=n.DateTimeFormat,r,o=1041===n.id)).tUt.exec(t))===c)return c;for(f=a.QMt,M=c,h=c,d=c,l=c,v=c,g=0,b=0,F=0,w=0,H=c,N=m,$=m,k=0,S=f.length;k<S;k++)if(x=s[k+1])switch(f[k]){case"dd":case"d":if((l=y(x,10))<1||l>31)return c;break;case"MMMM":if((d=n.tGt(x))<0||d>11)return c;break;case"MMM":if((d=n.iGt(x))<0||d>11)return c;break;case"M":case"MM":case"%M":if((d=y(x,10)-1)<0||d>11)return c;break;case"e":case"ee":if((h=o&&"\u5143"===x?1:_(n,y(x,10)))<0||h>9999)return c;break;case"y":case"yy":case"yyy":case"yyyy":if((h=y(x,10))<0||h>9999)return c;break;case"h":case"hh":case"H":case"HH":if((g=y(x,10))<0)return c;break;case"m":case"mm":if((b=y(x,10))<0||b>59)return c;break;case"s":case"ss":if((F=y(x,10))<0||F>59)return c;break;case"tt":case"t":if(N=(P=x.toUpperCase())===e.pmDesignator.toUpperCase(),$=P===e.amDesignator.toUpperCase(),!N&&!$)r