=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function ut(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function Ud(e){var t=e.indexOf(":");return t==-1?{s:Rn(e),e:Rn(e)}:{s:Rn(e.slice(0,t)),e:Rn(e.slice(t+1))}}function Ct(e,t){return typeof t>"u"||typeof t=="number"?Ct(e.s,e.e):(typeof e!="string"&&(e=ut(e)),typeof t!="string"&&(t=ut(t)),e==t?e:e+":"+t)}function ar(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,s=e.length;for(r=0;n26);++n)r=26*r+a;for(t.s.c=--r,r=0;n9);++n)r=10*r+a;if(t.s.r=--r,n===s||a!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=s&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=s&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function tv(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=yn(e.z,r?rn(t):t)}catch{}try{return e.w=yn((e.XF||{}).numFmtId||(r?14:0),r?rn(t):t)}catch{return""+t}}function Fi(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?js[e.v]||e.v:t==null?tv(e,e.v):tv(e,t))}function Hs(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function i5(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,s=e||(a?[]:{}),i=0,o=0;if(s&&n.origin!=null){if(typeof n.origin=="number")i=n.origin;else{var l=typeof n.origin=="string"?Rn(n.origin):n.origin;i=l.r,o=l.c}s["!ref"]||(s["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var u=ar(s["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),i==-1&&(c.e.r=i=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var d=0;d!=t[f].length;++d)if(!(typeof t[f][d]>"u")){var v={v:t[f][d]},p=i+f,h=o+d;if(c.s.r>p&&(c.s.r=p),c.s.c>h&&(c.s.c=h),c.e.r>2;return r?a/100:a}function A_(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Ws=A_;function _r(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function d5(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),s=e.read_shift(2,"i"),i=e.read_shift(1),o=e.read_shift(1),l=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var c=bs[a];c&&(t.rgb=Vo(c));break;case 2:t.rgb=Vo([i,o,l]);break;case 3:t.theme=a;break}return s!=0&&(t.tint=s>0?s/32767:s/32768),t}function h5(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function F_(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,t==1?"lpstr":"lpwstr")}function p5(e){return F_(e,1)}function v5(e){return F_(e,2)}var jd=2,Hr=3,Pl=11,rv=12,Oc=19,Dl=64,g5=65,m5=71,x5=4108,_5=4126,tr=80,O_=81,y5=[tr,O_],b5={1:{n:"CodePage",t:jd},2:{n:"Category",t:tr},3:{n:"PresentationFormat",t:tr},4:{n:"ByteCount",t:Hr},5:{n:"LineCount",t:Hr},6:{n:"ParagraphCount",t:Hr},7:{n:"SlideCount",t:Hr},8:{n:"NoteCount",t:Hr},9:{n:"HiddenCount",t:Hr},10:{n:"MultimediaClipCount",t:Hr},11:{n:"ScaleCrop",t:Pl},12:{n:"HeadingPairs",t:x5},13:{n:"TitlesOfParts",t:_5},14:{n:"Manager",t:tr},15:{n:"Company",t:tr},16:{n:"LinksUpToDate",t:Pl},17:{n:"CharacterCount",t:Hr},19:{n:"SharedDoc",t:Pl},22:{n:"HyperlinksChanged",t:Pl},23:{n:"AppVersion",t:Hr,p:"version"},24:{n:"DigSig",t:g5},26:{n:"ContentType",t:tr},27:{n:"ContentStatus",t:tr},28:{n:"Language",t:tr},29:{n:"Version",t:tr},255:{},2147483648:{n:"Locale",t:Oc},2147483651:{n:"Behavior",t:Oc},1919054434:{}},E5={1:{n:"CodePage",t:jd},2:{n:"Title",t:tr},3:{n:"Subject",t:tr},4:{n:"Author",t:tr},5:{n:"Keywords",t:tr},6:{n:"Comments",t:tr},7:{n:"Template",t:tr},8:{n:"LastAuthor",t:tr},9:{n:"RevNumber",t:tr},10:{n:"EditTime",t:Dl},11:{n:"LastPrinted",t:Dl},12:{n:"CreatedDate",t:Dl},13:{n:"ModifiedDate",t:Dl},14:{n:"PageCount",t:Hr},15:{n:"WordCount",t:Hr},16:{n:"CharCount",t:Hr},17:{n:"Thumbnail",t:m5},18:{n:"Application",t:tr},19:{n:"DocSecurity",t:Hr},255:{},2147483648:{n:"Locale",t:Oc},2147483651:{n:"Behavior",t:Oc},1919054434:{}},nv={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},w5=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function T5(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var C5=T5([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),bs=ur(C5),js={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},I_={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},av={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};function S5(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function k5(e){var t=S5();if(!e||!e.match)return t;var r={};if((e.match(Tr)||[]).forEach(function(n){var a=Ze(n);switch(a[0].replace(MR,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}var ai={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function t0(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function po(e,t){var r={"!id":{}};if(!e)return r;t.charAt(0)!=="/"&&(t="/"+t);var n={};return(e.match(Tr)||[]).forEach(function(a){var s=Ze(a);if(s[0]==="]*>([\\s\\S]*?)"+n+">")}return e}();function R_(e){var t={};e=It(e);for(var r=0;r0&&(t[n[1]]=gt(a[1])),n[2]==="date"&&t[n[1]]&&(t[n[1]]=cr(t[n[1]]))}return t}var I5=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function L_(e,t,r,n){var a=[];if(typeof e=="string")a=X1(e,n);else for(var s=0;s0)for(var c=0;c!==a.length;c+=2){switch(l=+a[c+1].v,a[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=l,r.SheetNames=i.slice(o,o+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=l,r.DefinedNames=i.slice(o,o+l);break;case"Charts":case"Diagramme":r.Chartsheets=l,r.ChartNames=i.slice(o,o+l);break}o+=l}}function R5(e,t,r){var n={};return t||(t={}),e=It(e),I5.forEach(function(a){var s=(e.match($o(a[0]))||[])[1];switch(a[2]){case"string":s&&(t[a[1]]=gt(s));break;case"bool":t[a[1]]=s==="true";break;case"raw":var i=e.match(new RegExp("<"+a[0]+"[^>]*>([\\s\\S]*?)"+a[0]+">"));i&&i.length>0&&(n[a[1]]=i[1]);break}}),n.HeadingPairs&&n.TitlesOfParts&&L_(n.HeadingPairs,n.TitlesOfParts,t,r),t}var L5=/<[^>]+>[^<]*/g;function N5(e,t){var r={},n="",a=e.match(L5);if(a)for(var s=0;s!=a.length;++s){var i=a[s],o=Ze(i);switch(o[0]){case"":n=null;break;default:if(i.indexOf(""),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":r[n]=gt(u);break;case"bool":r[n]=Mt(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(u,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(u);break;case"filetime":case"date":r[n]=cr(u);break;case"cy":case"error":r[n]=gt(u);break;default:if(c.slice(-1)=="/")break;t.WTF&&typeof console<"u"&&console.warn("Unexpected",i,c,l)}}else if(i.slice(0,2)!==""){if(t.WTF)throw new Error(i)}}}return r}var P5={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},lf;function D5(e,t,r){lf||(lf=Dd(P5)),t=lf[t]||t,e[t]=r}function Gd(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date((r/1e7*Math.pow(2,32)+t/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function N_(e,t,r){var n=e.l,a=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function P_(e,t,r){var n=e.read_shift(0,"lpwstr");return n}function D_(e,t,r){return t===31?P_(e):N_(e,t,r)}function r0(e,t,r){return D_(e,t,r===!1?0:4)}function M5(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return D_(e,t,0)}function B5(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n){var a=e.l;r[n]=e.read_shift(0,"lpwstr").replace(Lr,""),e.l-a&2&&(e.l+=2)}return r}function $5(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n)r[n]=e.read_shift(0,"lpstr-cp").replace(Lr,"");return r}function U5(e){var t=e.l,r=Ic(e,O_);e[e.l]==0&&e[e.l+1]==0&&e.l-t&2&&(e.l+=2);var n=Ic(e,Hr);return[r,n]}function H5(e){for(var t=e.read_shift(4),r=[],n=0;n>3<<2),n}function M_(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(t&3)>0&&(e.l+=4-(t&3)&3),r}function V5(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function Ic(e,t,r){var n=e.read_shift(2),a,s=r||{};if(e.l+=2,t!==rv&&n!==t&&y5.indexOf(t)===-1&&!((t&65534)==4126&&(n&65534)==4126))throw new Error("Expected type "+t+" saw "+n);switch(t===rv?n:t){case 2:return a=e.read_shift(2,"i"),s.raw||(e.l+=2),a;case 3:return a=e.read_shift(4,"i"),a;case 11:return e.read_shift(4)!==0;case 19:return a=e.read_shift(4),a;case 30:return N_(e,n,4).replace(Lr,"");case 31:return P_(e);case 64:return Gd(e);case 65:return M_(e);case 71:return V5(e);case 80:return r0(e,n,!s.raw).replace(Lr,"");case 81:return M5(e,n).replace(Lr,"");case 4108:return H5(e);case 4126:case 4127:return n==4127?B5(e):$5(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}}function iv(e,t){var r=e.l,n=e.read_shift(4),a=e.read_shift(4),s=[],i=0,o=0,l=-1,c={};for(i=0;i!=a;++i){var u=e.read_shift(4),f=e.read_shift(4);s[i]=[u,f+r]}s.sort(function(y,x){return y[1]-x[1]});var d={};for(i=0;i!=a;++i){if(e.l!==s[i][1]){var v=!0;if(i>0&&t)switch(t[s[i-1][0]].t){case 2:e.l+2===s[i][1]&&(e.l+=2,v=!1);break;case 80:e.l<=s[i][1]&&(e.l=s[i][1],v=!1);break;case 4108:e.l<=s[i][1]&&(e.l=s[i][1],v=!1);break}if((!t||i==0)&&e.l<=s[i][1]&&(v=!1,e.l=s[i][1]),v)throw new Error("Read Error: Expected address "+s[i][1]+" at "+e.l+" :"+i)}if(t){var p=t[s[i][0]];if(d[p.n]=Ic(e,p.t,{raw:!0}),p.p==="version"&&(d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(d[p.n]&65535)).slice(-4)),p.n=="CodePage")switch(d[p.n]){case 0:d[p.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:On(o=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n])}}else if(s[i][0]===1){if(o=d.CodePage=Ic(e,jd),On(o),l!==-1){var h=e.l;e.l=s[l][1],c=sv(e,o),e.l=h}}else if(s[i][0]===0){if(o===0){l=i,e.l=s[i+1][1];continue}c=sv(e,o)}else{var m=c[s[i][0]],g;switch(e[e.l]){case 65:e.l+=4,g=M_(e);break;case 30:e.l+=4,g=r0(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,g=r0(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,g=e.read_shift(4,"i");break;case 19:e.l+=4,g=e.read_shift(4);break;case 5:e.l+=4,g=e.read_shift(8,"f");break;case 11:e.l+=4,g=jt(e,4);break;case 64:e.l+=4,g=cr(Gd(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[m]=g}}return e.l=r+n,d}function ov(e,t,r){var n=e.content;if(!n)return{};sr(n,0);var a,s,i,o,l=0;n.chk("feff","Byte Order: "),n.read_shift(2);var c=n.read_shift(4),u=n.read_shift(16);if(u!==vt.utils.consts.HEADER_CLSID&&u!==r)throw new Error("Bad PropertySet CLSID "+u);if(a=n.read_shift(4),a!==1&&a!==2)throw new Error("Unrecognized #Sets: "+a);if(s=n.read_shift(16),o=n.read_shift(4),a===1&&o!==n.l)throw new Error("Length mismatch: "+o+" !== "+n.l);a===2&&(i=n.read_shift(16),l=n.read_shift(4));var f=iv(n,t),d={SystemIdentifier:c};for(var v in f)d[v]=f[v];if(d.FMTID=s,a===1)return d;if(l-n.l==2&&(n.l+=2),n.l!==l)throw new Error("Length mismatch 2: "+n.l+" !== "+l);var p;try{p=iv(n,null)}catch{}for(v in p)d[v]=p[v];return d.FMTID=[s,i],d}function Fa(e,t){return e.read_shift(t),null}function W5(e,t,r){for(var n=[],a=e.l+t;e.l=12?2:1),a="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var s=e.read_shift(1);s&&(a="dbcs-cont")}else r.biff==12&&(a="wstr");r.biff>=2&&r.biff<=5&&(a="cpstr");var i=n?e.read_shift(n,a):"";return i}function G5(e){var t=e.read_shift(2),r=e.read_shift(1),n=r&4,a=r&8,s=1+(r&1),i=0,o,l={};a&&(i=e.read_shift(2)),n&&(o=e.read_shift(4));var c=s==2?"dbcs-cont":"sbcs-cont",u=t===0?"":e.read_shift(t,c);return a&&(e.l+=4*i),n&&(e.l+=o),l.t=u,a||(l.raw=""+l.t+"",l.r=l.t),l}function Os(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return a===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function dl(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):Os(e,n,r)}function Gs(e,t,r){if(r.biff>5)return dl(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function K5(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function z5(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(n=!0),e.l=r);var a=e.read_shift((n?t-24:t)>>1,"utf16le").replace(Lr,"");return n&&(e.l+=24),a}function X5(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var n=e.read_shift(0,"lpstr-ansi");if(e.l+=2,e.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var a=e.read_shift(4);if(a===0)return r+n.replace(/\\/g,"/");var s=e.read_shift(4);if(e.read_shift(2)!=3)throw new Error("Bad FileMoniker");var i=e.read_shift(s>>1,"utf16le").replace(Lr,"");return r+i}function Y5(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return z5(e);case"0303000000000000c000000000000046":return X5(e);default:throw new Error("Unsupported Moniker "+r)}}function Ml(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(Lr,""):"";return r}function q5(e,t){var r=e.l+t,n=e.read_shift(4);if(n!==2)throw new Error("Unrecognized streamVersion: "+n);var a=e.read_shift(2);e.l+=2;var s,i,o,l,c="",u,f;a&16&&(s=Ml(e,r-e.l)),a&128&&(i=Ml(e,r-e.l)),(a&257)===257&&(o=Ml(e,r-e.l)),(a&257)===1&&(l=Y5(e,r-e.l)),a&8&&(c=Ml(e,r-e.l)),a&32&&(u=e.read_shift(16)),a&64&&(f=Gd(e)),e.l=r;var d=i||o||l||"";d&&c&&(d+="#"+c),d||(d="#"+c),a&2&&d.charAt(0)=="/"&&d.charAt(1)!="/"&&(d="file://"+d);var v={Target:d};return u&&(v.guid=u),f&&(v.time=f),s&&(v.Tooltip=s),v}function $_(e){var t=e.read_shift(1),r=e.read_shift(1),n=e.read_shift(1),a=e.read_shift(1);return[t,r,n,a]}function U_(e,t){var r=$_(e);return r[3]=0,r}function ta(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return{r:t,c:r,ixfe:n}}function J5(e){var t=e.read_shift(2),r=e.read_shift(2);return e.l+=8,{type:t,flags:r}}function Z5(e,t,r){return t===0?"":Gs(e,t,r)}function Q5(e,t,r){var n=r.biff>8?4:2,a=e.read_shift(n),s=e.read_shift(n,"i"),i=e.read_shift(n,"i");return[a,s,i]}function H_(e){var t=e.read_shift(2),r=Wd(e);return[t,r]}function eL(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=fl(e,t,r),s=e.read_shift(2);if(n-=e.l,s!==n)throw new Error("Malformed AddinUdf: padding = "+n+" != "+s);return e.l+=s,a}function mu(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r}}}function V_(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(1),a=e.read_shift(1);return{s:{c:n,r:t},e:{c:a,r}}}var tL=V_;function W_(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[r,t,n]}function rL(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function nL(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function pr(e){e.l+=2,e.l+=e.read_shift(2)}var aL={0:pr,4:pr,5:pr,6:pr,7:nL,8:pr,9:pr,10:pr,11:pr,12:pr,13:rL,14:pr,15:pr,16:pr,17:pr,18:pr,19:pr,20:pr,21:W_};function sL(e,t){for(var r=e.l+t,n=[];e.l=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function iL(e,t){return t===0||e.read_shift(2),1200}function oL(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,a=Gs(e,0,r);return e.read_shift(t+n-e.l),a}function lL(e,t,r){var n=r&&r.biff==8||t==2?e.read_shift(2):(e.l+=t,0);return{fDialog:n&16,fBelow:n&64,fRight:n&128}}function cL(e,t,r){var n=e.read_shift(4),a=e.read_shift(1)&3,s=e.read_shift(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule";break}var i=fl(e,0,r);return i.length===0&&(i="Sheet1"),{pos:n,hs:a,dt:s,name:i}}function uL(e,t){for(var r=e.l+t,n=e.read_shift(4),a=e.read_shift(4),s=[],i=0;i!=a&&e.l>15),a&=32767);var s={Unsynced:n&1,DyZero:(n&2)>>1,ExAsc:(n&4)>>2,ExDsc:(n&8)>>3};return[s,a]}function vL(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),l=e.read_shift(2),c=e.read_shift(2);return{Pos:[t,r],Dim:[n,a],Flags:s,CurTab:i,FirstTab:o,Selected:l,TabRatio:c}}function gL(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var n=e.read_shift(2);return{RTL:n&64}}function mL(){}function xL(e,t,r){var n={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return n.name=fl(e,0,r),n}function _L(e){var t=ta(e);return t.isst=e.read_shift(4),t}function yL(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=e.l+t,a=ta(e);r.biff==2&&e.l++;var s=dl(e,n-e.l,r);return a.val=s,a}function bL(e,t,r){var n=e.read_shift(2),a=Gs(e,0,r);return[n,a]}var EL=Gs;function cv(e,t,r){var n=e.l+t,a=r.biff==8||!r.biff?4:2,s=e.read_shift(a),i=e.read_shift(a),o=e.read_shift(2),l=e.read_shift(2);return e.l=n,{s:{r:s,c:o},e:{r:i,c:l}}}function wL(e){var t=e.read_shift(2),r=e.read_shift(2),n=H_(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}function TL(e,t){for(var r=e.l+t-2,n=e.read_shift(2),a=e.read_shift(2),s=[];e.l>26],n.cellStyles&&(a.alc=s&7,a.fWrap=s>>3&1,a.alcV=s>>4&7,a.fJustLast=s>>7&1,a.trot=s>>8&255,a.cIndent=s>>16&15,a.fShrinkToFit=s>>20&1,a.iReadOrder=s>>22&2,a.fAtrNum=s>>26&1,a.fAtrFnt=s>>27&1,a.fAtrAlc=s>>28&1,a.fAtrBdr=s>>29&1,a.fAtrPat=s>>30&1,a.fAtrProt=s>>31&1,a.dgLeft=i&15,a.dgRight=i>>4&15,a.dgTop=i>>8&15,a.dgBottom=i>>12&15,a.icvLeft=i>>16&127,a.icvRight=i>>23&127,a.grbitDiag=i>>30&3,a.icvTop=o&127,a.icvBottom=o>>7&127,a.icvDiag=o>>14&127,a.dgDiag=o>>21&15,a.icvFore=l&127,a.icvBack=l>>7&127,a.fsxButton=l>>14&1),a}function kL(e,t,r){var n={};return n.ifnt=e.read_shift(2),n.numFmtId=e.read_shift(2),n.flags=e.read_shift(2),n.fStyle=n.flags>>2&1,t-=6,n.data=SL(e,t,n.fStyle,r),n}function AL(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0&&t[0]--,t[1]!==0&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function uv(e,t,r){var n=ta(e);(r.biff==2||t==9)&&++e.l;var a=j5(e);return n.val=a,n.t=a===!0||a===!1?"b":"e",n}function FL(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=ta(e),a=_r(e);return n.val=a,n}var fv=Z5;function OL(e,t,r){var n=e.l+t,a=e.read_shift(2),s=e.read_shift(2);if(r.sbcch=s,s==1025||s==14849)return[s,a];if(s<1||s>255)throw new Error("Unexpected SupBook type: "+s);for(var i=Os(e,s),o=[];n>e.l;)o.push(dl(e));return[s,a,i,o]}function dv(e,t,r){var n=e.read_shift(2),a,s={fBuiltIn:n&1,fWantAdvise:n>>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return r.sbcch===14849&&(a=eL(e,t-2,r)),s.body=a||e.read_shift(t-2),typeof a=="string"&&(s.Name=a),s}var IL=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function hv(e,t,r){var n=e.l+t,a=e.read_shift(2),s=e.read_shift(1),i=e.read_shift(1),o=e.read_shift(r&&r.biff==2?1:2),l=0;(!r||r.biff>=5)&&(r.biff!=5&&(e.l+=2),l=e.read_shift(2),r.biff==5&&(e.l+=2),e.l+=4);var c=Os(e,i,r);a&32&&(c=IL[c.charCodeAt(0)]);var u=n-e.l;r&&r.biff==2&&--u;var f=n==e.l||o===0||!(u>0)?[]:dM(e,u,r,o);return{chKey:s,Name:c,itab:l,rgce:f}}function j_(e,t,r){if(r.biff<8)return RL(e,t,r);for(var n=[],a=e.l+t,s=e.read_shift(r.biff>8?4:2);s--!==0;)n.push(Q5(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function RL(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=fl(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function LL(e,t,r){if(r.biff<8){e.l+=t;return}var n=e.read_shift(2),a=e.read_shift(2),s=Os(e,n,r),i=Os(e,a,r);return[s,i]}function NL(e,t,r){var n=V_(e);e.l++;var a=e.read_shift(1);return t-=8,[hM(e,t,r),a,n]}function pv(e,t,r){var n=tL(e);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,uM(e,t,r)]}function PL(e){var t=e.read_shift(4)!==0,r=e.read_shift(4)!==0,n=e.read_shift(4);return[t,r,n]}function DL(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),i=e.read_shift(2),o=Gs(e,0,r);return r.biff<8&&e.read_shift(1),[{r:n,c:a},o,i,s]}}function ML(e,t,r){return DL(e,t,r)}function BL(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(mu(e));return r}function $L(e,t,r){if(r&&r.biff<8)return HL(e,t,r);var n=W_(e),a=sL(e,t-22,n[1]);return{cmo:n,ft:a}}var UL={8:function(e,t){var r=e.l+t;e.l+=10;var n=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e.read_shift(1);return e.l+=a,e.l=r,{fmt:n}}};function HL(e,t,r){e.l+=4;var n=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var i=[];return i.push((UL[n]||wr)(e,t,r)),{cmo:[a,n,s],ft:i}}function VL(e,t,r){var n=e.l,a="";try{e.l+=4;var s=(r.lastobj||{cmo:[0,0]}).cmo[1],i;[0,5,7,11,12,14].indexOf(s)==-1?e.l+=6:i=K5(e,6,r);var o=e.read_shift(2);e.read_shift(2),Xt(e,2);var l=e.read_shift(2);e.l+=l;for(var c=1;c=(u?o:2*o))break}if(a.length!==o&&a.length!==o*2)throw new Error("cchText: "+o+" != "+a.length);return e.l=n+t,{t:a}}catch{return e.l=n+t,{t:a}}}function WL(e,t){var r=mu(e);e.l+=16;var n=q5(e,t-24);return[r,n]}function jL(e,t){e.read_shift(2);var r=mu(e),n=e.read_shift((t-10)/2,"dbcs-cont");return n=n.replace(Lr,""),[r,n]}function GL(e){var t=[0,0],r;return r=e.read_shift(2),t[0]=nv[r]||r,r=e.read_shift(2),t[1]=nv[r]||r,t}function KL(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(U_(e));return r}function zL(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(U_(e));return r}function XL(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function G_(e,t,r){if(!r.cellStyles)return wr(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),s=e.read_shift(n),i=e.read_shift(n),o=e.read_shift(n),l=e.read_shift(2);n==2&&(e.l+=2);var c={s:a,e:s,w:i,ixfe:o,flags:l};return(r.biff>=5||!r.biff)&&(c.level=l>>8&7),c}function YL(e,t){var r={};return t<32||(e.l+=16,r.header=_r(e),r.footer=_r(e),e.l+=2),r}function qL(e,t,r){var n={area:!1};if(r.biff!=5)return e.l+=t,n;var a=e.read_shift(1);return e.l+=3,a&16&&(n.area=!0),n}var JL=ta,ZL=B_,QL=dl;function eN(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,a}function tN(e,t,r){r.biffguess&&r.biff==5&&(r.biff=2);var n=ta(e);++e.l;var a=Gs(e,t-7,r);return n.t="str",n.val=a,n}function rN(e){var t=ta(e);++e.l;var r=_r(e);return t.t="n",t.val=r,t}function nN(e){var t=ta(e);++e.l;var r=e.read_shift(2);return t.t="n",t.val=r,t}function aN(e){var t=e.read_shift(1);return t===0?(e.l++,""):e.read_shift(t,"sbcs-cont")}function sN(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function iN(e,t,r){var n=e.l+t,a=ta(e),s=e.read_shift(2),i=Os(e,s,r);return e.l=n,a.t="str",a.val=i,a}var oN=[2,3,48,49,131,139,140,245],vv=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=Dd({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(o,l){var c=[],u=za(1);switch(l.type){case"base64":u=An(tn(o));break;case"binary":u=An(o);break;case"buffer":case"array":u=o;break}sr(u,0);var f=u.read_shift(1),d=!!(f&136),v=!1,p=!1;switch(f){case 2:break;case 3:break;case 48:v=!0,d=!0;break;case 49:v=!0,d=!0;break;case 131:break;case 139:break;case 140:p=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+f.toString(16))}var h=0,m=521;f==2&&(h=u.read_shift(2)),u.l+=3,f!=2&&(h=u.read_shift(4)),h>1048576&&(h=1e6),f!=2&&(m=u.read_shift(2));var g=u.read_shift(2),y=l.codepage||1252;f!=2&&(u.l+=16,u.read_shift(1),u[u.l]!==0&&(y=e[u[u.l]]),u.l+=1,u.l+=2),p&&(u.l+=36);for(var x=[],_={},E=Math.min(u.length,f==2?521:m-10-(v?264:0)),w=p?32:11;u.l0;){if(u[u.l]===42){u.l+=g;continue}for(++u.l,c[++b]=[],I=0,I=0;I!=x.length;++I){var S=u.slice(u.l,u.l+x[I].len);u.l+=x[I].len,sr(S,0);var j=Ba.utils.decode(y,S);switch(x[I].type){case"C":j.trim().length&&(c[b][I]=j.replace(/\s+$/,""));break;case"D":j.length===8?c[b][I]=new Date(+j.slice(0,4),+j.slice(4,6)-1,+j.slice(6,8)):c[b][I]=j;break;case"F":c[b][I]=parseFloat(j.trim());break;case"+":case"I":c[b][I]=p?S.read_shift(-4,"i")^2147483648:S.read_shift(4,"i");break;case"L":switch(j.trim().toUpperCase()){case"Y":case"T":c[b][I]=!0;break;case"N":case"F":c[b][I]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+j+"|")}break;case"M":if(!d)throw new Error("DBF Unexpected MEMO for type "+f.toString(16));c[b][I]="##MEMO##"+(p?parseInt(j.trim(),10):S.read_shift(4));break;case"N":j=j.replace(/\u0000/g,"").trim(),j&&j!="."&&(c[b][I]=+j||0);break;case"@":c[b][I]=new Date(S.read_shift(-8,"f")-621356832e5);break;case"T":c[b][I]=new Date((S.read_shift(4)-2440588)*864e5+S.read_shift(4));break;case"Y":c[b][I]=S.read_shift(4,"i")/1e4+S.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":c[b][I]=-S.read_shift(-8,"f");break;case"B":if(v&&x[I].len==8){c[b][I]=S.read_shift(8,"f");break}case"G":case"P":S.l+=x[I].len;break;case"0":if(x[I].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+x[I].type)}}}if(f!=2&&u.l=0&&On(+c.codepage),c.type=="string")throw new Error("Cannot write DBF to JS string");var u=Qf(),f=R7(o,{header:1,raw:!0,cellDates:!0}),d=f[0],v=f.slice(1),p=o["!cols"]||[],h=0,m=0,g=0,y=1;for(h=0;h250&&(S=250),I=((p[h]||{}).DBF||{}).type,I=="C"&&p[h].DBF.len>S&&(S=p[h].DBF.len),b=="B"&&I=="N"&&(b="N",w[h]=p[h].DBF.dec,S=p[h].DBF.len),E[h]=b=="C"||I=="N"?S:s[b]||0,y+=E[h],_[h]=b}var V=u.next(32);for(V.write_shift(4,318902576),V.write_shift(4,v.length),V.write_shift(2,296+32*g),V.write_shift(2,y),h=0;h<4;++h)V.write_shift(4,0);for(V.write_shift(4,0|(+t[W2]||3)<<8),h=0,m=0;h":190,"?":191,"{":223},t=new RegExp("\x1BN("+Xa(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(d,v){var p=e[v];return typeof p=="number"?I1(p):p},n=function(d,v,p){var h=v.charCodeAt(0)-32<<4|p.charCodeAt(0)-48;return h==59?d:I1(h)};e["|"]=254;function a(d,v){switch(v.type){case"base64":return s(tn(d),v);case"binary":return s(d,v);case"buffer":return s(pt&&Buffer.isBuffer(d)?d.toString("binary"):Us(d),v);case"array":return s(Fs(d),v)}throw new Error("Unrecognized type "+v.type)}function s(d,v){var p=d.split(/[\n\r]+/),h=-1,m=-1,g=0,y=0,x=[],_=[],E=null,w={},b=[],I=[],S=[],j=0,V;for(+v.codepage>=0&&On(+v.codepage);g!==p.length;++g){j=0;var R=p[g].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),J=R.replace(/;;/g,"\0").split(";").map(function(K){return K.replace(/\u0000/g,";")}),me=J[0],de;if(R.length>0)switch(me){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":J[1].charAt(0)=="P"&&_.push(R.slice(3).replace(/;;/g,";"));break;case"C":var Q=!1,ue=!1,Se=!1,D=!1,ve=-1,be=-1;for(y=1;y-1&&x[ve][be];if(!Z||!Z[1])throw new Error("SYLK shared formula cannot find base");x[h][m][1]=ty(Z[1],{r:h-ve,c:m-be})}break;case"F":var z=0;for(y=1;y0?(b[h].hpt=j,b[h].hpx=Wo(j)):j===0&&(b[h].hidden=!0);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+R)}z<1&&(E=null);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+R)}}return b.length>0&&(w["!rows"]=b),I.length>0&&(w["!cols"]=I),v&&v.sheetRows&&(x=x.slice(0,v.sheetRows)),[x,w]}function i(d,v){var p=a(d,v),h=p[0],m=p[1],g=ul(h,v);return Xa(m).forEach(function(y){g[y]=m[y]}),g}function o(d,v){return Hs(i(d,v),v)}function l(d,v,p,h){var m="C;Y"+(p+1)+";X"+(h+1)+";K";switch(d.t){case"n":m+=d.v||0,d.f&&!d.F&&(m+=";E"+XP(d.f,{r:p,c:h}));break;case"b":m+=d.v?"TRUE":"FALSE";break;case"e":m+=d.w||d.v;break;case"d":m+='"'+(d.w||d.v)+'"';break;case"s":m+='"'+d.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return m}function c(d,v){v.forEach(function(p,h){var m="F;W"+(h+1)+" "+(h+1)+" ";p.hidden?m+="0":(typeof p.width=="number"&&!p.wpx&&(p.wpx=Lc(p.width)),typeof p.wpx=="number"&&!p.wch&&(p.wch=Nc(p.wpx)),typeof p.wch=="number"&&(m+=Math.round(p.wch))),m.charAt(m.length-1)!=" "&&d.push(m)})}function u(d,v){v.forEach(function(p,h){var m="F;";p.hidden?m+="M0;":p.hpt?m+="M"+20*p.hpt+";":p.hpx&&(m+="M"+20*Z_(p.hpx)+";"),m.length>2&&d.push(m+"R"+(h+1))})}function f(d,v){var p=["ID;PWXL;N;E"],h=[],m=ar(d["!ref"]),g,y=Array.isArray(d),x=`\r
`;p.push("P;PGeneral"),p.push("F;P0;DG0G8;M255"),d["!cols"]&&c(p,d["!cols"]),d["!rows"]&&u(p,d["!rows"]),p.push("B;Y"+(m.e.r-m.s.r+1)+";X"+(m.e.c-m.s.c+1)+";D"+[m.s.c,m.s.r,m.e.c,m.e.r].join(" "));for(var _=m.s.r;_<=m.e.r;++_)for(var E=m.s.c;E<=m.e.c;++E){var w=ut({r:_,c:E});g=y?(d[_]||[])[E]:d[w],!(!g||g.v==null&&(!g.f||g.F))&&h.push(l(g,d,_,E))}return p.join(x)+x+h.join(x)+x+"E"+x}return{to_workbook:o,to_sheet:i,from_sheet:f}}(),cN=function(){function e(s,i){switch(i.type){case"base64":return t(tn(s),i);case"binary":return t(s,i);case"buffer":return t(pt&&Buffer.isBuffer(s)?s.toString("binary"):Us(s),i);case"array":return t(Fs(s),i)}throw new Error("Unrecognized type "+i.type)}function t(s,i){for(var o=s.split(`
@@ -95,4 +95,4 @@
* Released under the MIT License.
*/const e$="10.0.3";function t$(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ms().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ms().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ms().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ms().__INTLIFY_PROD_DEVTOOLS__=!1)}const Dr={UNEXPECTED_RETURN_TYPE:_B,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Gr(e,...t){return bu(e,null,void 0)}const p0=ts("__translateVNode"),v0=ts("__datetimeParts"),g0=ts("__numberParts"),Ry=ts("__setPluralRules"),Ly=ts("__injectWithOption"),m0=ts("__dispose");function zo(e){if(!bt(e))return e;for(const t in e)if(Mc(e,t))if(!t.includes("."))bt(e[t])&&zo(e[t]);else{const r=t.split("."),n=r.length-1;let a=e,s=!1;for(let i=0;i{if("locale"in o&&"resource"in o){const{locale:l,resource:c}=o;l?(i[l]=i[l]||{},ac(c,i[l])):ac(c,i)}else He(o)&&ac(JSON.parse(o),i)}),a==null&&s)for(const o in i)Mc(i,o)&&zo(i[o]);return i}function Ny(e){return e.type}function Py(e,t,r){let n=bt(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=sh(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,n[s])});{if(bt(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(bt(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Jv(e){return De(Rs,null,e,0)}const Zv="__INTLIFY_META__",Qv=()=>[],r$=()=>!1;let eg=0;function tg(e){return(t,r,n,a)=>e(r,n,ot()||void 0,a)}const n$=()=>{const e=ot();let t=null;return e&&(t=Ny(e)[Zv])?{[Zv]:t}:null};function ih(e={}){const{__root:t,__injectWithOption:r}=e,n=t===void 0,a=e.flatJson,s=Dc?se:va;let i=_t(e.inheritLocale)?e.inheritLocale:!0;const o=s(t&&i?t.locale.value:He(e.locale)?e.locale:Ko),l=s(t&&i?t.fallbackLocale.value:He(e.fallbackLocale)||Wt(e.fallbackLocale)||lt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),c=s(sh(o.value,e)),u=s(lt(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),f=s(lt(e.numberFormats)?e.numberFormats:{[o.value]:{}});let d=t?t.missingWarn:_t(e.missingWarn)||Ii(e.missingWarn)?e.missingWarn:!0,v=t?t.fallbackWarn:_t(e.fallbackWarn)||Ii(e.fallbackWarn)?e.fallbackWarn:!0,p=t?t.fallbackRoot:_t(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,m=Lt(e.missing)?e.missing:null,g=Lt(e.missing)?tg(e.missing):null,y=Lt(e.postTranslation)?e.postTranslation:null,x=t?t.warnHtmlMessage:_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const E=t?t.modifiers:lt(e.modifiers)?e.modifiers:{};let w=e.pluralRules||t&&t.pluralRules,b;b=(()=>{n&&Vv(null);const G={version:e$,locale:o.value,fallbackLocale:l.value,messages:c.value,modifiers:E,pluralRules:w,missing:g===null?void 0:g,missingWarn:d,fallbackWarn:v,fallbackFormat:h,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:x,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};G.datetimeFormats=u.value,G.numberFormats=f.value,G.__datetimeFormatters=lt(b)?b.__datetimeFormatters:void 0,G.__numberFormatters=lt(b)?b.__numberFormatters:void 0;const H=$B(G);return n&&Vv(H),H})(),Xi(b,o.value,l.value);function S(){return[o.value,l.value,c.value,u.value,f.value]}const j=X({get:()=>o.value,set:G=>{o.value=G,b.locale=o.value}}),V=X({get:()=>l.value,set:G=>{l.value=G,b.fallbackLocale=l.value,Xi(b,o.value,G)}}),R=X(()=>c.value),J=X(()=>u.value),me=X(()=>f.value);function de(){return Lt(y)?y:null}function Q(G){y=G,b.postTranslation=G}function ue(){return m}function Se(G){G!==null&&(g=tg(G)),m=G,b.missing=g}const D=(G,H,_e,Re,Xe,Ye)=>{S();let Ke;try{__INTLIFY_PROD_DEVTOOLS__,n||(b.fallbackContext=t?BB():void 0),Ke=G(b)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(b.fallbackContext=void 0)}if(_e!=="translate exists"&&Zt(Ke)&&Ke===Eu||_e==="translate exists"&&!Ke){const[Te,Pe]=H();return t&&p?Re(t):Xe(Te)}else{if(Ye(Ke))return Ke;throw Gr(Dr.UNEXPECTED_RETURN_TYPE)}};function ve(...G){return D(H=>Reflect.apply(qv,null,[H,...G]),()=>h0(...G),"translate",H=>Reflect.apply(H.t,H,[...G]),H=>H,H=>He(H))}function be(...G){const[H,_e,Re]=G;if(Re&&!bt(Re))throw Gr(Dr.INVALID_ARGUMENT);return ve(H,_e,er({resolvedMessage:!0},Re||{}))}function N(...G){return D(H=>Reflect.apply(jv,null,[H,...G]),()=>f0(...G),"datetime format",H=>Reflect.apply(H.d,H,[...G]),()=>Uv,H=>He(H))}function Z(...G){return D(H=>Reflect.apply(Kv,null,[H,...G]),()=>d0(...G),"number format",H=>Reflect.apply(H.n,H,[...G]),()=>Uv,H=>He(H))}function z(G){return G.map(H=>He(H)||Zt(H)||_t(H)?Jv(String(H)):H)}const oe={normalize:z,interpolate:G=>G,type:"vnode"};function xe(...G){return D(H=>{let _e;const Re=H;try{Re.processor=oe,_e=Reflect.apply(qv,null,[Re,...G])}finally{Re.processor=null}return _e},()=>h0(...G),"translate",H=>H[p0](...G),H=>[Jv(H)],H=>Wt(H))}function we(...G){return D(H=>Reflect.apply(Kv,null,[H,...G]),()=>d0(...G),"number format",H=>H[g0](...G),Qv,H=>He(H)||Wt(H))}function Ee(...G){return D(H=>Reflect.apply(jv,null,[H,...G]),()=>f0(...G),"datetime format",H=>H[v0](...G),Qv,H=>He(H)||Wt(H))}function ge(G){w=G,b.pluralRules=w}function qe(G,H){return D(()=>{if(!G)return!1;const _e=He(H)?H:o.value,Re=W(_e),Xe=b.messageResolver(Re,G);return Li(Xe)||un(Xe)||He(Xe)},()=>[G],"translate exists",_e=>Reflect.apply(_e.te,_e,[G,H]),r$,_e=>_t(_e))}function U(G){let H=null;const _e=Ey(b,l.value,o.value);for(let Re=0;Re<_e.length;Re++){const Xe=c.value[_e[Re]]||{},Ye=b.messageResolver(Xe,G);if(Ye!=null){H=Ye;break}}return H}function B(G){const H=U(G);return H??(t?t.tm(G)||{}:{})}function W(G){return c.value[G]||{}}function ee(G,H){if(a){const _e={[G]:H};for(const Re in _e)Mc(_e,Re)&&zo(_e[Re]);H=_e[G]}c.value[G]=H,b.messages=c.value}function le(G,H){c.value[G]=c.value[G]||{};const _e={[G]:H};if(a)for(const Re in _e)Mc(_e,Re)&&zo(_e[Re]);H=_e[G],ac(H,c.value[G]),b.messages=c.value}function q(G){return u.value[G]||{}}function F(G,H){u.value[G]=H,b.datetimeFormats=u.value,Gv(b,G,H)}function P(G,H){u.value[G]=er(u.value[G]||{},H),b.datetimeFormats=u.value,Gv(b,G,H)}function Y(G){return f.value[G]||{}}function ie(G,H){f.value[G]=H,b.numberFormats=f.value,zv(b,G,H)}function he(G,H){f.value[G]=er(f.value[G]||{},H),b.numberFormats=f.value,zv(b,G,H)}eg++,t&&Dc&&(ze(t.locale,G=>{i&&(o.value=G,b.locale=G,Xi(b,o.value,l.value))}),ze(t.fallbackLocale,G=>{i&&(l.value=G,b.fallbackLocale=G,Xi(b,o.value,l.value))}));const ye={id:eg,locale:j,fallbackLocale:V,get inheritLocale(){return i},set inheritLocale(G){i=G,G&&t&&(o.value=t.locale.value,l.value=t.fallbackLocale.value,Xi(b,o.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:R,get modifiers(){return E},get pluralRules(){return w||{}},get isGlobal(){return n},get missingWarn(){return d},set missingWarn(G){d=G,b.missingWarn=d},get fallbackWarn(){return v},set fallbackWarn(G){v=G,b.fallbackWarn=v},get fallbackRoot(){return p},set fallbackRoot(G){p=G},get fallbackFormat(){return h},set fallbackFormat(G){h=G,b.fallbackFormat=h},get warnHtmlMessage(){return x},set warnHtmlMessage(G){x=G,b.warnHtmlMessage=G},get escapeParameter(){return _},set escapeParameter(G){_=G,b.escapeParameter=G},t:ve,getLocaleMessage:W,setLocaleMessage:ee,mergeLocaleMessage:le,getPostTranslationHandler:de,setPostTranslationHandler:Q,getMissingHandler:ue,setMissingHandler:Se,[Ry]:ge};return ye.datetimeFormats=J,ye.numberFormats=me,ye.rt=be,ye.te=qe,ye.tm=B,ye.d=N,ye.n=Z,ye.getDateTimeFormat=q,ye.setDateTimeFormat=F,ye.mergeDateTimeFormat=P,ye.getNumberFormat=Y,ye.setNumberFormat=ie,ye.mergeNumberFormat=he,ye[Ly]=r,ye[p0]=xe,ye[v0]=Ee,ye[g0]=we,ye}function a$(e){const t=He(e.locale)?e.locale:Ko,r=He(e.fallbackLocale)||Wt(e.fallbackLocale)||lt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Lt(e.missing)?e.missing:void 0,a=_t(e.silentTranslationWarn)||Ii(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=_t(e.silentFallbackWarn)||Ii(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=_t(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,l=lt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Lt(e.postTranslation)?e.postTranslation:void 0,f=He(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,v=_t(e.sync)?e.sync:!0;let p=e.messages;if(lt(e.sharedMessages)){const E=e.sharedMessages;p=Object.keys(E).reduce((b,I)=>{const S=b[I]||(b[I]={});return er(S,E[I]),b},p||{})}const{__i18n:h,__root:m,__injectWithOption:g}=e,y=e.datetimeFormats,x=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:r,messages:p,flatJson:_,datetimeFormats:y,numberFormats:x,missing:n,missingWarn:a,fallbackWarn:s,fallbackRoot:i,fallbackFormat:o,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:v,__i18n:h,__root:m,__injectWithOption:g}}function x0(e={}){const t=ih(a$(e)),{__extender:r}=e,n={id:t.id,get locale(){return t.locale.value},set locale(a){t.locale.value=a},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(a){t.fallbackLocale.value=a},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(a){t.setMissingHandler(a)},get silentTranslationWarn(){return _t(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(a){t.missingWarn=_t(a)?!a:a},get silentFallbackWarn(){return _t(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(a){t.fallbackWarn=_t(a)?!a:a},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(a){t.fallbackFormat=a},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(a){t.setPostTranslationHandler(a)},get sync(){return t.inheritLocale},set sync(a){t.inheritLocale=a},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){t.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(a){t.escapeParameter=a},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...a){return Reflect.apply(t.t,t,[...a])},rt(...a){return Reflect.apply(t.rt,t,[...a])},tc(...a){const[s,i,o]=a,l={plural:1};let c=null,u=null;if(!He(s))throw Gr(Dr.INVALID_ARGUMENT);const f=s;return He(i)?l.locale=i:Zt(i)?l.plural=i:Wt(i)?c=i:lt(i)&&(u=i),He(o)?l.locale=o:Wt(o)?c=o:lt(o)&&(u=o),Reflect.apply(t.t,t,[f,c||u||{},l])},te(a,s){return t.te(a,s)},tm(a){return t.tm(a)},getLocaleMessage(a){return t.getLocaleMessage(a)},setLocaleMessage(a,s){t.setLocaleMessage(a,s)},mergeLocaleMessage(a,s){t.mergeLocaleMessage(a,s)},d(...a){return Reflect.apply(t.d,t,[...a])},getDateTimeFormat(a){return t.getDateTimeFormat(a)},setDateTimeFormat(a,s){t.setDateTimeFormat(a,s)},mergeDateTimeFormat(a,s){t.mergeDateTimeFormat(a,s)},n(...a){return Reflect.apply(t.n,t,[...a])},getNumberFormat(a){return t.getNumberFormat(a)},setNumberFormat(a,s){t.setNumberFormat(a,s)},mergeNumberFormat(a,s){t.mergeNumberFormat(a,s)}};return n.__extender=r,n}function s$(e,t,r){return{beforeCreate(){const n=ot();if(!n)throw Gr(Dr.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=rg(e,s);else{s.__injectWithOption=!0,s.__extender=r.__vueI18nExtend,this.$i18n=x0(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=rg(e,a);else{this.$i18n=x0({__i18n:a.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Py(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=ot();if(!n)throw Gr(Dr.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),r.__deleteInstance(n),delete this.$i18n}}}function rg(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Ry](t.pluralizationRules||e.pluralizationRules);const r=sh(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const oh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function i$({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===yt?a.children:[a]],[]):t.reduce((r,n)=>{const a=e[n];return a&&(r[n]=a()),r},{})}function Dy(){return yt}const o$=Oe({name:"i18n-t",props:er({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Zt(e)||!isNaN(e)}},oh),setup(e,t){const{slots:r,attrs:n}=t,a=e.i18n||wu({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(r).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=He(e.plural)?+e.plural:e.plural);const o=i$(t,s),l=a[p0](e.keypath,o,i),c=er({},n),u=He(e.tag)||bt(e.tag)?e.tag:Dy();return it(u,c,l)}}}),ng=o$;function l$(e){return Wt(e)&&!He(e[0])}function My(e,t,r,n){const{slots:a,attrs:s}=t;return()=>{const i={part:!0};let o={};e.locale&&(i.locale=e.locale),He(e.format)?i.key=e.format:bt(e.format)&&(He(e.format.key)&&(i.key=e.format.key),o=Object.keys(e.format).reduce((d,v)=>r.includes(v)?er({},d,{[v]:e.format[v]}):d,{}));const l=n(e.value,i,o);let c=[i.key];Wt(l)?c=l.map((d,v)=>{const p=a[d.type],h=p?p({[d.type]:d.value,index:v,parts:l}):[d.value];return l$(h)&&(h[0].key=`${d.type}-${v}`),h}):He(l)&&(c=[l]);const u=er({},s),f=He(e.tag)||bt(e.tag)?e.tag:Dy();return it(f,u,c)}}const c$=Oe({name:"i18n-n",props:er({value:{type:Number,required:!0},format:{type:[String,Object]}},oh),setup(e,t){const r=e.i18n||wu({useScope:e.scope,__useComponent:!0});return My(e,t,Fy,(...n)=>r[g0](...n))}}),ag=c$,u$=Oe({name:"i18n-d",props:er({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},oh),setup(e,t){const r=e.i18n||wu({useScope:e.scope,__useComponent:!0});return My(e,t,Ay,(...n)=>r[v0](...n))}}),sg=u$;function f$(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function d$(e){const t=i=>{const{instance:o,value:l}=i;if(!o||!o.$)throw Gr(Dr.UNEXPECTED_ERROR);const c=f$(e,o.$),u=ig(l);return[Reflect.apply(c.t,c,[...og(u)]),c]};return{created:(i,o)=>{const[l,c]=t(o);Dc&&e.global===c&&(i.__i18nWatcher=ze(c.locale,()=>{o.instance&&o.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Dc&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:o})=>{if(i.__composer){const l=i.__composer,c=ig(o);i.textContent=Reflect.apply(l.t,l,[...og(c)])}},getSSRProps:i=>{const[o]=t(i);return{textContent:o}}}}function ig(e){if(He(e))return{path:e};if(lt(e)){if(!("path"in e))throw Gr(Dr.REQUIRED_VALUE,"path");return e}else throw Gr(Dr.INVALID_VALUE)}function og(e){const{path:t,locale:r,args:n,choice:a,plural:s}=e,i={},o=n||{};return He(r)&&(i.locale=r),Zt(a)&&(i.plural=a),Zt(s)&&(i.plural=s),[t,o,i]}function h$(e,t,...r){const n=lt(r[0])?r[0]:{};(_t(n.globalInstall)?n.globalInstall:!0)&&([ng.name,"I18nT"].forEach(s=>e.component(s,ng)),[ag.name,"I18nN"].forEach(s=>e.component(s,ag)),[sg.name,"I18nD"].forEach(s=>e.component(s,sg))),e.directive("t",d$(t))}const p$=ts("global-vue-i18n");function v$(e={},t){const r=__VUE_I18N_LEGACY_API__&&_t(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=_t(e.globalInjection)?e.globalInjection:!0,a=new Map,[s,i]=g$(e,r),o=ts("");function l(d){return a.get(d)||null}function c(d,v){a.set(d,v)}function u(d){a.delete(d)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},async install(d,...v){if(d.__VUE_I18N_SYMBOL__=o,d.provide(d.__VUE_I18N_SYMBOL__,f),lt(v[0])){const m=v[0];f.__composerExtend=m.__composerExtend,f.__vueI18nExtend=m.__vueI18nExtend}let p=null;!r&&n&&(p=T$(d,f.global)),__VUE_I18N_FULL_INSTALL__&&h$(d,f,...v),__VUE_I18N_LEGACY_API__&&r&&d.mixin(s$(i,i.__composer,f));const h=d.unmount;d.unmount=()=>{p&&p(),f.dispose(),h()}},get global(){return i},dispose(){s.stop()},__instances:a,__getInstance:l,__setInstance:c,__deleteInstance:u};return f}function wu(e={}){const t=ot();if(t==null)throw Gr(Dr.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Gr(Dr.NOT_INSTALLED);const r=m$(t),n=_$(r),a=Ny(t),s=x$(e,a);if(s==="global")return Py(n,e,a),n;if(s==="parent"){let l=y$(r,t,e.__useComponent);return l==null&&(l=n),l}const i=r;let o=i.__getInstance(t);if(o==null){const l=er({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),o=ih(l),i.__composerExtend&&(o[m0]=i.__composerExtend(o)),E$(i,t,o),i.__setInstance(t,o)}return o}function g$(e,t,r){const n=Zy(),a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>x0(e)):n.run(()=>ih(e));if(a==null)throw Gr(Dr.UNEXPECTED_ERROR);return[n,a]}function m$(e){const t=Qe(e.isCE?p$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Gr(e.isCE?Dr.NOT_INSTALLED_WITH_PROVIDE:Dr.UNEXPECTED_ERROR);return t}function x$(e,t){return yu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _$(e){return e.mode==="composition"?e.global:e.global.__composer}function y$(e,t,r=!1){let n=null;const a=t.root;let s=b$(t,r);for(;s!=null;){const i=e;if(e.mode==="composition")n=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const o=i.__getInstance(s);o!=null&&(n=o.__composer,r&&n&&!n[Ly]&&(n=null))}if(n!=null||a===s)break;s=s.parent}return n}function b$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function E$(e,t,r){Bt(()=>{},t),Is(()=>{const n=r;e.__deleteInstance(t);const a=n[m0];a&&(a(),delete n[m0])},t)}const w$=["locale","fallbackLocale","availableLocales"],lg=["t","rt","d","n","tm","te"];function T$(e,t){const r=Object.create(null);return w$.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Gr(Dr.UNEXPECTED_ERROR);const i=Nt(s.value)?{get(){return s.value.value},set(o){s.value.value=o}}:{get(){return s.get&&s.get()}};Object.defineProperty(r,a,i)}),e.config.globalProperties.$i18n=r,lg.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Gr(Dr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,lg.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}t$();LB(pB);NB(OB);PB(Ey);if(__INTLIFY_PROD_DEVTOOLS__){const e=ms();e.__INTLIFY__=!0,vB(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const C$={class:"main-container flex flex-col items-center"},S$={class:"min-w-[1000px]"},k$={class:"flex items-center"},A$={class:"el-upload__tip"},F$={class:"flex items-center mr-4"},O$={class:"mr-2"},I$={class:"flex items-center"},R$={class:"mr-2"},L$={class:"flex items-center mb-6"},N$={class:"flex flex-grow mr-2 items-center"},P$={class:"shrink-0 w-[180px] text-right mr-2"},D$={class:"flex flex-col"},M$={class:"flex flex-col"},B$={class:"flex items-center"},$$={class:"shrink-0 w-[180px] text-right mr-2"},U$={class:"flex items-center mt-2 mb-2"},H$={class:"shrink-0 w-[180px] text-right mr-2"},V$={class:"shrink-0 w-[180px] text-right mr-2"},W$=Oe({__name:"app",setup(e){const{t,locale:r}=wu(),n=Mn({columns:[{label:"Key",prop:"key"},{label:"Value",prop:"value"}],text:"",tableData:[],keyCol:"1",keyValue:"2",selectedSheet:"",sheets:[],lang:"en",elLocale:{},completion:!0}),a=se(null);Bt(()=>{const m=localStorage.getItem("lang")??"en";s(m)});function s(m){if(localStorage.setItem("lang",m),n.lang=m,r.value=m,m==="cn")return n.elLocale=YI;n.elLocale=Sx}function i(){const m=n.text.replaceAll(",",",").replaceAll(":",":").trim();if(/^{[\s\S]*}$/.test(m)&&n.completion){Zs({message:t("messageCompleteRemove"),type:"warning"});return}if(!/^{[\s\S]*}$/.test(m)&&!n.completion){Zs({message:t("messageComplete"),type:"warning"});return}const g=n.completion?`{${m}}`:m,y=new Function(`return ${g}`)();let x=null;try{x=JSON.parse(JSON.stringify(y))}catch{}return x}function o(m){if(!m)return;const g=[];for(let[y,x]of Object.entries(m))g.push({key:y,value:x});n.tableData=g}function l(){n.columns=[{label:"Key",prop:"key"},{label:"Value",prop:"value"}],n.keyCol="1",n.keyValue="2";const m=i();o(m)}function c(){if(Number(n.keyCol)<=0||Number(n.keyValue)<=0)return Zs({message:t("messageInputGreater0"),type:"warning"});if(Number(n.keyCol)>n.columns.length||Number(n.keyValue)>n.columns.length)return Zs({message:t("messageInputColGreaterTableCols"),type:"warning"});const m=n.tableData.map(y=>{var E,w;const x=(E=n.columns)==null?void 0:E[Number(n.keyCol)-1].prop,_=(w=n.columns)==null?void 0:w[Number(n.keyValue)-1].prop;return{key:y[x]??"",value:y[_]??""}});let g=n.completion?"":`{
`;m.forEach(y=>g+=`"${y.key}": "${y.value}",
-`),n.text=n.completion?g:g+"}"}function u(m){const g=new FileReader;g.readAsArrayBuffer(m.raw),g.onload=y=>{const x=l0(y.target.result,{type:"array"});f(x.Sheets)}}function f(m){if(!m)return;const g=[];for(const[y,x]of Object.entries(m)){const _={label:y,value:y,data:[],keyMap:{}};for(let[E,w]of Object.entries(x)){const b=/([A-z]+)([0-9]+)$/.exec(E);if(!b)continue;const I=b[1],S=b[2];Number(S)===1&&(_.keyMap[I]=w.v)}for(let[E,w]of Object.entries(x)){const b=/([A-z]+)([0-9]+)$/.exec(E);if(!b)continue;const I=b[1],S=b[2],j=_.keyMap[I];Number(S)!==1&&(_.data[S]?_.data[S]={..._.data[S],[j]:w.v}:_.data[S]={[j]:w.v})}g.push(_)}n.sheets=g,v(g[0])}function d(m){for(const g of n.sheets)if(g.value===m){v(g);break}}function v(m){n.selectedSheet=m.value,n.tableData=m.data,n.columns=Object.values(m.keyMap).map(g=>({label:g,prop:g}))}function p(){var m;return(m=a.value)==null||m.select(),document.execCommand("copy"),Zs({message:t("messageCopySuccess"),type:"success"})}function h(){const m=document.querySelector(".el-table__body-wrapper"),g=new Range;g.selectNode(m);const y=window.getSelection();return y.removeAllRanges(),y.addRange(g),document.execCommand("copy"),Zs({message:t("messageCopySuccess"),type:"success"})}return(m,g)=>{const y=b6,x=DI,_=cO,E=lO,w=hI,b=dI,I=pF;return te(),We(I,{locale:n.elLocale},{default:Ne(()=>[ke("div",C$,[ke("div",S$,[ke("div",k$,[De(x,{class:"upload-demo mt-10 w-[400px] m-auto",limit:1,accept:".xlsx,.xls","auto-upload":!1,"on-change":u},{tip:Ne(()=>[ke("div",A$,rt(C(t)("limitFiles")),1)]),default:Ne(()=>[De(y,{type:"primary"},{default:Ne(()=>[fn(rt(C(t)("btnUploadfile")),1)]),_:1})]),_:1}),ke("div",F$,[ke("span",O$,rt(C(t)("labelComplete")),1),De(E,{modelValue:n.completion,"onUpdate:modelValue":g[0]||(g[0]=S=>n.completion=S),placeholder:C(t)("tipComplete"),style:{width:"240px"},class:"mb-2"},{default:Ne(()=>[De(_,{label:C(t)("yes"),value:!0},null,8,["label"]),De(_,{label:C(t)("no"),value:!1},null,8,["label"])]),_:1},8,["modelValue","placeholder"])]),ke("div",I$,[ke("span",R$,rt(C(t)("labelLanguage")),1),De(E,{modelValue:n.lang,"onUpdate:modelValue":g[1]||(g[1]=S=>n.lang=S),placeholder:C(t)("selectLangTip"),style:{width:"240px"},onChange:s,class:"mb-2"},{default:Ne(()=>[De(_,{label:"English",value:"en"}),De(_,{label:"简体中文",value:"cn"})]),_:1},8,["modelValue","placeholder"])])]),ke("div",L$,[ke("div",N$,[ke("div",P$,rt(C(t)("inputLabelTip")),1),De(C(qu),{ref_key:"inputRef",ref:a,modelValue:n.text,"onUpdate:modelValue":g[2]||(g[2]=S=>n.text=S),rows:10,type:"textarea",class:"mr-2",placeholder:C(t)("inputTextTip")},null,8,["modelValue","placeholder"])]),ke("div",D$,[De(y,{class:"mb-2",size:"large",type:"primary",onClick:l},{default:Ne(()=>[fn(rt(C(t)("btnJSON2Table")),1)]),_:1}),De(y,{class:"mb-2",size:"large",type:"primary",onClick:c},{default:Ne(()=>[fn(rt(C(t)("btnTable2JSON")),1)]),_:1}),De(y,{class:"mb-2",size:"large",type:"primary",onClick:p},{default:Ne(()=>[fn(rt(C(t)("btnCopyInput")),1)]),_:1}),De(y,{class:"mb-2",size:"large",type:"primary",onClick:h},{default:Ne(()=>[fn(rt(C(t)("btnCopyTable")),1)]),_:1})])]),ke("div",M$,[ke("div",B$,[ke("div",$$,rt(C(t)("selectSheet")),1),De(E,{modelValue:n.selectedSheet,"onUpdate:modelValue":g[3]||(g[3]=S=>n.selectedSheet=S),placeholder:C(t)("selectSheet"),style:{width:"240px"},onChange:d,class:"mb-2"},{default:Ne(()=>[(te(!0),Ce(yt,null,Ts(n.sheets,S=>(te(),We(_,{key:S.value,label:S.label,value:S.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),ke("div",U$,[ke("div",H$,rt(C(t)("selectColAsKey")),1),De(C(qu),{class:"mr-2",modelValue:n.keyCol,"onUpdate:modelValue":g[4]||(g[4]=S=>n.keyCol=S),placeholder:C(t)("selectColAsKeyTip")},null,8,["modelValue","placeholder"]),ke("div",V$,rt(C(t)("selectColAsValue")),1),De(C(qu),{modelValue:n.keyValue,"onUpdate:modelValue":g[5]||(g[5]=S=>n.keyValue=S),placeholder:C(t)("selectColAsValueTip")},null,8,["modelValue","placeholder"])])]),De(b,{border:"",data:n.tableData,class:"bottom-table_display",stripe:""},{default:Ne(()=>[(te(!0),Ce(yt,null,Ts(n.columns,S=>(te(),We(w,{key:S.prop,"min-width":"120",prop:S.prop,label:S.label},null,8,["prop","label"]))),128))]),_:1},8,["data"])])])]),_:1},8,["locale"])}}}),j$=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},G$=j$(W$,[["__scopeId","data-v-12dffcb9"]]),K$={limitFiles:"支持xlsx、xls类型文件",btnUploadfile:"上传文件",btnJSON2Table:"JSON转换Table",btnTable2JSON:"Table转换JSON",btnCopyInput:"复制输入框内容",btnCopyTable:"复制表格内容",inputLabelTip:"请输入内容:",inputTextTipSimple:"请输入JSON或JS对象字符串, 如:{'{ aaa: 111 }'}",inputTextTip:"请输入JSON或JS对象字符串,不需要输入最外面的小括号, 如:aaa: 111",tipComplete:"是否补全括号",labelComplete:"补全括号:",messageComplete:"请补全最外面的括号,{'{}'}",messageCompleteRemove:"请去掉最外面的括号,{'{}'}",yes:"使用",no:"不使用",labelLanguage:"语言:",selectLangTip:"请选择语言",selectSheet:"选择sheet:",selectColAsKey:"选择列数作为key:",selectColAsKeyTip:"请输入数字,以哪列作为JSON key",selectColAsValue:"选择列数作为value:",selectColAsValueTip:"请输入数字,以哪列作为JSON value",completionInputBracket:"输入框是否补全小括号{'{}'}",messageCopySuccess:"复制成功",messageInputColGreaterTableCols:"输入的col不能大于表格的cols",messageInputGreater0:"输入的col需要大于0"},z$={limitFiles:"Support xlsx and xls type files",btnUploadfile:"Upload",btnJSON2Table:"JSON Conversion Table",btnTable2JSON:"Convert Table to JSON",btnCopyInput:"Copy input box content",btnCopyTable:"Copy table content",inputLabelTip:"Please enter the following content:",inputTextTipSimple:"Please enter a JSON or JS object string without the outermost parentheses {'{}'}, for example: aaa: 111",inputTextTip:"Please enter a JSON or JS object string, for example: {'{ aaa: 111 }'}",tipComplete:"Complete the parentheses {'{}'}",labelComplete:"Complete parentheses:",messageComplete:"Please complete the outermost parentheses, {'{}'}",messageCompleteRemove:"Please remove the outermost bracket",yes:"Use",no:"Not",labelLanguage:"Language:",selectLangTip:"Please select language",selectSheet:"Select sheet:",selectColAsKey:"Select the number of columns as the key:",selectColAsKeyTip:"Please enter a number, which column should be used as the JSON key",selectColAsValue:"Select the number of columns as the value:",selectColAsValueTip:"Please enter a number, which column should be used as the JSON value",completionInputBracket:"Is the input box filled with parentheses {'{}'}",messageCopySuccess:"Copy Success",messageInputColGreaterTableCols:"The input col cannot be greater than the cols in the table",messageInputGreater0:"The input col needs to be greater than 0"},X$={en:z$,cn:K$},Y$=v$({legacy:!0,locale:"en",fallbackLocale:"cn",messages:X$}),By=gw(G$);By.use(Y$);By.mount("#app")});export default q$();