import{A as sn,M as or,B as ja,W as xv,ak as gv,K as da,G as ou,al as to,J as Ko,ae as pv,w as Kt,am as mv,an as wv,ao as yv,ap as _v,z as ta,y as ol,aq as A0,ar as bv,F as Sv,H as Dl,v as Ev,e as Cv,as as Tv,_ as kv}from"./index.ff32156d.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as Tr,c as le,f as ye,w as Ge,o as aa,bJ as Fv,bK as Av,b as xs,aI as te,n as Ba,t as Cr,i as O0,bB as Or,bu as Ov,u as sl,x as Dv,y as Rv,bs as su,p as lu,r as Sn,h as Kr,aU as On,b4 as Iv,bC as Pv,g as cu,s as Nv,bH as Lv,C as D0,D as Bv,aH as yr,G as ll,aN as $a,aM as xa,aE as Mv,aF as Kv,a6 as jv,a$ as Wv,ba as Uv,bI as Hv,O as Vv,bm as zv,bL as $v,be as Gv,bf as Xv}from"./arco.f43727df.js";import{u as Yv}from"./loading.a1d05891.js";import{e as R0,a as As,u as I0,f as qv,h as Os,s as Jv,b as Ds,g as Zv}from"./serial.c741fbda.js";import{b as ei,_ as cl,r as Jn,c as Rl,d as Qv,e as fu,f as e1,i as r1,l as Nr,I as jo,s as ji,v as uu}from"./form-model.ffdc7ae1.js";import{_ as du,a as hu,o as vu,C as P0,t as t1,d as Il,T as xu,p as ri,P as a1,b as gu,u as n1,c as Ma,A as pu,e as mu,S as fl,f as N0,E as wu,g as yu,h as _u,i as i1,j as $o,k as Go,l as Pl,m as o1,n as s1,q as l1,r as Vt}from"./dep-6deb4e3a.cbfa2189.js";import{u as Dn,r as Rn,_ as In,b as c1,o as bu,g as f1,l as u1,c as d1,a as ui,d as h1,e as v1}from"./dialog.a5e3d152.js";import{u as ba,o as cr,n as x1,p as Er,q as Su,s as Eu,_ as _r,f as Xe,b as Nl,c as ue,i as Cu,L as Ll,v as g1,w as L0,k as ul,x as Tu,h as _e,y as p1,z as m1}from"./index.e3ab1903.js";import{u as w1,i as y1,B as Wi}from"./index.bf1946d0.js";import"./chart.3c227ebb.js";import"./vue.cbdb927d.js";function B0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function M0(e){for(var r=1;re.size),{className:n,style:i}=Dn(a),o=le(()=>["t-icon","t-icon-add-rectangle",n.value]),s=le(()=>M0(M0({},i.value),t.style)),l=le(()=>({class:o.value,style:s.value,onClick:c=>{var f;return(f=e.onClick)===null||f===void 0?void 0:f.call(e,{e:c})}}));return()=>Rn(_1,l.value)}});const S1=b1;function K0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function j0(e){for(var r=1;re.size),{className:n,style:i}=Dn(a),o=le(()=>["t-icon","t-icon-chevron-right-circle",n.value]),s=le(()=>j0(j0({},i.value),t.style)),l=le(()=>({class:o.value,style:s.value,onClick:c=>{var f;return(f=e.onClick)===null||f===void 0?void 0:f.call(e,{e:c})}}));return()=>Rn(E1,l.value)}});const T1=C1;function W0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function U0(e){for(var r=1;re.size),{className:n,style:i}=Dn(a),o=le(()=>["t-icon","t-icon-edit-1",n.value]),s=le(()=>U0(U0({},i.value),t.style)),l=le(()=>({class:o.value,style:s.value,onClick:c=>{var f;return(f=e.onClick)===null||f===void 0?void 0:f.call(e,{e:c})}}));return()=>Rn(k1,l.value)}});const A1=F1;function H0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function V0(e){for(var r=1;re.size),{className:n,style:i}=Dn(a),o=le(()=>["t-icon","t-icon-filter",n.value]),s=le(()=>V0(V0({},i.value),t.style)),l=le(()=>({class:o.value,style:s.value,onClick:c=>{var f;return(f=e.onClick)===null||f===void 0?void 0:f.call(e,{e:c})}}));return()=>Rn(O1,l.value)}});const R1=D1;function z0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function $0(e){for(var r=1;re.size),{className:n,style:i}=Dn(a),o=le(()=>["t-icon","t-icon-minus-rectangle",n.value]),s=le(()=>$0($0({},i.value),t.style)),l=le(()=>({class:o.value,style:s.value,onClick:c=>{var f;return(f=e.onClick)===null||f===void 0?void 0:f.call(e,{e:c})}}));return()=>Rn(I1,l.value)}});const N1=P1;function G0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function X0(e){for(var r=1;re.size),{className:n,style:i}=Dn(a),o=le(()=>["t-icon","t-icon-move",n.value]),s=le(()=>X0(X0({},i.value),t.style)),l=le(()=>({class:o.value,style:s.value,onClick:c=>{var f;return(f=e.onClick)===null||f===void 0?void 0:f.call(e,{e:c})}}));return()=>Rn(L1,l.value)}});const M1=B1;function Y0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function q0(e){for(var r=1;re.size),{className:n,style:i}=Dn(a),o=le(()=>["t-icon","t-icon-setting",n.value]),s=le(()=>q0(q0({},i.value),t.style)),l=le(()=>({class:o.value,style:s.value,onClick:c=>{var f;return(f=e.onClick)===null||f===void 0?void 0:f.call(e,{e:c})}}));return()=>Rn(K1,l.value)}});const W1=j1;/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */var U1={container:{type:[String,Function],default:function(){return function(){return window}}},content:{type:[String,Function]},default:{type:[String,Function]},offsetBottom:{type:Number,default:0},offsetTop:{type:Number,default:0},zIndex:{type:Number},onFixedChange:Function};/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */var H1=Tr({name:"TAffix",props:U1,emits:["fixedChange"],setup:function(r,t){var a,n=ba("affix"),i=sn(),o=ye(null),s=ye(null),l=ye((a=document)===null||a===void 0?void 0:a.createElement("div")),c=ye(!1),f=ye(!1),u=ye(),d=ye(),v=0,x=function(){c.value||(v=window.requestAnimationFrame(function(){var S,g;v=0;var w=(S=(g=o.value)===null||g===void 0?void 0:g.getBoundingClientRect())!==null&&S!==void 0?S:{top:0,width:0,height:0},C=w.top,F=w.width,_=w.height,R=0;u.value instanceof HTMLElement&&(R=u.value.getBoundingClientRect().top);var y,W=C-R,D=u.value[u.value instanceof Window?"innerHeight":"clientHeight"]-_,E=R+D-r.offsetBottom;if(!ei(r.offsetTop)&&W<=r.offsetTop?y=R+r.offsetTop:!ei(r.offsetBottom)&&C>=E?y=E:y=!1,s.value){var T=y!==!1,A=o.value.contains(l.value);T?(s.value.className=n.value,d.value={top:"".concat(y,"px"),width:"".concat(F,"px"),height:"".concat(_,"px"),zIndex:r.zIndex},A||(l.value.style.width="".concat(F,"px"),l.value.style.height="".concat(_,"px"),o.value.appendChild(l.value))):(s.value.removeAttribute("class"),d.value=void 0,A&&l.value.remove()),t.emit("fixedChange",T,{top:Number(y)}),or(r.onFixedChange)&&r.onFixedChange(T,{top:Number(y)})}c.value=!1}),c.value=!0)},h=function(){var m=cl(Jn.mark(function S(){return Jn.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,Ba();case 2:if(!f.value){w.next=4;break}return w.abrupt("return");case 4:u.value=x1(r.container),Er(u.value,"scroll",x),Er(window,"resize",x),f.value=!0;case 8:case"end":return w.stop()}},S)}));return function(){return m.apply(this,arguments)}}(),p=function(){!u.value||!f.value||(cr(u.value,"scroll",x),cr(window,"resize",x),v&&window.cancelAnimationFrame(v),f.value=!1)};return Ge(function(){return r.offsetTop},function(){x()}),Ge(function(){return r.offsetBottom},function(){x()}),Ge(function(){return r.zIndex},function(){x()}),aa(h),Fv(h),Av(p),xs(p),{affixWrapRef:o,affixRef:s,bindScroll:h,unbindScroll:p,handleScroll:x,scrollContainer:u,renderTNodeJSX:i,affixStyle:d}},render:function(){return te("div",{ref:"affixWrapRef"},[te("div",{ref:"affixRef",style:this.affixStyle},[this.renderTNodeJSX("default")])])}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */var xo=ja(H1);/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */var V1=Su,z1=du,$1=hu,G1=xv,X1=gv,Y1=Eu,q1=200;function J1(e,r,t,a){var n=-1,i=z1,o=!0,s=e.length,l=[],c=r.length;if(!s)return l;t&&(r=G1(r,X1(t))),a?(i=$1,o=!1):r.length>=q1&&(i=Y1,o=!1,r=new V1(r));e:for(;++n2&&arguments[2]!==void 0?arguments[2]:{},a=t.window,n=a===void 0?nx:a,i=fu(t,ax),o,s=n&&"MutationObserver"in n,l=function(){o&&(o.disconnect(),o=void 0)},c=Ge(function(){return ix(e)},function(u){l(),s&&n&&u&&(o=new MutationObserver(r),o.observe(u,i))},{immediate:!0}),f=function(){l(),c()};return ox(f),{isSupported:s,stop:f}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function Z0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function Rs(e){for(var r=1;r0&&arguments[0]!==void 0?arguments[0]:!1;if(r.variant!=="outline"){var T=c.value.querySelector(x.value),A=E?"none":"all";if(!T){h.value={"transition-property":A,width:"0px",height:"9px",left:"0px",top:"0px"};return}var b=T.offsetWidth,O=T.offsetHeight,N=T.offsetLeft,G=T.offsetTop;b?h.value={"transition-property":A,width:"".concat(b,"px"),height:"".concat(O,"px"),left:"".concat(N,"px"),top:"".concat(G,"px")}:p()}},S;Ge(s,cl(Jn.mark(function D(){return Jn.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,Ba();case 2:m();case 3:case"end":return T.stop()}},D)}))),aa(function(){m(!0),e1(c,t1(cl(Jn.mark(function E(){return Jn.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Ba();case 2:m();case 3:case"end":return A.stop()}},E)})),300));var D=c.value.querySelector("".concat(x.value," .").concat(f.value,"__label"));D&&(S=sx(D,function(E){E.forEach(function(T){T.type==="characterData"&&m()})},{attributes:!0,childList:!0,characterData:!0,subtree:!0}))}),su(function(){var D;(D=S)===null||D===void 0||D.stop()});var g=Cr(r),w=g.name,C=g.disabled;lu(Fu,Sn({name:w,disabled:C,value:s,allowUncheck:r.allowUncheck,setValue:l}));var F=ba("radio-group"),_=to(),R=function(){if(r.variant.includes("filled")&&!r1(s.value))return te("div",{style:h.value,class:"".concat(F.value,"__bg-block")},null)},y=function(){var E;return(E=r.options)===null||E===void 0?void 0:E.map(function(T){var A=T;return(Cu(T)||da(T))&&(A={value:T,label:T.toString()}),te(Bl,{key:"radio-group-options-".concat(A.value,"-").concat(Math.random()),name:r.name,checked:s.value===A.value,disabled:"disabled"in A?A.disabled:r.disabled,value:A.value},{default:function(){return[or(A.label)?A.label(Kr):A.label]}})})},W=le(function(){return["".concat(F.value),v.value[r.size],ue(ue(ue({},"".concat(F.value,"__outline"),r.variant==="outline"),"".concat(F.value,"--filled"),r.variant.includes("filled")),"".concat(F.value,"--primary-filled"),r.variant==="primary-filled")]});return function(){return te("div",{ref:c,class:W.value},[_("default")||y(),R()])}}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function Q0(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function Is(e){for(var r=1;r0?r.customValue[0]:!0}),m=le(function(){return r.customValue&&r.customValue.length>1?r.customValue[1]:!1});function S(R){var y=x.value===p.value?m.value:p.value;h(y,{e:R})}function g(R){n.value||r.loading||S(R)}var w=le(function(){return["".concat(i.value),l.value[r.size],ue(ue(ue({},s.value.disabled,n.value),s.value.loading,r.loading),s.value.checked,x.value===p.value||r.modelValue===p.value)]}),C=le(function(){return["".concat(i.value,"__handle"),ue(ue({},s.value.disabled,n.value),s.value.loading,r.loading)]}),F=le(function(){return["".concat(i.value,"__content"),l.value[r.size],ue({},s.value.disabled,n.value)]});Ge(x,function(R){if(r.customValue&&r.customValue.length&&!r.customValue.includes(R))throw new Error("value is not in ".concat(JSON.stringify(r.customValue)))},{immediate:!0});var _=le(function(){if(or(r.label))return r.label(Kr,{value:x.value});if(da(r.label))return r.label;if(Ko(r.label)&&r.label.length){var R=x.value===p.value?r.label[0]:r.label[1];if(!R)return;if(da(R))return R;if(or(R))return R(Kr)}return a.label?a.label({value:x.value}):null});return function(){var R,y;return r.loading?y=te(Ll,{size:"small"},null):_.value&&(R=_.value),te("div",{class:w.value,disabled:n.value,onClick:g},[te("span",{class:C.value},[y]),te("div",{class:F.value},[R])])}}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */var gx=ja(xx);/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function rc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function mi(e){for(var r=1;r2&&arguments[2]!==void 0?arguments[2]:1,a=t,n=0,i=e.length;na&&(a=l)}}return a}function Du(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=r,a=(e==null?void 0:e.children)||[],n=0,i=a.length;n1&&(h.rowspan=v),x>1&&(h.colspan=x),a.set(d,h),d!=null&&(u=d.children)!==null&&u!==void 0&&u.length?o(d.children,l):l.push(d)}},i=[];return n(e,i),{rowspanAndColspanMap:a,leafColumns:i}}function yx(e){var r=function a(n,i){for(var o,s=[],l=[],c=0,f=n.length;c1}),s=function(c,f,u,d,v,x){var h=_r(c,3),p=h[0],m=h[1],S=h[2],g=ue(ue({},t.sortable,m),a.filterable,S),w=or(d)?d(Kr,{col:f,colIndex:u}):void 0,C=Boolean(d!==void 0?d:f.ellipsis);return te("div",{class:g},[te("div",{class:t.title},[C?te(Kl,{placement:"bottom",attach:e.attach||(v?function(){return v}:void 0),tooltipContent:w&&function(){return w},tooltipProps:Kt(d)==="object"?d:void 0,classPrefix:x==null?void 0:x.classPrefix,overlayClassName:x==null?void 0:x.ellipsisOverlayClassName},Sx(p)?p:{default:function(){return[p]}}):te("div",null,[p]),Boolean(m||S)&&te("div",{class:a.iconWrap},[m,S])])])};return{thList:i,isMultipleHeader:o,spansAndLeafNodes:n,renderTitleWidthIcon:s}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function ic(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function Ex(e){for(var r=1;rX}return!(N||r.value||O===u.value.length-1)},W=function(T,A,b,O){return A?C(T,A,b,O):_(b,O)},D=function(T,A,b){var O,N,G;if(!!p.draggingCol){var L=p.draggingCol,X=L.getBoundingClientRect(),Z=(O=t.value)===null||O===void 0?void 0:O.getBoundingClientRect(),I=(N=f.value[A.colKey])===null||N===void 0?void 0:N.next,z=(G=f.value[A.colKey])===null||G===void 0?void 0:G.prev,U=S(A)?F(L,A,I,X,Z):W(A,I,X,Z),V=U.resizeLinePos,q=U.minResizeLineLeft,ee=U.maxResizeLineLeft;if(p.isDragging=!0,p.draggingStart=T.x,c!=null&&c.value){m.display="block",m.height="".concat(Z.bottom-X.top,"px"),m.left="".concat(V,"px");var Y=t.value.parentElement.getBoundingClientRect();m.bottom="".concat(Y.bottom-Z.bottom,"px")}var J=function ce(){var K;if(!!p.isDragging){var Oe=V-parseFloat(m.left)||0,Ie=n("calculate"),Le=(K=f.value[A.colKey])===null||K===void 0?void 0:K.current;if(!!Le){var Pe=p.effectCol==="next"?Le.nextSibling:Le.prevSibling,ve=Ex({},Ie),Ye=A.resizable!==!1?A:Pe,dr=p.effectCol==="next"?Le.nextSibling:A,hr=y(ve,dr,Oe,b);p.effectCol==="next"?S(A)?L.dataset.colkey!==A.colKey?ve[I.colKey]+=Oe:ve[Ye.colKey]+=Oe:(ve[Ye.colKey]-=Oe,hr&&(ve[I.colKey]+=Oe)):p.effectCol==="prev"&&(hr&&(ve[Ye.colKey]+=Oe),z&&(ve[z.colKey]-=Oe)),i(ve);var kr=R(ve);o(Math.round(kr)),s(),p.isDragging=!1,p.draggingCol=null,p.effectCol=null,L.style.cursor="",m.display="none",m.left="0",cr(document,"mouseup",ce),cr(document,"mousemove",Q),document.onselectstart=d,document.ondragstart=v,l==null||l({columnsWidth:ve})}}},Q=function(K){if(p.isDragging){var Oe=V+K.x-p.draggingStart;m.left="".concat(Math.min(Math.max(Oe,q),ee),"px")}};Er(document,"mouseup",J),Er(document,"mousemove",Q),document.onselectstart=function(){return!1},document.ondragstart=function(){return!1}}};return{resizeLineRef:c,resizeLineStyle:m,onColumnMouseover:g,onColumnMousedown:D,setEffectColMap:h}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function Fx(){}var Ax=Fx,Ps=mv,Ox=Ax,Dx=Tu,Rx=1/0,Ix=Ps&&1/Dx(new Ps([,-0]))[1]==Rx?function(e){return new Ps(e)}:Ox,Px=Ix,Nx=Su,Lx=du,Bx=hu,Mx=Eu,Kx=Px,jx=Tu,Wx=200;function Ux(e,r,t){var a=-1,n=Lx,i=e.length,o=!0,s=[],l=s;if(t)o=!1,n=Bx;else if(i>=Wx){var c=r?null:Kx(e);if(c)return jx(c);o=!1,n=Mx,l=new Nx}else l=r?[]:s;e:for(;++at-1-a[1],l=t-a[1],c=(n==null?void 0:n.get(e))||{},f=ue(ue(ue(ue({},i.top,o),i.bottom,s),i.firstBottom,r===l),i.withoutBorderBottom,r===l-1),u={top:o?"".concat(c.top,"px"):void 0,bottom:s?"".concat(c.bottom,"px"):void 0};return{style:u,classes:f}}function tg(e,r,t,a){var n=Cr(e),i=n.columns,o=n.tableLayout,s=n.tableContentWidth,l=n.fixedRows,c=n.firstFullRow,f=n.lastFullRow,u=n.maxHeight,d=n.headerAffixedTop,v=n.footerAffixedBottom,x=n.bordered,h=n.resizable,p=n.allowResizeColumnWidth,m=ye([]),S=ye(),g=ye(),w=ye(!1),C=ye(!1),F=ye(),_=ye(6),R=ye(new Map),y=Sn({left:!1,right:!1}),W=ye({left:0,top:0}),D=ye(0),E=ye(0),T=ye({}),A=ye(!1),b=ye(!1),O=ye(!1),N=le(function(){var Ae,de;return(Ae=(de=p.value)!==null&&de!==void 0?de:h.value)!==null&&Ae!==void 0?Ae:!1}),G=le(function(){var Ae;return!(e.headerAffixedTop||e.footerAffixedBottom||e.horizontalScrollAffixedBottom||((Ae=e.scroll)===null||Ae===void 0?void 0:Ae.type)==="virtual")});function L(Ae){F.value=Ae}function X(Ae){for(var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Map,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],ke=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,me=arguments.length>4?arguments[4]:void 0,De=0,Ke=Ae.length;De2&&arguments[2]!==void 0?arguments[2]:{},me=0,De=de.length;me=0&&de[tr].fixed!=="left";)tr-=1;var sr=de[tr],wr=me===0&&(ke==null?void 0:ke.left)||0,Fr=be.get((sr==null?void 0:sr.colKey)||me-1);Be&&(Be.left=((Fr==null?void 0:Fr.left)||wr)+((Fr==null?void 0:Fr.width)||0)),(Ke=Ne.children)!==null&&Ke!==void 0&&Ke.length&&Ae(Ne.children,be,Be)}},I=function Ae(de,be){for(var ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},me=de.length-1;me>=0;me--){var De,Ke=de[me];if(Ke.fixed==="left")return;for(var Ne=be.get(Ke.colKey||me),Be=me+1;Be=tr.length-Be;Ut--){var Ht=de[Ut],er=_e(tr[Ut],wr),Ve=be.get(er)||{},Sr=_e(tr[Ut+1],wr),Zr=be.get(Sr)||{},Wr=0;Ut===tr.length-1&&(Wr=(me==null?void 0:me.getBoundingClientRect().height)||0),Ve.bottom=(Zr.bottom||Wr)+(Zr.height||0),be.set(er,Un(Un({},Ve),{},{height:(Ht==null?void 0:Ht.getBoundingClientRect().height)||0}))}},V=function(de,be){if(R.value.clear(),!!de){var ke=de.querySelector("thead");ke&&z(ke.children,be);var me=de.querySelector("tbody"),De=de.querySelector("tfoot");me&&U(me.children,be,ke,De),R.value=be}},q,ee=function(de,be){if(!(!A.value||!de)){var ke=de.scrollLeft;if(!(q===ke&&(!be||!be.skipScrollLimit))){q=ke;var me=de.clientWidth+ke0;y.left===De&&y.right===me||(y.left=De&&O.value,y.right=me&&b.value)}}},Y=function(de){for(var be=0;beg.value.clientHeight,C.value=g.value.scrollWidth>g.value.clientWidth;var be=g.value.getBoundingClientRect();W.value={top:be.top,left:be.left},clearTimeout(de)}},0)},ce=function(de){E.value!==de&&(E.value=de)},K=function(){var de,be,ke=(de=g.value)===null||de===void 0?void 0:de.getBoundingClientRect();if(!!ke){var me=w.value?_.value:0;D.value=ke.width-me-(e.bordered?1:0);var De=F==null||(be=F.value)===null||be===void 0?void 0:be.getBoundingClientRect();De!=null&&De.width&&ce(De.width)}},Oe=function(){var de,be,ke,me,De,Ke,Ne,Be;(de=a.paginationAffixRef.value)===null||de===void 0||(be=de.handleScroll)===null||be===void 0||be.call(de),(ke=a.horizontalScrollAffixRef.value)===null||ke===void 0||(me=ke.handleScroll)===null||me===void 0||me.call(ke),(De=a.headerTopAffixRef.value)===null||De===void 0||(Ke=De.handleScroll)===null||Ke===void 0||Ke.call(De),(Ne=a.footerBottomAffixRef.value)===null||Ne===void 0||(Be=Ne.handleScroll)===null||Be===void 0||Be.call(Ne)},Ie=function(de){for(var be={},ke=0,me=de.length;ke0&&arguments[0]!==void 0?arguments[0]:0,ha=arguments.length>1?arguments[1]:void 0;return ft+ha}),Wt=g.value.clientWidth,ia=Fr-sr;ce(Math.max(Wt,ia))}});var hr=function(){Pe(),Q(),Oe(),(A.value||w.value)&&(J(),ee(g.value,{skipScrollLimit:!0}))},kr=Il(function(){hr()},30),Qe=null;function zr(Ae){typeof window>"u"||ul()<11||typeof window.ResizeObserver>"u"||(cr(window,"resize",kr),Qe=new window.ResizeObserver(function(){var de=setTimeout(function(){hr(),clearTimeout(de)},200)}),Qe.observe(Ae),S.value=Ae)}aa(function(){var Ae=f1();_.value=Ae,Pe();var de=A.value||w.value||!G.value||!m.value.length,be=typeof window<"u",ke=be&&typeof window.ResizeObserver<"u";(de&&ul()<11||!ke)&&Er(window,"resize",kr)}),xs(function(){var Ae,de;typeof window<"u"&&cr(window,"resize",kr),(Ae=Qe)===null||Ae===void 0||Ae.unobserve(S.value),(de=Qe)===null||de===void 0||de.disconnect()});var ge=function(de){m.value=de},Fe=function(){J(),Q()};return{tableWidth:D,tableElmWidth:E,thWidthList:T,isFixedHeader:w,isWidthOverflow:C,tableContentRef:g,isFixedColumn:A,showColumnShadow:y,rowAndColFixedPosition:R,virtualScrollHeaderPos:W,scrollbarWidth:_,setData:ge,refreshTable:hr,setTableElmWidth:ce,emitScrollEvent:Ye,updateThWidthListHandler:Pe,updateColumnFixedShadow:ee,setUseFixedTableElmRef:L,getThWidthList:dr,updateThWidthList:Le,addTableResizeObserver:zr,updateTableAfterColumnResize:Fe}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function cc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function ag(e){for(var r=1;r0&&arguments[0]!==void 0?arguments[0]:1,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,p=e.data,m=Boolean(!i.value&&p.length>h);if(f.value=m,m){var S=(x-1)*h,g=x*h;c.value=p.slice(S,g)}else c.value=p};Ge(function(){var v,x;return[(v=a.value)===null||v===void 0?void 0:v.current,(x=a.value)===null||x===void 0?void 0:x.pageSize,n.value.length,i]},function(){if(!(!a.value||!a.value.current)){var v=a.value,x=v.current,h=v.pageSize;l.value={current:x,pageSize:h},u(a.value.current,a.value.pageSize)}},{immediate:!0}),Ge([n],function(){var v,x;if(!(!a.value||!a.value.defaultCurrent)){var h=Boolean(a.value.current);h||u((v=l.value.current)!==null&&v!==void 0?v:a.value.defaultCurrent,(x=l.value.pageSize)!==null&&x!==void 0?x:a.value.defaultPageSize)}},{immediate:!0});var d=function(){if(!e.pagination)return null;var x=ag({},e.pagination);return delete x.onChange,te("div",{class:"".concat(s.value,"-table__pagination")},[te(a1,Or(x,{onChange:function(p){var m,S,g;(m=e.pagination)===null||m===void 0||(S=m.onChange)===null||S===void 0||S.call(m,p),l.value=p,u(p.current,p.pageSize),(g=e.onPageChange)===null||g===void 0||g.call(e,p,c.value)}}),{totalContent:r.slots.totalContent})])};return{isPaginateData:f,dataSource:c,innerPagination:l,renderPagination:d}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function ig(e){var r=ye(),t=ye(),a=ye(),n=ye(),i=ye(),o=ye(!0),s=ye(!0),l=ye(!0),c=!1,f=!1,u=le(function(){return e.scroll&&e.scroll.type==="virtual"&&(e.scroll.threshold||100)Y.height},p=function(Y){return y1(Y)?0:Y.offsetTop||0},m=function(){var Y,J,Q;if(!(!d.value&&!u.value)){var ce=(Y=r.value)===null||Y===void 0?void 0:Y.getBoundingClientRect(),K=(J=r.value)===null||J===void 0||(J=J.querySelector("thead"))===null||J===void 0?void 0:J.getBoundingClientRect(),Oe=(K==null?void 0:K.height)||0,Ie=(Q=a.value)===null||Q===void 0?void 0:Q.getBoundingClientRect();if((e.headerAffixedTop||u.value)&&t.value){var Le=p(e.headerAffixProps||e.headerAffixedTop),Pe=(Ie==null?void 0:Ie.height)||0,ve=Math.abs(ce.top)-1*K.height),o.value=ve}if(e.footerAffixedBottom&&a!==null&&a!==void 0&&a.value)s.value=h(Ie,ce,Oe);else if(e.horizontalScrollAffixedBottom&&n!==null&&n!==void 0&&n.value){var Ye=n.value.getBoundingClientRect();s.value=h(Ye,ce,Oe)}if(e.paginationAffixedBottom&&i.value){var dr=i.value.getBoundingClientRect();l.value=h(dr,ce,Oe)}}},S=function(){m()},g=function(){x(a.value)},w=function(){x(t.value)},C=function(){x(n.value)},F=function(){x(r.value)},_=function(){Er(a.value,"scroll",g)},R=function(){cr(a.value,"scroll",g)},y=function(){Er(t.value,"scroll",w),N()},W=function(){c||cr(t.value,"scroll",w),G()},D=function(){Er(n.value,"scroll",C)},E=function(){cr(n.value,"scroll",C)},T=function(){Er(r.value,"scroll",F),N()},A=function(){c||cr(r.value,"scroll",F),G()},b=function(){c=!0},O=function(){c=!1,f||(cr(t.value,"scroll",w),cr(r.value,"scroll",F))},N=function(){f=!0},G=function(){f=!1},L=[],X=function(Y){var J=Il(function(Oe){cr(Y,"scroll",Oe)},200);function Q(){x(Y),J(Q)}function ce(Oe){Oe.composedPath().includes(Y)&&(L.forEach(function(Ie){return Ie()}),L.length=0,Er(Y,"scroll",Q),J(Q),L.push(function(){cr(Y,"scroll",Q)}))}Er(Y,"touchstart",ce);function K(){cr(Y,"touchstart",ce)}return{removeElementTouchScrollListener:K}},Z=[],I=function(){Z.forEach(function(Y){return Y()}),Z.length=0},z=function(){cr(window,"mousedown",b),cr(window,"mouseup",O),I(),t.value&&(cr(t.value,"mouseenter",y),cr(t.value,"mouseleave",W)),a.value&&(cr(a.value,"mouseenter",_),cr(a.value,"mouseleave",R)),r.value&&(cr(r.value,"mouseenter",T),cr(r.value,"mouseleave",A)),n.value&&(cr(n.value,"mouseenter",D),cr(n.value,"mouseleave",E))},U=function(){if(Er(window,"mousedown",b),Er(window,"mouseup",O),z(),t.value){Er(t.value,"mouseenter",y),Er(t.value,"mouseleave",W);var Y=X(t.value),J=Y.removeElementTouchScrollListener;Z.push(J)}if(e.footerAffixedBottom&&a.value){Er(a.value,"mouseenter",_),Er(a.value,"mouseleave",R);var Q=X(a.value),ce=Q.removeElementTouchScrollListener;Z.push(ce)}if(e.horizontalScrollAffixedBottom&&n.value){Er(n.value,"mouseenter",D),Er(n.value,"mouseleave",E);var K=X(n.value),Oe=K.removeElementTouchScrollListener;Z.push(Oe)}if((d.value||u.value)&&r.value){Er(r.value,"mouseenter",T),Er(r.value,"mouseleave",A);var Ie=X(r.value),Le=Ie.removeElementTouchScrollListener;Z.push(Le)}},V=function(){if(!(!d.value&&!e.paginationAffixedBottom))var Y=setTimeout(function(){d.value||e.paginationAffixedBottom?Er(document,"scroll",S):cr(document,"scroll",S),clearTimeout(Y)})};Ge([t,a,n,r],function(){U(),x(),m()}),Ge(d,V),Ge(function(){return[e.data,e.columns,e.headerAffixedTop,e.footerAffixedBottom,e.horizontalScrollAffixedBottom]},function(){x()}),xs(function(){cr(document,"scroll",S),z(),t.value=null,a.value=null,n.value=null,r.value=null});var q=function(Y){r.value=Y,V()};return{showAffixHeader:o,showAffixFooter:s,showAffixPagination:l,affixHeaderRef:t,affixFooterRef:a,horizontalScrollbarRef:n,paginationRef:i,onHorizontalScroll:x,setTableContentRef:q,updateAffixHeaderOrFooter:m}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function Wl(e,r){if(!!e){for(var t=e instanceof Array?e:[e],a={},n=0;n1&&(G.rowspan=X.rowspan),((I=X)===null||I===void 0?void 0:I.colspan)>1&&(G.colspan=X.colspan),X.skipped)return null}return R(L,{dataLength:T,rowAndColFixedPosition:A,columnLength:W.length,cellSpans:G,cellEmptyContent:r.cellEmptyContent})});return te("tr",Or({ref:s},p.value,{style:(y=h.value)===null||y===void 0?void 0:y.style,class:m.value},C(E,r.rowIndex)),[g.value?[te("td",{style:{height:"".concat(w.value,"px"),border:"none"}},null)]:b])}}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function uc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function po(e){for(var r=1;r1)for(var p=v+1;p1)for(var h=c+1;h1&&(A.colspan=u.colspan),te("th",Or({key:u.colKey,"data-colkey":u.colKey,class:F,style:y},A,x,D),[te("div",{class:r.tableBaseClass.thCellInner},[T?te(Kl,{placement:"bottom",attach:r.attach||(r.theadRef?function(){return r.getTableNode(r.theadRef)}:void 0),tooltipContent:E&&function(){return E},tooltipProps:Kt(u.ellipsisTitle)==="object"?u.ellipsisTitle:void 0,overlayClassName:r.ellipsisOverlayClassName,classPrefix:r.classPrefix},fg(W)?W:{default:function(){return[W]}}):W])])});return te("tr",{key:c},[f])})};return te("thead",{ref:"theadRef",class:this.theadClasses},[t(this.rowAndColFixedPosition,this.thWidthList)])}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function vc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function mo(e){for(var r=1;r1&&(v.rowspan=x.rowspan),((p=x)===null||p===void 0?void 0:p.colspan)>1&&(v.colspan=x.colspan),x.skipped)return null}var S=jl(f,u,t.rowAndColFixedPosition,t.tableColFixedClasses),g=mo({},S.style);return(d=t.thWidthList)!==null&&d!==void 0&&d[f.colKey]&&(g.width="".concat(t.thWidthList[f.colKey],"px")),te("td",Or(mo({key:f.colKey},v),{class:S.classes,style:g}),[t.renderTFootCell({row:o,rowIndex:s,col:f,colIndex:u})])})])}),i=this.renderTNode("footerSummary");return!i&&(!this.footData||!this.footData.length)?null:te("tfoot",{ref:"tFooterRef",class:a,style:{visibility:this.virtualScroll?"hidden":"visible"}},[i&&te("tr",{class:this.tableFullRowClasses.base},[te("td",{colspan:this.columns.length},[te("div",{class:this.tableFullRowClasses.innerFullElement},[i])])]),n])}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function ug(e,r){var t=Cr(e),a=t.data,n=t.activeRowType,i=t.activeRowKeys,o=t.defaultActiveRowKeys,s=t.disableSpaceInactiveRow,l=ye(-1),c=ye(!1),f=ye(!1),u=ye(-1),d=Ma(i,o.value,e.onActiveChange,"activeRowKeys"),v=_r(d,2),x=v[0],h=v[1],p=function(T){var A=T.row,b=T.index,O=_e(A,e.rowKey);if(n.value==="single"){var N=x.value.length>1?[O]:[];h(N,{type:"inactive",activeRowList:[{row:A,rowIndex:b}],currentRowData:A})}else if(n.value==="multiple"){for(var G=x.value.filter(function(z){return z!==O}),L=[],X=0,Z=a.value.length;X0&&arguments[0]!==void 0?arguments[0]:!0;return te("colgroup",null,[v.map(function(ce){var K={width:Ti((Q||x?a.thWidthList[ce.colKey]:void 0)||ce.width)||h};return ce.minWidth&&(K.minWidth=Ti(ce.minWidth)),!K.width&&!ce.minWidth&&a.tableLayout==="fixed"&&(K.minWidth="80px"),te("col",{key:ce.colKey,style:K},null)})])},m=function(){return a.showHeader===!1?null:!!(a.virtualConfig.isVirtualScroll.value||a.headerAffixedTop)&&(a.headerAffixedTop?te(xo,Or({offsetTop:0},go(a.headerAffixedTop),{onFixedChange:a.onFixedChange,ref:"headerTopAffixRef"}),pc(T)?T:{default:function(){return[T]}}):a.isFixedHeader&&T)},S=function(){return te(xo,Or({offsetBottom:0},go(a.horizontalScrollAffixedBottom),{style:{marginTop:"-".concat(a.scrollbarWidth*2,"px")},horizontalScrollAffixedBottom:!0,ref:"horizontalScrollAffixRef"}),{default:function(){return[te("div",{ref:"horizontalScrollbarRef",class:["scrollbar",a.tableBaseClass.obviousScrollbar],style:{width:"".concat(a.tableWidth,"px"),overflow:"auto",opacity:Number(a.showAffixFooter)}},[te("div",{style:{width:"".concat(a.tableElmWidth,"px"),height:"5px"}},null)])]}})},g={isFixedHeader:this.isFixedHeader,rowAndColFixedPosition:this.rowAndColFixedPosition,isMultipleHeader:this.isMultipleHeader,bordered:this.bordered,maxHeight:this.maxHeight,height:this.height,spansAndLeafNodes:this.spansAndLeafNodes,thList:this.thList,thWidthList:this.thWidthList,resizable:this.resizable,columnResizeParams:this.columnResizeParams,classPrefix:this.classPrefix,ellipsisOverlayClassName:this.tableSize!=="medium"?this.sizeClassNames[this.tableSize]:"",attach:this.attach,showColumnShadow:this.showColumnShadow,thDraggable:this.thDraggable},w=ul()<=11?4:0,C=this.isWidthOverflow?this.scrollbarWidth:0,F=ye((((n=this.affixHeaderRef)===null||n===void 0?void 0:n.getBoundingClientRect().height)||0)-w),_=setTimeout(function(){var J;F.value=(((J=a.affixHeaderRef)===null||J===void 0?void 0:J.getBoundingClientRect().height)||0)-w,clearTimeout(_)},0),R=le(function(){return F.value-C}),y=si.headerAffixedTop?Number(this.showAffixHeader):1,W=le(function(){return{width:"".concat(a.tableWidth,"px"),height:"".concat(R.value,"px"),opacity:y}}),D=this.bordered?1:0,E=Boolean((this.headerAffixedTop||this.virtualConfig.isVirtualScroll.value)&&this.tableWidth)&&te("div",{ref:"affixHeaderRef",style:{width:"".concat(this.tableWidth-D,"px"),opacity:Number(this.showAffixHeader)},class:["scrollbar",ue({},this.tableBaseClass.affixedHeaderElm,this.headerAffixedTop||this.virtualConfig.isVirtualScroll.value)]},[te("table",{class:this.tableElmClasses,style:Tt(Tt({},this.tableElementStyles),{},{width:"".concat(this.tableElmWidth,"px")})},[p(!0),te(hc,g,this.$slots)])]),T=te("div",{class:this.tableBaseClass.affixedHeaderWrap,style:W.value},[E]),A=this.isWidthOverflow?this.scrollbarWidth:0;this.bordered&&(A+=1);var b=Boolean(this.virtualConfig.isVirtualScroll.value||this.footerAffixedBottom),O=((i=this.footData)===null||i===void 0?void 0:i.length)||this.footerSummary||this.$slots.footerSummary,N=Boolean(b&&O&&this.tableWidth)&&te(xo,Or({class:this.tableBaseClass.affixedFooterWrap,onFixedChange:this.onFixedChange,offsetBottom:A||0},go(this.footerAffixedBottom),{style:{marginTop:"".concat(-1*(((o=this.tableFootHeight)!==null&&o!==void 0?o:0)+A),"px")},ref:"footerBottomAffixRef"}),{default:function(){return[te("div",{ref:"affixFooterRef",style:{width:"".concat(a.tableWidth-D,"px"),opacity:Number(a.showAffixFooter)},class:["scrollbar",ue({},a.tableBaseClass.affixedFooterElm,a.footerAffixedBottom||a.virtualConfig.isVirtualScroll.value)]},[te("table",{class:a.tableElmClasses,style:Tt(Tt({},a.tableElementStyles),{},{width:"".concat(a.tableElmWidth,"px")})},[p(!0),te(xc,{rowKey:a.rowKey,isFixedHeader:a.isFixedHeader,rowAndColFixedPosition:f,footData:a.footData,columns:v,rowAttributes:a.rowAttributes,rowClassName:a.rowClassName,thWidthList:a.thWidthList,footerSummary:a.footerSummary,rowspanAndColspanInFooter:a.rowspanAndColspanInFooter},a.$slots)])])]}}),G="translate(0, ".concat(this.virtualConfig.scrollHeight.value+((s=this.tableFootHeight)!==null&&s!==void 0?s:0)+((l=F.value)!==null&&l!==void 0?l:0),"px)"),L={transform:G,"-ms-transform":G,"-moz-transform":G,"-webkit-transform":G},X=this.virtualConfig,Z=Tt(Tt({classPrefix:this.classPrefix,ellipsisOverlayClassName:this.tableSize!=="medium"?this.sizeClassNames[this.tableSize]:"",rowAndColFixedPosition:f,showColumnShadow:this.showColumnShadow,data:X.isVirtualScroll.value?X.visibleData.value:d,virtualConfig:this.virtualConfig,columns:this.spansAndLeafNodes.leafColumns,tableElm:this.tableRef,tableWidth:this.tableWidth,isWidthOverflow:this.isWidthOverflow,scroll:this.scroll,cellEmptyContent:this.cellEmptyContent,tableContentElm:this.tableContentRef,handleRowMounted:this.virtualConfig.handleRowMounted,renderExpandedRow:this.renderExpandedRow},ri(this.$props,Mu)),{},{pagination:this.innerPagination,attach:this.attach,hoverRow:this.hoverRow,activeRow:this.tActiveRow,onRowClick:this.onInnerRowClick}),I=te("div",{ref:"tableContentRef",class:this.tableBaseClass.content,style:this.tableContentStyles,onScroll:this.onInnerVirtualScroll},[this.virtualConfig.isVirtualScroll.value&&te("div",{class:this.virtualScrollClasses.cursor,style:L},null),te("table",{ref:"tableElmRef",class:this.tableElmClasses,style:Tt(Tt({},this.tableElementStyles),{},{width:this.resizable&&this.isWidthOverflow&&this.tableElmWidth?"".concat(this.tableElmWidth,"px"):this.tableElementStyles.width})},[p(!1),this.showHeader&&te(hc,Tt(Tt({},g),{},{thWidthList:x?this.thWidthList:{}}),this.$slots),te(cg,Z,this.$slots),te(xc,{rowKey:this.rowKey,isFixedHeader:this.isFixedHeader,rowAndColFixedPosition:f,footData:this.footData,columns:v,rowAttributes:this.rowAttributes,rowClassName:this.rowClassName,footerSummary:this.footerSummary,rowspanAndColspanInFooter:this.rowspanAndColspanInFooter,virtualScroll:this.virtualConfig.isVirtualScroll.value},this.$slots)])]),z=or(this.loading)?this.loading:this.$slots.loading,U=this.loading!==void 0&&te(Ll,Or({loading:!!this.loading,text:z,attach:this.tableRef?function(){return a.tableRef}:void 0,showOverlay:!0,size:"small"},this.loadingProps),null),V=this.renderTNode("topContent"),q=this.renderTNode("bottomContent"),ee=te("div",{ref:"paginationRef",class:this.tableBaseClass.paginationWrap,style:{opacity:Number(this.showAffixPagination)}},[this.renderPagination()]),Y=!!q&&te("div",{ref:"bottomContentRef",class:this.tableBaseClass.bottomContent},[q]);return te("div",{ref:"tableRef",tabindex:"0",class:this.dynamicBaseTableClasses,onFocus:this.onTableFocus,onBlur:this.onTableBlur},[!!V&&te("div",{class:this.tableBaseClass.topContent},[V]),m(),I,N,U,Y,this.showRightDivider&&te("div",{class:this.tableBaseClass.scrollbarDivider,style:{right:"".concat(this.scrollbarWidth,"px"),bottom:this.dividerBottom?"".concat(this.dividerBottom,"px"):void 0,height:"".concat((c=this.tableContentRef)===null||c===void 0?void 0:c.getBoundingClientRect().height,"px")}},null),this.horizontalScrollAffixedBottom&&S(),this.paginationAffixedBottom?te(xo,Or({offsetBottom:0},go(this.paginationAffixedBottom),{ref:"paginationAffixRef"}),pc(ee)?ee:{default:function(){return[ee]}}):ee,te("div",{ref:"resizeLineRef",class:this.tableBaseClass.resizeLine,style:this.resizeLineStyle},null)])}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */var Wu={asyncLoading:{type:[String,Function]},columnController:{type:Object},columnControllerVisible:{type:Boolean,default:void 0},defaultColumnControllerVisible:{type:Boolean,default:void 0},columns:{type:Array,default:function(){return[]}},displayColumns:{type:Array,default:void 0},defaultDisplayColumns:{type:Array},dragSort:{type:String,validator:function(r){return r?["row","row-handler","col","row-handler-col","drag-col"].includes(r):!0}},dragSortOptions:{type:Object},editableCellState:{type:Function},editableRowKeys:{type:Array},expandIcon:{type:[Boolean,Function],default:!0},expandOnRowClick:Boolean,expandedRow:{type:[String,Function]},expandedRowKeys:{type:Array,default:void 0},defaultExpandedRowKeys:{type:Array,default:function(){return[]}},filterIcon:{type:Function},filterRow:{type:[String,Function]},filterValue:{type:Object,default:void 0},defaultFilterValue:{type:Object},hideSortTips:Boolean,indeterminateSelectedRowKeys:{type:Array},multipleSort:Boolean,reserveSelectedRowOnPaginate:{type:Boolean,default:!0},rowSelectionAllowUncheck:Boolean,rowSelectionType:{type:String,validator:function(r){return r?["single","multiple"].includes(r):!0}},selectOnRowClick:Boolean,selectedRowKeys:{type:Array,default:void 0},defaultSelectedRowKeys:{type:Array,default:function(){return[]}},showSortColumnBgColor:Boolean,sort:{type:[Object,Array],default:void 0},defaultSort:{type:[Object,Array]},sortIcon:{type:Function},sortOnRowDraggable:Boolean,onAsyncLoadingClick:Function,onCellClick:Function,onChange:Function,onColumnChange:Function,onColumnControllerVisibleChange:Function,onDataChange:Function,onDisplayColumnsChange:Function,onDragSort:Function,onExpandChange:Function,onFilterChange:Function,onRowEdit:Function,onRowValidate:Function,onSelectChange:Function,onSortChange:Function,onValidate:Function};/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function mc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function wc(e){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:new Set,t=0,a=e.length;t1&&arguments[1]!==void 0?arguments[1]:[];if((T=c.value)!==null&&T!==void 0&&(T=T.groupColumns)!==null&&T!==void 0&&T.length)return[];for(var b=0,O=E.length;b1&&arguments[1]!==void 0?arguments[1]:{},t=0,a=e.length;t0&&S.value.length0&&arguments[0]!==void 0?arguments[0]:{},O=Xe(d.value),N=e.rowKey||"id",G=_e(b,N),L=O.indexOf(G),X=L!==-1;if(p.value==="multiple")X?O.splice(L,1):O.push(G);else if(p.value==="single")O=X&&g.value?[]:[G];else{Nr.warn("Table","`column.type` must be one of `multiple` and `single`");return}v(O,{selectedRowData:O.map(function(Z){return x.value.get(Z)}),currentRowKey:G,currentRowData:b,type:X?"uncheck":"check"})}function y(b){var O,N=e.rowKey||"id",G=m.value.map(function(Z){return _e(Z,N)}),L=((O=a.value)===null||O===void 0?void 0:O.filter(function(Z){return!G.includes(Z)}))||[],X=b?[].concat(Xe(L),Xe(G)):Xe(L);v(X,{selectedRowData:b?X.map(function(Z){return x.value.get(Z)}):[],type:b?"check":"uncheck",currentRowKey:"CHECK_ALL_BOX"})}function W(b){var O=["multiple","single"].includes(b.type);return O?wo(wo({},b),{},{width:b.width||64,className:[r.checkCell,b.className],cell:function(G,L){return _(L)},title:b.type==="multiple"?C():b.title}):b}var D=function(O){var N=O.row,G=O.index,L=e.columns.findIndex(function(I){return I.colKey==="row-select"}),X=!1;if(L!==-1){var Z;X=(Z=F({row:N,rowIndex:G,col:e.columns[L],colIndex:L}))===null||Z===void 0?void 0:Z.disabled}X||R(N)};Ge([o,i],function(){for(var b=0,O=o.value.length;b1)],n={asc:this.globalConfig.sortAscendingOperationText,desc:this.globalConfig.sortDescendingOperationText},i=this.allowSortTypes.map(function(o){var s,l,c=o===r.sortOrder?t.iconActive:t.iconDefault,f=r.globalConfig.sortCancelOperationText,u=o===r.sortOrder?f:n[o];return((l=r.hideSortTips)!==null&&l!==void 0?l:r.globalConfig.hideSortTips)?r.getSortIcon(o,c):te(xu,Or({content:u,placement:"right",showArrow:!1,class:r.tableSortClasses.iconDirection[o]},r.tooltipProps),yg(s=r.getSortIcon(o,c))?s:{default:function(){return[s]}})});return te("div",{class:a},[i])}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function Sc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function bg(e){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:{},T=0,A=D.length;T * @author owenm * @license MIT */function Tc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function Sa(e){for(var r=1;r=0)&&(t[n]=e[n]);return t}function Ag(e,r){if(e==null)return{};var t=Fg(e,r),a,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&(!Object.prototype.propertyIsEnumerable.call(e,a)||(t[a]=e[a]))}return t}var Og="1.15.2";function Ra(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Wa=Ra(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ao=Ra(/Edge/i),kc=Ra(/firefox/i),ki=Ra(/safari/i)&&!Ra(/chrome/i)&&!Ra(/android/i),Vu=Ra(/iP(ad|od|hone)/i),zu=Ra(/chrome/i)&&Ra(/android/i),$u={capture:!1,passive:!1};function ur(e,r,t){e.addEventListener(r,t,!Wa&&$u)}function nr(e,r,t){e.removeEventListener(r,t,!Wa&&$u)}function Jo(e,r){if(!!r){if(r[0]===">"&&(r=r.substring(1)),e)try{if(e.matches)return e.matches(r);if(e.msMatchesSelector)return e.msMatchesSelector(r);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(r)}catch{return!1}return!1}}function Dg(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function la(e,r,t,a){if(e){t=t||document;do{if(r!=null&&(r[0]===">"?e.parentNode===t&&Jo(e,r):Jo(e,r))||a&&e===t)return e;if(e===t)break}while(e=Dg(e))}return null}var Fc=/\s+/g;function Rt(e,r,t){if(e&&r)if(e.classList)e.classList[t?"add":"remove"](r);else{var a=(" "+e.className+" ").replace(Fc," ").replace(" "+r+" "," ");e.className=(a+(t?" "+r:"")).replace(Fc," ")}}function We(e,r,t){var a=e&&e.style;if(a){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(t=e.currentStyle),r===void 0?t:t[r];!(r in a)&&r.indexOf("webkit")===-1&&(r="-webkit-"+r),a[r]=t+(typeof t=="string"?"":"px")}}function ti(e,r){var t="";if(typeof e=="string")t=e;else do{var a=We(e,"transform");a&&a!=="none"&&(t=a+" "+t)}while(!r&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(t)}function Gu(e,r,t){if(e){var a=e.getElementsByTagName(r),n=0,i=a.length;if(t)for(;n=i:o=n<=i,!o)return a;if(a===_a())break;a=Za(a,!1)}return!1}function li(e,r,t,a){for(var n=0,i=0,o=e.children;i2&&arguments[2]!==void 0?arguments[2]:{},n=a.evt,i=Ag(a,Kg);no.pluginEvent.bind(je)(r,t,Sa({dragEl:Te,parentEl:Br,ghostEl:ze,rootEl:Rr,nextEl:gn,lastDownEl:Uo,cloneEl:Pr,cloneHidden:qa,dragStarted:wi,putSortable:it,activeSortable:je.active,originalEvent:n,oldIndex:Zn,oldDraggableIndex:Ai,newIndex:It,newDraggableIndex:Ya,hideGhostForTarget:rd,unhideGhostForTarget:td,cloneNowHidden:function(){qa=!0},cloneNowShown:function(){qa=!1},dispatchSortableEvent:function(s){bt({sortable:t,name:s,originalEvent:n})}},i))};function bt(e){Mg(Sa({putSortable:it,cloneEl:Pr,targetEl:Te,rootEl:Rr,oldIndex:Zn,oldDraggableIndex:Ai,newIndex:It,newDraggableIndex:Ya},e))}var Te,Br,ze,Rr,gn,Uo,Pr,qa,Zn,It,Ai,Ya,bo,it,Yn=!1,Zo=!1,Qo=[],hn,oa,Ms,Ks,Dc,Rc,wi,Vn,Oi,Di=!1,So=!1,Ho,ut,js=[],vl=!1,es=[],ms=typeof document<"u",Eo=Vu,Ic=ao||Wa?"cssFloat":"float",jg=ms&&!zu&&!Vu&&"draggable"in document.createElement("div"),Zu=function(){if(!!ms){if(Wa)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Qu=function(r,t){var a=We(r),n=parseInt(a.width)-parseInt(a.paddingLeft)-parseInt(a.paddingRight)-parseInt(a.borderLeftWidth)-parseInt(a.borderRightWidth),i=li(r,0,t),o=li(r,1,t),s=i&&We(i),l=o&&We(o),c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+qr(i).width,f=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+qr(o).width;if(a.display==="flex")return a.flexDirection==="column"||a.flexDirection==="column-reverse"?"vertical":"horizontal";if(a.display==="grid")return a.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&s.float&&s.float!=="none"){var u=s.float==="left"?"left":"right";return o&&(l.clear==="both"||l.clear===u)?"vertical":"horizontal"}return i&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||c>=n&&a[Ic]==="none"||o&&a[Ic]==="none"&&c+f>n)?"vertical":"horizontal"},Wg=function(r,t,a){var n=a?r.left:r.top,i=a?r.right:r.bottom,o=a?r.width:r.height,s=a?t.left:t.top,l=a?t.right:t.bottom,c=a?t.width:t.height;return n===s||i===l||n+o/2===s+c/2},Ug=function(r,t){var a;return Qo.some(function(n){var i=n[Lt].options.emptyInsertThreshold;if(!(!i||Hl(n))){var o=qr(n),s=r>=o.left-i&&r<=o.right+i,l=t>=o.top-i&&t<=o.bottom+i;if(s&&l)return a=n}}),a},ed=function(r){function t(i,o){return function(s,l,c,f){var u=s.options.group.name&&l.options.group.name&&s.options.group.name===l.options.group.name;if(i==null&&(o||u))return!0;if(i==null||i===!1)return!1;if(o&&i==="clone")return i;if(typeof i=="function")return t(i(s,l,c,f),o)(s,l,c,f);var d=(o?s:l).options.group.name;return i===!0||typeof i=="string"&&i===d||i.join&&i.indexOf(d)>-1}}var a={},n=r.group;(!n||Wo(n)!="object")&&(n={name:n}),a.name=n.name,a.checkPull=t(n.pull,!0),a.checkPut=t(n.put),a.revertClone=n.revertClone,r.group=a},rd=function(){!Zu&&ze&&We(ze,"display","none")},td=function(){!Zu&&ze&&We(ze,"display","")};ms&&!zu&&document.addEventListener("click",function(e){if(Zo)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Zo=!1,!1},!0);var vn=function(r){if(Te){r=r.touches?r.touches[0]:r;var t=Ug(r.clientX,r.clientY);if(t){var a={};for(var n in r)r.hasOwnProperty(n)&&(a[n]=r[n]);a.target=a.rootEl=t,a.preventDefault=void 0,a.stopPropagation=void 0,t[Lt]._onDragOver(a)}}},Hg=function(r){Te&&Te.parentNode[Lt]._isOutsideThisEl(r.target)};function je(e,r){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=r=Ka({},r),e[Lt]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Qu(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,s){o.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:je.supportPointer!==!1&&"PointerEvent"in window&&!ki,emptyInsertThreshold:5};no.initializePlugins(this,e,t);for(var a in t)!(a in r)&&(r[a]=t[a]);ed(r);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=r.forceFallback?!1:jg,this.nativeDraggable&&(this.options.touchStartThreshold=1),r.supportPointer?ur(e,"pointerdown",this._onTapStart):(ur(e,"mousedown",this._onTapStart),ur(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(ur(e,"dragover",this),ur(e,"dragenter",this)),Qo.push(this.el),r.store&&r.store.get&&this.sort(r.store.get(this)||[]),Ka(this,Ng())}je.prototype={constructor:je,_isOutsideThisEl:function(r){!this.el.contains(r)&&r!==this.el&&(Vn=null)},_getDirection:function(r,t){return typeof this.options.direction=="function"?this.options.direction.call(this,r,t,Te):this.options.direction},_onTapStart:function(r){if(!!r.cancelable){var t=this,a=this.el,n=this.options,i=n.preventOnFilter,o=r.type,s=r.touches&&r.touches[0]||r.pointerType&&r.pointerType==="touch"&&r,l=(s||r).target,c=r.target.shadowRoot&&(r.path&&r.path[0]||r.composedPath&&r.composedPath()[0])||l,f=n.filter;if(Jg(a),!Te&&!(/mousedown|pointerdown/.test(o)&&r.button!==0||n.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&ki&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=la(l,n.draggable,a,!1),!(l&&l.animated)&&Uo!==l)){if(Zn=qt(l),Ai=qt(l,n.draggable),typeof f=="function"){if(f.call(this,r,l,this)){bt({sortable:t,rootEl:c,name:"filter",targetEl:l,toEl:a,fromEl:a}),kt("filter",t,{evt:r}),i&&r.cancelable&&r.preventDefault();return}}else if(f&&(f=f.split(",").some(function(u){if(u=la(c,u.trim(),a,!1),u)return bt({sortable:t,rootEl:u,name:"filter",targetEl:l,fromEl:a,toEl:a}),kt("filter",t,{evt:r}),!0}),f)){i&&r.cancelable&&r.preventDefault();return}n.handle&&!la(c,n.handle,a,!1)||this._prepareDragStart(r,s,l)}}},_prepareDragStart:function(r,t,a){var n=this,i=n.el,o=n.options,s=i.ownerDocument,l;if(a&&!Te&&a.parentNode===i){var c=qr(a);if(Rr=i,Te=a,Br=Te.parentNode,gn=Te.nextSibling,Uo=a,bo=o.group,je.dragged=Te,hn={target:Te,clientX:(t||r).clientX,clientY:(t||r).clientY},Dc=hn.clientX-c.left,Rc=hn.clientY-c.top,this._lastX=(t||r).clientX,this._lastY=(t||r).clientY,Te.style["will-change"]="all",l=function(){if(kt("delayEnded",n,{evt:r}),je.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!kc&&n.nativeDraggable&&(Te.draggable=!0),n._triggerDragStart(r,t),bt({sortable:n,name:"choose",originalEvent:r}),Rt(Te,o.chosenClass,!0)},o.ignore.split(",").forEach(function(f){Gu(Te,f.trim(),Ws)}),ur(s,"dragover",vn),ur(s,"mousemove",vn),ur(s,"touchmove",vn),ur(s,"mouseup",n._onDrop),ur(s,"touchend",n._onDrop),ur(s,"touchcancel",n._onDrop),kc&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Te.draggable=!0),kt("delayStart",this,{evt:r}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(ao||Wa))){if(je.eventCanceled){this._onDrop();return}ur(s,"mouseup",n._disableDelayedDrag),ur(s,"touchend",n._disableDelayedDrag),ur(s,"touchcancel",n._disableDelayedDrag),ur(s,"mousemove",n._delayedDragTouchMoveHandler),ur(s,"touchmove",n._delayedDragTouchMoveHandler),o.supportPointer&&ur(s,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(l,o.delay)}else l()}},_delayedDragTouchMoveHandler:function(r){var t=r.touches?r.touches[0]:r;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Te&&Ws(Te),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var r=this.el.ownerDocument;nr(r,"mouseup",this._disableDelayedDrag),nr(r,"touchend",this._disableDelayedDrag),nr(r,"touchcancel",this._disableDelayedDrag),nr(r,"mousemove",this._delayedDragTouchMoveHandler),nr(r,"touchmove",this._delayedDragTouchMoveHandler),nr(r,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(r,t){t=t||r.pointerType=="touch"&&r,!this.nativeDraggable||t?this.options.supportPointer?ur(document,"pointermove",this._onTouchMove):t?ur(document,"touchmove",this._onTouchMove):ur(document,"mousemove",this._onTouchMove):(ur(Te,"dragend",this),ur(Rr,"dragstart",this._onDragStart));try{document.selection?Vo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(r,t){if(Yn=!1,Rr&&Te){kt("dragStarted",this,{evt:t}),this.nativeDraggable&&ur(document,"dragover",Hg);var a=this.options;!r&&Rt(Te,a.dragClass,!1),Rt(Te,a.ghostClass,!0),je.active=this,r&&this._appendGhost(),bt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(oa){this._lastX=oa.clientX,this._lastY=oa.clientY,rd();for(var r=document.elementFromPoint(oa.clientX,oa.clientY),t=r;r&&r.shadowRoot&&(r=r.shadowRoot.elementFromPoint(oa.clientX,oa.clientY),r!==t);)t=r;if(Te.parentNode[Lt]._isOutsideThisEl(r),t)do{if(t[Lt]){var a=void 0;if(a=t[Lt]._onDragOver({clientX:oa.clientX,clientY:oa.clientY,target:r,rootEl:t}),a&&!this.options.dragoverBubble)break}r=t}while(t=t.parentNode);td()}},_onTouchMove:function(r){if(hn){var t=this.options,a=t.fallbackTolerance,n=t.fallbackOffset,i=r.touches?r.touches[0]:r,o=ze&&ti(ze,!0),s=ze&&o&&o.a,l=ze&&o&&o.d,c=Eo&&ut&&Oc(ut),f=(i.clientX-hn.clientX+n.x)/(s||1)+(c?c[0]-js[0]:0)/(s||1),u=(i.clientY-hn.clientY+n.y)/(l||1)+(c?c[1]-js[1]:0)/(l||1);if(!je.active&&!Yn){if(a&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))=0&&(bt({rootEl:Br,name:"add",toEl:Br,fromEl:Rr,originalEvent:r}),bt({sortable:this,name:"remove",toEl:Br,originalEvent:r}),bt({rootEl:Br,name:"sort",toEl:Br,fromEl:Rr,originalEvent:r}),bt({sortable:this,name:"sort",toEl:Br,originalEvent:r})),it&&it.save()):It!==Zn&&It>=0&&(bt({sortable:this,name:"update",toEl:Br,originalEvent:r}),bt({sortable:this,name:"sort",toEl:Br,originalEvent:r})),je.active&&((It==null||It===-1)&&(It=Zn,Ya=Ai),bt({sortable:this,name:"end",toEl:Br,originalEvent:r}),this.save()))),this._nulling()},_nulling:function(){kt("nulling",this),Rr=Te=Br=ze=gn=Pr=Uo=qa=hn=oa=wi=It=Ya=Zn=Ai=Vn=Oi=it=bo=je.dragged=je.ghost=je.clone=je.active=null,es.forEach(function(r){r.checked=!0}),es.length=Ms=Ks=0},handleEvent:function(r){switch(r.type){case"drop":case"dragend":this._onDrop(r);break;case"dragenter":case"dragover":Te&&(this._onDragOver(r),Vg(r));break;case"selectstart":r.preventDefault();break}},toArray:function(){for(var r=[],t,a=this.el.children,n=0,i=a.length,o=this.options;nn.right+i||e.clientY>a.bottom&&e.clientX>a.left:e.clientY>n.bottom+i||e.clientX>a.right&&e.clientY>a.top}function Xg(e,r,t,a,n,i,o,s){var l=a?e.clientY:e.clientX,c=a?t.height:t.width,f=a?t.top:t.left,u=a?t.bottom:t.right,d=!1;if(!o){if(s&&Hof+c*i/2:lu-Ho)return-Oi}else if(l>f+c*(1-n)/2&&lu-c*i/2)?l>f+c/2?1:-1:0}function Yg(e){return qt(Te)0?(a.splice(t+1,0,a[r]),a.splice(r,1)):(a.splice(t,0,a[r]),a.splice(r+1,1)),a}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function Lc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function xi(e){for(var r=1;rb?b*(A-1)+W:W}var w=function(D){if(!(!m.value&&!p.value)){var E=D==null?void 0:D.querySelector("tbody");if(!E)return console.error("tbody does not exist."),null;var T=xi({animation:150,ghostClass:c.ghost,chosenClass:c.chosen,dragClass:c.dragging,filter:".".concat(u.base,",.").concat(d.row),onMove:function(b){return!m1(b.related,u.base)},onEnd:function(b){var O;if(b.newIndex!==b.oldIndex){Bc(b.item),Mc(b.from,b.item,b.oldIndex);var N=b.oldIndex,G=b.newIndex;(or(e.firstFullRow)&&e.firstFullRow(Kr)||r.slots.firstFullRow||r.slots["first-full-row"])&&(N-=1,G-=1),s.value&&(N=g(N,s.value),G=g(G,s.value));var L={data:o.value,currentIndex:N,current:o.value[N],targetIndex:G,target:o.value[G],newData:Nc(Xe(e.data),N,G),e:b,sort:"row"};L.currentData=L.newData,(O=e.onDragSort)===null||O===void 0||O.call(e,L)}}},e.dragSortOptions);!E||(p.value?new je(E,xi({},T)):new je(E,xi(xi({},T),{},{handle:".".concat(c.handle)})))}},C=function(D,E){var T=xi({animation:150,dataIdAttr:"data-colkey",direction:"vertical",ghostClass:c.ghost,chosenClass:c.chosen,dragClass:c.dragging,handle:".".concat(f.thCellInner),onEnd:function(b){var O;if(b.newIndex!==b.oldIndex){E&&(Bc(b.item),Mc(b.from,b.item,b.oldIndex));var N=b.oldIndex,G=b.newIndex,L=b.target,X=E?N:G,Z=E?G:N,I=L.children[X],z=L.children[Z],U=qo(v.value,I.dataset.colkey),V=qo(v.value,z.dataset.colkey);(!U||!U.colKey)&&Nr.error("Table","colKey is missing in ".concat(JSON.stringify(U))),(!V||!V.colKey)&&Nr.error("Table","colKey is missing in ".concat(JSON.stringify(V))),X=_c(e.columns,U.colKey),Z=_c(e.columns,V.colKey);var q={data:v.value,currentIndex:X,current:U,targetIndex:Z,target:V,newData:Nc(Xe(e.columns),X,Z),e:b,sort:"col"};q.currentData=q.newData,(O=e.onDragSort)===null||O===void 0||O.call(e,q)}}},e.dragSortOptions);!D||new je(D,T)},F=function(D){if(!(!S.value||!D)){var E=D.querySelectorAll("thead > tr");if(E.length<=1){var T=_r(E,1),A=T[0];C(A,!0)}else E==null||E.forEach(function(b){C(b,!1)})}};function _(W){x.value=W}function R(W){v.value=W}Ge([x,v,i,t],function(W){var D=_r(W,4),E=D[0];D[1],D[2];var T=D[3];y(E,T)});function y(W,D){var E=W;if(!(!W||!E.$el||!D.showElement))var T=setTimeout(function(){w(E.$el),F(E.$el);var A=setTimeout(function(){E.$refs.affixHeaderRef&&F(E.$refs.affixHeaderRef),clearTimeout(A)});clearTimeout(T)},60)}return{innerPagination:s,isRowDraggable:p,isRowHandlerDraggable:m,isColDraggable:S,setDragSortPrimaryTableRef:_,setDragSortColumns:R}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function ep(e){var r=sn(),t=ta("table",e.locale),a=t.globalConfig,n=Dt(),i=n.isLoadingClass,o=n.isLoadMoreClass,s=n.asyncLoadingClass,l=le(function(){return[s,ue(ue({},i,e.asyncLoading==="loading"),o,e.asyncLoading==="load-more")]});function c(){var u;!da(e.asyncLoading)||(u=e.onAsyncLoadingClick)===null||u===void 0||u.call(e,{status:e.asyncLoading})}function f(){var u=r("asyncLoading");if(da(u)){var d=e.asyncLoading,v={"load-more":a.value.loadingMoreText,loading:a.value.loadingText}[String(d)];return te("div",{class:l.value,onClick:c},[te(Ll,{indicator:d==="loading",loading:!!d,size:"small",text:v},null)])}return[null,!1,void 0].includes(u)?null:te("div",{class:l.value,onClick:c},[u])}return{renderAsyncLoading:f}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function Kc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function vr(e){for(var r=1;r2?G-2:0),X=2;X1?V-1:0),ee=1;ee0&&arguments[0]!==void 0?arguments[0]:{errors:[],errorMap:{}},A=T.errorMap;A&&Object.assign(E,A)}),n.value=E,(D=e.onValidate)===null||D===void 0||D.call(e,{result:E}),R({result:E})},y)})},v=function(g,w,C){s.value[g]||(s.value[g]=Dl(w)),Object.entries(C).forEach(function(F){var _=_r(F,2),R=_[0],y=_[1];ji(s.value[g],R,y)})},x=function(g){if(e.editableRowKeys){var w=_e(g.row,e.rowKey||"id"),C=a.get(w);if(C){var F=C.findIndex(function(_){return _.col.colKey===g.col.colKey});F===-1?C.push(g):C[F]=g,a.set(w,C)}else a.set(w,[g])}},h=function(){n.value={}},p=function(g){var w=Ui(g.row,e.rowKey,g.col.colKey,g.colIndex);g.isEdit?o.value[w]=g:delete o.value[w]},m=function(g){var w,C=g.row,F=g.col,_=_e(C,e.rowKey||"id"),R=s.value[_];if(R&&(w=e.editableRowKeys)!==null&&w!==void 0&&w.includes(_)){var y=gi({},R);return ji(y,F.colKey,_e(R,F.colKey)),y}return C};return Ge(function(){var S;return(S=t.value)===null||S===void 0?void 0:S.join(",")},function(S){var g=S.split(","),w=Object.keys(s.value);w.forEach(function(C){g.includes(C)||delete s.value[C]})}),{editedFormData:s,errorListMap:n,editableKeysMap:i,validateTableData:d,validateRowData:f,onRuleChange:x,clearValidateData:h,onUpdateEditedCell:v,getEditRowData:m,onPrimaryTableCellEditChange:p}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function Wc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function Aa(e){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:!1,Zr=[],Wr=function(){var ka,k,j,P,B,M=Aa({},Ve[_t]),H=((ka=M.children)===null||ka===void 0?void 0:ka.length)||((k=C.value)===null||k===void 0?void 0:k.includes(M.colKey));if(!H&&(r.columnController||r.displayColumns||r.defaultDisplayColumns)&&!Sr)return 1;M=X(M);var ae=r.sort;if(M.sorter&&r.showSortColumnBgColor){var oe=ae instanceof Array?ae:[ae],re=oe.find(function(fe){return fe&&fe.sortBy===M.colKey&&fe.descending!==void 0});re&&(M.className=M.className instanceof Array?M.className.concat(x.sortColumn):[M.className,x.sortColumn])}if(M.sorter||M.filter){var ne=ps(t.slots,M,_t),ie=M,we=ie.ellipsisTitle;M.title=function(fe,xe){var Re,ar=M.sorter?A(xe):null,lr=M.filter?ee(xe):null,Lr=(Re=s.value)===null||Re===void 0?void 0:Re.tableContentRef;return dr([ne,ar,lr],xe.col,xe.colIndex,we,Lr,{classPrefix:f,ellipsisOverlayClassName:g.value!=="medium"?S[g.value]:""})},M.ellipsisTitle=!1}if((j=M.edit)!==null&&j!==void 0&&j.component){var Ce=M.cell;M.cell=function(fe,xe){var Re=Aa(Aa({},xe),{},{row:me(xe),oldCell:Ce,rowKey:r.rowKey||"id",tableBaseClass:d,cellEmptyContent:r.cellEmptyContent,onChange:wr,onValidate:r.onRowValidate,onRuleChange:de,onEditableChange:De});if(r.editableRowKeys){var ar,lr=_e(xe.row,r.rowKey||"id");Re.editable=ge.value[lr]||!1;var Lr=[lr,xe.col.colKey].join("__"),va=(ar=zr.value)===null||ar===void 0?void 0:ar[Lr];va&&(Re.errors=va)}return r.editableCellState&&(Re.readonly=!r.editableCellState(xe)),te(rp,Or(Re,{onUpdateEditedCell:ke}),t.slots)}}if((P=M.children)!==null&&P!==void 0&&P.length){var pe;M.children=er(M.children,Sr||((pe=C.value)===null||pe===void 0?void 0:pe.includes(M.colKey)))}(!M.children||(B=M.children)!==null&&B!==void 0&&B.length)&&Zr.push(M)},_t=0,Ta=Ve.length;_t2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,n=_e(e,r);return t||a?"".concat(n,"_").concat(t||0,"_").concat(a||0,"}"):n}var ip=function(){function e(){v1(this,e),ue(this,"treeDataMap",new Map),ue(this,"expandAllRowIndex",void 0),this.treeDataMap=new Map}return h1(e,[{key:"initialTreeStore",value:function(t,a,n){var i;(i=this.treeDataMap)===null||i===void 0||i.clear(),this.initialTreeDataMap(this.treeDataMap,t,a.find(function(o){return o.colKey==="row-select"}),n)}},{key:"getAllUniqueKeys",value:function(t,a){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=0,o=t.length;i2&&arguments[2]!==void 0?arguments[2]:[],i=0,o=t.length;i=0){var o=(i.expandChildrenLength||0)+1;if(a.splice(i.rowIndex,o),i.parent){var s=_e(i.parent.row,n.childrenKey),l=s.findIndex(function(c){return _e(c,n.rowKey)===t});s.splice(l,1),zn(this.treeDataMap,i.parent.row,-1*o,"delete",n)}this.treeDataMap.delete(t),xn(this.treeDataMap,a,{minRowIndex:i.rowIndex,rowKey:n.rowKey,type:"remove"})}else Nr.warn("EnhancedTable","Can not remove this node, which is not appeared.");return a}},{key:"removeChildren",value:function(t,a,n){var i=this.treeDataMap.get(t);if(i&&i.rowIndex>=0){var o=i.expandChildrenLength||0;o&&a.splice(i.rowIndex+1,o),i.parent&&zn(this.treeDataMap,i.parent.row,-1*o,"delete",n),i.expandChildrenLength=0,i.expanded=!1,ji(i.row,n.childrenKey,void 0),this.treeDataMap.set(t,i),o&&xn(this.treeDataMap,a,{minRowIndex:i.rowIndex+1,rowKey:n.rowKey,type:"remove"})}else Nr.warn("EnhancedTable","Can not remove this node's children, which is not appeared.");return a}},{key:"appendTo",value:function(t,a,n,i){var o=this.treeDataMap.get(t);if(!this.validateDataExist(o,t))return n;for(var s=_e(o.row,i.childrenKey),l=o.expanded||!(s!=null&&s.length),c=a instanceof Array?a:[a],f=[],u=-1,d=0,v=c.length;do){var h=t.slice(d,i),p=v.concat(x,h);t.splice(o,p.length),t.splice.apply(t,[o,0].concat(Xe(p))),xn(this.treeDataMap,t,{rowKey:n.rowKey,minRowIndex:o,maxRowIndex:u})}else{var m=t.slice(u,o),S=m.concat(x,v);t.splice(i,S.length),t.splice.apply(t,[i,0].concat(Xe(S))),xn(this.treeDataMap,t,{rowKey:n.rowKey,minRowIndex:i,maxRowIndex:d})}if(c.parent){for(var g=c.parent.row[n.childrenKey],w=0,C=-1,F=-1,_=0,R=g.length;_=2));_++);g[C]=a.target,g[F]=a.current}return{dataSource:t,result:!0}}},{key:"expandAll",value:function(t,a){var n=this;this.expandAllRowIndex=0;var i=[],o=function s(l,c){for(var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,u=0,d=l.length;u2&&arguments[2]!==void 0?arguments[2]:"data",o=[];return t.forEach(function(s){var l=_e(s,a.rowKey),c=n.treeDataMap.get(l);!c.expanded||(i==="unique"?o.push(l):i==="data"?o.push(s):o.push(c))}),o}},{key:"initialTreeDataMap",value:function(t,a,n,i){for(var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,l=0,c=a.length;l0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=[],a=[],n=new Map,i=new Map,o=0,s=e.length;o0&&arguments[0]!==void 0?arguments[0]:"expand-all",F=arguments.length>1?arguments[1]:void 0,_=F||o.value;a.value=t.value.expandAll(_,n.value);var R=a.value.map(function(y){return Oa(y,n.value.rowKey)});x(R,{row:void 0,rowState:void 0,rowIndex:void 0,type:"expand",trigger:C}),h.value.type="expand-all"}function m(){a.value=Xe(t.value.foldAll(a.value,n.value)),x([],{row:void 0,rowState:void 0,rowIndex:void 0,type:"fold",trigger:"fold-all"})}function S(C,F){var _,R=C.row,y=C.rowIndex;h.value=zs({type:"user-reaction-change"},C);var W=Oa(R,n.value.rowKey),D=t.value.treeDataMap.get(W),E=Xe(v.value);if(D.expanded){for(var T=t.value.getExpandedChildrenKeys([R],n.value),A=0,b=E.length;A2&&arguments[2]!==void 0?arguments[2]:[],R=op(F,_),y=R.addedList,W=R.removedList;return t.value.expandTreeNode(y,C,n.value),t.value.foldTreeNode(W,C,n.value),Xe(C)}Ge([v,o],function(C,F){var _=_r(C,1),R=_[0],y=_r(F,1),W=y[0];if(!(!t.value.treeDataMap.size||!o.value.length)){if(h.value.type==="user-reaction-change"){var D=h.value||{},E=D.row,T=D.rowIndex;a.value=Xe(t.value.toggleExpandData({row:E,rowIndex:T},Xe(a.value),n.value))}else h.value.type==="props-change"&&g(a.value,R,W);h.value.type="props-change"}});var w=function(F){var _,R;(_=l.value)!==null&&_!==void 0&&_.defaultExpandAll&&!c.value?(p("default-expand-all",Xe(F)),c.value=!0):(R=v.value)!==null&&R!==void 0&&R.length&&Ba(function(){a.value=g(Xe(F),v.value,[])})};return{tExpandedTreeNode:v,isDefaultExpandAllExecute:c,isDefaultExpandedTreeNodesExecute:f,expandAll:p,foldAll:m,onExpandFoldIconClick:S,updateExpandOnDataChange:w}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function zc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function zt(e){for(var r=1;r0&&arguments[0]!==void 0?arguments[0]:"",J=arguments.length>1?arguments[1]:void 0;if(!Y){v.value=u.value.appendToRoot(J,v.value,m.value);return}v.value=Xe(u.value.appendTo(Y,J,v.value,m.value))}function z(Y,J){v.value=Xe(u.value.insertAfter(Y,J,v.value,m.value))}function U(Y,J){v.value=Xe(u.value.insertBefore(Y,J,v.value,m.value))}function V(Y){var J=u.value.swapData(v.value,Y,m.value);if(J.result)v.value=Xe(J.dataSource);else{var Q,ce={code:J.code,reason:J.reason};(Q=e.onAbnormalDragSort)===null||Q===void 0||Q.call(e,ce)}}function q(){return u.value.getTreeNode(v.value,m.value)}function ee(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data";return u.value.getTreeExpandedRow(v.value,m.value,Y)}return{store:u,rowDataKeys:m,dataSource:v,swapData:V,setData:G,getData:L,remove:X,removeChildren:Z,appendTo:I,insertAfter:z,insertBefore:U,formatTreeColumn:N,toggleExpandData:b,expandAll:F,foldAll:_,getTreeNode:q,resetData:T,getTreeExpandedRow:ee,onExpandFoldIconClick:y}}/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */function $c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function ko(e){for(var r=1;r0&&W=0)return _.rowIndex;if(_.rowIndex<0)return F(_.parent)},C=function(_){var R=_.index;if(!R&&R!==0){if(!_.key){Nr.error("Table","scrollToElement: one of `index` or `key` must exist.");return}var y=d.value.get(_.key);R=w(y,_.key),(R<0||R===void 0)&&Nr.error("Table","".concat(_.key," does not exist in data, check `rowKey` or `data` please."))}a.value.scrollToElement(ga(ga({},_),{},{index:R}))};return t.expose(ga(ga({store:i.value,dataSource:o.value},f),{},{primaryTableRef:a,validateRowData:function(_){return a.value.validateRowData(_)},validateTableData:function(){return a.value.validateTableData()},clearValidateData:function(){a.value.clearValidateData()},refreshTable:function(){a.value.refreshTable()},scrollToElement:C})),function(){var F,_=cu(),R=_.vnode,y=ga(ga({},R.props),{},{rowKey:r.rowKey||"id",data:o.value,columns:m.value,indeterminateSelectedRowKeys:x.value,disableDataPage:Boolean(r.tree&&Object.keys(r.tree).length),onSelectChange:h,onDragSort:S,rowClassName:function(D){var E=D.row,T=_e(E,r.rowKey||"id"),A=d.value.get(T);return A?["".concat(u.value,"-table-tr--level-").concat(A.level),r.rowClassName]:[r.rowClassName]}});return(F=r.tree)!==null&&F!==void 0&&F.expandTreeNodeOnClick&&(y.onRowClick=g),te($l,Or(y,{ref:a}),t.slots)}}});/** * tdesign v1.9.4 * (c) 2024 tdesign * @license MIT */ja(ju);ja($l);ja(hp);var vp=Dl($l),xp=ja(vp,"TTable"),gp={S:"\u4E07\u4E0E\u4E11\u4E13\u4E1A\u4E1B\u4E1C\u4E1D\u4E22\u4E24\u4E25\u4E27\u4E2A\u4E2C\u4E30\u4E34\u4E3A\u4E3D\u4E3E\u4E48\u4E49\u4E4C\u4E50\u4E54\u4E60\u4E61\u4E66\u4E70\u4E71\u4E89\u4E8E\u4E8F\u4E91\u4E98\u4E9A\u4EA7\u4EA9\u4EB2\u4EB5\u4EB8\u4EBF\u4EC5\u4ECE\u4ED1\u4ED3\u4EEA\u4EEC\u4EF7\u4F17\u4F18\u4F19\u4F1A\u4F1B\u4F1E\u4F1F\u4F20\u4F24\u4F25\u4F26\u4F27\u4F2A\u4F2B\u4F53\u4F59\u4F63\u4F65\u4FA0\u4FA3\u4FA5\u4FA6\u4FA7\u4FA8\u4FA9\u4FAA\u4FAC\u4FE3\u4FE6\u4FE8\u4FE9\u4FEA\u4FED\u503A\u503E\u506C\u507B\u507E\u507F\u50A5\u50A7\u50A8\u50A9\u513F\u5151\u5156\u515A\u5170\u5173\u5174\u5179\u517B\u517D\u5181\u5185\u5188\u518C\u5199\u519B\u519C\u51A2\u51AF\u51B2\u51B3\u51B5\u51BB\u51C0\u51C4\u51C9\u51CC\u51CF\u51D1\u51DB\u51E0\u51E4\u51EB\u51ED\u51EF\u51FB\u51FC\u51FF\u520D\u5212\u5218\u5219\u521A\u521B\u5220\u522B\u522C\u522D\u523D\u523F\u5240\u5242\u5250\u5251\u5265\u5267\u529D\u529E\u52A1\u52A2\u52A8\u52B1\u52B2\u52B3\u52BF\u52CB\u52D0\u52DA\u5300\u5326\u532E\u533A\u533B\u534E\u534F\u5355\u5356\u5362\u5364\u5367\u536B\u5374\u537A\u5382\u5385\u5386\u5389\u538B\u538C\u538D\u5395\u53A2\u53A3\u53A6\u53A8\u53A9\u53AE\u53BF\u53C2\u53C6\u53C7\u53CC\u53D1\u53D8\u53D9\u53E0\u53F6\u53F7\u53F9\u53FD\u5401\u540E\u5413\u5415\u5417\u5423\u5428\u542C\u542F\u5434\u5452\u5453\u5455\u5456\u5457\u5458\u5459\u545B\u545C\u548F\u5494\u5499\u549B\u549D\u54A4\u54B4\u54B8\u54CC\u54CD\u54D1\u54D2\u54D3\u54D4\u54D5\u54D7\u54D9\u54DC\u54DD\u54DF\u551B\u551D\u5520\u5521\u5522\u5523\u5524\u553F\u5567\u556C\u556D\u556E\u5570\u5574\u5578\u55B7\u55BD\u55BE\u55EB\u5475\u55F3\u5618\u5624\u5631\u565C\u567C\u56A3\u56AF\u56E2\u56ED\u56F1\u56F4\u56F5\u56FD\u56FE\u5706\u5723\u5739\u573A\u5742\u574F\u5757\u575A\u575B\u575C\u575D\u575E\u575F\u5760\u5784\u5785\u5786\u5792\u57A6\u57A7\u57A9\u57AB\u57AD\u57AF\u57B1\u57B2\u57B4\u57D8\u57D9\u57DA\u57DD\u57EF\u5811\u5815\u5846\u5899\u58EE\u58F0\u58F3\u58F6\u58F8\u5904\u5907\u590D\u591F\u5934\u5938\u5939\u593A\u5941\u5942\u594B\u5956\u5965\u5986\u5987\u5988\u59A9\u59AA\u59AB\u59D7\u59DC\u5A04\u5A05\u5A06\u5A07\u5A08\u5A31\u5A32\u5A34\u5A73\u5A74\u5A75\u5A76\u5AAA\u5AD2\u5AD4\u5AF1\u5B37\u5B59\u5B66\u5B6A\u5B81\u5B9D\u5B9E\u5BA0\u5BA1\u5BAA\u5BAB\u5BBD\u5BBE\u5BDD\u5BF9\u5BFB\u5BFC\u5BFF\u5C06\u5C14\u5C18\u5C27\u5C34\u5C38\u5C3D\u5C42\u5C43\u5C49\u5C4A\u5C5E\u5C61\u5C66\u5C7F\u5C81\u5C82\u5C96\u5C97\u5C98\u5C99\u5C9A\u5C9B\u5CAD\u5CB3\u5CBD\u5CBF\u5CC3\u5CC4\u5CE1\u5CE3\u5CE4\u5CE5\u5CE6\u5D02\u5D03\u5D04\u5D2D\u5D58\u5D5A\u5D5B\u5D5D\u5D74\u5DC5\u5DE9\u5DEF\u5E01\u5E05\u5E08\u5E0F\u5E10\u5E18\u5E1C\u5E26\u5E27\u5E2E\u5E31\u5E3B\u5E3C\u5E42\u5E5E\u5E72\u5E76\u5E7F\u5E84\u5E86\u5E90\u5E91\u5E93\u5E94\u5E99\u5E9E\u5E9F\u5EBC\u5EEA\u5F00\u5F02\u5F03\u5F20\u5F25\u5F2A\u5F2F\u5F39\u5F3A\u5F52\u5F53\u5F55\u5F5F\u5F66\u5F7B\u5F84\u5F95\u5FA1\u5FC6\u5FCF\u5FE7\u5FFE\u6000\u6001\u6002\u6003\u6004\u6005\u6006\u601C\u603B\u603C\u603F\u604B\u6073\u6076\u6078\u6079\u607A\u607B\u607C\u607D\u60A6\u60AB\u60AC\u60AD\u60AF\u60CA\u60E7\u60E8\u60E9\u60EB\u60EC\u60ED\u60EE\u60EF\u610D\u6120\u6124\u6126\u613F\u6151\u616D\u61B7\u61D1\u61D2\u61D4\u6206\u620B\u620F\u6217\u6218\u622C\u6237\u624E\u6251\u6266\u6267\u6269\u626A\u626B\u626C\u6270\u629A\u629B\u629F\u62A0\u62A1\u62A2\u62A4\u62A5\u62C5\u62DF\u62E2\u62E3\u62E5\u62E6\u62E7\u62E8\u62E9\u6302\u631A\u631B\u631C\u631D\u631E\u631F\u6320\u6321\u6322\u6323\u6324\u6325\u6326\u635E\u635F\u6361\u6362\u6363\u636E\u637B\u63B3\u63B4\u63B7\u63B8\u63BA\u63BC\u63F8\u63FD\u63FF\u6400\u6401\u6402\u6405\u643A\u6444\u6445\u6446\u6447\u6448\u644A\u6484\u6491\u64B5\u64B7\u64B8\u64BA\u64DE\u6512\u654C\u655B\u6570\u658B\u6593\u6597\u65A9\u65AD\u65E0\u65E7\u65F6\u65F7\u65F8\u6619\u663C\u663D\u663E\u664B\u6652\u6653\u6654\u6655\u6656\u6682\u66A7\u672D\u672F\u6734\u673A\u6740\u6742\u6743\u6761\u6765\u6768\u6769\u6770\u6781\u6784\u679E\u67A2\u67A3\u67A5\u67A7\u67A8\u67AA\u67AB\u67AD\u67DC\u67E0\u67FD\u6800\u6805\u6807\u6808\u6809\u680A\u680B\u680C\u680E\u680F\u6811\u6816\u6837\u683E\u684A\u6860\u6861\u6862\u6863\u6864\u6865\u6866\u6867\u6868\u6869\u68A6\u68BC\u68BE\u68C0\u68C2\u6901\u691F\u6920\u6924\u692D\u697C\u6984\u6987\u6988\u6989\u69DA\u69DB\u69DF\u69E0\u6A2A\u6A2F\u6A31\u6A65\u6A71\u6A79\u6A7C\u6A90\u6AA9\u6B22\u6B24\u6B27\u6B7C\u6B81\u6B87\u6B8B\u6B92\u6B93\u6B9A\u6BA1\u6BB4\u6BC1\u6BC2\u6BD5\u6BD9\u6BE1\u6BF5\u6C07\u6C14\u6C22\u6C29\u6C32\u6C47\u6C49\u6C61\u6C64\u6C79\u6C93\u6C9F\u6CA1\u6CA3\u6CA4\u6CA5\u6CA6\u6CA7\u6CA8\u6CA9\u6CAA\u6CB5\u6CDE\u6CEA\u6CF6\u6CF7\u6CF8\u6CFA\u6CFB\u6CFC\u6CFD\u6CFE\u6D01\u6D12\u6D3C\u6D43\u6D45\u6D46\u6D47\u6D48\u6D49\u6D4A\u6D4B\u6D4D\u6D4E\u6D4F\u6D50\u6D51\u6D52\u6D53\u6D54\u6D55\u6D82\u6D8C\u6D9B\u6D9D\u6D9E\u6D9F\u6DA0\u6DA1\u6DA2\u6DA3\u6DA4\u6DA6\u6DA7\u6DA8\u6DA9\u6DC0\u6E0A\u6E0C\u6E0D\u6E0E\u6E10\u6E11\u6E14\u6E16\u6E17\u6E29\u6E38\u6E7E\u6E7F\u6E83\u6E85\u6E86\u6E87\u6ED7\u6EDA\u6EDE\u6EDF\u6EE0\u6EE1\u6EE2\u6EE4\u6EE5\u6EE6\u6EE8\u6EE9\u6EEA\u6F24\u6F46\u6F47\u6F4B\u6F4D\u6F5C\u6F74\u6F9C\u6FD1\u6FD2\u704F\u706D\u706F\u7075\u707E\u707F\u7080\u7089\u7096\u709C\u709D\u70B9\u70BC\u70BD\u70C1\u70C2\u70C3\u70DB\u70DF\u70E6\u70E7\u70E8\u70E9\u70EB\u70EC\u70ED\u7115\u7116\u7118\u7145\u7173\u7198\u7231\u7237\u724D\u7266\u7275\u727A\u728A\u729F\u72B6\u72B7\u72B8\u72B9\u72C8\u72CD\u72DD\u72DE\u72EC\u72ED\u72EE\u72EF\u72F0\u72F1\u72F2\u7303\u730E\u7315\u7321\u732A\u732B\u732C\u732E\u736D\u7391\u7399\u739A\u739B\u73AE\u73AF\u73B0\u73B1\u73BA\u73C9\u73CF\u73D0\u73D1\u73F0\u73F2\u740E\u740F\u7410\u743C\u7476\u7477\u7487\u748E\u74D2\u74EE\u74EF\u7535\u753B\u7545\u7572\u7574\u7596\u7597\u759F\u75A0\u75A1\u75AC\u75AE\u75AF\u75B1\u75B4\u75C8\u75C9\u75D2\u75D6\u75E8\u75EA\u75EB\u75F4\u7605\u7606\u7617\u7618\u762A\u762B\u763E\u763F\u765E\u7663\u766B\u766F\u7691\u76B1\u76B2\u76CF\u76D0\u76D1\u76D6\u76D7\u76D8\u770D\u7726\u772C\u7740\u7741\u7750\u7751\u7792\u77A9\u77EB\u77F6\u77FE\u77FF\u7800\u7801\u7816\u7817\u781A\u781C\u783A\u783B\u783E\u7840\u7841\u7845\u7855\u7856\u7857\u7859\u785A\u786E\u7877\u788D\u789B\u789C\u78B1\u78B9\u78D9\u793C\u794E\u7962\u796F\u7977\u7978\u7980\u7984\u7985\u79BB\u79C3\u79C6\u79CD\u79EF\u79F0\u79FD\u79FE\u7A06\u7A0E\u7A23\u7A33\u7A51\u7A77\u7A83\u7A8D\u7A91\u7A9C\u7A9D\u7AA5\u7AA6\u7AAD\u7AD6\u7ADE\u7B03\u7B0B\u7B14\u7B15\u7B3A\u7B3C\u7B3E\u7B51\u7B5A\u7B5B\u7B5C\u7B5D\u7B79\u7B7E\u7B80\u7B93\u7BA6\u7BA7\u7BA8\u7BA9\u7BAA\u7BAB\u7BD1\u7BD3\u7BEE\u7BF1\u7C16\u7C41\u7C74\u7C7B\u7C7C\u7C9C\u7C9D\u7CA4\u7CAA\u7CAE\u7CC1\u7CC7\u7D27\u7D77\u7E9F\u7EA0\u7EA1\u7EA2\u7EA3\u7EA4\u7EA5\u7EA6\u7EA7\u7EA8\u7EA9\u7EAA\u7EAB\u7EAC\u7EAD\u7EAE\u7EAF\u7EB0\u7EB1\u7EB2\u7EB3\u7EB4\u7EB5\u7EB6\u7EB7\u7EB8\u7EB9\u7EBA\u7EBB\u7EBC\u7EBD\u7EBE\u7EBF\u7EC0\u7EC1\u7EC2\u7EC3\u7EC4\u7EC5\u7EC6\u7EC7\u7EC8\u7EC9\u7ECA\u7ECB\u7ECC\u7ECD\u7ECE\u7ECF\u7ED0\u7ED1\u7ED2\u7ED3\u7ED4\u7ED5\u7ED6\u7ED7\u7ED8\u7ED9\u7EDA\u7EDB\u7EDC\u7EDD\u7EDE\u7EDF\u7EE0\u7EE1\u7EE2\u7EE3\u7EE4\u7EE5\u7EE6\u7EE7\u7EE8\u7EE9\u7EEA\u7EEB\u7EEC\u7EED\u7EEE\u7EEF\u7EF0\u7EF1\u7EF2\u7EF3\u7EF4\u7EF5\u7EF6\u7EF7\u7EF8\u7EF9\u7EFA\u7EFB\u7EFC\u7EFD\u7EFE\u7EFF\u7F00\u7F01\u7F02\u7F03\u7F04\u7F05\u7F06\u7F07\u7F08\u7F09\u7F0A\u7F0B\u7F0C\u7F0D\u7F0E\u7F0F\u7F10\u7F11\u7F12\u7F13\u7F14\u7F15\u7F16\u7F17\u7F18\u7F19\u7F1A\u7F1B\u7F1C\u7F1D\u7F1E\u7F1F\u7F20\u7F21\u7F22\u7F23\u7F24\u7F25\u7F26\u7F27\u7F28\u7F29\u7F2A\u7F2B\u7F2C\u7F2D\u7F2E\u7F2F\u7F30\u7F31\u7F32\u7F33\u7F34\u7F35\u7F42\u7F51\u7F57\u7F5A\u7F62\u7F74\u7F81\u7F9F\u7FA1\u7FD8\u7FD9\u7FDA\u8022\u8027\u8038\u803B\u8042\u804B\u804C\u804D\u8054\u8069\u806A\u8083\u80A0\u80A4\u80B7\u80BE\u80BF\u80C0\u80C1\u80C6\u80DC\u80E7\u80E8\u80EA\u80EB\u80F6\u8109\u810D\u810F\u8110\u8111\u8113\u8114\u811A\u8131\u8136\u8138\u814A\u814C\u8158\u816D\u817B\u817C\u817D\u817E\u8191\u81DC\u8206\u8223\u8230\u8231\u823B\u8270\u8273\u8279\u827A\u8282\u8288\u8297\u829C\u82A6\u82C1\u82C7\u82C8\u82CB\u82CC\u82CD\u82CE\u82CF\u82D8\u82F9\u830E\u830F\u8311\u8314\u8315\u8327\u8346\u8350\u8359\u835A\u835B\u835C\u835E\u835F\u8360\u8361\u8363\u8364\u8365\u8366\u8367\u8368\u8369\u836A\u836B\u836C\u836D\u836E\u836F\u8385\u839C\u83B1\u83B2\u83B3\u83B4\u83B6\u83B7\u83B8\u83B9\u83BA\u83BC\u841A\u841D\u8424\u8425\u8426\u8427\u8428\u8471\u8487\u8489\u848B\u848C\u84DD\u84DF\u84E0\u84E3\u84E5\u84E6\u8537\u8539\u853A\u853C\u8572\u8574\u85AE\u85C1\u85D3\u864F\u8651\u865A\u866B\u866C\u866E\u867D\u867E\u867F\u8680\u8681\u8682\u8695\u869D\u86AC\u86CA\u86CE\u86CF\u86EE\u86F0\u86F1\u86F2\u86F3\u86F4\u8715\u8717\u8721\u8747\u8748\u8749\u874E\u877C\u877E\u8780\u87A8\u87CF\u8845\u8854\u8865\u886C\u886E\u8884\u8885\u8886\u889C\u88AD\u88AF\u88C5\u88C6\u88C8\u88E2\u88E3\u88E4\u88E5\u891B\u8934\u8941\u8955\u89C1\u89C2\u89C3\u89C4\u89C5\u89C6\u89C7\u89C8\u89C9\u89CA\u89CB\u89CC\u89CD\u89CE\u89CF\u89D0\u89D1\u89DE\u89E6\u89EF\u8A5F\u8A89\u8A8A\u8BA0\u8BA1\u8BA2\u8BA3\u8BA4\u8BA5\u8BA6\u8BA7\u8BA8\u8BA9\u8BAA\u8BAB\u8BAD\u8BAE\u8BAF\u8BB0\u8BB1\u8BB2\u8BB3\u8BB4\u8BB5\u8BB6\u8BB7\u8BB8\u8BB9\u8BBA\u8BBB\u8BBC\u8BBD\u8BBE\u8BBF\u8BC0\u8BC1\u8BC2\u8BC3\u8BC4\u8BC5\u8BC6\u8BC7\u8BC8\u8BC9\u8BCA\u8BCB\u8BCC\u8BCD\u8BCE\u8BCF\u8BD0\u8BD1\u8BD2\u8BD3\u8BD4\u8BD5\u8BD6\u8BD7\u8BD8\u8BD9\u8BDA\u8BDB\u8BDC\u8BDD\u8BDE\u8BDF\u8BE0\u8BE1\u8BE2\u8BE3\u8BE4\u8BE5\u8BE6\u8BE7\u8BE8\u8BE9\u8BEA\u8BEB\u8BEC\u8BED\u8BEE\u8BEF\u8BF0\u8BF1\u8BF2\u8BF3\u8BF4\u8BF5\u8BF6\u8BF7\u8BF8\u8BF9\u8BFA\u8BFB\u8BFC\u8BFD\u8BFE\u8BFF\u8C00\u8C01\u8C02\u8C03\u8C04\u8C05\u8C06\u8C07\u8C08\u8C0A\u8C0B\u8C0C\u8C0D\u8C0E\u8C0F\u8C10\u8C11\u8C12\u8C13\u8C14\u8C15\u8C16\u8C17\u8C18\u8C19\u8C1A\u8C1B\u8C1C\u8C1D\u8C1E\u8C1F\u8C20\u8C21\u8C22\u8C23\u8C24\u8C25\u8C26\u8C27\u8C28\u8C29\u8C2A\u8C2B\u8C2C\u8C2D\u8C2E\u8C2F\u8C30\u8C31\u8C32\u8C33\u8C34\u8C35\u8C36\u8C37\u8C6E\u8D1D\u8D1E\u8D1F\u8D20\u8D21\u8D22\u8D23\u8D24\u8D25\u8D26\u8D27\u8D28\u8D29\u8D2A\u8D2B\u8D2C\u8D2D\u8D2E\u8D2F\u8D30\u8D31\u8D32\u8D33\u8D34\u8D35\u8D36\u8D37\u8D38\u8D39\u8D3A\u8D3B\u8D3C\u8D3D\u8D3E\u8D3F\u8D40\u8D41\u8D42\u8D43\u8D44\u8D45\u8D46\u8D47\u8D48\u8D49\u8D4A\u8D4B\u8D4C\u8D4D\u8D4E\u8D4F\u8D50\u8D51\u8D52\u8D53\u8D54\u8D55\u8D56\u8D57\u8D58\u8D59\u8D5A\u8D5B\u8D5C\u8D5D\u8D5E\u8D5F\u8D60\u8D61\u8D62\u8D63\u8D6A\u8D75\u8D76\u8D8B\u8DB1\u8DB8\u8DC3\u8DC4\u8DD6\u8DDE\u8DF5\u8DF6\u8DF7\u8DF8\u8DF9\u8DFB\u8E0A\u8E0C\u8E2A\u8E2C\u8E2F\u8E51\u8E52\u8E70\u8E7F\u8E8F\u8E9C\u8EAF\u8F66\u8F67\u8F68\u8F69\u8F6A\u8F6B\u8F6C\u8F6D\u8F6E\u8F6F\u8F70\u8F71\u8F72\u8F73\u8F74\u8F75\u8F76\u8F77\u8F78\u8F79\u8F7A\u8F7B\u8F7C\u8F7D\u8F7E\u8F7F\u8F80\u8F81\u8F82\u8F83\u8F84\u8F85\u8F86\u8F87\u8F88\u8F89\u8F8A\u8F8B\u8F8C\u8F8D\u8F8E\u8F8F\u8F90\u8F91\u8F92\u8F93\u8F94\u8F95\u8F96\u8F97\u8F98\u8F99\u8F9A\u8F9E\u8FA9\u8FAB\u8FB9\u8FBD\u8FBE\u8FC1\u8FC7\u8FC8\u8FD0\u8FD8\u8FD9\u8FDB\u8FDC\u8FDD\u8FDE\u8FDF\u8FE9\u8FF3\u8FF9\u9002\u9009\u900A\u9012\u9026\u903B\u9057\u9065\u9093\u909D\u90AC\u90AE\u90B9\u90BA\u90BB\u90C1\u90C4\u90CF\u90D0\u90D1\u90D3\u90E6\u90E7\u90F8\u915D\u9166\u9171\u917D\u917E\u917F\u91CA\u91CC\u9245\u9274\u92AE\u933E\u9486\u9487\u9488\u9489\u948A\u948B\u948C\u948D\u948E\u948F\u9490\u9491\u9492\u9493\u9494\u9495\u9496\u9497\u9498\u9499\u949A\u949B\u949D\u949E\u949F\u94A0\u94A1\u94A2\u94A3\u94A4\u94A5\u94A6\u94A7\u94A8\u94A9\u94AA\u94AB\u94AC\u94AD\u94AE\u94AF\u94B0\u94B1\u94B2\u94B3\u94B4\u94B5\u94B6\u94B7\u94B8\u94B9\u94BA\u94BB\u94BC\u94BD\u94BE\u94BF\u94C0\u94C1\u94C2\u94C3\u94C4\u94C5\u94C6\u94C8\u94C9\u94CA\u94CB\u94CD\u94CE\u94CF\u94D0\u94D1\u94D2\u94D5\u94D7\u94D8\u94D9\u94DA\u94DB\u94DC\u94DD\u94DE\u94DF\u94E0\u94E1\u94E2\u94E3\u94E4\u94E5\u94E6\u94E7\u94E8\u94EA\u94EB\u94EC\u94ED\u94EE\u94EF\u94F0\u94F1\u94F2\u94F3\u94F4\u94F5\u94F6\u94F7\u94F8\u94F9\u94FA\u94FB\u94FC\u94FD\u94FE\u94FF\u9500\u9501\u9502\u9503\u9504\u9505\u9506\u9507\u9508\u9509\u950A\u950B\u950C\u950D\u950E\u950F\u9510\u9511\u9512\u9513\u9514\u9515\u9516\u9517\u9519\u951A\u951C\u951E\u951F\u9520\u9521\u9522\u9523\u9524\u9525\u9526\u9528\u9529\u952B\u952C\u952D\u952E\u952F\u9530\u9531\u9532\u9533\u9534\u9535\u9536\u9537\u9538\u9539\u953A\u953B\u953C\u953D\u953E\u953F\u9540\u9541\u9542\u9543\u9546\u9547\u9548\u9549\u954A\u954C\u954D\u954E\u954F\u9550\u9551\u9552\u9555\u9556\u9557\u9559\u955A\u955B\u955C\u955D\u955E\u955F\u9560\u9561\u9562\u9563\u9564\u9565\u9566\u9567\u9568\u9569\u956A\u956B\u956C\u956D\u956E\u956F\u9570\u9571\u9572\u9573\u9574\u9576\u957F\u95E8\u95E9\u95EA\u95EB\u95EC\u95ED\u95EE\u95EF\u95F0\u95F1\u95F2\u95F3\u95F4\u95F5\u95F6\u95F7\u95F8\u95F9\u95FA\u95FB\u95FC\u95FD\u95FE\u95FF\u9600\u9601\u9602\u9603\u9604\u9605\u9606\u9607\u9608\u9609\u960A\u960B\u960C\u960D\u960E\u960F\u9610\u9611\u9612\u9613\u9614\u9615\u9616\u9617\u9618\u9619\u961A\u961B\u961F\u9633\u9634\u9635\u9636\u9645\u9646\u9647\u9648\u9649\u9655\u9667\u9668\u9669\u968F\u9690\u96B6\u96BD\u96BE\u96CF\u96E0\u96F3\u96FE\u9701\u9709\u972D\u9753\u9759\u9765\u9791\u9792\u97AF\u97B4\u97E6\u97E7\u97E8\u97E9\u97EA\u97EB\u97EC\u97F5\u9875\u9876\u9877\u9878\u9879\u987A\u987B\u987C\u987D\u987E\u987F\u9880\u9881\u9882\u9883\u9884\u9885\u9886\u9887\u9888\u9889\u988A\u988B\u988C\u988D\u988E\u988F\u9890\u9891\u9892\u9893\u9894\u9895\u9896\u9897\u9898\u9899\u989A\u989B\u989C\u989D\u989E\u989F\u98A0\u98A1\u98A2\u98A3\u98A4\u98A5\u98A6\u98A7\u98CE\u98CF\u98D0\u98D1\u98D2\u98D3\u98D4\u98D5\u98D6\u98D7\u98D8\u98D9\u98DA\u98DE\u98E8\u990D\u9964\u9965\u9966\u9967\u9968\u9969\u996A\u996B\u996C\u996D\u996E\u996F\u9970\u9971\u9972\u9973\u9974\u9975\u9976\u9977\u9978\u9979\u997A\u997B\u997C\u997D\u997E\u997F\u9980\u9981\u9982\u9983\u9984\u9985\u9986\u9987\u9988\u9989\u998A\u998B\u998C\u998D\u998E\u998F\u9990\u9991\u9992\u9993\u9994\u9995\u9A6C\u9A6D\u9A6E\u9A6F\u9A70\u9A71\u9A72\u9A73\u9A74\u9A75\u9A76\u9A77\u9A78\u9A79\u9A7A\u9A7B\u9A7C\u9A7D\u9A7E\u9A7F\u9A80\u9A81\u9A82\u9A83\u9A84\u9A85\u9A86\u9A87\u9A88\u9A89\u9A8A\u9A8B\u9A8C\u9A8D\u9A8E\u9A8F\u9A90\u9A91\u9A92\u9A93\u9A94\u9A95\u9A96\u9A97\u9A98\u9A99\u9A9A\u9A9B\u9A9C\u9A9D\u9A9E\u9A9F\u9AA0\u9AA1\u9AA2\u9AA3\u9AA4\u9AA5\u9AA6\u9AA7\u9AC5\u9ACB\u9ACC\u9B13\u9B47\u9B49\u9C7C\u9C7D\u9C7E\u9C7F\u9C80\u9C81\u9C82\u9C84\u9C85\u9C86\u9C87\u9C88\u9C89\u9C8A\u9C8B\u9C8C\u9C8D\u9C8E\u9C8F\u9C90\u9C91\u9C92\u9C93\u9C94\u9C95\u9C96\u9C97\u9C98\u9C99\u9C9A\u9C9B\u9C9C\u9C9D\u9C9E\u9C9F\u9CA0\u9CA1\u9CA2\u9CA3\u9CA4\u9CA5\u9CA6\u9CA7\u9CA8\u9CA9\u9CAA\u9CAB\u9CAC\u9CAD\u9CAE\u9CAF\u9CB0\u9CB1\u9CB2\u9CB3\u9CB4\u9CB5\u9CB6\u9CB7\u9CB8\u9CB9\u9CBA\u9CBB\u9CBC\u9CBD\u9CBE\u9CBF\u9CC0\u9CC1\u9CC2\u9CC3\u9CC4\u9CC5\u9CC6\u9CC7\u9CC8\u9CC9\u9CCA\u9CCB\u9CCC\u9CCD\u9CCE\u9CCF\u9CD0\u9CD1\u9CD2\u9CD3\u9CD4\u9CD5\u9CD6\u9CD7\u9CD8\u9CD9\u9CDB\u9CDC\u9CDD\u9CDE\u9CDF\u9CE0\u9CE1\u9CE2\u9CE3\u9E1F\u9E20\u9E21\u9E22\u9E23\u9E24\u9E25\u9E26\u9E27\u9E28\u9E29\u9E2A\u9E2B\u9E2C\u9E2D\u9E2E\u9E2F\u9E30\u9E31\u9E32\u9E33\u9E34\u9E35\u9E36\u9E37\u9E38\u9E39\u9E3A\u9E3B\u9E3C\u9E3D\u9E3E\u9E3F\u9E40\u9E41\u9E42\u9E43\u9E44\u9E45\u9E46\u9E47\u9E48\u9E49\u9E4A\u9E4B\u9E4C\u9E4D\u9E4E\u9E4F\u9E50\u9E51\u9E52\u9E53\u9E54\u9E55\u9E56\u9E57\u9E58\u9E5A\u9E5B\u9E5C\u9E5D\u9E5E\u9E5F\u9E60\u9E61\u9E62\u9E63\u9E64\u9E65\u9E66\u9E67\u9E68\u9E69\u9E6A\u9E6B\u9E6C\u9E6D\u9E6F\u9E70\u9E71\u9E72\u9E73\u9E74\u9E7E\u9EA6\u9EB8\u9EC4\u9EC9\u9EE1\u9EE9\u9EEA\u9EFE\u9F0B\u9F0C\u9F0D\u9F17\u9F39\u9F44\u9F50\u9F51\u9F7F\u9F80\u9F81\u9F82\u9F83\u9F84\u9F85\u9F86\u9F87\u9F88\u9F89\u9F8A\u9F8B\u9F8C\u9F99\u9F9A\u9F9B\u9F9F\u5FD7\u5236\u54A8\u53EA\u91CC\u7CFB\u8303\u677E\u6CA1\u5C1D\u5C1D\u95F9\u9762\u51C6\u949F\u522B\u95F2\u4E7E\u5C3D\u810F\u62FC",T:"\u842C\u8207\u919C\u5C08\u696D\u53E2\u6771\u7D72\u4E1F\u5169\u56B4\u55AA\u500B\u723F\u8C50\u81E8\u70BA\u9E97\u8209\u9EBD\u7FA9\u70CF\u6A02\u55AC\u7FD2\u9109\u66F8\u8CB7\u4E82\u722D\u65BC\u8667\u96F2\u4E99\u4E9E\u7522\u755D\u89AA\u893B\u4EB8\u5104\u50C5\u5F9E\u4F96\u5009\u5100\u5011\u50F9\u773E\u512A\u5925\u6703\u50B4\u5098\u5049\u50B3\u50B7\u5000\u502B\u5096\u507D\u4F47\u9AD4\u4F59\u50AD\u50C9\u4FE0\u4FB6\u50E5\u5075\u5074\u50D1\u5108\u5115\u5102\u4FC1\u5114\u513C\u5006\u5137\u5109\u50B5\u50BE\u50AF\u50C2\u50E8\u511F\u513B\u5110\u5132\u513A\u5152\u514C\u5157\u9EE8\u862D\u95DC\u8208\u8332\u990A\u7378\u56C5\u5167\u5CA1\u518A\u5BEB\u8ECD\u8FB2\u51A2\u99AE\u6C96\u6C7A\u6CC1\u51CD\u51C8\u6DD2\u6DBC\u6DE9\u6E1B\u6E4A\u51DC\u5E7E\u9CF3\u9CE7\u6191\u51F1\u64CA\u6C39\u947F\u82BB\u5283\u5289\u5247\u525B\u5275\u522A\u5225\u522C\u5244\u528A\u528C\u5274\u5291\u526E\u528D\u525D\u5287\u52F8\u8FA6\u52D9\u52F1\u52D5\u52F5\u52C1\u52DE\u52E2\u52DB\u731B\u52DA\u52FB\u532D\u5331\u5340\u91AB\u83EF\u5354\u55AE\u8CE3\u76E7\u9E75\u81E5\u885B\u537B\u5DF9\u5EE0\u5EF3\u6B77\u53B2\u58D3\u53AD\u5399\u5EC1\u5EC2\u53B4\u5EC8\u5EDA\u5EC4\u5EDD\u7E23\u53C3\u53C6\u53C7\u96D9\u767C\u8B8A\u6558\u53E0\u8449\u865F\u5606\u5630\u7C72\u5F8C\u5687\u5442\u55CE\u551A\u5678\u807D\u555F\u5433\u5638\u56C8\u5614\u56A6\u5504\u54E1\u54BC\u55C6\u55DA\u8A60\u54E2\u56A8\u5680\u565D\u54A4\u5645\u9E79\u54CC\u97FF\u555E\u5660\u5635\u55F6\u5666\u5629\u5672\u568C\u5665\u55B2\u561C\u551D\u562E\u5521\u55E9\u5523\u559A\u553F\u5616\u55C7\u56C0\u5699\u5570\u5574\u562F\u5674\u560D\u56B3\u56C1\u5475\u566F\u5653\u56B6\u56D1\u5695\u5288\u56C2\u8B14\u5718\u5712\u56EA\u570D\u5707\u570B\u5716\u5713\u8056\u58D9\u5834\u962A\u58DE\u584A\u5805\u58C7\u58E2\u58E9\u5862\u58B3\u589C\u58DF\u58DF\u58DA\u58D8\u58BE\u5770\u580A\u588A\u57E1\u57AF\u57B1\u584F\u5816\u5852\u5864\u581D\u588A\u57B5\u5879\u58AE\u5846\u58BB\u58EF\u8072\u6BBC\u58FA\u58F8\u8655\u5099\u5FA9\u5920\u982D\u8A87\u593E\u596A\u5969\u5950\u596E\u734E\u5967\u599D\u5A66\u5ABD\u5AF5\u5AD7\u5AAF\u59CD\u59DC\u5A41\u5A6D\u5B08\u5B0C\u5B4C\u5A1B\u5AA7\u5AFB\u5A73\u5B30\u5B0B\u5B38\u5ABC\u5B21\u5B2A\u5B19\u5B24\u5B6B\u5B78\u5B7F\u5BE7\u5BF6\u5BE6\u5BF5\u5BE9\u61B2\u5BAE\u5BEC\u8CD3\u5BE2\u5C0D\u5C0B\u5C0E\u58FD\u5C07\u723E\u5875\u582F\u5C37\u5C4D\u76E1\u5C64\u5C43\u5C5C\u5C46\u5C6C\u5C62\u5C68\u5DBC\u6B72\u8C48\u5D87\u5D17\u5CF4\u5DB4\u5D50\u5CF6\u5DBA\u5DBD\u5D20\u5DCB\u5CC3\u5DA7\u5CFD\u5CE3\u5DA0\u5D22\u5DD2\u5D97\u5D0D\u5D04\u5D84\u5DB8\u5D5A\u5D33\u5D81\u810A\u5DD4\u978F\u5DF0\u5E63\u5E25\u5E2B\u5E43\u5E33\u7C3E\u5E5F\u5E36\u5E40\u5E6B\u5E6C\u5E58\u5E57\u51AA\u8946\u5E79\u4E26\u5EE3\u838A\u6176\u5EEC\u5EE1\u5EAB\u61C9\u5EDF\u9F90\u5EE2\u5EBC\u5EE9\u958B\u7570\u68C4\u5F35\u5F4C\u5F33\u5F4E\u5F48\u5F37\u6B78\u7576\u9304\u5F5F\u5F65\u5FB9\u5F91\u5FA0\u79A6\u61B6\u61FA\u6182\u613E\u61F7\u614B\u616B\u61AE\u616A\u60B5\u6134\u6190\u7E3D\u61DF\u61CC\u6200\u61C7\u60E1\u615F\u61E8\u6137\u60FB\u60F1\u60F2\u6085\u6128\u61F8\u6173\u61AB\u9A5A\u61FC\u6158\u61F2\u618A\u611C\u615A\u619A\u6163\u6E63\u614D\u61A4\u6192\u9858\u61FE\u616D\u6035\u61E3\u61F6\u61CD\u6207\u6214\u6232\u6227\u6230\u6229\u6236\u7D2E\u64B2\u6261\u57F7\u64F4\u636B\u6383\u63DA\u64FE\u64AB\u62CB\u6476\u6473\u6384\u6436\u8B77\u5831\u64D4\u64EC\u650F\u63C0\u64C1\u6514\u64F0\u64A5\u64C7\u639B\u646F\u6523\u631C\u64BE\u64BB\u633E\u6493\u64CB\u649F\u6399\u64E0\u63EE\u6326\u6488\u640D\u64BF\u63DB\u6417\u64DA\u649A\u64C4\u6451\u64F2\u64A3\u647B\u645C\u6463\u652C\u64B3\u6519\u64F1\u645F\u652A\u651C\u651D\u6504\u64FA\u6416\u64EF\u6524\u6516\u6490\u6506\u64F7\u64FC\u651B\u64FB\u6522\u6575\u6582\u6578\u9F4B\u6595\u9B25\u65AC\u65B7\u7121\u820A\u6642\u66E0\u65F8\u66C7\u665D\u663D\u986F\u6649\u66EC\u66C9\u66C4\u6688\u6689\u66AB\u66D6\u5284\u8853\u6A38\u6A5F\u6BBA\u96DC\u6B0A\u689D\u4F86\u694A\u69AA\u5091\u6975\u69CB\u6A05\u6A1E\u68D7\u6AEA\u6898\u68D6\u69CD\u6953\u689F\u6AC3\u6AB8\u6A89\u6894\u67F5\u6A19\u68E7\u6ADB\u6AF3\u68DF\u6AE8\u6ADF\u6B04\u6A39\u68F2\u6A23\u6B12\u68EC\u690F\u6A48\u6968\u6A94\u69BF\u6A4B\u6A3A\u6A9C\u69F3\u6A01\u5922\u68BC\u68BE\u6AA2\u6B1E\u69E8\u6ADD\u69E7\u6B0F\u6A62\u6A13\u6B16\u6AEC\u6ADA\u6AF8\u69DA\u6ABB\u6AB3\u6AE7\u6A6B\u6AA3\u6AFB\u6AEB\u6AE5\u6AD3\u6ADE\u6A90\u6A81\u6B61\u6B5F\u6B50\u6BB2\u6B7F\u6BA4\u6B98\u6B9E\u6BAE\u6BAB\u6BAF\u6BC6\u6BC0\u8F42\u7562\u6583\u6C08\u6BFF\u6C0C\u6C23\u6C2B\u6C2C\u6C33\u532F\u6F22\u6C59\u6E6F\u6D36\u6C93\u6E9D\u6C92\u7043\u6F1A\u701D\u6DEA\u6EC4\u6CA8\u6E88\u6EEC\u6CB5\u6FD8\u6DDA\u6FA9\u7027\u7018\u6FFC\u7009\u6F51\u6FA4\u6D87\u6F54\u7051\u7AAA\u6D79\u6DFA\u6F3F\u6F86\u6E5E\u6D49\u6FC1\u6E2C\u6FAE\u6FDF\u700F\u6D50\u6E3E\u6EF8\u6FC3\u6F6F\u6D55\u5857\u6E67\u6FE4\u6F87\u6DF6\u6F23\u6F7F\u6E26\u6DA2\u6E19\u6ECC\u6F64\u6F97\u6F32\u6F80\u6FB1\u6DF5\u6DE5\u6F2C\u7006\u6F38\u6FA0\u6F01\u700B\u6EF2\u6EAB\u904A\u7063\u6FD5\u6F70\u6FFA\u6F35\u6E87\u6F77\u6EFE\u6EEF\u7069\u7044\u6EFF\u7005\u6FFE\u6FEB\u7064\u6FF1\u7058\u6EEA\u6FEB\u7020\u701F\u7032\u6FF0\u6F5B\u7026\u703E\u7028\u7015\u705D\u6EC5\u71C8\u9748\u707D\u71E6\u716C\u7210\u71C9\u7152\u7197\u9EDE\u7149\u71BE\u720D\u721B\u70F4\u71ED\u7159\u7169\u71D2\u71C1\u71F4\u71D9\u71FC\u71B1\u7165\u71DC\u71FE\u7146\u7CCA\u6E9C\u611B\u723A\u7258\u7266\u727D\u72A7\u72A2\u729F\u72C0\u7377\u7341\u7336\u72FD\u9E85\u72DD\u7370\u7368\u72F9\u7345\u736A\u7319\u7344\u733B\u736B\u7375\u737C\u7380\u8C6C\u8C93\u732C\u737B\u737A\u74A3\u7399\u739A\u746A\u744B\u74B0\u73FE\u73B1\u74BD\u7449\u73A8\u743A\u74CF\u73F0\u743F\u740E\u7489\u7463\u74CA\u7464\u74A6\u7487\u74D4\u74DA\u7515\u750C\u96FB\u756B\u66A2\u756C\u7587\u7664\u7642\u7627\u7658\u760D\u7667\u7621\u760B\u76B0\u5C59\u7670\u75D9\u7662\u7602\u7646\u7613\u7647\u7661\u7649\u7606\u761E\u763A\u765F\u7671\u766E\u766D\u7669\u766C\u7672\u81D2\u769A\u76BA\u76B8\u76DE\u9E7D\u76E3\u84CB\u76DC\u76E4\u7798\u7725\u772C\u8457\u775C\u775E\u77BC\u779E\u77DA\u77EF\u78EF\u792C\u7926\u78AD\u78BC\u78DA\u7868\u786F\u78B8\u792A\u7931\u792B\u790E\u7841\u77FD\u78A9\u7864\u78FD\u7859\u785A\u78BA\u9E7C\u7919\u78E7\u78E3\u583F\u78B9\u6EFE\u79AE\u794E\u79B0\u798E\u79B1\u798D\u7A1F\u797F\u79AA\u96E2\u79BF\u7A08\u7A2E\u7A4D\u7A31\u7A62\u79FE\u7A6D\u7A05\u7A4C\u7A69\u7A61\u7AAE\u7ACA\u7AC5\u7AAF\u7AC4\u7AA9\u7ABA\u7AC7\u7AB6\u8C4E\u7AF6\u7BE4\u7B4D\u7B46\u7B67\u7B8B\u7C60\u7C69\u7BC9\u7BF3\u7BE9\u7B5C\u7B8F\u7C4C\u7C3D\u7C21\u7B93\u7C00\u7BCB\u7C5C\u7C6E\u7C1E\u7C2B\u7C23\u7C0D\u7C43\u7C6C\u7C6A\u7C5F\u7CF4\u985E\u79C8\u7CF6\u7CF2\u7CB5\u7CDE\u7CE7\u7CDD\u7CC7\u7DCA\u7E36\u7CF8\u7CFE\u7D06\u7D05\u7D02\u7E96\u7D07\u7D04\u7D1A\u7D08\u7E8A\u7D00\u7D09\u7DEF\u7D1C\u7EAE\u7D14\u7D15\u7D17\u7DB1\u7D0D\u7EB4\u7E31\u7DB8\u7D1B\u7D19\u7D0B\u7D21\u7EBB\u7EBC\u7D10\u7D13\u7DDA\u7D3A\u7D32\u7D31\u7DF4\u7D44\u7D33\u7D30\u7E54\u7D42\u7E10\u7D46\u7D3C\u7D40\u7D39\u7E79\u7D93\u7D3F\u7D81\u7D68\u7D50\u7D5D\u7E5E\u7ED6\u7D4E\u7E6A\u7D66\u7D62\u7D73\u7D61\u7D55\u7D5E\u7D71\u7D86\u7D83\u7D79\u7E61\u7EE4\u7D8F\u7D73\u7E7C\u7D88\u7E3E\u7DD2\u7DBE\u7EEC\u7E8C\u7DBA\u7DCB\u7DBD\u7DD4\u7DC4\u7E69\u7DAD\u7DBF\u7DAC\u7E43\u7DA2\u7EF9\u7DB9\u7DA3\u7D9C\u7DBB\u7DB0\u7DA0\u7DB4\u7DC7\u7DD9\u7DD7\u7DD8\u7DEC\u7E9C\u7DF9\u7DF2\u7DDD\u7F0A\u7E62\u7DE6\u7D9E\u7DDE\u7DF6\u7F10\u7DF1\u7E0B\u7DE9\u7DE0\u7E37\u7DE8\u7DE1\u7DE3\u7E09\u7E1B\u7E1F\u7E1D\u7E2B\u7F1E\u7E1E\u7E8F\u7E2D\u7E0A\u7E11\u7E7D\u7E39\u7E35\u7E32\u7E93\u7E2E\u7E46\u7E45\u7E88\u7E5A\u7E55\u7E52\u97C1\u7E7E\u7E70\u7E6F\u7E73\u7E98\u7F4C\u7DB2\u7F85\u7F70\u7F77\u7F86\u7F88\u7FA5\u7FA8\u7FF9\u7FD9\u7FDA\u802E\u802C\u8073\u6065\u8076\u807E\u8077\u8079\u806F\u8075\u8070\u8085\u8178\u819A\u8181\u814E\u816B\u8139\u8105\u81BD\u52DD\u6727\u8156\u81DA\u811B\u81A0\u8108\u81BE\u81DF\u81CD\u8166\u81BF\u81E0\u8173\u812B\u8161\u81C9\u81D8\u814C\u8158\u816D\u81A9\u9766\u8183\u9A30\u81CF\u81DC\u8F3F\u8264\u8266\u8259\u826B\u8271\u8277\u8279\u85DD\u7BC0\u7F8B\u858C\u856A\u8606\u84EF\u8466\u85F6\u83A7\u8407\u84BC\u82E7\u8607\u6ABE\u860B\u8396\u8622\u8526\u584B\u7162\u7E6D\u834A\u85A6\u8359\u83A2\u8558\u84FD\u854E\u8588\u85BA\u8569\u69AE\u8477\u6ECE\u7296\u7192\u8541\u85CE\u84C0\u852D\u8552\u8452\u8464\u85E5\u849E\u84E7\u840A\u84EE\u8494\u8435\u859F\u7372\u8555\u7469\u9DAF\u8493\u841A\u863F\u87A2\u71DF\u7E08\u856D\u85A9\u8525\u8546\u8562\u8523\u851E\u85CD\u858A\u863A\u8577\u93A3\u9A40\u8594\u861E\u85FA\u85F9\u8604\u860A\u85EA\u69C1\u861A\u865C\u616E\u865B\u87F2\u866C\u87E3\u96D6\u8766\u8806\u8755\u87FB\u879E\u8836\u8814\u8706\u8831\u8823\u87F6\u883B\u87C4\u86FA\u87EF\u8784\u8810\u86FB\u8778\u881F\u8805\u87C8\u87EC\u880D\u87BB\u8811\u8780\u87CE\u87CF\u91C1\u929C\u88DC\u896F\u889E\u8956\u88CA\u8886\u896A\u8972\u88AF\u88DD\u8960\u88C8\u8933\u895D\u8932\u8947\u8938\u8964\u7E48\u8955\u898B\u89C0\u89C3\u898F\u8993\u8996\u8998\u89BD\u89BA\u89AC\u89A1\u89BF\u89CD\u89A6\u89AF\u89B2\u89B7\u89F4\u89F8\u89F6\u8A5F\u8B7D\u8B04\u8A01\u8A08\u8A02\u8A03\u8A8D\u8B4F\u8A10\u8A0C\u8A0E\u8B93\u8A15\u8A16\u8A13\u8B70\u8A0A\u8A18\u8BB1\u8B1B\u8AF1\u8B33\u8A4E\u8A1D\u8A25\u8A31\u8A1B\u8AD6\u8BBB\u8A1F\u8AF7\u8A2D\u8A2A\u8A23\u8B49\u8A41\u8A36\u8A55\u8A5B\u8B58\u8BC7\u8A50\u8A34\u8A3A\u8A46\u8B05\u8A5E\u8A58\u8A54\u8BD0\u8B6F\u8A52\u8A86\u8A84\u8A66\u8A7F\u8A69\u8A70\u8A7C\u8AA0\u8A85\u8A75\u8A71\u8A95\u8A6C\u8A6E\u8A6D\u8A62\u8A63\u8ACD\u8A72\u8A73\u8A6B\u8AE2\u8A61\u8BEA\u8AA1\u8AA3\u8A9E\u8A9A\u8AA4\u8AA5\u8A98\u8AA8\u8A91\u8AAA\u8AA6\u8A92\u8ACB\u8AF8\u8ACF\u8AFE\u8B80\u8AD1\u8AB9\u8AB2\u8AC9\u8ADB\u8AB0\u8AD7\u8ABF\u8AC2\u8AD2\u8AC4\u8AB6\u8AC7\u8ABC\u8B00\u8AF6\u8ADC\u8B0A\u8AEB\u8AE7\u8B14\u8B01\u8B02\u8AE4\u8AED\u8AFC\u8B92\u8AEE\u8AF3\u8AFA\u8AE6\u8B0E\u8ADE\u8C1E\u8B28\u8B9C\u8B16\u8B1D\u8B20\u8B17\u8B1A\u8B19\u8B10\u8B39\u8B3E\u8B2B\u8B7E\u8B2C\u8B5A\u8B56\u8B59\u8B95\u8B5C\u8B4E\u8B9E\u8B74\u8B6B\u8B96\u8C37\u8C6E\u8C9D\u8C9E\u8CA0\u8D20\u8CA2\u8CA1\u8CAC\u8CE2\u6557\u8CEC\u8CA8\u8CEA\u8CA9\u8CAA\u8CA7\u8CB6\u8CFC\u8CAF\u8CAB\u8CB3\u8CE4\u8CC1\u8CB0\u8CBC\u8CB4\u8CBA\u8CB8\u8CBF\u8CBB\u8CC0\u8CBD\u8CCA\u8D04\u8CC8\u8CC4\u8CB2\u8CC3\u8CC2\u8D13\u8CC7\u8CC5\u8D10\u8CD5\u8CD1\u8CDA\u8CD2\u8CE6\u8CED\u8CEB\u8D16\u8CDE\u8CDC\u8D51\u8D52\u8CE1\u8CE0\u8CE7\u8CF4\u8D57\u8D05\u8CFB\u8CFA\u8CFD\u8CFE\u8D17\u8D0A\u8D5F\u8D08\u8D0D\u8D0F\u8D1B\u8D6A\u8D99\u8D95\u8DA8\u8DB2\u8E89\u8E8D\u8E4C\u8DD6\u8E92\u8E10\u8DF6\u8E7A\u8E55\u8E9A\u8E8B\u8E34\u8E8A\u8E64\u8E93\u8E91\u8EA1\u8E63\u8E95\u8EA5\u8EAA\u8EA6\u8EC0\u8ECA\u8ECB\u8ECC\u8ED2\u8F6A\u8ED4\u8F49\u8EDB\u8F2A\u8EDF\u8F5F\u8EF2\u8EFB\u8F64\u8EF8\u8EF9\u8EFC\u8EE4\u8EEB\u8F62\u8EFA\u8F15\u8EFE\u8F09\u8F0A\u8F4E\u8F80\u8F07\u8F05\u8F03\u8F12\u8F14\u8F1B\u8F26\u8F29\u8F1D\u8F25\u8F1E\u8F8C\u8F1F\u8F1C\u8F33\u8F3B\u8F2F\u8F92\u8F38\u8F61\u8F45\u8F44\u8F3E\u8F46\u8F4D\u8F54\u8FAD\u8FAF\u8FAE\u908A\u907C\u9054\u9077\u904E\u9081\u904B\u9084\u9019\u9032\u9060\u9055\u9023\u9072\u9087\u9015\u8DE1\u9069\u9078\u905C\u905E\u9090\u908F\u907A\u9059\u9127\u913A\u9114\u90F5\u9112\u9134\u9130\u90C1\u90E4\u90DF\u9136\u912D\u9106\u9148\u9116\u9132\u919E\u9166\u91AC\u91C5\u91C3\u91C0\u91CB\u88CF\u9245\u9452\u947E\u93E8\u91D3\u91D4\u91DD\u91D8\u91D7\u91D9\u91D5\u91F7\u91EC\u91E7\u91E4\u9491\u91E9\u91E3\u9346\u91F9\u9496\u91F5\u9498\u9223\u9208\u9226\u920D\u9214\u9418\u9209\u92C7\u92FC\u9211\u9210\u9470\u6B3D\u921E\u93A2\u9264\u9227\u9201\u9225\u9204\u9215\u9200\u923A\u9322\u9266\u9257\u9237\u7F3D\u9233\u9255\u923D\u9238\u925E\u9246\u926C\u926D\u9240\u923F\u923E\u9435\u9251\u9234\u9460\u925B\u925A\u9230\u9249\u9248\u924D\u9239\u9438\u94CF\u92AC\u92A0\u927A\u92AA\u92CF\u92E3\u9403\u94DA\u943A\u9285\u92C1\u92B1\u92A6\u93A7\u9358\u9296\u9291\u92CC\u92A9\u94E6\u93F5\u9293\u927F\u929A\u927B\u9298\u931A\u92AB\u9278\u92A5\u93DF\u9283\u940B\u92A8\u9280\u92A3\u9444\u9412\u92EA\u94FB\u9338\u92F1\u93C8\u93D7\u92B7\u9396\u92F0\u92E5\u92E4\u934B\u92EF\u92E8\u92B9\u92BC\u92DD\u92D2\u92C5\u92F6\u9426\u9427\u92B3\u92BB\u92C3\u92DF\u92E6\u9312\u9306\u937A\u932F\u9328\u951C\u9301\u9315\u9520\u932B\u932E\u947C\u9318\u9310\u9326\u9341\u9308\u9307\u931F\u9320\u9375\u92F8\u9333\u9319\u9365\u9533\u9347\u93D8\u9376\u9354\u9364\u936C\u937E\u935B\u93AA\u953D\u9370\u9384\u934D\u9382\u93E4\u9543\u93CC\u93AE\u9548\u9398\u9477\u942B\u93B3\u93BF\u93A6\u93AC\u938A\u93B0\u9555\u93E2\u93DC\u93CD\u955A\u93DE\u93E1\u93D1\u93C3\u93C7\u9560\u9414\u941D\u9410\u93F7\u9465\u9413\u946D\u9420\u9479\u93F9\u9419\u944A\u9433\u956E\u9432\u942E\u943F\u9454\u9463\u9574\u9472\u9577\u9580\u9582\u9583\u9586\u95EC\u9589\u554F\u95D6\u958F\u95C8\u9591\u958E\u9593\u9594\u958C\u60B6\u9598\u9B27\u95A8\u805E\u95E5\u95A9\u95AD\u95FF\u95A5\u95A3\u95A1\u95AB\u9B2E\u95B1\u95AC\u9607\u95BE\u95B9\u95B6\u9B29\u95BF\u95BD\u95BB\u95BC\u95E1\u95CC\u95C3\u9613\u95CA\u95CB\u95D4\u95D0\u9618\u95D5\u95DE\u961B\u968A\u967D\u9670\u9663\u968E\u969B\u9678\u96B4\u9673\u9658\u965C\u9689\u9695\u96AA\u96A8\u96B1\u96B8\u96CB\u96E3\u96DB\u8B8E\u9742\u9727\u973D\u9EF4\u9744\u975A\u975C\u9768\u97C3\u97BD\u97C9\u97DD\u97CB\u97CC\u97E8\u97D3\u97D9\u97DE\u97DC\u97FB\u9801\u9802\u9803\u9807\u9805\u9806\u9808\u980A\u9811\u9867\u9813\u980E\u9812\u980C\u980F\u9810\u9871\u9818\u9817\u9838\u9821\u9830\u988B\u981C\u6F41\u988E\u9826\u9824\u983B\u9892\u9839\u9837\u9895\u7A4E\u9846\u984C\u9899\u984E\u9853\u984F\u984D\u9873\u9862\u985B\u9859\u9865\u98A3\u986B\u986C\u9870\u9874\u98A8\u98CF\u98D0\u98AE\u98AF\u98B6\u98D4\u98BC\u98D6\u98D7\u98C4\u98C6\u98C8\u98DB\u9957\u995C\u9964\u9951\u9966\u9933\u98E9\u993C\u98EA\u98EB\u98ED\u98EF\u98F2\u991E\u98FE\u98FD\u98FC\u9973\u98F4\u990C\u9952\u9909\u9978\u9979\u9903\u997B\u9905\u9911\u997E\u9913\u9918\u9912\u9982\u9983\u991B\u9921\u9928\u9937\u994B\u9989\u993F\u995E\u998C\u9943\u998E\u993E\u9948\u9949\u9945\u994A\u994C\u9962\u99AC\u99AD\u99B1\u99B4\u99B3\u9A45\u9A72\u99C1\u9A62\u99D4\u99DB\u99DF\u99D9\u99D2\u9A36\u99D0\u99DD\u99D1\u99D5\u9A5B\u99D8\u9A4D\u7F75\u9A83\u9A55\u9A4A\u99F1\u99ED\u99E2\u9A89\u9A6A\u9A01\u9A57\u9A8D\u9A8E\u99FF\u9A0F\u9A0E\u9A0D\u9A05\u9A94\u9A95\u9A42\u9A19\u9A2D\u9A99\u9A37\u9A16\u9A41\u9A2E\u9A2B\u9A38\u9A43\u9A3E\u9A44\u9A4F\u9A5F\u9A65\u9AA6\u9A64\u9ACF\u9AD6\u9AD5\u9B22\u9B58\u9B4E\u9B5A\u9C7D\u9C7E\u9B77\u9C80\u9B6F\u9B74\u9C84\u9B81\u9B83\u9B8E\u9C78\u9C89\u9C8A\u9B92\u9C8C\u9B91\u9C5F\u9C8F\u9B90\u9BAD\u9B9A\u9C93\u9BAA\u9B9E\u9C96\u9C97\u9C98\u9C99\u9C6D\u9BAB\u9BAE\u9C9D\u9BD7\u9C58\u9BC1\u9C7A\u9C31\u9C39\u9BC9\u9C23\u9C37\u9BC0\u9BCA\u9BC7\u9CAA\u9BFD\u9CAC\u9BD6\u9BEA\u9CAF\u9BEB\u9BE1\u9BE4\u9BE7\u9BDD\u9BE2\u9BF0\u9BDB\u9BE8\u9CB9\u9BF4\u9BD4\u9C5D\u9C08\u9CBE\u9CBF\u9CC0\u9CC1\u9CC2\u9C13\u9C77\u9C0D\u9C12\u9C09\u9CC8\u9CC9\u9BFF\u9C20\u9C32\u9C2D\u9C28\u9C25\u9C29\u9CD1\u9CD2\u9C33\u9C3E\u9C48\u9C49\u9C3B\u9C35\u9C45\u9CDB\u9C56\u9C54\u9C57\u9C52\u9CE0\u9CE1\u9C67\u9CE3\u9CE5\u9CE9\u96DE\u9CF6\u9CF4\u9E24\u9DD7\u9D09\u9E27\u9D07\u9D06\u9D23\u9D87\u9E15\u9D28\u9E2E\u9D26\u9E30\u9D1F\u9D1D\u9D1B\u9E34\u9D15\u9DE5\u9DD9\u9D2F\u9D30\u9D42\u9E3B\u9E3C\u9D3F\u9E1E\u9D3B\u9E40\u9D53\u9E1D\u9D51\u9D60\u9D5D\u9D52\u9DF4\u9D5C\u9D61\u9D72\u9D93\u9D6A\u9E4D\u9D6F\u9D6C\u9E50\u9D89\u9E52\u9E53\u9E54\u9D98\u9E56\u9D9A\u9DBB\u9DBF\u9DA5\u9DA9\u9E5D\u9DC2\u9E5F\u9E60\u9E61\u9E62\u9DBC\u9DB4\u9E65\u9E1A\u9DD3\u9DDA\u9DEF\u9DE6\u9DF2\u9DF8\u9DFA\u9E6F\u9DF9\u9E0C\u9E72\u9E1B\u9E74\u9E7A\u9EA5\u9EA9\u9EC3\u9ECC\u9EE1\u9EF7\u9EF2\u9EFD\u9EFF\u9F0C\u9F09\u9F17\u9F34\u9F47\u9F4A\u9F4F\u9F52\u9F54\u9F81\u9F82\u9F5F\u9F61\u9F59\u9F60\u9F5C\u9F66\u9F6C\u9F6A\u9F72\u9F77\u9F8D\u9F94\u9F95\u9F9C\u8A8C\u5236\u54A8\u53EA\u88CF\u7CFB\u7BC4\u677E\u6C92\u5617\u5617\u9B27\u9762\u6E96\u9418\u5225\u9591\u4E7E\u76E1\u81DF\u62FC"},pp=gp,od=pp,Xc=od.S,Yc=od.T;function qc(e,r){var t,a,n,i,o,s,l,c="";if(r?(s=Xc,l=Yc):(s=Yc,l=Xc),typeof e!="string")return e;for(t=0;t13312&&n<40899||n>63744&&n<64106,!i){c+=a;continue}o=s.indexOf(a),o!==-1?c+=l.charAt(o):c+=a}return c}var mp={s2t:function(e){return qc(e,!0)},t2s:function(e){return qc(e,!1)}},wp=mp;/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var ts={};ts.version="0.18.5";var sd=1252,yp=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],Gl={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},Xl=function(e){yp.indexOf(e)!=-1&&(sd=Gl[0]=e)};function _p(){Xl(1252)}var ca=function(e){Xl(e)};function Yl(){ca(1200),_p()}function Jc(e){for(var r=[],t=0,a=e.length;t>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function ld(e){for(var r=[],t=0;t>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var Si=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);return r==255&&t==254?bp(e.slice(2)):r==254&&t==255?ld(e.slice(2)):r==65279?e.slice(1):e},Fo=function(r){return String.fromCharCode(r)},Zc=function(r){return String.fromCharCode(r)},Ja,Qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Hi(e){for(var r="",t=0,a=0,n=0,i=0,o=0,s=0,l=0,c=0;c>2,a=e.charCodeAt(c++),o=(t&3)<<4|a>>4,n=e.charCodeAt(c++),s=(a&15)<<2|n>>6,l=n&63,isNaN(a)?s=l=64:isNaN(n)&&(l=64),r+=Qa.charAt(i)+Qa.charAt(o)+Qa.charAt(s)+Qa.charAt(l);return r}function jt(e){var r="",t=0,a=0,n=0,i=0,o=0,s=0,l=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4,r+=String.fromCharCode(t),s=Qa.indexOf(e.charAt(c++)),a=(o&15)<<4|s>>2,s!==64&&(r+=String.fromCharCode(a)),l=Qa.indexOf(e.charAt(c++)),n=(s&3)<<6|l,l!==64&&(r+=String.fromCharCode(n));return r}var Je=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Ua=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(r,t){return t?new Buffer(r,t):new Buffer(r)}:Buffer.from.bind(Buffer)}return function(){}}();function rn(e){return Je?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Qc(e){return Je?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var Bt=function(r){return Je?Ua(r,"binary"):r.split("").map(function(t){return t.charCodeAt(0)&255})};function ws(e){if(typeof ArrayBuffer>"u")return Bt(e);for(var r=new ArrayBuffer(e.length),t=new Uint8Array(r),a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function ln(e){if(Array.isArray(e))return e.map(function(a){return String.fromCharCode(a)}).join("");for(var r=[],t=0;t"u")throw new Error("Unsupported");return new Uint8Array(e)}function ql(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return ql(new Uint8Array(e));for(var r=new Array(e.length),t=0;t>6&31,n[t++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var s=e.charCodeAt(++i)&1023;n[t++]=240|o>>8&7,n[t++]=128|o>>2&63,n[t++]=128|s>>6&15|(o&3)<<4,n[t++]=128|s&63}else n[t++]=224|o>>12&15,n[t++]=128|o>>6&63,n[t++]=128|o&63;t>a&&(r.push(n.slice(0,t)),t=0,n=rn(65535),a=65530)}return r.push(n.slice(0,t)),tt(r)}var Ct=/\u0000/g,Ei=/[\u0001-\u0006]/g;function ai(e){for(var r="",t=e.length-1;t>=0;)r+=e.charAt(t--);return r}function fa(e,r){var t=""+e;return t.length>=r?t:Mr("0",r-t.length)+t}function Jl(e,r){var t=""+e;return t.length>=r?t:Mr(" ",r-t.length)+t}function as(e,r){var t=""+e;return t.length>=r?t:t+Mr(" ",r-t.length)}function Cp(e,r){var t=""+Math.round(e);return t.length>=r?t:Mr("0",r-t.length)+t}function Tp(e,r){var t=""+e;return t.length>=r?t:Mr("0",r-t.length)+t}var ef=Math.pow(2,32);function $n(e,r){if(e>ef||e<-ef)return Cp(e,r);var t=Math.round(e);return Tp(t,r)}function ns(e,r){return r=r||0,e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var rf=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],$s=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function kp(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',e}var Ue={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'},tf={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Fp={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function is(e,r,t){for(var a=e<0?-1:1,n=e*a,i=0,o=1,s=0,l=1,c=0,f=0,u=Math.floor(n);cr&&(c>r?(f=l,s=i):(f=c,s=o)),!t)return[0,a*s,f];var d=Math.floor(a*s/f);return[d,a*s-d*f,f]}function mn(e,r,t){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0,o=[],s={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),r&&r.date1904&&(a+=1462),s.u>.9999&&(s.u=0,++n==86400&&(s.T=n=0,++a,++s.D)),a===60)o=t?[1317,10,29]:[1900,2,29],i=3;else if(a===0)o=t?[1317,8,29]:[1900,1,0],i=6;else{a>60&&--a;var l=new Date(1900,0,1);l.setDate(l.getDate()+a-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],i=l.getDay(),a<60&&(i=(i+6)%7),t&&(i=Pp(l,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=n%60,n=Math.floor(n/60),s.M=n%60,n=Math.floor(n/60),s.H=n,s.q=i,s}var cd=new Date(1899,11,31,0,0,0),Ap=cd.getTime(),Op=new Date(1900,2,1,0,0,0);function fd(e,r){var t=e.getTime();return r?t-=1461*24*60*60*1e3:e>=Op&&(t+=24*60*60*1e3),(t-(Ap+(e.getTimezoneOffset()-cd.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function Zl(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Dp(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function Rp(e){var r=e<0?12:11,t=Zl(e.toFixed(12));return t.length<=r||(t=e.toPrecision(10),t.length<=r)?t:e.toExponential(5)}function Ip(e){var r=Zl(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function Vi(e){var r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),t;return r>=-4&&r<=-1?t=e.toPrecision(10+r):Math.abs(r)<=9?t=Rp(e):r===10?t=e.toFixed(10).substr(0,12):t=Ip(e),Zl(Dp(t.toUpperCase()))}function En(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):Vi(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return ea(14,fd(e,r&&r.date1904),r)}throw new Error("unsupported value in General format: "+e)}function Pp(e,r){r[0]-=581;var t=e.getDay();return e<60&&(t=(t+6)%7),t}function Np(e,r,t,a){var n="",i=0,o=0,s=t.y,l,c=0;switch(e){case 98:s=t.y+543;case 121:switch(r.length){case 1:case 2:l=s%100,c=2;break;default:l=s%1e4,c=4;break}break;case 109:switch(r.length){case 1:case 2:l=t.m,c=r.length;break;case 3:return $s[t.m-1][1];case 5:return $s[t.m-1][0];default:return $s[t.m-1][2]}break;case 100:switch(r.length){case 1:case 2:l=t.d,c=r.length;break;case 3:return rf[t.q][0];default:return rf[t.q][1]}break;case 104:switch(r.length){case 1:case 2:l=1+(t.H+11)%12,c=r.length;break;default:throw"bad hour format: "+r}break;case 72:switch(r.length){case 1:case 2:l=t.H,c=r.length;break;default:throw"bad hour format: "+r}break;case 77:switch(r.length){case 1:case 2:l=t.M,c=r.length;break;default:throw"bad minute format: "+r}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;return t.u===0&&(r=="s"||r=="ss")?fa(t.S,r.length):(a>=2?o=a===3?1e3:100:o=a===1?10:1,i=Math.round(o*(t.S+t.u)),i>=60*o&&(i=0),r==="s"?i===0?"0":""+i/o:(n=fa(i,2+a),r==="ss"?n.substr(0,2):"."+n.substr(2,r.length-1)));case 90:switch(r){case"[h]":case"[hh]":l=t.D*24+t.H;break;case"[m]":case"[mm]":l=(t.D*24+t.H)*60+t.M;break;case"[s]":case"[ss]":l=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r}c=r.length===3?1:2;break;case 101:l=s,c=1;break}var f=c>0?fa(l,c):"";return f}function en(e){var r=3;if(e.length<=r)return e;for(var t=e.length%r,a=e.substr(0,t);t!=e.length;t+=r)a+=(a.length>0?",":"")+e.substr(t,r);return a}var ud=/%/g;function Lp(e,r,t){var a=r.replace(ud,""),n=r.length-a.length;return Ia(e,a,t*Math.pow(10,2*n))+Mr("%",n)}function Bp(e,r,t){for(var a=r.length-1;r.charCodeAt(a-1)===44;)--a;return Ia(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function dd(e,r){var t,a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";if(r<0)return"-"+dd(e,-r);var n=e.indexOf(".");n===-1&&(n=e.indexOf("E"));var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0&&(i+=n),t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n),t.indexOf("e")===-1){var o=Math.floor(Math.log(r)*Math.LOG10E);for(t.indexOf(".")===-1?t=t.charAt(0)+"."+t.substr(1)+"E+"+(o-t.length+i):t+="E+"+(o-i);t.substr(0,2)==="0.";)t=t.charAt(0)+t.substr(2,n)+"."+t.substr(2+n),t=t.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(s,l,c,f){return l+c+f.substr(0,(n+i)%n)+"."+f.substr(i)+"E"})}else t=r.toExponential(a);return e.match(/E\+00$/)&&t.match(/e[+-]\d$/)&&(t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1)),e.match(/E\-/)&&t.match(/e\+/)&&(t=t.replace(/e\+/,"e")),t.replace("e","E")}var hd=/# (\?+)( ?)\/( ?)(\d+)/;function Mp(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a),o=n-i*a,s=a;return t+(i===0?"":""+i)+" "+(o===0?Mr(" ",e[1].length+1+e[4].length):Jl(o,e[1].length)+e[2]+"/"+e[3]+fa(s,e[4].length))}function Kp(e,r,t){return t+(r===0?"":""+r)+Mr(" ",e[1].length+2+e[4].length)}var vd=/^#*0*\.([0#]+)/,xd=/\).*[0#]/,gd=/\(###\) ###\\?-####/;function St(e){for(var r="",t,a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function af(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function nf(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);return r<(""+Math.round(t*a)).length?0:Math.round(t*a)}function jp(e,r){return r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length?1:0}function Wp(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function Gt(e,r,t){if(e.charCodeAt(0)===40&&!r.match(xd)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return t>=0?Gt("n",a,t):"("+Gt("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Bp(e,r,t);if(r.indexOf("%")!==-1)return Lp(e,r,t);if(r.indexOf("E")!==-1)return dd(r,t);if(r.charCodeAt(0)===36)return"$"+Gt(e,r.substr(r.charAt(1)==" "?2:1),t);var n,i,o,s,l=Math.abs(t),c=t<0?"-":"";if(r.match(/^00+$/))return c+$n(l,r.length);if(r.match(/^[#?]+$/))return n=$n(t,0),n==="0"&&(n=""),n.length>r.length?n:St(r.substr(0,r.length-n.length))+n;if(i=r.match(hd))return Mp(i,l,c);if(r.match(/^#+0+$/))return c+$n(l,r.length-r.indexOf("0"));if(i=r.match(vd))return n=af(t,i[1].length).replace(/^([^\.]+)$/,"$1."+St(i[1])).replace(/\.$/,"."+St(i[1])).replace(/\.(\d*)$/,function(x,h){return"."+h+Mr("0",St(i[1]).length-h.length)}),r.indexOf("0.")!==-1?n:n.replace(/^0\./,".");if(r=r.replace(/^#+([0.])/,"$1"),i=r.match(/^(0*)\.(#*)$/))return c+af(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=r.match(/^#{1,3},##0(\.?)$/))return c+en($n(l,0));if(i=r.match(/^#,##0\.([#0]*0)$/))return t<0?"-"+Gt(e,r,-t):en(""+(Math.floor(t)+jp(t,i[1].length)))+"."+fa(nf(t,i[1].length),i[1].length);if(i=r.match(/^#,#*,#0/))return Gt(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/))return n=ai(Gt(e,r.replace(/[\\-]/g,""),t)),o=0,ai(ai(r.replace(/\\/g,"")).replace(/[0#]/g,function(x){return o=0?ma("n",a,t):"("+ma("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Up(e,r,t);if(r.indexOf("%")!==-1)return Hp(e,r,t);if(r.indexOf("E")!==-1)return pd(r,t);if(r.charCodeAt(0)===36)return"$"+ma(e,r.substr(r.charAt(1)==" "?2:1),t);var n,i,o,s,l=Math.abs(t),c=t<0?"-":"";if(r.match(/^00+$/))return c+fa(l,r.length);if(r.match(/^[#?]+$/))return n=""+t,t===0&&(n=""),n.length>r.length?n:St(r.substr(0,r.length-n.length))+n;if(i=r.match(hd))return Kp(i,l,c);if(r.match(/^#+0+$/))return c+fa(l,r.length-r.indexOf("0"));if(i=r.match(vd))return n=(""+t).replace(/^([^\.]+)$/,"$1."+St(i[1])).replace(/\.$/,"."+St(i[1])),n=n.replace(/\.(\d*)$/,function(x,h){return"."+h+Mr("0",St(i[1]).length-h.length)}),r.indexOf("0.")!==-1?n:n.replace(/^0\./,".");if(r=r.replace(/^#+([0.])/,"$1"),i=r.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=r.match(/^#{1,3},##0(\.?)$/))return c+en(""+l);if(i=r.match(/^#,##0\.([#0]*0)$/))return t<0?"-"+ma(e,r,-t):en(""+t)+"."+Mr("0",i[1].length);if(i=r.match(/^#,#*,#0/))return ma(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/))return n=ai(ma(e,r.replace(/[\\-]/g,""),t)),o=0,ai(ai(r.replace(/\\/g,"")).replace(/[0#]/g,function(x){return o-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1););break;case"?":for(;e.charAt(++r)===t;);break;case"*":++r,(e.charAt(r)==" "||e.charAt(r)=="*")&&++r;break;case"(":case")":++r;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;r-1;);break;case" ":++r;break;default:++r;break}return!1}function zp(e,r,t,a){for(var n=[],i="",o=0,s="",l="t",c,f,u,d="H";o=12?"P":"A"),h.t="T",d="h",o+=3):e.substr(o,5).toUpperCase()==="AM/PM"?(c!=null&&(h.v=c.H>=12?"PM":"AM"),h.t="T",o+=5,d="h"):e.substr(o,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(c!=null&&(h.v=c.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),h.t="T",o+=5,d="h"):(h.t="t",++o),c==null&&h.t==="T")return"";n[n.length]=h,l=s;break;case"[":for(i=s;e.charAt(o++)!=="]"&&o-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",di(e)||(n[n.length]={t:"t",v:i}));break;case".":if(c!=null){for(i=s;++o-1;)i+=s;n[n.length]={t:"n",v:i};break;case"?":for(i=s;e.charAt(++o)===s;)i+=s;n[n.length]={t:s,v:i},l=s;break;case"*":++o,(e.charAt(o)==" "||e.charAt(o)=="*")&&++o;break;case"(":case")":n[n.length]={t:a===1?"t":s,v:s},++o;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=s;o-1;)i+=e.charAt(o);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:s,v:s},++o;break;case"$":n[n.length]={t:"t",v:"$"},++o;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(s)===-1)throw new Error("unrecognized character "+s+" in "+e);n[n.length]={t:"t",v:s},++o;break}var p=0,m=0,S;for(o=n.length-1,l="t";o>=0;--o)switch(n[o].t){case"h":case"H":n[o].t=d,l="h",p<1&&(p=1);break;case"s":(S=n[o].v.match(/\.0+$/))&&(m=Math.max(m,S[0].length-1)),p<3&&(p=3);case"d":case"y":case"M":case"e":l=n[o].t;break;case"m":l==="s"&&(n[o].t="M",p<2&&(p=2));break;case"X":break;case"Z":p<1&&n[o].v.match(/[Hh]/)&&(p=1),p<2&&n[o].v.match(/[Mm]/)&&(p=2),p<3&&n[o].v.match(/[Ss]/)&&(p=3)}switch(p){case 0:break;case 1:c.u>=.5&&(c.u=0,++c.S),c.S>=60&&(c.S=0,++c.M),c.M>=60&&(c.M=0,++c.H);break;case 2:c.u>=.5&&(c.u=0,++c.S),c.S>=60&&(c.S=0,++c.M);break}var g="",w;for(o=0;o0){g.charCodeAt(0)==40?(F=r<0&&g.charCodeAt(0)===45?-r:r,_=Ia("n",g,F)):(F=r<0&&a>1?-r:r,_=Ia("n",g,F),F<0&&n[0]&&n[0].t=="t"&&(_=_.substr(1),n[0].v="-"+n[0].v)),w=_.length-1;var R=n.length;for(o=0;o-1){R=o;break}var y=n.length;if(R===n.length&&_.indexOf("E")===-1){for(o=n.length-1;o>=0;--o)n[o]==null||"n?".indexOf(n[o].t)===-1||(w>=n[o].v.length-1?(w-=n[o].v.length,n[o].v=_.substr(w+1,n[o].v.length)):w<0?n[o].v="":(n[o].v=_.substr(0,w+1),w=-1),n[o].t="t",y=o);w>=0&&y=0;--o)if(!(n[o]==null||"n?".indexOf(n[o].t)===-1)){for(f=n[o].v.indexOf(".")>-1&&o===R?n[o].v.indexOf(".")-1:n[o].v.length-1,C=n[o].v.substr(f+1);f>=0;--f)w>=0&&(n[o].v.charAt(f)==="0"||n[o].v.charAt(f)==="#")&&(C=_.charAt(w--)+C);n[o].v=C,n[o].t="t",y=o}for(w>=0&&y-1&&o===R?n[o].v.indexOf(".")+1:0,C=n[o].v.substr(0,f);f-1&&(F=a>1&&r<0&&o>0&&n[o-1].v==="-"?-r:r,n[o].v=Ia(n[o].t,n[o].v,F),n[o].t="t");var W="";for(o=0;o!==n.length;++o)n[o]!=null&&(W+=n[o].v);return W}var of=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function sf(e,r){if(r==null)return!1;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return!0;break;case">":if(e>t)return!0;break;case"<":if(e":if(e!=t)return!0;break;case">=":if(e>=t)return!0;break;case"<=":if(e<=t)return!0;break}return!1}function $p(e,r){var t=Vp(e),a=t.length,n=t[a-1].indexOf("@");if(a<4&&n>-1&&--a,t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!="number")return[4,t.length===4||n>-1?t[t.length-1]:"@"];switch(t.length){case 1:t=n>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=n>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=n>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"];break}var i=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[a,i];if(t[0].match(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var o=t[0].match(of),s=t[1].match(of);return sf(r,o)?[a,t[0]]:sf(r,s)?[a,t[1]]:[a,t[o!=null&&s!=null?2:1]]}return[a,i]}function ea(e,r,t){t==null&&(t={});var a="";switch(typeof e){case"string":e=="m/d/yy"&&t.dateNF?a=t.dateNF:a=e;break;case"number":e==14&&t.dateNF?a=t.dateNF:a=(t.table!=null?t.table:Ue)[e],a==null&&(a=t.table&&t.table[tf[e]]||Ue[tf[e]]),a==null&&(a=Fp[e]||"General");break}if(ns(a,0))return En(r,t);r instanceof Date&&(r=fd(r,t.date1904));var n=$p(a,r);if(ns(n[1]))return En(r,t);if(r===!0)r="TRUE";else if(r===!1)r="FALSE";else if(r===""||r==null)return"";return zp(n[1],r,t,n[0])}function Pa(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(Ue[t]==null){r<0&&(r=t);continue}if(Ue[t]==e){r=t;break}}r<0&&(r=391)}return Ue[r]=e,r}function ys(e){for(var r=0;r!=392;++r)e[r]!==void 0&&Pa(e[r],r)}function hi(){Ue=kp()}var Gp={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},wd=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Xp(e){var r=typeof e=="number"?Ue[e]:e;return r=r.replace(wd,"(\\d+)"),new RegExp("^"+r+"$")}function Yp(e,r,t){var a=-1,n=-1,i=-1,o=-1,s=-1,l=-1;(r.match(wd)||[]).forEach(function(u,d){var v=parseInt(t[d+1],10);switch(u.toLowerCase().charAt(0)){case"y":a=v;break;case"d":i=v;break;case"h":o=v;break;case"s":l=v;break;case"m":o>=0?s=v:n=v;break}}),l>=0&&s==-1&&n>=0&&(s=n,n=-1);var c=(""+(a>=0?a:new Date().getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);c.length==7&&(c="0"+c),c.length==8&&(c="20"+c);var f=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return o==-1&&s==-1&&l==-1?c:a==-1&&n==-1&&i==-1?f:c+"T"+f}var qp=function(){var e={};e.version="1.2.0";function r(){for(var _=0,R=new Array(256),y=0;y!=256;++y)_=y,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,R[y]=_;return typeof Int32Array<"u"?new Int32Array(R):R}var t=r();function a(_){var R=0,y=0,W=0,D=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(W=0;W!=256;++W)D[W]=_[W];for(W=0;W!=256;++W)for(y=_[W],R=256+W;R<4096;R+=256)y=D[R]=y>>>8^_[y&255];var E=[];for(W=1;W!=16;++W)E[W-1]=typeof Int32Array<"u"?D.subarray(W*256,W*256+256):D.slice(W*256,W*256+256);return E}var n=a(t),i=n[0],o=n[1],s=n[2],l=n[3],c=n[4],f=n[5],u=n[6],d=n[7],v=n[8],x=n[9],h=n[10],p=n[11],m=n[12],S=n[13],g=n[14];function w(_,R){for(var y=R^-1,W=0,D=_.length;W>>8^t[(y^_.charCodeAt(W++))&255];return~y}function C(_,R){for(var y=R^-1,W=_.length-15,D=0;D>8&255]^m[_[D++]^y>>16&255]^p[_[D++]^y>>>24]^h[_[D++]]^x[_[D++]]^v[_[D++]]^d[_[D++]]^u[_[D++]]^f[_[D++]]^c[_[D++]]^l[_[D++]]^s[_[D++]]^o[_[D++]]^i[_[D++]]^t[_[D++]];for(W+=15;D>>8^t[(y^_[D++])&255];return~y}function F(_,R){for(var y=R^-1,W=0,D=_.length,E=0,T=0;W>>8^t[(y^E)&255]:E<2048?(y=y>>>8^t[(y^(192|E>>6&31))&255],y=y>>>8^t[(y^(128|E&63))&255]):E>=55296&&E<57344?(E=(E&1023)+64,T=_.charCodeAt(W++)&1023,y=y>>>8^t[(y^(240|E>>8&7))&255],y=y>>>8^t[(y^(128|E>>2&63))&255],y=y>>>8^t[(y^(128|T>>6&15|(E&3)<<4))&255],y=y>>>8^t[(y^(128|T&63))&255]):(y=y>>>8^t[(y^(224|E>>12&15))&255],y=y>>>8^t[(y^(128|E>>6&63))&255],y=y>>>8^t[(y^(128|E&63))&255]);return~y}return e.table=t,e.bstr=w,e.buf=C,e.str=F,e}(),Me=function(){var r={};r.version="1.2.1";function t(k,j){for(var P=k.split("/"),B=j.split("/"),M=0,H=0,ae=Math.min(P.length,B.length);M>>1,k.write_shift(2,P);var B=j.getFullYear()-1980;B=B<<4|j.getMonth()+1,B=B<<5|j.getDate(),k.write_shift(2,B)}function o(k){var j=k.read_shift(2)&65535,P=k.read_shift(2)&65535,B=new Date,M=P&31;P>>>=5;var H=P&15;P>>>=4,B.setMilliseconds(0),B.setFullYear(P+1980),B.setMonth(H-1),B.setDate(M);var ae=j&31;j>>>=5;var oe=j&63;return j>>>=6,B.setHours(j),B.setMinutes(oe),B.setSeconds(ae<<1),B}function s(k){st(k,0);for(var j={},P=0;k.l<=k.length-4;){var B=k.read_shift(2),M=k.read_shift(2),H=k.l+M,ae={};switch(B){case 21589:P=k.read_shift(1),P&1&&(ae.mtime=k.read_shift(4)),M>5&&(P&2&&(ae.atime=k.read_shift(4)),P&4&&(ae.ctime=k.read_shift(4))),ae.mtime&&(ae.mt=new Date(ae.mtime*1e3));break}k.l=H,j[B]=ae}return j}var l;function c(){return l||(l={})}function f(k,j){if(k[0]==80&&k[1]==75)return ia(k,j);if((k[0]|32)==109&&(k[1]|32)==105)return Sr(k,j);if(k.length<512)throw new Error("CFB file size "+k.length+" < 512");var P=3,B=512,M=0,H=0,ae=0,oe=0,re=0,ne=[],ie=k.slice(0,512);st(ie,0);var we=u(ie);switch(P=we[0],P){case 3:B=512;break;case 4:B=4096;break;case 0:if(we[1]==0)return ia(k,j);default:throw new Error("Major Version: Expected 3 or 4 saw "+P)}B!==512&&(ie=k.slice(0,B),st(ie,28));var Ce=k.slice(0,B);d(ie,P);var pe=ie.read_shift(4,"i");if(P===3&&pe!==0)throw new Error("# Directory Sectors: Expected 0 saw "+pe);ie.l+=4,ae=ie.read_shift(4,"i"),ie.l+=4,ie.chk("00100000","Mini Stream Cutoff Size: "),oe=ie.read_shift(4,"i"),M=ie.read_shift(4,"i"),re=ie.read_shift(4,"i"),H=ie.read_shift(4,"i");for(var fe=-1,xe=0;xe<109&&(fe=ie.read_shift(4,"i"),!(fe<0));++xe)ne[xe]=fe;var Re=v(k,B);p(re,H,Re,B,ne);var ar=S(Re,ae,ne,B);ar[ae].name="!Directory",M>0&&oe!==T&&(ar[oe].name="!MiniFAT"),ar[ne[0]].name="!FAT",ar.fat_addrs=ne,ar.ssz=B;var lr={},Lr=[],va=[],fn=[];g(ae,ar,Re,Lr,M,lr,va,oe),x(va,fn,Lr),Lr.shift();var un={FileIndex:va,FullPaths:fn};return j&&j.raw&&(un.raw={header:Ce,sectors:Re}),un}function u(k){if(k[k.l]==80&&k[k.l+1]==75)return[0,0];k.chk(A,"Header Signature: "),k.l+=16;var j=k.read_shift(2,"u");return[k.read_shift(2,"u"),j]}function d(k,j){var P=9;switch(k.l+=2,P=k.read_shift(2)){case 9:if(j!=3)throw new Error("Sector Shift: Expected 9 saw "+P);break;case 12:if(j!=4)throw new Error("Sector Shift: Expected 12 saw "+P);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+P)}k.chk("0600","Mini Sector Shift: "),k.chk("000000000000","Reserved: ")}function v(k,j){for(var P=Math.ceil(k.length/j)-1,B=[],M=1;M0&&ae>=0;)H.push(j.slice(ae*E,ae*E+E)),M-=E,ae=pn(P,ae*4);return H.length===0?se(0):tt(H).slice(0,k.size)}function p(k,j,P,B,M){var H=T;if(k===T){if(j!==0)throw new Error("DIFAT chain shorter than expected")}else if(k!==-1){var ae=P[k],oe=(B>>>2)-1;if(!ae)return;for(var re=0;re=0;){M[re]=!0,H[H.length]=re,ae.push(k[re]);var ie=P[Math.floor(re*4/B)];if(ne=re*4&oe,B<4+ne)throw new Error("FAT boundary crossed: "+re+" 4 "+B);if(!k[ie])break;re=pn(k[ie],ne)}return{nodes:H,data:wf([ae])}}function S(k,j,P,B){var M=k.length,H=[],ae=[],oe=[],re=[],ne=B-1,ie=0,we=0,Ce=0,pe=0;for(ie=0;ie=M&&(Ce-=M),!ae[Ce]){re=[];var fe=[];for(we=Ce;we>=0;){fe[we]=!0,ae[we]=!0,oe[oe.length]=we,re.push(k[we]);var xe=P[Math.floor(we*4/B)];if(pe=we*4&ne,B<4+pe)throw new Error("FAT boundary crossed: "+we+" 4 "+B);if(!k[xe]||(we=pn(k[xe],pe),fe[we]))break}H[Ce]={nodes:oe,data:wf([re])}}return H}function g(k,j,P,B,M,H,ae,oe){for(var re=0,ne=B.length?2:0,ie=j[k].data,we=0,Ce=0,pe;we0&&re!==T&&(j[re].name="!StreamData")):xe.size>=4096?(xe.storage="fat",j[xe.start]===void 0&&(j[xe.start]=m(P,xe.start,j.fat_addrs,j.ssz)),j[xe.start].name=xe.name,xe.content=j[xe.start].data.slice(0,xe.size)):(xe.storage="minifat",xe.size<0?xe.size=0:re!==T&&xe.start!==T&&j[re]&&(xe.content=h(xe,j[re].data,(j[oe]||{}).data))),xe.content&&st(xe.content,0),H[pe]=xe,ae.push(xe)}}function w(k,j){return new Date((Nt(k,j+4)/1e7*Math.pow(2,32)+Nt(k,j)/1e7-11644473600)*1e3)}function C(k,j){return c(),f(l.readFileSync(k),j)}function F(k,j){var P=j&&j.type;switch(P||Je&&Buffer.isBuffer(k)&&(P="buffer"),P||"base64"){case"file":return C(k,j);case"base64":return f(Bt(jt(k)),j);case"binary":return f(Bt(k),j)}return f(k,j)}function _(k,j){var P=j||{},B=P.root||"Root Entry";if(k.FullPaths||(k.FullPaths=[]),k.FileIndex||(k.FileIndex=[]),k.FullPaths.length!==k.FileIndex.length)throw new Error("inconsistent CFB structure");k.FullPaths.length===0&&(k.FullPaths[0]=B+"/",k.FileIndex[0]={name:B,type:5}),P.CLSID&&(k.FileIndex[0].clsid=P.CLSID),R(k)}function R(k){var j="Sh33tJ5";if(!Me.find(k,"/"+j)){var P=se(4);P[0]=55,P[1]=P[3]=50,P[2]=54,k.FileIndex.push({name:j,type:2,content:P,size:4,L:69,R:69,C:69}),k.FullPaths.push(k.FullPaths[0]+j),y(k)}}function y(k,j){_(k);for(var P=!1,B=!1,M=k.FullPaths.length-1;M>=0;--M){var H=k.FileIndex[M];switch(H.type){case 0:B?P=!0:(k.FileIndex.pop(),k.FullPaths.pop());break;case 1:case 2:case 5:B=!0,isNaN(H.R*H.L*H.C)&&(P=!0),H.R>-1&&H.L>-1&&H.R==H.L&&(P=!0);break;default:P=!0;break}}if(!(!P&&!j)){var ae=new Date(1987,1,19),oe=0,re=Object.create?Object.create(null):{},ne=[];for(M=0;M1?1:-1,we.size=0,we.type=5;else if(Ce.slice(-1)=="/"){for(oe=M+1;oe=ne.length?-1:oe,oe=M+1;oe=ne.length?-1:oe,we.type=1}else a(k.FullPaths[M+1]||"")==a(Ce)&&(we.R=M+1),we.type=2}}}function W(k,j){var P=j||{};if(P.fileType=="mad")return Zr(k,P);switch(y(k),P.fileType){case"zip":return ha(k,P)}var B=function(pe){for(var fe=0,xe=0,Re=0;Re0&&(lr<4096?fe+=lr+63>>6:xe+=lr+511>>9)}}for(var Lr=pe.FullPaths.length+3>>2,va=fe+7>>3,fn=fe+127>>7,un=va+xe+Lr+fn,dn=un+127>>7,Fs=dn<=109?0:Math.ceil((dn-109)/127);un+dn+Fs+127>>7>dn;)Fs=++dn<=109?0:Math.ceil((dn-109)/127);var Fa=[1,Fs,dn,fn,Lr,xe,fe,0];return pe.FileIndex[0].size=fe<<6,Fa[7]=(pe.FileIndex[0].start=Fa[0]+Fa[1]+Fa[2]+Fa[3]+Fa[4]+Fa[5])+(Fa[6]+7>>3),Fa}(k),M=se(B[7]<<9),H=0,ae=0;{for(H=0;H<8;++H)M.write_shift(1,b[H]);for(H=0;H<8;++H)M.write_shift(2,0);for(M.write_shift(2,62),M.write_shift(2,3),M.write_shift(2,65534),M.write_shift(2,9),M.write_shift(2,6),H=0;H<3;++H)M.write_shift(2,0);for(M.write_shift(4,0),M.write_shift(4,B[2]),M.write_shift(4,B[0]+B[1]+B[2]+B[3]-1),M.write_shift(4,0),M.write_shift(4,1<<12),M.write_shift(4,B[3]?B[0]+B[1]+B[2]-1:T),M.write_shift(4,B[3]),M.write_shift(-4,B[1]?B[0]-1:T),M.write_shift(4,B[1]),H=0;H<109;++H)M.write_shift(-4,H>9)));for(oe(B[6]+7>>3);M.l&511;)M.write_shift(-4,N.ENDOFCHAIN);for(ae=H=0,re=0;re=4096)&&(ie.start=ae,oe(ne+63>>6)));for(;M.l&511;)M.write_shift(-4,N.ENDOFCHAIN);for(H=0;H=4096)if(M.l=ie.start+1<<9,Je&&Buffer.isBuffer(ie.content))ie.content.copy(M,M.l,0,ie.size),M.l+=ie.size+511&-512;else{for(re=0;re0&&ie.size<4096)if(Je&&Buffer.isBuffer(ie.content))ie.content.copy(M,M.l,0,ie.size),M.l+=ie.size+63&-64;else{for(re=0;re>16|j>>8|j)&255}for(var J=typeof Uint8Array<"u",Q=J?new Uint8Array(1<<8):[],ce=0;ce<1<<8;++ce)Q[ce]=Y(ce);function K(k,j){var P=Q[k&255];return j<=8?P>>>8-j:(P=P<<8|Q[k>>8&255],j<=16?P>>>16-j:(P=P<<8|Q[k>>16&255],P>>>24-j))}function Oe(k,j){var P=j&7,B=j>>>3;return(k[B]|(P<=6?0:k[B+1]<<8))>>>P&3}function Ie(k,j){var P=j&7,B=j>>>3;return(k[B]|(P<=5?0:k[B+1]<<8))>>>P&7}function Le(k,j){var P=j&7,B=j>>>3;return(k[B]|(P<=4?0:k[B+1]<<8))>>>P&15}function Pe(k,j){var P=j&7,B=j>>>3;return(k[B]|(P<=3?0:k[B+1]<<8))>>>P&31}function ve(k,j){var P=j&7,B=j>>>3;return(k[B]|(P<=1?0:k[B+1]<<8))>>>P&127}function Ye(k,j,P){var B=j&7,M=j>>>3,H=(1<>>B;return P<8-B||(ae|=k[M+1]<<8-B,P<16-B)||(ae|=k[M+2]<<16-B,P<24-B)||(ae|=k[M+3]<<24-B),ae&H}function dr(k,j,P){var B=j&7,M=j>>>3;return B<=5?k[M]|=(P&7)<>8-B),j+3}function hr(k,j,P){var B=j&7,M=j>>>3;return P=(P&1)<>>3;return P<<=B,k[M]|=P&255,P>>>=8,k[M+1]=P,j+8}function Qe(k,j,P){var B=j&7,M=j>>>3;return P<<=B,k[M]|=P&255,P>>>=8,k[M+1]=P&255,k[M+2]=P>>>8,j+16}function zr(k,j){var P=k.length,B=2*P>j?2*P:j+5,M=0;if(P>=j)return k;if(Je){var H=Qc(B);if(k.copy)k.copy(H);else for(;M>B-we,ae=(1<=0;--ae)j[oe|ae<0;)re[re.l++]=oe[ne++]}return re.l}function ae(oe,re){for(var ne=0,ie=0,we=J?new Uint16Array(32768):[];ie0;)re[re.l++]=oe[ie++];ne=re.l*8;continue}ne=dr(re,ne,+(ie+Ce==oe.length)+2);for(var pe=0;Ce-- >0;){var fe=oe[ie];pe=(pe<<5^fe)&32767;var xe=-1,Re=0;if((xe=we[pe])&&(xe|=ie&-32768,xe>ie&&(xe-=32768),xe2){fe=M[Re],fe<=22?ne=kr(re,ne,Q[fe+1]>>1)-1:(kr(re,ne,3),ne+=5,kr(re,ne,Q[fe-23]>>5),ne+=3);var ar=fe<8?0:fe-4>>2;ar>0&&(Qe(re,ne,Re-q[fe]),ne+=ar),fe=j[ie-xe],ne=kr(re,ne,Q[fe]>>3),ne-=3;var lr=fe<4?0:fe-2>>1;lr>0&&(Qe(re,ne,ie-xe-ee[fe]),ne+=lr);for(var Lr=0;Lr>8-fe;for(var xe=(1<<7-fe)-1;xe>=0;--xe)Ne[pe|xe<>>=3){case 16:for(H=3+Oe(k,j),j+=2,pe=Re[Re.length-1];H-- >0;)Re.push(pe);break;case 17:for(H=3+Ie(k,j),j+=3;H-- >0;)Re.push(0);break;case 18:for(H=11+ve(k,j),j+=7;H-- >0;)Re.push(0);break;default:Re.push(pe),re>>0,oe=0,re=0;(B&1)==0;){if(B=Ie(k,P),P+=3,B>>>1==0){P&7&&(P+=8-(P&7));var ne=k[P>>>3]|k[(P>>>3)+1]<<8;if(P+=32,ne>0)for(!j&&ae0;)M[H++]=k[P>>>3],P+=8;continue}else B>>1==1?(oe=9,re=5):(P=sr(k,P),oe=Be,re=tr);for(;;){!j&&ae>>1==1?Ae[ie]:De[ie];if(P+=we&15,we>>>=4,(we>>>8&255)===0)M[H++]=we;else{if(we==256)break;we-=257;var Ce=we<8?0:we-4>>2;Ce>5&&(Ce=0);var pe=H+q[we];Ce>0&&(pe+=Ye(k,P,Ce),P+=Ce),ie=Ye(k,P,re),we=B>>>1==1?de[ie]:Ke[ie],P+=we&15,we>>>=4;var fe=we<4?0:we-2>>1,xe=ee[we];for(fe>0&&(xe+=Ye(k,P,fe),P+=fe),!j&&ae>>3]:[M.slice(0,H),P+7>>>3]}function Fr(k,j){var P=k.slice(k.l||0),B=wr(P,j);return k.l+=B[1],B[0]}function Wt(k,j){if(k)typeof console<"u"&&console.error(j);else throw new Error(j)}function ia(k,j){var P=k;st(P,0);var B=[],M=[],H={FileIndex:B,FullPaths:M};_(H,{root:j.root});for(var ae=P.length-4;(P[ae]!=80||P[ae+1]!=75||P[ae+2]!=5||P[ae+3]!=6)&&ae>=0;)--ae;P.l=ae+4,P.l+=4;var oe=P.read_shift(2);P.l+=6;var re=P.read_shift(4);for(P.l=re,ae=0;ae0&&(P=P.slice(0,P.length-1),P=P.slice(0,P.lastIndexOf("/")+1),H.slice(0,P.length)!=P););var ae=(B[1]||"").match(/boundary="(.*?)"/);if(!ae)throw new Error("MAD cannot find boundary");var oe="--"+(ae[1]||""),re=[],ne=[],ie={FileIndex:re,FullPaths:ne};_(ie);var we,Ce=0;for(M=0;M=32&&pe<128&&++we;var xe=we>=Ce*4/5;M.push(B),M.push("Content-Location: "+(P.root||"file:///C:/SheetJS/")+ae),M.push("Content-Transfer-Encoding: "+(xe?"quoted-printable":"base64")),M.push("Content-Type: "+za(oe,ae)),M.push(""),M.push(xe?Ht(ie):Ut(ie))}return M.push(B+`--\r `),M.join(`\r `)}function Wr(k){var j={};return _(j,k),j}function _t(k,j,P,B){var M=B&&B.unsafe;M||_(k);var H=!M&&Me.find(k,j);if(!H){var ae=k.FullPaths[0];j.slice(0,ae.length)==ae?ae=j:(ae.slice(-1)!="/"&&(ae+="/"),ae=(ae+j).replace("//","/")),H={name:n(j),type:2},k.FileIndex.push(H),k.FullPaths.push(ae),M||Me.utils.cfb_gc(k)}return H.content=P,H.size=P?P.length:0,B&&(B.CLSID&&(H.clsid=B.CLSID),B.mt&&(H.mt=B.mt),B.ct&&(H.ct=B.ct)),H}function Ta(k,j){_(k);var P=Me.find(k,j);if(P){for(var B=0;B3&&(a=!0),n[i].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(n[i].length-1));case"D":t*=24;case"H":t*=60;case"M":if(a)t*=60;else throw new Error("Unsupported ISO Duration Field: M")}r+=t*parseInt(n[i],10)}return r}var ff=new Date("2017-02-19T19:06:09.000Z"),_d=isNaN(ff.getFullYear())?new Date("2/19/17"):ff,tm=_d.getFullYear()==2017;function Ir(e,r){var t=new Date(e);if(tm)return r>0?t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3):r<0&&t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3),t;if(e instanceof Date)return e;if(_d.getFullYear()==1917&&!isNaN(t.getFullYear())){var a=t.getFullYear();return e.indexOf(""+a)>-1||t.setFullYear(t.getFullYear()+100),t}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function Cn(e,r){if(Je&&Buffer.isBuffer(e)){if(r){if(e[0]==255&&e[1]==254)return ya(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return ya(ld(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(r){if(e[0]==255&&e[1]==254)return ya(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return ya(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"\u20AC":"\x80","\u201A":"\x82",\u0192:"\x83","\u201E":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02C6":"\x88","\u2030":"\x89",\u0160:"\x8A","\u2039":"\x8B",\u0152:"\x8C",\u017D:"\x8E","\u2018":"\x91","\u2019":"\x92","\u201C":"\x93","\u201D":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02DC":"\x98","\u2122":"\x99",\u0161:"\x9A","\u203A":"\x9B",\u0153:"\x9C",\u017E:"\x9E",\u0178:"\x9F"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return t[i]||i})}catch{}for(var a=[],n=0;n!=e.length;++n)a.push(String.fromCharCode(e[n]));return a.join("")}function Dr(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=Dr(e[t]));return r}function Mr(e,r){for(var t="";t.length3&&am.indexOf(o)==-1)return t}else if(o.match(/[a-z]/))return t;return a<0||a>8099?t:(n>0||i>1)&&a!=101?r:e.match(/[^-0-9:,\/\\]/)?t:r}var nm=function(){var e="abacaba".split(/(:?b)/i).length==5;return function(t,a,n){if(e||typeof a=="string")return t.split(a);for(var i=t.split(a),o=[i[0]],s=1;s\r `,om=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,df=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,sm=/<[^>]*>/g,wt=Vr.match(df)?df:sm,lm=/<\w*:/,cm=/<(\/?)\w+:/;function He(e,r,t){for(var a={},n=0,i=0;n!==e.length&&!((i=e.charCodeAt(n))===32||i===10||i===13);++n);if(r||(a[0]=e.slice(0,n)),n===e.length)return a;var o=e.match(om),s=0,l="",c=0,f="",u="",d=1;if(o)for(c=0;c!=o.length;++c){for(u=o[c],i=0;i!=u.length&&u.charCodeAt(i)!==61;++i);for(f=u.slice(0,i).trim();u.charCodeAt(i+1)==32;)++i;for(d=(n=u.charCodeAt(i+1))==34||n==39?1:0,l=u.slice(i+1+d,u.length-d),s=0;s!=f.length&&f.charCodeAt(s)!==58;++s);if(s===f.length)f.indexOf("_")>0&&(f=f.slice(0,f.indexOf("_"))),a[f]=l,t||(a[f.toLowerCase()]=l);else{var v=(s===5&&f.slice(0,5)==="xmlns"?"xmlns":"")+f.slice(s+1);if(a[v]&&f.slice(s-3,s)=="ext")continue;a[v]=l,t||(a[v.toLowerCase()]=l)}}return a}function Ea(e){return e.replace(cm,"<$1")}var Td={""":'"',"'":"'",">":">","<":"<","&":"&"},r0=_s(Td),ir=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,r=/_x([\da-fA-F]{4})_/ig;return function t(a){var n=a+"",i=n.indexOf("-1?16:10))||s}).replace(r,function(s,l){return String.fromCharCode(parseInt(l,16))});var o=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,o)+t(n.slice(o+3))}}(),t0=/[&<>'"]/g,fm=/[\u0000-\u0008\u000b-\u001f]/g;function mr(e){var r=e+"";return r.replace(t0,function(t){return r0[t]}).replace(fm,function(t){return"_x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+"_"})}function hf(e){return mr(e).replace(/ /g,"_x0020_")}var kd=/[\u0000-\u001f]/g;function a0(e){var r=e+"";return r.replace(t0,function(t){return r0[t]}).replace(/\n/g,"
").replace(kd,function(t){return"&#x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+";"})}function um(e){var r=e+"";return r.replace(t0,function(t){return r0[t]}).replace(kd,function(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"})}var vf=function(){var e=/&#(\d+);/g;function r(t,a){return String.fromCharCode(parseInt(a,10))}return function(a){return a.replace(e,r)}}();function dm(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Ar(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Gs(e){for(var r="",t=0,a=0,n=0,i=0,o=0,s=0;t191&&a<224){o=(a&31)<<6,o|=n&63,r+=String.fromCharCode(o);continue}if(i=e.charCodeAt(t++),a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}o=e.charCodeAt(t++),s=((a&7)<<18|(n&63)<<12|(i&63)<<6|o&63)-65536,r+=String.fromCharCode(55296+(s>>>10&1023)),r+=String.fromCharCode(56320+(s&1023))}return r}function xf(e){var r=rn(2*e.length),t,a,n=1,i=0,o=0,s;for(a=0;a>>10&1023),t=56320+(t&1023)),o!==0&&(r[i++]=o&255,r[i++]=o>>>8,o=0),r[i++]=t%256,r[i++]=t>>>8;return r.slice(0,i).toString("ucs2")}function gf(e){return Ua(e,"binary").toString("utf8")}var Ao="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",br=Je&&(gf(Ao)==Gs(Ao)&&gf||xf(Ao)==Gs(Ao)&&xf)||Gs,ya=Je?function(e){return Ua(e,"utf8").toString("binary")}:function(e){for(var r=[],t=0,a=0,n=0;t>6))),r.push(String.fromCharCode(128+(a&63)));break;case(a>=55296&&a<57344):a-=55296,n=e.charCodeAt(t++)-56320+(a<<10),r.push(String.fromCharCode(240+(n>>18&7))),r.push(String.fromCharCode(144+(n>>12&63))),r.push(String.fromCharCode(128+(n>>6&63))),r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12))),r.push(String.fromCharCode(128+(a>>6&63))),r.push(String.fromCharCode(128+(a&63)))}return r.join("")},$i=function(){var e={};return function(t,a){var n=t+"|"+(a||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",a||"")}}(),hm=function(){var e=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(r){return[new RegExp("&"+r[0]+";","ig"),r[1]]});return function(t){for(var a=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` `).replace(/<[^>]*>/g,""),n=0;n([\\s\\S]*?)","g")}}(),xm=/<\/?(?:vt:)?variant>/g,gm=/<(?:vt:)([^>]*)>([\s\S]*)"+r+""}function Gi(e){return Hr(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Se(e,r,t){return"<"+e+(t!=null?Gi(t):"")+(r!=null?(r.match(Fd)?' xml:space="preserve"':"")+">"+r+""}function yl(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function pm(e,r){switch(typeof e){case"string":var t=Se("vt:lpwstr",mr(e));return r&&(t=t.replace(/"/g,"_x0022_")),t;case"number":return Se((e|0)==e?"vt:i4":"vt:r8",mr(String(e)));case"boolean":return Se("vt:bool",e?"true":"false")}if(e instanceof Date)return Se("vt:filetime",yl(e));throw new Error("Unable to serialize "+e)}function n0(e){if(Je&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return br(ln(ql(e)));throw new Error("Bad input format: expected Buffer or string")}var Xi=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg,Qr={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Pn=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Pt={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function mm(e,r){for(var t=1-2*(e[r+7]>>>7),a=((e[r+7]&127)<<4)+(e[r+6]>>>4&15),n=e[r+6]&15,i=5;i>=0;--i)n=n*256+e[r+i];return a==2047?n==0?t*(1/0):NaN:(a==0?a=-1022:(a-=1023,n+=Math.pow(2,52)),t*Math.pow(2,a-52)*n)}function wm(e,r,t){var a=(r<0||1/r==-1/0?1:0)<<7,n=0,i=0,o=a?-r:r;isFinite(o)?o==0?n=i=0:(n=Math.floor(Math.log(o)/Math.LN2),i=o*Math.pow(2,52-n),n<=-1023&&(!isFinite(i)||i>4|a}var mf=function(e){for(var r=[],t=10240,a=0;a0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(r){return Buffer.isBuffer(r)?r:Ua(r)})):mf(e)}:mf,yf=function(e,r,t){for(var a=[],n=r;n0?oo(e,r+4,r+4+t-1):""},Dd=Od,Rd=function(e,r){var t=Nt(e,r);return t>0?oo(e,r+4,r+4+t-1):""},Id=Rd,Pd=function(e,r){var t=2*Nt(e,r);return t>0?oo(e,r+4,r+4+t-1):""},Nd=Pd,Ld=function(r,t){var a=Nt(r,t);return a>0?i0(r,t+4,t+4+a):""},Bd=Ld,Md=function(e,r){var t=Nt(e,r);return t>0?oo(e,r+4,r+4+t):""},Kd=Md,jd=function(e,r){return mm(e,r)},ss=jd,o0=function(r){return Array.isArray(r)||typeof Uint8Array<"u"&&r instanceof Uint8Array};Je&&(Dd=function(r,t){if(!Buffer.isBuffer(r))return Od(r,t);var a=r.readUInt32LE(t);return a>0?r.toString("utf8",t+4,t+4+a-1):""},Id=function(r,t){if(!Buffer.isBuffer(r))return Rd(r,t);var a=r.readUInt32LE(t);return a>0?r.toString("utf8",t+4,t+4+a-1):""},Nd=function(r,t){if(!Buffer.isBuffer(r))return Pd(r,t);var a=2*r.readUInt32LE(t);return r.toString("utf16le",t+4,t+4+a-1)},Bd=function(r,t){if(!Buffer.isBuffer(r))return Ld(r,t);var a=r.readUInt32LE(t);return r.toString("utf16le",t+4,t+4+a)},Kd=function(r,t){if(!Buffer.isBuffer(r))return Md(r,t);var a=r.readUInt32LE(t);return r.toString("utf8",t+4,t+4+a)},ss=function(r,t){return Buffer.isBuffer(r)?r.readDoubleLE(t):jd(r,t)},o0=function(r){return Buffer.isBuffer(r)||Array.isArray(r)||typeof Uint8Array<"u"&&r instanceof Uint8Array});var qn=function(e,r){return e[r]},Da=function(e,r){return e[r+1]*(1<<8)+e[r]},ym=function(e,r){var t=e[r+1]*256+e[r];return t<32768?t:(65535-t+1)*-1},Nt=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]},pn=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]},_m=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function Ri(e,r){var t="",a,n,i=[],o,s,l,c;switch(r){case"dbcs":if(c=this.l,Je&&Buffer.isBuffer(this))t=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l0?pn:_m)(this,this.l),this.l+=4,a):(n=Nt(this,this.l),this.l+=4,n);case 8:case-8:if(r==="f")return e==8?n=ss(this,this.l):n=ss([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:t=Ad(this,this.l,e);break}}return this.l+=e,t}var bm=function(e,r,t){e[t]=r&255,e[t+1]=r>>>8&255,e[t+2]=r>>>16&255,e[t+3]=r>>>24&255},Sm=function(e,r,t){e[t]=r&255,e[t+1]=r>>8&255,e[t+2]=r>>16&255,e[t+3]=r>>24&255},Em=function(e,r,t){e[t]=r&255,e[t+1]=r>>>8&255};function Cm(e,r,t){var a=0,n=0;if(t==="dbcs"){for(n=0;n!=r.length;++n)Em(this,r.charCodeAt(n),this.l+2*n);a=2*r.length}else if(t==="sbcs"){for(r=r.replace(/[^\x00-\x7F]/g,"_"),n=0;n!=r.length;++n)this[this.l+n]=r.charCodeAt(n)&255;a=r.length}else if(t==="hex"){for(;n>8}for(;this.l>>=8,this[this.l+1]=r&255;break;case 3:a=3,this[this.l]=r&255,r>>>=8,this[this.l+1]=r&255,r>>>=8,this[this.l+2]=r&255;break;case 4:a=4,bm(this,r,this.l);break;case 8:if(a=8,t==="f"){wm(this,r,this.l);break}case 16:break;case-4:a=4,Sm(this,r,this.l);break}return this.l+=a,this}function Wd(e,r){var t=Ad(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function st(e,r){e.l=r,e.read_shift=Ri,e.chk=Wd,e.write_shift=Cm}function mt(e,r){e.l+=r}function se(e){var r=rn(e);return st(r,0),r}function Ha(e,r,t){if(!!e){var a,n,i;st(e,e.l||0);for(var o=e.length,s=0,l=0;e.la.l&&(a=a.slice(0,a.l),a.l=a.length),a.length>0&&e.push(a),a=null)},i=function(c){return a&&c=128?1:0)+1,a>=128&&++i,a>=16384&&++i,a>=2097152&&++i;var o=e.next(i);n<=127?o.write_shift(1,n):(o.write_shift(1,(n&127)+128),o.write_shift(1,n>>7));for(var s=0;s!=4;++s)if(a>=128)o.write_shift(1,(a&127)+128),a>>=7;else{o.write_shift(1,a);break}a>0&&o0(t)&&e.push(t)}}function Ii(e,r,t){var a=Dr(e);if(r.s?(a.cRel&&(a.c+=r.s.c),a.rRel&&(a.r+=r.s.r)):(a.cRel&&(a.c+=r.c),a.rRel&&(a.r+=r.r)),!t||t.biff<12){for(;a.c>=256;)a.c-=256;for(;a.r>=65536;)a.r-=65536}return a}function Sf(e,r,t){var a=Dr(e);return a.s=Ii(a.s,r.s,t),a.e=Ii(a.e,r.s,t),a}function Pi(e,r){if(e.cRel&&e.c<0)for(e=Dr(e);e.c<0;)e.c+=r>8?16384:256;if(e.rRel&&e.r<0)for(e=Dr(e);e.r<0;)e.r+=r>8?1048576:r>5?65536:16384;var t=$e(e);return!e.cRel&&e.cRel!=null&&(t=Fm(t)),!e.rRel&&e.rRel!=null&&(t=Tm(t)),t}function Xs(e,r){return e.s.r==0&&!e.s.rRel&&e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+Jr(e.s.c)+":"+(e.e.cRel?"":"$")+Jr(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+nt(e.s.r)+":"+(e.e.rRel?"":"$")+nt(e.e.r):Pi(e.s,r.biff)+":"+Pi(e.e,r.biff)}function Ud(e){return parseInt(km(e),10)-1}function nt(e){return""+(e+1)}function Tm(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function km(e){return e.replace(/\$(\d+)$/,"$1")}function Hd(e){for(var r=Am(e),t=0,a=0;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Jr(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Fm(e){return e.replace(/^([A-Z])/,"$$$1")}function Am(e){return e.replace(/^\$([A-Z])/,"$1")}function et(e){for(var r=0,t=0,a=0;a=48&&n<=57?r=10*r+(n-48):n>=65&&n<=90&&(t=26*t+(n-64))}return{c:t-1,r:r-1}}function $e(e){for(var r=e.c+1,t="";r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function ra(e){var r=e.indexOf(":");return r==-1?{s:et(e),e:et(e)}:{s:et(e.slice(0,r)),e:et(e.slice(r+1))}}function rr(e,r){return typeof r>"u"||typeof r=="number"?rr(e.s,e.e):(typeof e!="string"&&(e=$e(e)),typeof r!="string"&&(r=$e(r)),e==r?e:e+":"+r)}function xr(e){var r={s:{c:0,r:0},e:{c:0,r:0}},t=0,a=0,n=0,i=e.length;for(t=0;a26);++a)t=26*t+n;for(r.s.c=--t,t=0;a9);++a)t=10*t+n;if(r.s.r=--t,a===i||n!=10)return r.e.c=r.s.c,r.e.r=r.s.r,r;for(++a,t=0;a!=i&&!((n=e.charCodeAt(a)-64)<1||n>26);++a)t=26*t+n;for(r.e.c=--t,t=0;a!=i&&!((n=e.charCodeAt(a)-48)<0||n>9);++a)t=10*t+n;return r.e.r=--t,r}function Ef(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=ea(e.z,t?ct(r):r)}catch{}try{return e.w=ea((e.XF||{}).numFmtId||(t?14:0),t?ct(r):r)}catch{return""+r}}function tn(e,r,t){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&t&&t.dateNF&&(e.z=t.dateNF),e.t=="e"?Va[e.v]||e.v:r==null?Ef(e,e.v):Ef(e,r))}function Nn(e,r){var t=r&&r.sheet?r.sheet:"Sheet1",a={};return a[t]=e,{SheetNames:[t],Sheets:a}}function Om(e,r,t){var a=t||{},n=e?Array.isArray(e):a.dense,i=e||(n?[]:{}),o=0,s=0;if(i&&a.origin!=null){if(typeof a.origin=="number")o=a.origin;else{var l=typeof a.origin=="string"?et(a.origin):a.origin;o=l.r,s=l.c}i["!ref"]||(i["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var f=xr(i["!ref"]);c.s.c=f.s.c,c.s.r=f.s.r,c.e.c=Math.max(c.e.c,f.e.c),c.e.r=Math.max(c.e.r,f.e.r),o==-1&&(c.e.r=o=f.e.r+1)}for(var u=0;u!=r.length;++u)if(!!r[u]){if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var d=0;d!=r[u].length;++d)if(!(typeof r[u][d]>"u")){var v={v:r[u][d]},x=o+u,h=s+d;if(c.s.r>x&&(c.s.r=x),c.s.c>h&&(c.s.c=h),c.e.r0&&r.write_shift(0,e,"dbcs"),t?r.slice(0,r.l):r}function Rm(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Im(e,r){return r||(r=se(4)),r.write_shift(2,e.ich||0),r.write_shift(2,e.ifnt||0),r}function s0(e,r){var t=e.l,a=e.read_shift(1),n=pt(e),i=[],o={t:n,h:n};if((a&1)!==0){for(var s=e.read_shift(4),l=0;l!=s;++l)i.push(Rm(e));o.r=i}else o.r=[{ich:0,ifnt:0}];return e.l=t+r,o}function Pm(e,r){var t=!1;return r==null&&(t=!0,r=se(15+4*e.t.length)),r.write_shift(1,0),at(e.t,r),t?r.slice(0,r.l):r}var Nm=s0;function Lm(e,r){var t=!1;return r==null&&(t=!0,r=se(23+4*e.t.length)),r.write_shift(1,1),at(e.t,r),r.write_shift(4,1),Im({ich:0,ifnt:0},r),t?r.slice(0,r.l):r}function na(e){var r=e.read_shift(4),t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:r,iStyleRef:t}}function Ln(e,r){return r==null&&(r=se(8)),r.write_shift(-4,e.c),r.write_shift(3,e.iStyleRef||e.s),r.write_shift(1,0),r}function Bn(e){var r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:r}}function Mn(e,r){return r==null&&(r=se(4)),r.write_shift(3,e.iStyleRef||e.s),r.write_shift(1,0),r}var Bm=pt,Vd=at;function l0(e){var r=e.read_shift(4);return r===0||r===4294967295?"":e.read_shift(r,"dbcs")}function ls(e,r){var t=!1;return r==null&&(t=!0,r=se(127)),r.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&r.write_shift(0,e,"dbcs"),t?r.slice(0,r.l):r}var Mm=pt,_l=l0,c0=ls;function f0(e){var r=e.slice(e.l,e.l+4),t=r[0]&1,a=r[0]&2;e.l+=4;var n=a===0?ss([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):pn(r,0)>>2;return t?n/100:n}function zd(e,r){r==null&&(r=se(4));var t=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29?a=1:n==(n|0)&&n>=-(1<<29)&&n<1<<29&&(a=1,t=1),a)r.write_shift(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function $d(e){var r={s:{},e:{}};return r.s.r=e.read_shift(4),r.e.r=e.read_shift(4),r.s.c=e.read_shift(4),r.e.c=e.read_shift(4),r}function Km(e,r){return r||(r=se(16)),r.write_shift(4,e.s.r),r.write_shift(4,e.e.r),r.write_shift(4,e.s.c),r.write_shift(4,e.e.c),r}var Kn=$d,vi=Km;function gt(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Tn(e,r){return(r||se(8)).write_shift(8,e,"f")}function jm(e){var r={},t=e.read_shift(1),a=t>>>1,n=e.read_shift(1),i=e.read_shift(2,"i"),o=e.read_shift(1),s=e.read_shift(1),l=e.read_shift(1);switch(e.l++,a){case 0:r.auto=1;break;case 1:r.index=n;var c=wn[n];c&&(r.rgb=qi(c));break;case 2:r.rgb=qi([o,s,l]);break;case 3:r.theme=n;break}return i!=0&&(r.tint=i>0?i/32767:i/32768),r}function cs(e,r){if(r||(r=se(8)),!e||e.auto)return r.write_shift(4,0),r.write_shift(4,0),r;e.index!=null?(r.write_shift(1,2),r.write_shift(1,e.index)):e.theme!=null?(r.write_shift(1,6),r.write_shift(1,e.theme)):(r.write_shift(1,5),r.write_shift(1,0));var t=e.tint||0;if(t>0?t*=32767:t<0&&(t*=32768),r.write_shift(2,t),!e.rgb||e.theme!=null)r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);else{var a=e.rgb||"FFFFFF";typeof a=="number"&&(a=("000000"+a.toString(16)).slice(-6)),r.write_shift(1,parseInt(a.slice(0,2),16)),r.write_shift(1,parseInt(a.slice(2,4),16)),r.write_shift(1,parseInt(a.slice(4,6),16)),r.write_shift(1,255)}return r}function Wm(e){var r=e.read_shift(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function Um(e,r){r||(r=se(2));var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return r.write_shift(1,t),r.write_shift(1,0),r}function Gd(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},a=e.read_shift(4);switch(a){case 0:return"";case 4294967295:case 4294967294:return t[e.read_shift(4)]||""}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));return e.l-=4,e.read_shift(0,r==1?"lpstr":"lpwstr")}function Hm(e){return Gd(e,1)}function Vm(e){return Gd(e,2)}var u0=2,At=3,Oo=11,Cf=12,fs=19,Do=64,zm=65,$m=71,Gm=4108,Xm=4126,rt=80,Xd=81,Ym=[rt,Xd],bl={1:{n:"CodePage",t:u0},2:{n:"Category",t:rt},3:{n:"PresentationFormat",t:rt},4:{n:"ByteCount",t:At},5:{n:"LineCount",t:At},6:{n:"ParagraphCount",t:At},7:{n:"SlideCount",t:At},8:{n:"NoteCount",t:At},9:{n:"HiddenCount",t:At},10:{n:"MultimediaClipCount",t:At},11:{n:"ScaleCrop",t:Oo},12:{n:"HeadingPairs",t:Gm},13:{n:"TitlesOfParts",t:Xm},14:{n:"Manager",t:rt},15:{n:"Company",t:rt},16:{n:"LinksUpToDate",t:Oo},17:{n:"CharacterCount",t:At},19:{n:"SharedDoc",t:Oo},22:{n:"HyperlinksChanged",t:Oo},23:{n:"AppVersion",t:At,p:"version"},24:{n:"DigSig",t:zm},26:{n:"ContentType",t:rt},27:{n:"ContentStatus",t:rt},28:{n:"Language",t:rt},29:{n:"Version",t:rt},255:{},2147483648:{n:"Locale",t:fs},2147483651:{n:"Behavior",t:fs},1919054434:{}},Sl={1:{n:"CodePage",t:u0},2:{n:"Title",t:rt},3:{n:"Subject",t:rt},4:{n:"Author",t:rt},5:{n:"Keywords",t:rt},6:{n:"Comments",t:rt},7:{n:"Template",t:rt},8:{n:"LastAuthor",t:rt},9:{n:"RevNumber",t:rt},10:{n:"EditTime",t:Do},11:{n:"LastPrinted",t:Do},12:{n:"CreatedDate",t:Do},13:{n:"ModifiedDate",t:Do},14:{n:"PageCount",t:At},15:{n:"WordCount",t:At},16:{n:"CharCount",t:At},17:{n:"Thumbnail",t:$m},18:{n:"Application",t:rt},19:{n:"DocSecurity",t:At},255:{},2147483648:{n:"Locale",t:fs},2147483651:{n:"Behavior",t:fs},1919054434:{}},Tf={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"},qm=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Jm(e){return e.map(function(r){return[r>>16&255,r>>8&255,r&255]})}var Zm=Jm([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]),wn=Dr(Zm),Va={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Yd={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},El={"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"},Ro={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function d0(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Qm(e){var r=d0();if(!e||!e.match)return r;var t={};if((e.match(wt)||[]).forEach(function(a){var n=He(a);switch(n[0].replace(lm,"<")){case"0?r.calcchains[0]:"",r.sst=r.strs.length>0?r.strs[0]:"",r.style=r.styles.length>0?r.styles[0]:"",r.defaults=t,delete r.calcchains,r}function qd(e,r){var t=Qp(El),a=[],n;a[a.length]=Vr,a[a.length]=Se("Types",null,{xmlns:Qr.CT,"xmlns:xsd":Qr.xsd,"xmlns:xsi":Qr.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(l){return Se("Default",null,{Extension:l[0],ContentType:l[1]})}));var i=function(l){e[l]&&e[l].length>0&&(n=e[l][0],a[a.length]=Se("Override",null,{PartName:(n[0]=="/"?"":"/")+n,ContentType:Ro[l][r.bookType]||Ro[l].xlsx}))},o=function(l){(e[l]||[]).forEach(function(c){a[a.length]=Se("Override",null,{PartName:(c[0]=="/"?"":"/")+c,ContentType:Ro[l][r.bookType]||Ro[l].xlsx})})},s=function(l){(e[l]||[]).forEach(function(c){a[a.length]=Se("Override",null,{PartName:(c[0]=="/"?"":"/")+c,ContentType:t[l][0]})})};return i("workbooks"),o("sheets"),o("charts"),s("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),o("metadata"),s("people"),a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var Ze={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 Yi(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function Ni(e,r){var t={"!id":{}};if(!e)return t;r.charAt(0)!=="/"&&(r="/"+r);var a={};return(e.match(wt)||[]).forEach(function(n){var i=He(n);if(i[0]==="2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function pr(e,r,t,a,n,i){if(n||(n={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r);if(e["!idx"]=r+1,n.Id="rId"+r,n.Type=a,n.Target=t,i?n.TargetMode=i:[Ze.HLINK,Ze.XPATH,Ze.XMISS].indexOf(n.Type)>-1&&(n.TargetMode="External"),e["!id"][n.Id])throw new Error("Cannot rewrite rId "+r);return e["!id"][n.Id]=n,e[("/"+n.Target).replace("//","/")]=n,r}var ew="application/vnd.oasis.opendocument.spreadsheet";function rw(e,r){for(var t=n0(e),a,n;a=Xi.exec(t);)switch(a[3]){case"manifest":break;case"file-entry":if(n=He(a[0],!1),n.path=="/"&&n.type!==ew)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(r&&r.WTF)throw a}}function tw(e){var r=[Vr];r.push(` `),r.push(` `);for(var t=0;t `);return r.push(""),r.join("")}function kf(e,r,t){return[' `,' `,` `].join("")}function aw(e,r){return[' `,' `,` `].join("")}function nw(e){var r=[Vr];r.push(` `);for(var t=0;t!=e.length;++t)r.push(kf(e[t][0],e[t][1])),r.push(aw("",e[t][0]));return r.push(kf("","Document","pkg")),r.push(""),r.join("")}function Jd(){return'SheetJS '+ts.version+""}var Qt=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],iw=function(){for(var e=new Array(Qt.length),r=0;r]*>([\\s\\S]*?)")}return e}();function Zd(e){var r={};e=br(e);for(var t=0;t0&&(r[a[1]]=ir(n[1])),a[2]==="date"&&r[a[1]]&&(r[a[1]]=Ir(r[a[1]]))}return r}function Ys(e,r,t,a,n){n[e]!=null||r==null||r===""||(n[e]=r,r=mr(r),a[a.length]=t?Se(e,r,t):lt(e,r))}function Qd(e,r){var t=r||{},a=[Vr,Se("cp:coreProperties",null,{"xmlns:cp":Qr.CORE_PROPS,"xmlns:dc":Qr.dc,"xmlns:dcterms":Qr.dcterms,"xmlns:dcmitype":Qr.dcmitype,"xmlns:xsi":Qr.xsi})],n={};if(!e&&!t.Props)return a.join("");e&&(e.CreatedDate!=null&&Ys("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:yl(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n),e.ModifiedDate!=null&&Ys("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:yl(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n));for(var i=0;i!=Qt.length;++i){var o=Qt[i],s=t.Props&&t.Props[o[1]]!=null?t.Props[o[1]]:e?e[o[1]]:null;s===!0?s="1":s===!1?s="0":typeof s=="number"&&(s=String(s)),s!=null&&Ys(o[0],s,null,a,n)}return a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var yn=[["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"]],eh=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function rh(e,r,t,a){var n=[];if(typeof e=="string")n=pf(e,a);else for(var i=0;i0)for(var c=0;c!==n.length;c+=2){switch(l=+n[c+1].v,n[c].v){case"Worksheets":case"\u5DE5\u4F5C\u8868":case"\u041B\u0438\u0441\u0442\u044B":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30EF\u30FC\u30AF\u30B7\u30FC\u30C8":case"\u05D2\u05DC\u05D9\u05D5\u05E0\u05D5\u05EA \u05E2\u05D1\u05D5\u05D3\u05D4":case"Arbeitsbl\xE4tter":case"\xC7al\u0131\u015Fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xE1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xE1lculo":case"Werkbladen":t.Worksheets=l,t.SheetNames=o.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":t.NamedRanges=l,t.DefinedNames=o.slice(s,s+l);break;case"Charts":case"Diagramme":t.Chartsheets=l,t.ChartNames=o.slice(s,s+l);break}s+=l}}function ow(e,r,t){var a={};return r||(r={}),e=br(e),yn.forEach(function(n){var i=(e.match($i(n[0]))||[])[1];switch(n[2]){case"string":i&&(r[n[1]]=ir(i));break;case"bool":r[n[1]]=i==="true";break;case"raw":var o=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)"));o&&o.length>0&&(a[n[1]]=o[1]);break}}),a.HeadingPairs&&a.TitlesOfParts&&rh(a.HeadingPairs,a.TitlesOfParts,r,t),r}function th(e){var r=[],t=Se;return e||(e={}),e.Application="SheetJS",r[r.length]=Vr,r[r.length]=Se("Properties",null,{xmlns:Qr.EXT_PROPS,"xmlns:vt":Qr.vt}),yn.forEach(function(a){if(e[a[1]]!==void 0){var n;switch(a[2]){case"string":n=mr(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break}n!==void 0&&(r[r.length]=t(a[0],n))}}),r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","Worksheets")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(a){return""+mr(a)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var sw=/<[^>]+>[^<]*/g;function lw(e,r){var t={},a="",n=e.match(sw);if(n)for(var i=0;i!=n.length;++i){var o=n[i],s=He(o);switch(s[0]){case"":a=null;break;default:if(o.indexOf(""),c=l[0].slice(4),f=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":t[a]=ir(f);break;case"bool":t[a]=Ar(f);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":t[a]=parseInt(f,10);break;case"r4":case"r8":case"decimal":t[a]=parseFloat(f);break;case"filetime":case"date":t[a]=Ir(f);break;case"cy":case"error":t[a]=ir(f);break;default:if(c.slice(-1)=="/")break;r.WTF&&typeof console<"u"&&console.warn("Unexpected",o,c,l)}}else if(o.slice(0,2)!=="2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var Cl={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"},qs;function cw(e,r,t){qs||(qs=_s(Cl)),r=qs[r]||r,e[r]=t}function fw(e,r){var t=[];return Hr(Cl).map(function(a){for(var n=0;n'+n.join("")+""}function h0(e){var r=e.read_shift(4),t=e.read_shift(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function dw(e){var r=typeof e=="string"?new Date(Date.parse(e)):e,t=r.getTime()/1e3+11644473600,a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7,n*=1e7;var i=a/Math.pow(2,32)|0;i>0&&(a=a%Math.pow(2,32),n+=i);var o=se(8);return o.write_shift(4,a),o.write_shift(4,n),o}function nh(e,r,t){var a=e.l,n=e.read_shift(0,"lpstr-cp");if(t)for(;e.l-a&3;)++e.l;return n}function ih(e,r,t){var a=e.read_shift(0,"lpwstr");return t&&(e.l+=4-(a.length+1&3)&3),a}function oh(e,r,t){return r===31?ih(e):nh(e,r,t)}function Tl(e,r,t){return oh(e,r,t===!1?0:4)}function hw(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return oh(e,r,0)}function vw(e){for(var r=e.read_shift(4),t=[],a=0;a!=r;++a){var n=e.l;t[a]=e.read_shift(0,"lpwstr").replace(Ct,""),e.l-n&2&&(e.l+=2)}return t}function xw(e){for(var r=e.read_shift(4),t=[],a=0;a!=r;++a)t[a]=e.read_shift(0,"lpstr-cp").replace(Ct,"");return t}function gw(e){var r=e.l,t=us(e,Xd);e[e.l]==0&&e[e.l+1]==0&&e.l-r&2&&(e.l+=2);var a=us(e,At);return[t,a]}function pw(e){for(var r=e.read_shift(4),t=[],a=0;a>2+1<<2),a}function sh(e){var r=e.read_shift(4),t=e.slice(e.l,e.l+r);return e.l+=r,(r&3)>0&&(e.l+=4-(r&3)&3),t}function mw(e){var r={};return r.Size=e.read_shift(4),e.l+=r.Size+3-(r.Size-1)%4,r}function us(e,r,t){var a=e.read_shift(2),n,i=t||{};if(e.l+=2,r!==Cf&&a!==r&&Ym.indexOf(r)===-1&&!((r&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+r+" saw "+a);switch(r===Cf?a:r){case 2:return n=e.read_shift(2,"i"),i.raw||(e.l+=2),n;case 3:return n=e.read_shift(4,"i"),n;case 11:return e.read_shift(4)!==0;case 19:return n=e.read_shift(4),n;case 30:return nh(e,a,4).replace(Ct,"");case 31:return ih(e);case 64:return h0(e);case 65:return sh(e);case 71:return mw(e);case 80:return Tl(e,a,!i.raw).replace(Ct,"");case 81:return hw(e,a).replace(Ct,"");case 4108:return pw(e);case 4126:case 4127:return a==4127?vw(e):xw(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a)}}function Af(e,r){var t=se(4),a=se(4);switch(t.write_shift(4,e==80?31:e),e){case 3:a.write_shift(-4,r);break;case 5:a=se(8),a.write_shift(8,r,"f");break;case 11:a.write_shift(4,r?1:0);break;case 64:a=dw(r);break;case 31:case 80:for(a=se(4+2*(r.length+1)+(r.length%2?0:2)),a.write_shift(4,r.length+1),a.write_shift(0,r,"dbcs");a.l!=a.length;)a.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r)}return tt([t,a])}function Of(e,r){var t=e.l,a=e.read_shift(4),n=e.read_shift(4),i=[],o=0,s=0,l=-1,c={};for(o=0;o!=n;++o){var f=e.read_shift(4),u=e.read_shift(4);i[o]=[f,u+t]}i.sort(function(S,g){return S[1]-g[1]});var d={};for(o=0;o!=n;++o){if(e.l!==i[o][1]){var v=!0;if(o>0&&r)switch(r[i[o-1][0]].t){case 2:e.l+2===i[o][1]&&(e.l+=2,v=!1);break;case 80:e.l<=i[o][1]&&(e.l=i[o][1],v=!1);break;case 4108:e.l<=i[o][1]&&(e.l=i[o][1],v=!1);break}if((!r||o==0)&&e.l<=i[o][1]&&(v=!1,e.l=i[o][1]),v)throw new Error("Read Error: Expected address "+i[o][1]+" at "+e.l+" :"+o)}if(r){var x=r[i[o][0]];if(d[x.n]=us(e,x.t,{raw:!0}),x.p==="version"&&(d[x.n]=String(d[x.n]>>16)+"."+("0000"+String(d[x.n]&65535)).slice(-4)),x.n=="CodePage")switch(d[x.n]){case 0:d[x.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:ca(s=d[x.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[x.n])}}else if(i[o][0]===1){if(s=d.CodePage=us(e,u0),ca(s),l!==-1){var h=e.l;e.l=i[l][1],c=Ff(e,s),e.l=h}}else if(i[o][0]===0){if(s===0){l=o,e.l=i[o+1][1];continue}c=Ff(e,s)}else{var p=c[i[o][0]],m;switch(e[e.l]){case 65:e.l+=4,m=sh(e);break;case 30:e.l+=4,m=Tl(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,m=Tl(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,m=e.read_shift(4,"i");break;case 19:e.l+=4,m=e.read_shift(4);break;case 5:e.l+=4,m=e.read_shift(8,"f");break;case 11:e.l+=4,m=Ur(e,4);break;case 64:e.l+=4,m=Ir(h0(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[p]=m}}return e.l=t+a,d}var lh=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function ww(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Df(e,r,t){var a=se(8),n=[],i=[],o=8,s=0,l=se(8),c=se(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),i.push(l),n.push(c),o+=8+l.length,!r){c=se(8),c.write_shift(4,0),n.unshift(c);var f=[se(4)];for(f[0].write_shift(4,e.length),s=0;s-1||eh.indexOf(e[s][0])>-1)&&e[s][1]!=null){var d=e[s][1],v=0;if(r){v=+r[e[s][0]];var x=t[v];if(x.p=="version"&&typeof d=="string"){var h=d.split(".");d=(+h[0]<<16)+(+h[1]||0)}l=Af(x.t,d)}else{var p=ww(d);p==-1&&(p=31,d=String(d)),l=Af(p,d)}i.push(l),c=se(8),c.write_shift(4,r?v:2+s),n.push(c),o+=8+l.length}var m=8*(i.length+1);for(s=0;s=12?2:1),n="sbcs-cont";if(t&&t.biff>=8,!t||t.biff==8){var i=e.read_shift(1);i&&(n="dbcs-cont")}else t.biff==12&&(n="wstr");t.biff>=2&&t.biff<=5&&(n="cpstr");var o=a?e.read_shift(a,n):"";return o}function Sw(e){var r=e.read_shift(2),t=e.read_shift(1),a=t&4,n=t&8,i=1+(t&1),o=0,s,l={};n&&(o=e.read_shift(2)),a&&(s=e.read_shift(4));var c=i==2?"dbcs-cont":"sbcs-cont",f=r===0?"":e.read_shift(r,c);return n&&(e.l+=4*o),a&&(e.l+=s),l.t=f,n||(l.raw=""+l.t+"",l.r=l.t),l}function Ew(e){var r=e.t||"",t=se(3+0);t.write_shift(2,r.length),t.write_shift(1,1);var a=se(2*r.length);a.write_shift(2*r.length,r,"utf16le");var n=[t,a];return tt(n)}function kn(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e.read_shift(r,"cpstr");if(t.biff>=12)return e.read_shift(r,"dbcs-cont")}var n=e.read_shift(1);return n===0?a=e.read_shift(r,"sbcs-cont"):a=e.read_shift(r,"dbcs-cont"),a}function co(e,r,t){var a=e.read_shift(t&&t.biff==2?1:2);return a===0?(e.l++,""):kn(e,a,t)}function jn(e,r,t){if(t.biff>5)return co(e,r,t);var a=e.read_shift(1);return a===0?(e.l++,""):e.read_shift(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function uh(e,r,t){return t||(t=se(3+2*e.length)),t.write_shift(2,e.length),t.write_shift(1,1),t.write_shift(31,e,"utf16le"),t}function Cw(e){var r=e.read_shift(1);e.l++;var t=e.read_shift(2);return e.l+=2,[r,t]}function Tw(e){var r=e.read_shift(4),t=e.l,a=!1;r>24&&(e.l+=r-24,e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(a=!0),e.l=t);var n=e.read_shift((a?r-24:r)>>1,"utf16le").replace(Ct,"");return a&&(e.l+=24),n}function kw(e){for(var r=e.read_shift(2),t="";r-- >0;)t+="../";var a=e.read_shift(0,"lpstr-ansi");if(e.l+=2,e.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var n=e.read_shift(4);if(n===0)return t+a.replace(/\\/g,"/");var i=e.read_shift(4);if(e.read_shift(2)!=3)throw new Error("Bad FileMoniker");var o=e.read_shift(i>>1,"utf16le").replace(Ct,"");return t+o}function Fw(e,r){var t=e.read_shift(16);switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return Tw(e);case"0303000000000000c000000000000046":return kw(e);default:throw new Error("Unsupported Moniker "+t)}}function Io(e){var r=e.read_shift(4),t=r>0?e.read_shift(r,"utf16le").replace(Ct,""):"";return t}function Pf(e,r){r||(r=se(6+e.length*2)),r.write_shift(4,1+e.length);for(var t=0;t-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=-3;break}r.write_shift(4,2),r.write_shift(4,i);var o=[8,6815827,6619237,4849780,83];for(t=0;t-1?a.slice(0,n):a;for(r.write_shift(4,2*(s.length+1)),t=0;t-1?a.slice(n+1):"",r)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),t=0;t8?4:2,n=e.read_shift(a),i=e.read_shift(a,"i"),o=e.read_shift(a,"i");return[n,i,o]}function vh(e){var r=e.read_shift(2),t=f0(e);return[r,t]}function Pw(e,r,t){e.l+=4,r-=4;var a=e.l+r,n=lo(e,r,t),i=e.read_shift(2);if(a-=e.l,i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);return e.l+=i,n}function Es(e){var r=e.read_shift(2),t=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2);return{s:{c:a,r},e:{c:n,r:t}}}function xh(e,r){return r||(r=se(8)),r.write_shift(2,e.s.r),r.write_shift(2,e.e.r),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c),r}function gh(e){var r=e.read_shift(2),t=e.read_shift(2),a=e.read_shift(1),n=e.read_shift(1);return{s:{c:a,r},e:{c:n,r:t}}}var Nw=gh;function ph(e){e.l+=4;var r=e.read_shift(2),t=e.read_shift(2),a=e.read_shift(2);return e.l+=12,[t,r,a]}function Lw(e){var r={};return e.l+=4,e.l+=16,r.fSharedNote=e.read_shift(2),e.l+=4,r}function Bw(e){var r={};return e.l+=4,e.cf=e.read_shift(2),r}function dt(e){e.l+=2,e.l+=e.read_shift(2)}var Mw={0:dt,4:dt,5:dt,6:dt,7:Bw,8:dt,9:dt,10:dt,11:dt,12:dt,13:Lw,14:dt,15:dt,16:dt,17:dt,18:dt,19:dt,20:dt,21:ph};function Kw(e,r){for(var t=e.l+r,a=[];e.l=2&&(t.dt=e.read_shift(2),e.l-=2),t.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer)}return e.read_shift(r),t}function v0(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280,n=8;break;case"biff4":a=4,n=6;break;case"biff3":a=3,n=6;break;case"biff2":a=2,n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=se(n);return i.write_shift(2,a),i.write_shift(2,r),n>4&&i.write_shift(2,29282),n>6&&i.write_shift(2,1997),n>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function jw(e,r){return r===0||e.read_shift(2),1200}function Ww(e,r,t){if(t.enc)return e.l+=r,"";var a=e.l,n=jn(e,0,t);return e.read_shift(r+a-e.l),n}function Uw(e,r){var t=!r||r.biff==8,a=se(t?112:54);for(a.write_shift(r.biff==8?2:1,7),t&&a.write_shift(1,0),a.write_shift(4,859007059),a.write_shift(4,5458548|(t?0:536870912));a.l=8?2:1,a=se(8+t*e.name.length);a.write_shift(4,e.pos),a.write_shift(1,e.hs||0),a.write_shift(1,e.dt),a.write_shift(1,e.name.length),r.biff>=8&&a.write_shift(1,1),a.write_shift(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);return n.l=a.l,n}function $w(e,r){for(var t=e.l+r,a=e.read_shift(4),n=e.read_shift(4),i=[],o=0;o!=n&&e.l>15),n&=32767);var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function Zw(e){var r=e.read_shift(2),t=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),s=e.read_shift(2),l=e.read_shift(2),c=e.read_shift(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:o,FirstTab:s,Selected:l,TabRatio:c}}function Qw(){var e=se(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function e2(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e.read_shift(2);return{RTL:a&64}}function r2(e){var r=se(18),t=1718;return e&&e.RTL&&(t|=64),r.write_shift(2,t),r.write_shift(4,0),r.write_shift(4,64),r.write_shift(4,0),r.write_shift(4,0),r}function t2(){}function a2(e,r,t){var a={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(t&&t.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return a.name=lo(e,0,t),a}function n2(e,r){var t=e.name||"Arial",a=r&&r.biff==5,n=a?15+t.length:16+2*t.length,i=se(n);return i.write_shift(2,(e.sz||12)*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,t.length),a||i.write_shift(1,1),i.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le"),i}function i2(e){var r=Ca(e);return r.isst=e.read_shift(4),r}function o2(e,r,t,a){var n=se(10);return Fn(e,r,a,n),n.write_shift(4,t),n}function s2(e,r,t){t.biffguess&&t.biff==2&&(t.biff=5);var a=e.l+r,n=Ca(e);t.biff==2&&e.l++;var i=co(e,a-e.l,t);return n.val=i,n}function l2(e,r,t,a,n){var i=!n||n.biff==8,o=se(6+2+ +i+(1+i)*t.length);return Fn(e,r,a,o),o.write_shift(2,t.length),i&&o.write_shift(1,1),o.write_shift((1+i)*t.length,t,i?"utf16le":"sbcs"),o}function c2(e,r,t){var a=e.read_shift(2),n=jn(e,0,t);return[a,n]}function f2(e,r,t,a){var n=t&&t.biff==5;a||(a=se(n?3+r.length:5+2*r.length)),a.write_shift(2,e),a.write_shift(n?1:2,r.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;return i.l==null&&(i.l=i.length),i}var u2=jn;function Lf(e,r,t){var a=e.l+r,n=t.biff==8||!t.biff?4:2,i=e.read_shift(n),o=e.read_shift(n),s=e.read_shift(2),l=e.read_shift(2);return e.l=a,{s:{r:i,c:s},e:{r:o,c:l}}}function d2(e,r){var t=r.biff==8||!r.biff?4:2,a=se(2*t+6);return a.write_shift(t,e.s.r),a.write_shift(t,e.e.r+1),a.write_shift(2,e.s.c),a.write_shift(2,e.e.c+1),a.write_shift(2,0),a}function h2(e){var r=e.read_shift(2),t=e.read_shift(2),a=vh(e);return{r,c:t,ixfe:a[0],rknum:a[1]}}function v2(e,r){for(var t=e.l+r-2,a=e.read_shift(2),n=e.read_shift(2),i=[];e.l>26],a.cellStyles&&(n.alc=i&7,n.fWrap=i>>3&1,n.alcV=i>>4&7,n.fJustLast=i>>7&1,n.trot=i>>8&255,n.cIndent=i>>16&15,n.fShrinkToFit=i>>20&1,n.iReadOrder=i>>22&2,n.fAtrNum=i>>26&1,n.fAtrFnt=i>>27&1,n.fAtrAlc=i>>28&1,n.fAtrBdr=i>>29&1,n.fAtrPat=i>>30&1,n.fAtrProt=i>>31&1,n.dgLeft=o&15,n.dgRight=o>>4&15,n.dgTop=o>>8&15,n.dgBottom=o>>12&15,n.icvLeft=o>>16&127,n.icvRight=o>>23&127,n.grbitDiag=o>>30&3,n.icvTop=s&127,n.icvBottom=s>>7&127,n.icvDiag=s>>14&127,n.dgDiag=s>>21&15,n.icvFore=l&127,n.icvBack=l>>7&127,n.fsxButton=l>>14&1),n}function p2(e,r,t){var a={};return a.ifnt=e.read_shift(2),a.numFmtId=e.read_shift(2),a.flags=e.read_shift(2),a.fStyle=a.flags>>2&1,r-=6,a.data=g2(e,r,a.fStyle,t),a}function Bf(e,r,t,a){var n=t&&t.biff==5;a||(a=se(n?16:20)),a.write_shift(2,0),e.style?(a.write_shift(2,e.numFmtId||0),a.write_shift(2,65524)):(a.write_shift(2,e.numFmtId||0),a.write_shift(2,r<<4));var i=0;return e.numFmtId>0&&n&&(i|=1024),a.write_shift(4,i),a.write_shift(4,0),n||a.write_shift(4,0),a.write_shift(2,0),a}function m2(e){e.l+=4;var r=[e.read_shift(2),e.read_shift(2)];if(r[0]!==0&&r[0]--,r[1]!==0&&r[1]--,r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function w2(e){var r=se(8);return r.write_shift(4,0),r.write_shift(2,e[0]?e[0]+1:0),r.write_shift(2,e[1]?e[1]+1:0),r}function Mf(e,r,t){var a=Ca(e);(t.biff==2||r==9)&&++e.l;var n=bw(e);return a.val=n,a.t=n===!0||n===!1?"b":"e",a}function y2(e,r,t,a,n,i){var o=se(8);return Fn(e,r,a,o),fh(t,i,o),o}function _2(e,r,t){t.biffguess&&t.biff==2&&(t.biff=5);var a=Ca(e),n=gt(e);return a.val=n,a}function b2(e,r,t,a){var n=se(14);return Fn(e,r,a,n),Tn(t,n),n}var Kf=Rw;function S2(e,r,t){var a=e.l+r,n=e.read_shift(2),i=e.read_shift(2);if(t.sbcch=i,i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);for(var o=kn(e,i),s=[];a>e.l;)s.push(co(e));return[i,n,o,s]}function jf(e,r,t){var a=e.read_shift(2),n,i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return t.sbcch===14849&&(n=Pw(e,r-2,t)),i.body=n||e.read_shift(r-2),typeof n=="string"&&(i.Name=n),i}var E2=["_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 Wf(e,r,t){var a=e.l+r,n=e.read_shift(2),i=e.read_shift(1),o=e.read_shift(1),s=e.read_shift(t&&t.biff==2?1:2),l=0;(!t||t.biff>=5)&&(t.biff!=5&&(e.l+=2),l=e.read_shift(2),t.biff==5&&(e.l+=2),e.l+=4);var c=kn(e,o,t);n&32&&(c=E2[c.charCodeAt(0)]);var f=a-e.l;t&&t.biff==2&&--f;var u=a==e.l||s===0||!(f>0)?[]:KS(e,f,t,s);return{chKey:i,Name:c,itab:l,rgce:u}}function mh(e,r,t){if(t.biff<8)return C2(e,r,t);for(var a=[],n=e.l+r,i=e.read_shift(t.biff>8?4:2);i--!==0;)a.push(Iw(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function C2(e,r,t){e[e.l+1]==3&&e[e.l]++;var a=lo(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function T2(e,r,t){if(t.biff<8){e.l+=r;return}var a=e.read_shift(2),n=e.read_shift(2),i=kn(e,a,t),o=kn(e,n,t);return[i,o]}function k2(e,r,t){var a=gh(e);e.l++;var n=e.read_shift(1);return r-=8,[jS(e,r,t),n,a]}function Uf(e,r,t){var a=Nw(e);switch(t.biff){case 2:e.l++,r-=7;break;case 3:case 4:e.l+=2,r-=8;break;default:e.l+=6,r-=12}return[a,BS(e,r,t)]}function F2(e){var r=e.read_shift(4)!==0,t=e.read_shift(4)!==0,a=e.read_shift(4);return[r,t,a]}function A2(e,r,t){if(!(t.biff<8)){var a=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),s=jn(e,0,t);return t.biff<8&&e.read_shift(1),[{r:a,c:n},s,o,i]}}function O2(e,r,t){return A2(e,r,t)}function D2(e,r){for(var t=[],a=e.read_shift(2);a--;)t.push(Es(e));return t}function R2(e){var r=se(2+e.length*8);r.write_shift(2,e.length);for(var t=0;t=(f?s:2*s))break}if(n.length!==s&&n.length!==s*2)throw new Error("cchText: "+s+" != "+n.length);return e.l=a+r,{t:n}}catch{return e.l=a+r,{t:n}}}function B2(e,r){var t=Es(e);e.l+=16;var a=Aw(e,r-24);return[t,a]}function M2(e){var r=se(24),t=et(e[0]);r.write_shift(2,t.r),r.write_shift(2,t.r),r.write_shift(2,t.c),r.write_shift(2,t.c);for(var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<16;++n)r.write_shift(1,parseInt(a[n],16));return tt([r,Ow(e[1])])}function K2(e,r){e.read_shift(2);var t=Es(e),a=e.read_shift((r-10)/2,"dbcs-cont");return a=a.replace(Ct,""),[t,a]}function j2(e){var r=e[1].Tooltip,t=se(10+2*(r.length+1));t.write_shift(2,2048);var a=et(e[0]);t.write_shift(2,a.r),t.write_shift(2,a.r),t.write_shift(2,a.c),t.write_shift(2,a.c);for(var n=0;n0;)t.push(hh(e));return t}function V2(e){for(var r=e.read_shift(2),t=[];r-- >0;)t.push(hh(e));return t}function z2(e){e.l+=2;var r={cxfs:0,crc:0};return r.cxfs=e.read_shift(2),r.crc=e.read_shift(4),r}function wh(e,r,t){if(!t.cellStyles)return mt(e,r);var a=t&&t.biff>=12?4:2,n=e.read_shift(a),i=e.read_shift(a),o=e.read_shift(a),s=e.read_shift(a),l=e.read_shift(2);a==2&&(e.l+=2);var c={s:n,e:i,w:o,ixfe:s,flags:l};return(t.biff>=5||!t.biff)&&(c.level=l>>8&7),c}function $2(e,r){var t=se(12);t.write_shift(2,r),t.write_shift(2,r),t.write_shift(2,e.width*256),t.write_shift(2,0);var a=0;return e.hidden&&(a|=1),t.write_shift(1,a),a=e.level||0,t.write_shift(1,a),t.write_shift(2,0),t}function G2(e,r){var t={};return r<32||(e.l+=16,t.header=gt(e),t.footer=gt(e),e.l+=2),t}function X2(e,r,t){var a={area:!1};if(t.biff!=5)return e.l+=r,a;var n=e.read_shift(1);return e.l+=3,n&16&&(a.area=!0),a}function Y2(e){for(var r=se(2*e),t=0;t1048576&&(h=1e6),u!=2&&(p=f.read_shift(2));var m=f.read_shift(2),S=l.codepage||1252;u!=2&&(f.l+=16,f.read_shift(1),f[f.l]!==0&&(S=e[f[f.l]]),f.l+=1,f.l+=2),x&&(f.l+=36);for(var g=[],w={},C=Math.min(f.length,u==2?521:p-10-(v?264:0)),F=x?32:11;f.l0;){if(f[f.l]===42){f.l+=m;continue}for(++f.l,c[++_]=[],R=0,R=0;R!=g.length;++R){var y=f.slice(f.l,f.l+g[R].len);f.l+=g[R].len,st(y,0);var W=Ja.utils.decode(S,y);switch(g[R].type){case"C":W.trim().length&&(c[_][R]=W.replace(/\s+$/,""));break;case"D":W.length===8?c[_][R]=new Date(+W.slice(0,4),+W.slice(4,6)-1,+W.slice(6,8)):c[_][R]=W;break;case"F":c[_][R]=parseFloat(W.trim());break;case"+":case"I":c[_][R]=x?y.read_shift(-4,"i")^2147483648:y.read_shift(4,"i");break;case"L":switch(W.trim().toUpperCase()){case"Y":case"T":c[_][R]=!0;break;case"N":case"F":c[_][R]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+W+"|")}break;case"M":if(!d)throw new Error("DBF Unexpected MEMO for type "+u.toString(16));c[_][R]="##MEMO##"+(x?parseInt(W.trim(),10):y.read_shift(4));break;case"N":W=W.replace(/\u0000/g,"").trim(),W&&W!="."&&(c[_][R]=+W||0);break;case"@":c[_][R]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":c[_][R]=new Date((y.read_shift(4)-2440588)*864e5+y.read_shift(4));break;case"Y":c[_][R]=y.read_shift(4,"i")/1e4+y.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":c[_][R]=-y.read_shift(-8,"f");break;case"B":if(v&&g[R].len==8){c[_][R]=y.read_shift(8,"f");break}case"G":case"P":y.l+=g[R].len;break;case"0":if(g[R].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+g[R].type)}}}if(u!=2&&f.l=0&&ca(+c.codepage),c.type=="string")throw new Error("Cannot write DBF to JS string");var f=Ot(),u=uv(s,{header:1,raw:!0,cellDates:!0}),d=u[0],v=u.slice(1),x=s["!cols"]||[],h=0,p=0,m=0,S=1;for(h=0;h250&&(y=250),R=((x[h]||{}).DBF||{}).type,R=="C"&&x[h].DBF.len>y&&(y=x[h].DBF.len),_=="B"&&R=="N"&&(_="N",F[h]=x[h].DBF.dec,y=x[h].DBF.len),C[h]=_=="C"||R=="N"?y:i[_]||0,S+=C[h],w[h]=_}var D=f.next(32);for(D.write_shift(4,318902576),D.write_shift(4,v.length),D.write_shift(2,296+32*m),D.write_shift(2,S),h=0;h<4;++h)D.write_shift(4,0);for(D.write_shift(4,0|(+r[sd]||3)<<8),h=0,p=0;h":190,"?":191,"{":223},r=new RegExp("\x1BN("+Hr(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),t=function(d,v){var x=e[v];return typeof x=="number"?Zc(x):x},a=function(d,v,x){var h=v.charCodeAt(0)-32<<4|x.charCodeAt(0)-48;return h==59?d:Zc(h)};e["|"]=254;function n(d,v){switch(v.type){case"base64":return i(jt(d),v);case"binary":return i(d,v);case"buffer":return i(Je&&Buffer.isBuffer(d)?d.toString("binary"):ln(d),v);case"array":return i(Cn(d),v)}throw new Error("Unrecognized type "+v.type)}function i(d,v){var x=d.split(/[\n\r]+/),h=-1,p=-1,m=0,S=0,g=[],w=[],C=null,F={},_=[],R=[],y=[],W=0,D;for(+v.codepage>=0&&ca(+v.codepage);m!==x.length;++m){W=0;var E=x[m].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(r,t),T=E.replace(/;;/g,"\0").split(";").map(function(V){return V.replace(/\u0000/g,";")}),A=T[0],b;if(E.length>0)switch(A){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":T[1].charAt(0)=="P"&&w.push(E.slice(3).replace(/;;/g,";"));break;case"C":var O=!1,N=!1,G=!1,L=!1,X=-1,Z=-1;for(S=1;S-1&&g[X][Z];if(!z||!z[1])throw new Error("SYLK shared formula cannot find base");g[h][p][1]=Mh(z[1],{r:h-X,c:p-Z})}break;case"F":var U=0;for(S=1;S0?(_[h].hpt=W,_[h].hpx=fi(W)):W===0&&(_[h].hidden=!0);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+E)}U<1&&(C=null);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+E)}}return _.length>0&&(F["!rows"]=_),R.length>0&&(F["!cols"]=R),v&&v.sheetRows&&(g=g.slice(0,v.sheetRows)),[g,F]}function o(d,v){var x=n(d,v),h=x[0],p=x[1],m=so(h,v);return Hr(p).forEach(function(S){m[S]=p[S]}),m}function s(d,v){return Nn(o(d,v),v)}function l(d,v,x,h){var p="C;Y"+(x+1)+";X"+(h+1)+";K";switch(d.t){case"n":p+=d.v||0,d.f&&!d.F&&(p+=";E"+y0(d.f,{r:x,c:h}));break;case"b":p+=d.v?"TRUE":"FALSE";break;case"e":p+=d.w||d.v;break;case"d":p+='"'+(d.w||d.v)+'"';break;case"s":p+='"'+d.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return p}function c(d,v){v.forEach(function(x,h){var p="F;W"+(h+1)+" "+(h+1)+" ";x.hidden?p+="0":(typeof x.width=="number"&&!x.wpx&&(x.wpx=Ji(x.width)),typeof x.wpx=="number"&&!x.wch&&(x.wch=Zi(x.wpx)),typeof x.wch=="number"&&(p+=Math.round(x.wch))),p.charAt(p.length-1)!=" "&&d.push(p)})}function f(d,v){v.forEach(function(x,h){var p="F;";x.hidden?p+="M0;":x.hpt?p+="M"+20*x.hpt+";":x.hpx&&(p+="M"+20*Qi(x.hpx)+";"),p.length>2&&d.push(p+"R"+(h+1))})}function u(d,v){var x=["ID;PWXL;N;E"],h=[],p=xr(d["!ref"]),m,S=Array.isArray(d),g=`\r `;x.push("P;PGeneral"),x.push("F;P0;DG0G8;M255"),d["!cols"]&&c(x,d["!cols"]),d["!rows"]&&f(x,d["!rows"]),x.push("B;Y"+(p.e.r-p.s.r+1)+";X"+(p.e.c-p.s.c+1)+";D"+[p.s.c,p.s.r,p.e.c,p.e.r].join(" "));for(var w=p.s.r;w<=p.e.r;++w)for(var C=p.s.c;C<=p.e.c;++C){var F=$e({r:w,c:C});m=S?(d[w]||[])[C]:d[F],!(!m||m.v==null&&(!m.f||m.F))&&h.push(l(m,d,w,C))}return x.join(g)+g+h.join(g)+g+"E"+g}return{to_workbook:s,to_sheet:o,from_sheet:u}}(),_h=function(){function e(i,o){switch(o.type){case"base64":return r(jt(i),o);case"binary":return r(i,o);case"buffer":return r(Je&&Buffer.isBuffer(i)?i.toString("binary"):ln(i),o);case"array":return r(Cn(i),o)}throw new Error("Unrecognized type "+o.type)}function r(i,o){for(var s=i.split(` `),l=-1,c=-1,f=0,u=[];f!==s.length;++f){if(s[f].trim()==="BOT"){u[++l]=[],c=0;continue}if(!(l<0)){var d=s[f].trim().split(","),v=d[0],x=d[1];++f;for(var h=s[f]||"";(h.match(/["]/g)||[]).length&1&&f=0&&x[h].length===0;)--h;for(var p=10,m=0,S=0;S<=h;++S)m=x[S].indexOf(" "),m==-1?m=x[S].length:m++,p=Math.max(p,m);for(S=0;S<=h;++S){v[S]=[];var g=0;for(e(x[S].slice(0,p).trim(),v,S,g,d),g=1;g<=(x[S].length-p)/10+1;++g)e(x[S].slice(p+(g-1)*10,p+g*10).trim(),v,S,g,d)}return d.sheetRows&&(v=v.slice(0,d.sheetRows)),v}var t={44:",",9:" ",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function n(f){for(var u={},d=!1,v=0,x=0;v0&&W(),x["!ref"]=rr(h),x}function o(f,u){return!(u&&u.PRN)||u.FS||f.slice(0,4)=="sep="||f.indexOf(" ")>=0||f.indexOf(",")>=0||f.indexOf(";")>=0?i(f,u):so(r(f,u),u)}function s(f,u){var d="",v=u.type=="string"?[0,0,0,0]:F0(f,u);switch(u.type){case"base64":d=jt(f);break;case"binary":d=f;break;case"buffer":u.codepage==65001?d=f.toString("utf8"):u.codepage&&typeof Ja<"u"?d=Ja.utils.decode(u.codepage,f):d=Je&&Buffer.isBuffer(f)?f.toString("binary"):ln(f);break;case"array":d=Cn(f);break;case"string":d=f;break;default:throw new Error("Unrecognized type "+u.type)}return v[0]==239&&v[1]==187&&v[2]==191?d=br(d.slice(3)):u.type!="string"&&u.type!="buffer"&&u.codepage==65001?d=br(d):u.type=="binary"&&typeof Ja<"u"&&u.codepage&&(d=Ja.utils.decode(u.codepage,Ja.utils.encode(28591,d))),d.slice(0,19)=="socialcalc:version:"?bh.to_sheet(u.type=="string"?d:br(d),u):o(d,u)}function l(f,u){return Nn(s(f,u),u)}function c(f){for(var u=[],d=xr(f["!ref"]),v,x=Array.isArray(f),h=d.s.r;h<=d.e.r;++h){for(var p=[],m=d.s.c;m<=d.e.c;++m){var S=$e({r:h,c:m});if(v=x?(f[h]||[])[m]:f[S],!v||v.v==null){p.push(" ");continue}for(var g=(v.w||(tn(v),v.w)||"").slice(0,10);g.length<10;)g+=" ";p.push(g+(m===0?" ":""))}u.push(p.join(""))}return u.join(` `)}return{to_workbook:l,to_sheet:s,from_sheet:c}}();function cy(e,r){var t=r||{},a=!!t.WTF;t.WTF=!0;try{var n=yh.to_workbook(e,t);return t.WTF=a,n}catch(i){if(t.WTF=a,!i.message.match(/SYLK bad record ID/)&&a)throw i;return ci.to_workbook(e,r)}}var _n=function(){function e(I,z,U){if(!!I){st(I,I.l||0);for(var V=U.Enum||X;I.l=16&&I[14]==5&&I[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(I[2]==2)U.Enum=X,e(I,function(ve,Ye,dr){switch(dr){case 0:U.vers=ve,ve>=4096&&(U.qpro=!0);break;case 6:K=ve;break;case 204:ve&&(ee=ve);break;case 222:ee=ve;break;case 15:case 51:U.qpro||(ve[1].v=ve[1].v.slice(1));case 13:case 14:case 16:dr==14&&(ve[2]&112)==112&&(ve[2]&15)>1&&(ve[2]&15)<15&&(ve[1].z=U.dateNF||Ue[14],U.cellDates&&(ve[1].t="d",ve[1].v=Ss(ve[1].v))),U.qpro&&ve[3]>Y&&(V["!ref"]=rr(K),J[q]=V,Q.push(q),V=U.dense?[]:{},K={s:{r:0,c:0},e:{r:0,c:0}},Y=ve[3],q=ee||"Sheet"+(Y+1),ee="");var hr=U.dense?(V[ve[0].r]||[])[ve[0].c]:V[$e(ve[0])];if(hr){hr.t=ve[1].t,hr.v=ve[1].v,ve[1].z!=null&&(hr.z=ve[1].z),ve[1].f!=null&&(hr.f=ve[1].f);break}U.dense?(V[ve[0].r]||(V[ve[0].r]=[]),V[ve[0].r][ve[0].c]=ve[1]):V[$e(ve[0])]=ve[1];break}},U);else if(I[2]==26||I[2]==14)U.Enum=Z,I[2]==14&&(U.qpro=!0,I.l=0),e(I,function(ve,Ye,dr){switch(dr){case 204:q=ve;break;case 22:ve[1].v=ve[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(ve[3]>Y&&(V["!ref"]=rr(K),J[q]=V,Q.push(q),V=U.dense?[]:{},K={s:{r:0,c:0},e:{r:0,c:0}},Y=ve[3],q="Sheet"+(Y+1)),Oe>0&&ve[0].r>=Oe)break;U.dense?(V[ve[0].r]||(V[ve[0].r]=[]),V[ve[0].r][ve[0].c]=ve[1]):V[$e(ve[0])]=ve[1],K.e.c=0&&ca(+U.codepage),U.type=="string")throw new Error("Cannot write WK1 to JS string");var V=Ot(),q=xr(I["!ref"]),ee=Array.isArray(I),Y=[];Ee(V,0,i(1030)),Ee(V,6,l(q));for(var J=Math.min(q.e.r,8191),Q=q.s.r;Q<=J;++Q)for(var ce=nt(Q),K=q.s.c;K<=q.e.c;++K){Q===q.s.r&&(Y[K]=Jr(K));var Oe=Y[K]+ce,Ie=ee?(I[Q]||[])[K]:I[Oe];if(!(!Ie||Ie.t=="z"))if(Ie.t=="n")(Ie.v|0)==Ie.v&&Ie.v>=-32768&&Ie.v<=32767?Ee(V,13,v(Q,K,Ie.v)):Ee(V,14,h(Q,K,Ie.v));else{var Le=tn(Ie);Ee(V,15,u(Q,K,Le.slice(0,239)))}}return Ee(V,1),V.end()}function n(I,z){var U=z||{};if(+U.codepage>=0&&ca(+U.codepage),U.type=="string")throw new Error("Cannot write WK3 to JS string");var V=Ot();Ee(V,0,o(I));for(var q=0,ee=0;q8191&&(U=8191),z.write_shift(2,U),z.write_shift(1,q),z.write_shift(1,V),z.write_shift(2,0),z.write_shift(2,0),z.write_shift(1,1),z.write_shift(1,2),z.write_shift(4,0),z.write_shift(4,0),z}function s(I,z,U){var V={s:{c:0,r:0},e:{c:0,r:0}};return z==8&&U.qpro?(V.s.c=I.read_shift(1),I.l++,V.s.r=I.read_shift(2),V.e.c=I.read_shift(1),I.l++,V.e.r=I.read_shift(2),V):(V.s.c=I.read_shift(2),V.s.r=I.read_shift(2),z==12&&U.qpro&&(I.l+=2),V.e.c=I.read_shift(2),V.e.r=I.read_shift(2),z==12&&U.qpro&&(I.l+=2),V.s.c==65535&&(V.s.c=V.e.c=V.s.r=V.e.r=0),V)}function l(I){var z=se(8);return z.write_shift(2,I.s.c),z.write_shift(2,I.s.r),z.write_shift(2,I.e.c),z.write_shift(2,I.e.r),z}function c(I,z,U){var V=[{c:0,r:0},{t:"n",v:0},0,0];return U.qpro&&U.vers!=20768?(V[0].c=I.read_shift(1),V[3]=I.read_shift(1),V[0].r=I.read_shift(2),I.l+=2):(V[2]=I.read_shift(1),V[0].c=I.read_shift(2),V[0].r=I.read_shift(2)),V}function f(I,z,U){var V=I.l+z,q=c(I,z,U);if(q[1].t="s",U.vers==20768){I.l++;var ee=I.read_shift(1);return q[1].v=I.read_shift(ee,"utf8"),q}return U.qpro&&I.l++,q[1].v=I.read_shift(V-I.l,"cstr"),q}function u(I,z,U){var V=se(7+U.length);V.write_shift(1,255),V.write_shift(2,z),V.write_shift(2,I),V.write_shift(1,39);for(var q=0;q=128?95:ee)}return V.write_shift(1,0),V}function d(I,z,U){var V=c(I,z,U);return V[1].v=I.read_shift(2,"i"),V}function v(I,z,U){var V=se(7);return V.write_shift(1,255),V.write_shift(2,z),V.write_shift(2,I),V.write_shift(2,U,"i"),V}function x(I,z,U){var V=c(I,z,U);return V[1].v=I.read_shift(8,"f"),V}function h(I,z,U){var V=se(13);return V.write_shift(1,255),V.write_shift(2,z),V.write_shift(2,I),V.write_shift(8,U,"f"),V}function p(I,z,U){var V=I.l+z,q=c(I,z,U);if(q[1].v=I.read_shift(8,"f"),U.qpro)I.l=V;else{var ee=I.read_shift(2);w(I.slice(I.l,I.l+ee),q),I.l+=ee}return q}function m(I,z,U){var V=z&32768;return z&=-32769,z=(V?I:0)+(z>=8192?z-16384:z),(V?"":"$")+(U?Jr(z):nt(z))}var S={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},g=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function w(I,z){st(I,0);for(var U=[],V=0,q="",ee="",Y="",J="";I.lU.length){console.error("WK1 bad formula parse 0x"+Q.toString(16)+":|"+U.join("|")+"|");return}var Ie=U.slice(-V);U.length-=V,U.push(S[Q][0]+"("+Ie.join(",")+")")}else return Q<=7?console.error("WK1 invalid opcode "+Q.toString(16)):Q<=24?console.error("WK1 unsupported op "+Q.toString(16)):Q<=30?console.error("WK1 invalid opcode "+Q.toString(16)):Q<=115?console.error("WK1 unsupported function opcode "+Q.toString(16)):console.error("WK1 unrecognized opcode "+Q.toString(16))}}U.length==1?z[1].f=""+U[0]:console.error("WK1 bad formula parse |"+U.join("|")+"|")}function C(I){var z=[{c:0,r:0},{t:"n",v:0},0];return z[0].r=I.read_shift(2),z[3]=I[I.l++],z[0].c=I[I.l++],z}function F(I,z){var U=C(I);return U[1].t="s",U[1].v=I.read_shift(z-4,"cstr"),U}function _(I,z,U,V){var q=se(6+V.length);q.write_shift(2,I),q.write_shift(1,U),q.write_shift(1,z),q.write_shift(1,39);for(var ee=0;ee=128?95:Y)}return q.write_shift(1,0),q}function R(I,z){var U=C(I);U[1].v=I.read_shift(2);var V=U[1].v>>1;if(U[1].v&1)switch(V&7){case 0:V=(V>>3)*5e3;break;case 1:V=(V>>3)*500;break;case 2:V=(V>>3)/20;break;case 3:V=(V>>3)/200;break;case 4:V=(V>>3)/2e3;break;case 5:V=(V>>3)/2e4;break;case 6:V=(V>>3)/16;break;case 7:V=(V>>3)/64;break}return U[1].v=V,U}function y(I,z){var U=C(I),V=I.read_shift(4),q=I.read_shift(4),ee=I.read_shift(2);if(ee==65535)return V===0&&q===3221225472?(U[1].t="e",U[1].v=15):V===0&&q===3489660928?(U[1].t="e",U[1].v=42):U[1].v=0,U;var Y=ee&32768;return ee=(ee&32767)-16446,U[1].v=(1-Y*2)*(q*Math.pow(2,ee+32)+V*Math.pow(2,ee)),U}function W(I,z,U,V){var q=se(14);if(q.write_shift(2,I),q.write_shift(1,U),q.write_shift(1,z),V==0)return q.write_shift(4,0),q.write_shift(4,0),q.write_shift(2,65535),q;var ee=0,Y=0,J=0,Q=0;return V<0&&(ee=1,V=-V),Y=Math.log2(V)|0,V/=Math.pow(2,Y-31),Q=V>>>0,(Q&2147483648)==0&&(V/=2,++Y,Q=V>>>0),V-=Q,Q|=2147483648,Q>>>=0,V*=Math.pow(2,32),J=V>>>0,q.write_shift(4,J),q.write_shift(4,Q),Y+=16383+(ee?32768:0),q.write_shift(2,Y),q}function D(I,z){var U=y(I);return I.l+=z-14,U}function E(I,z){var U=C(I),V=I.read_shift(4);return U[1].v=V>>6,U}function T(I,z){var U=C(I),V=I.read_shift(8,"f");return U[1].v=V,U}function A(I,z){var U=T(I);return I.l+=z-10,U}function b(I,z){return I[I.l+z-1]==0?I.read_shift(z,"cstr"):""}function O(I,z){var U=I[I.l++];U>z-1&&(U=z-1);for(var V="";V.length127?95:q}return U[U.l++]=0,U}var X={0:{n:"BOF",f:Yr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:s},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:d},14:{n:"NUMBER",f:x},15:{n:"LABEL",f},16:{n:"FORMULA",f:p},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:b},222:{n:"SHEETNAMELP",f:O},65535:{n:""}},Z={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:F},23:{n:"NUMBER17",f:y},24:{n:"NUMBER18",f:R},25:{n:"FORMULA19",f:D},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:G},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:E},38:{n:"??"},39:{n:"NUMBER27",f:T},40:{n:"FORMULA28",f:A},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:b},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:N},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:a,book_to_wk3:n,to_workbook:r}}();function fy(e){var r={},t=e.match(wt),a=0,n=!1;if(t)for(;a!=t.length;++a){var i=He(t[a]);switch(i[0].replace(/\w*:/g,"")){case"":case"":r.shadow=1;break;case"":break;case"":case"":r.outline=1;break;case"":break;case"":case"":r.strike=1;break;case"":break;case"":case"":r.u=1;break;case"":break;case"":case"":r.b=1;break;case"":break;case"":case"":r.i=1;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":n=!1;break;default:if(i[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+i[0])}}return r}var uy=function(){var e=$i("t"),r=$i("rPr");function t(i){var o=i.match(e);if(!o)return{t:"s",v:""};var s={t:"s",v:ir(o[1])},l=i.match(r);return l&&(s.s=fy(l[1])),s}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function(o){return o.replace(a,"").split(n).map(t).filter(function(s){return s.v})}}(),dy=function(){var r=/(\r\n|\n)/g;function t(n,i,o){var s=[];n.u&&s.push("text-decoration: underline;"),n.uval&&s.push("text-underline-style:"+n.uval+";"),n.sz&&s.push("font-size:"+n.sz+"pt;"),n.outline&&s.push("text-effect: outline;"),n.shadow&&s.push("text-shadow: auto;"),i.push(''),n.b&&(i.push(""),o.push("")),n.i&&(i.push(""),o.push("")),n.strike&&(i.push(""),o.push(""));var l=n.valign||"";return l=="superscript"||l=="super"?l="sup":l=="subscript"&&(l="sub"),l!=""&&(i.push("<"+l+">"),o.push("")),o.push(""),n}function a(n){var i=[[],n.v,[]];return n.v?(n.s&&t(n.s,i[0],i[2]),i[0].join("")+i[1].replace(r,"
")+i[2].join("")):""}return function(i){return i.map(a).join("")}}(),hy=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,vy=/<(?:\w+:)?r>/,xy=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function x0(e,r){var t=r?r.cellHTML:!0,a={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(a.t=ir(br(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),a.r=br(e),t&&(a.h=a0(a.t))):e.match(vy)&&(a.r=br(e),a.t=ir(br((e.replace(xy,"").match(hy)||[]).join("").replace(wt,""))),t&&(a.h=dy(uy(a.r)))),a):{t:""}}var gy=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,py=/<(?:\w+:)?(?:si|sstItem)>/g,my=/<\/(?:\w+:)?(?:si|sstItem)>/;function wy(e,r){var t=[],a="";if(!e)return t;var n=e.match(gy);if(n){a=n[2].replace(py,"").split(my);for(var i=0;i!=a.length;++i){var o=x0(a[i].trim(),r);o!=null&&(t[t.length]=o)}n=He(n[1]),t.Count=n.count,t.Unique=n.uniqueCount}return t}var yy=/^\s|\s$|[\t\n\r]/;function Sh(e,r){if(!r.bookSST)return"";var t=[Vr];t[t.length]=Se("sst",null,{xmlns:Pn[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a)if(e[a]!=null){var n=e[a],i="";n.r?i+=n.r:(i+=""),i+="",t[t.length]=i}return t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function _y(e){return[e.read_shift(4),e.read_shift(4)]}function by(e,r){var t=[],a=!1;return Ha(e,function(i,o,s){switch(s){case 159:t.Count=i[0],t.Unique=i[1];break;case 19:t.push(i);break;case 160:return!0;case 35:a=!0;break;case 36:a=!1;break;default:if(o.T,!a||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}}),t}function Sy(e,r){return r||(r=se(8)),r.write_shift(4,e.Count),r.write_shift(4,e.Unique),r}var Ey=Pm;function Cy(e){var r=Ot();he(r,159,Sy(e));for(var t=0;t=4&&(e.l+=r-4),t}function Ty(e){var r={};return r.id=e.read_shift(0,"lpp4"),r.R=La(e,4),r.U=La(e,4),r.W=La(e,4),r}function ky(e){for(var r=e.read_shift(4),t=e.l+r-4,a={},n=e.read_shift(4),i=[];n-- >0;)i.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(a.name=e.read_shift(0,"lpp4"),a.comps=i,e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function Fy(e){var r=[];e.l+=4;for(var t=e.read_shift(4);t-- >0;)r.push(ky(e));return r}function Ay(e){var r=[];e.l+=4;for(var t=e.read_shift(4);t-- >0;)r.push(e.read_shift(0,"lpp4"));return r}function Oy(e){var r={};return e.read_shift(4),e.l+=4,r.id=e.read_shift(0,"lpp4"),r.name=e.read_shift(0,"lpp4"),r.R=La(e,4),r.U=La(e,4),r.W=La(e,4),r}function Dy(e){var r=Oy(e);if(r.ename=e.read_shift(0,"8lpp4"),r.blksz=e.read_shift(4),r.cmode=e.read_shift(4),e.read_shift(4)!=4)throw new Error("Bad !Primary record");return r}function Ch(e,r){var t=e.l+r,a={};a.Flags=e.read_shift(4)&63,e.l+=4,a.AlgID=e.read_shift(4);var n=!1;switch(a.AlgID){case 26126:case 26127:case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID}if(!n)throw new Error("Encryption Flags/AlgID mismatch");return a.AlgIDHash=e.read_shift(4),a.KeySize=e.read_shift(4),a.ProviderType=e.read_shift(4),e.l+=8,a.CSPName=e.read_shift(t-e.l>>1,"utf16le"),e.l=t,a}function Th(e,r){var t={},a=e.l+r;return e.l+=4,t.Salt=e.slice(e.l,e.l+16),e.l+=16,t.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),t.VerifierHash=e.slice(e.l,a),e.l=a,t}function Ry(e){var r=La(e);switch(r.Minor){case 2:return[r.Minor,Iy(e)];case 3:return[r.Minor,Py()];case 4:return[r.Minor,Ny(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function Iy(e){var r=e.read_shift(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4),a=Ch(e,t),n=Th(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Py(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Ny(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e.read_shift(e.length-e.l,"utf8"),a={};return t.replace(wt,function(i){var o=He(i);switch(Ea(o[0])){case"":break;case"":case"":break;case"":break;case"4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);t.Flags=e.read_shift(4),r-=4;var n=e.read_shift(4);return r-=4,t.EncryptionHeader=Ch(e,n),r-=n,t.EncryptionVerifier=Th(e,r),t}function By(e){var r={},t=r.EncryptionVersionInfo=La(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;return r.Salt=e.read_shift(16),r.EncryptedVerifier=e.read_shift(16),r.EncryptedVerifierHash=e.read_shift(16),r}function g0(e){var r=0,t,a=Eh(e),n=a.length+1,i,o,s,l,c;for(t=rn(n),t[0]=a.length,i=1;i!=n;++i)t[i]=a[i-1];for(i=n-1;i>=0;--i)o=t[i],s=(r&16384)===0?0:1,l=r<<1&32767,c=s|l,r=c^o;return r^52811}var kh=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],r=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],t=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],a=function(o){return(o/2|o*128)&255},n=function(o,s){return a(o^s)},i=function(o){for(var s=r[o.length-1],l=104,c=o.length-1;c>=0;--c)for(var f=o[c],u=0;u!=7;++u)f&64&&(s^=t[l]),f*=2,--l;return s};return function(o){for(var s=Eh(o),l=i(s),c=s.length,f=rn(16),u=0;u!=16;++u)f[u]=0;var d,v,x;for((c&1)===1&&(d=l>>8,f[c]=n(e[0],d),--c,d=l&255,v=s[s.length-1],f[c]=n(v,d));c>0;)--c,d=l>>8,f[c]=n(s[c],d),--c,d=l&255,f[c]=n(s[c],d);for(c=15,x=15-s.length;x>0;)d=l>>8,f[c]=n(e[x],d),--c,--x,d=l&255,f[c]=n(s[c],d),--c,--x;return f}}(),My=function(e,r,t,a,n){n||(n=r),a||(a=kh(e));var i,o;for(i=0;i!=r.length;++i)o=r[i],o^=a[t],o=(o>>5|o<<3)&255,n[i]=o,++t;return[n,t,a]},Ky=function(e){var r=0,t=kh(e);return function(a){var n=My("",a,r,t);return r=n[1],n[0]}};function jy(e,r,t,a){var n={key:Yr(e),verificationBytes:Yr(e)};return t.password&&(n.verifier=g0(t.password)),a.valid=n.verificationBytes===n.verifier,a.valid&&(a.insitu=Ky(t.password)),n}function Wy(e,r,t){var a=t||{};return a.Info=e.read_shift(2),e.l-=2,a.Info===1?a.Data=By(e):a.Data=Ly(e,r),a}function Uy(e,r,t){var a={Type:t.biff>=8?e.read_shift(2):0};return a.Type?Wy(e,r-2,a):jy(e,t.biff>=8?r:r-2,t,a),a}var Fh=function(){function e(n,i){switch(i.type){case"base64":return r(jt(n),i);case"binary":return r(n,i);case"buffer":return r(Je&&Buffer.isBuffer(n)?n.toString("binary"):ln(n),i);case"array":return r(Cn(n),i)}throw new Error("Unrecognized type "+i.type)}function r(n,i){var o=i||{},s=o.dense?[]:{},l=n.match(/\\trowd.*?\\row\b/g);if(!l.length)throw new Error("RTF missing table");var c={s:{c:0,r:0},e:{c:0,r:l.length-1}};return l.forEach(function(f,u){Array.isArray(s)&&(s[u]=[]);for(var d=/\\\w+\b/g,v=0,x,h=-1;x=d.exec(f);){switch(x[0]){case"\\cell":var p=f.slice(v,d.lastIndex-x[0].length);if(p[0]==" "&&(p=p.slice(1)),++h,p.length){var m={v:p,t:"s"};Array.isArray(s)?s[u][h]=m:s[$e({r:u,c:h})]=m}break}v=d.lastIndex}h>c.e.c&&(c.e.c=h)}),s["!ref"]=rr(c),s}function t(n,i){return Nn(e(n,i),i)}function a(n){for(var i=["{\\rtf1\\ansi"],o=xr(n["!ref"]),s,l=Array.isArray(n),c=o.s.r;c<=o.e.r;++c){i.push("\\trowd\\trautofit1");for(var f=o.s.c;f<=o.e.c;++f)i.push("\\cellx"+(f+1));for(i.push("\\pard\\intbl"),f=o.s.c;f<=o.e.c;++f){var u=$e({r:c,c:f});s=l?(n[c]||[])[f]:n[u],!(!s||s.v==null&&(!s.f||s.F))&&(i.push(" "+(s.w||(tn(s),s.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:t,to_sheet:e,from_sheet:a}}();function Hy(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function qi(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}function Vy(e){var r=e[0]/255,t=e[1]/255,a=e[2]/255,n=Math.max(r,t,a),i=Math.min(r,t,a),o=n-i;if(o===0)return[0,0,r];var s=0,l=0,c=n+i;switch(l=o/(c>1?2-c:c),n){case r:s=((t-a)/o+6)%6;break;case t:s=(a-r)/o+2;break;case a:s=(r-t)/o+4;break}return[s/6,l,c/2]}function zy(e){var r=e[0],t=e[1],a=e[2],n=t*2*(a<.5?a:1-a),i=a-n/2,o=[i,i,i],s=6*r,l;if(t!==0)switch(s|0){case 0:case 6:l=n*s,o[0]+=n,o[1]+=l;break;case 1:l=n*(2-s),o[0]+=l,o[1]+=n;break;case 2:l=n*(s-2),o[1]+=n,o[2]+=l;break;case 3:l=n*(4-s),o[1]+=l,o[2]+=n;break;case 4:l=n*(s-4),o[2]+=n,o[0]+=l;break;case 5:l=n*(6-s),o[2]+=l,o[0]+=n;break}for(var c=0;c!=3;++c)o[c]=Math.round(o[c]*255);return o}function ds(e,r){if(r===0)return e;var t=Vy(Hy(e));return r<0?t[2]=t[2]*(1+r):t[2]=1-(1-t[2])*(1-r),qi(zy(t))}var Ah=6,$y=15,Gy=1,xt=Ah;function Ji(e){return Math.floor((e+Math.round(128/xt)/256)*xt)}function Zi(e){return Math.floor((e-5)/xt*100+.5)/100}function hs(e){return Math.round((e*xt+5)/xt*256)/256}function Js(e){return hs(Zi(Ji(e)))}function p0(e){var r=Math.abs(e-Js(e)),t=xt;if(r>.005)for(xt=Gy;xt<$y;++xt)Math.abs(e-Js(e))<=r&&(r=Math.abs(e-Js(e)),t=xt);xt=t}function an(e){e.width?(e.wpx=Ji(e.width),e.wch=Zi(e.wpx),e.MDW=xt):e.wpx?(e.wch=Zi(e.wpx),e.width=hs(e.wch),e.MDW=xt):typeof e.wch=="number"&&(e.width=hs(e.wch),e.wpx=Ji(e.width),e.MDW=xt),e.customWidth&&delete e.customWidth}var Xy=96,Oh=Xy;function Qi(e){return e*96/Oh}function fi(e){return e*Oh/96}var Yy={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function qy(e,r,t,a){r.Borders=[];var n={},i=!1;(e[0].match(wt)||[]).forEach(function(o){var s=He(o);switch(Ea(s[0])){case"":case"":break;case"":case"":n={},s.diagonalUp&&(n.diagonalUp=Ar(s.diagonalUp)),s.diagonalDown&&(n.diagonalDown=Ar(s.diagonalDown)),r.Borders.push(n);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+s[0]+" in borders")}})}function Jy(e,r,t,a){r.Fills=[];var n={},i=!1;(e[0].match(wt)||[]).forEach(function(o){var s=He(o);switch(Ea(s[0])){case"":case"":break;case"":case"":n={},r.Fills.push(n);break;case"":break;case"":break;case"":r.Fills.push(n),n={};break;case"":s.patternType&&(n.patternType=s.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+s[0]+" in fills")}})}function Zy(e,r,t,a){r.Fonts=[];var n={},i=!1;(e[0].match(wt)||[]).forEach(function(o){var s=He(o);switch(Ea(s[0])){case"":case"":break;case"":break;case"":case"":r.Fonts.push(n),n={};break;case"":case"":break;case"":n.bold=1;break;case"":n.italic=1;break;case"":n.underline=1;break;case"":n.strike=1;break;case"":n.outline=1;break;case"":n.shadow=1;break;case"":n.condense=1;break;case"":n.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+s[0]+" in fonts")}})}function Qy(e,r,t){r.NumberFmt=[];for(var a=Hr(Ue),n=0;n":case"":case"":break;case"0){if(l>392){for(l=392;l>60&&r.NumberFmt[l]!=null;--l);r.NumberFmt[l]=s}Pa(s,l)}}break;case"":break;default:if(t.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}function e_(e){var r=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)e[a]!=null&&(r[r.length]=Se("numFmt",null,{numFmtId:a,formatCode:mr(e[a])}))}),r.length===1?"":(r[r.length]="",r[0]=Se("numFmts",null,{count:r.length-2}).replace("/>",">"),r.join(""))}var No=["numFmtId","fillId","fontId","borderId","xfId"],Lo=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function r_(e,r,t){r.CellXf=[];var a,n=!1;(e[0].match(wt)||[]).forEach(function(i){var o=He(i),s=0;switch(Ea(o[0])){case"":case"":case"":break;case"":for(a=o,delete a[0],s=0;s392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"":break;case"":var l={};o.vertical&&(l.vertical=o.vertical),o.horizontal&&(l.horizontal=o.horizontal),o.textRotation!=null&&(l.textRotation=o.textRotation),o.indent&&(l.indent=o.indent),o.wrapText&&(l.wrapText=Ar(o.wrapText)),a.alignment=l;break;case"":break;case"":case"":break;case"":n=!1;break;case"":case"":break;case"":n=!1;break;default:if(t&&t.WTF&&!n)throw new Error("unrecognized "+o[0]+" in cellXfs")}})}function t_(e){var r=[];return r[r.length]=Se("cellXfs",null),e.forEach(function(t){r[r.length]=Se("xf",null,t)}),r[r.length]="",r.length===2?"":(r[0]=Se("cellXfs",null,{count:r.length-2}).replace("/>",">"),r.join(""))}var a_=function(){var r=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,a=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(s,l,c){var f={};if(!s)return f;s=s.replace(//mg,"").replace(//gm,"");var u;return(u=s.match(r))&&Qy(u,f,c),(u=s.match(n))&&Zy(u,f,l,c),(u=s.match(a))&&Jy(u,f,l,c),(u=s.match(i))&&qy(u,f,l,c),(u=s.match(t))&&r_(u,f,c),f}}();function Dh(e,r){var t=[Vr,Se("styleSheet",null,{xmlns:Pn[0],"xmlns:vt":Qr.vt})],a;return e.SSF&&(a=e_(e.SSF))!=null&&(t[t.length]=a),t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',(a=t_(r.cellXfs))&&(t[t.length]=a),t[t.length]='',t[t.length]='',t[t.length]='',t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function n_(e,r){var t=e.read_shift(2),a=pt(e);return[t,a]}function i_(e,r,t){t||(t=se(6+4*r.length)),t.write_shift(2,e),at(r,t);var a=t.length>t.l?t.slice(0,t.l):t;return t.l==null&&(t.l=t.length),a}function o_(e,r,t){var a={};a.sz=e.read_shift(2)/20;var n=Wm(e);n.fItalic&&(a.italic=1),n.fCondense&&(a.condense=1),n.fExtend&&(a.extend=1),n.fShadow&&(a.shadow=1),n.fOutline&&(a.outline=1),n.fStrikeout&&(a.strike=1);var i=e.read_shift(2);switch(i===700&&(a.bold=1),e.read_shift(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break}var o=e.read_shift(1);o!=0&&(a.underline=o);var s=e.read_shift(1);s>0&&(a.family=s);var l=e.read_shift(1);switch(l>0&&(a.charset=l),e.l++,a.color=jm(e),e.read_shift(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break}return a.name=pt(e),a}function s_(e,r){r||(r=se(25+4*32)),r.write_shift(2,e.sz*20),Um(e,r),r.write_shift(2,e.bold?700:400);var t=0;e.vertAlign=="superscript"?t=1:e.vertAlign=="subscript"&&(t=2),r.write_shift(2,t),r.write_shift(1,e.underline||0),r.write_shift(1,e.family||0),r.write_shift(1,e.charset||0),r.write_shift(1,0),cs(e.color,r);var a=0;return e.scheme=="major"&&(a=1),e.scheme=="minor"&&(a=2),r.write_shift(1,a),at(e.name,r),r.length>r.l?r.slice(0,r.l):r}var l_=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Zs,c_=mt;function Hf(e,r){r||(r=se(4*3+8*7+16*1)),Zs||(Zs=_s(l_));var t=Zs[e.patternType];t==null&&(t=40),r.write_shift(4,t);var a=0;if(t!=40)for(cs({auto:1},r),cs({auto:1},r);a<12;++a)r.write_shift(4,0);else{for(;a<4;++a)r.write_shift(4,0);for(;a<12;++a)r.write_shift(4,0)}return r.length>r.l?r.slice(0,r.l):r}function f_(e,r){var t=e.l+r,a=e.read_shift(2),n=e.read_shift(2);return e.l=t,{ixfe:a,numFmtId:n}}function Rh(e,r,t){t||(t=se(16)),t.write_shift(2,r||0),t.write_shift(2,e.numFmtId||0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);var a=0;return t.write_shift(1,a),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(1,0),t}function pi(e,r){return r||(r=se(10)),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(4,0),r}var u_=mt;function d_(e,r){return r||(r=se(51)),r.write_shift(1,0),pi(null,r),pi(null,r),pi(null,r),pi(null,r),pi(null,r),r.length>r.l?r.slice(0,r.l):r}function h_(e,r){return r||(r=se(12+4*10)),r.write_shift(4,e.xfId),r.write_shift(2,1),r.write_shift(1,+e.builtinId),r.write_shift(1,0),ls(e.name||"",r),r.length>r.l?r.slice(0,r.l):r}function v_(e,r,t){var a=se(2052);return a.write_shift(4,e),ls(r,a),ls(t,a),a.length>a.l?a.slice(0,a.l):a}function x_(e,r,t){var a={};a.NumberFmt=[];for(var n in Ue)a.NumberFmt[n]=Ue[n];a.CellXf=[],a.Fonts=[];var i=[],o=!1;return Ha(e,function(l,c,f){switch(f){case 44:a.NumberFmt[l[0]]=l[1],Pa(l[1],l[0]);break;case 43:a.Fonts.push(l),l.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme&&(l.color.rgb=ds(r.themeElements.clrScheme[l.color.theme].rgb,l.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:i[i.length-1]==617&&a.CellXf.push(l);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:i.push(f),o=!0;break;case 38:i.pop(),o=!1;break;default:if(c.T>0)i.push(f);else if(c.T<0)i.pop();else if(!o||t.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+f.toString(16))}}),a}function g_(e,r){if(!!r){var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)r[n]!=null&&++t}),t!=0&&(he(e,615,ua(t)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)r[n]!=null&&he(e,44,i_(n,r[n]))}),he(e,616))}}function p_(e){var r=1;he(e,611,ua(r)),he(e,43,s_({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),he(e,612)}function m_(e){var r=2;he(e,603,ua(r)),he(e,45,Hf({patternType:"none"})),he(e,45,Hf({patternType:"gray125"})),he(e,604)}function w_(e){var r=1;he(e,613,ua(r)),he(e,46,d_()),he(e,614)}function y_(e){var r=1;he(e,626,ua(r)),he(e,47,Rh({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),he(e,627)}function __(e,r){he(e,617,ua(r.length)),r.forEach(function(t){he(e,47,Rh(t,0))}),he(e,618)}function b_(e){var r=1;he(e,619,ua(r)),he(e,48,h_({xfId:0,builtinId:0,name:"Normal"})),he(e,620)}function S_(e){var r=0;he(e,505,ua(r)),he(e,506)}function E_(e){var r=0;he(e,508,v_(r,"TableStyleMedium9","PivotStyleMedium4")),he(e,509)}function C_(e,r){var t=Ot();return he(t,278),g_(t,e.SSF),p_(t),m_(t),w_(t),y_(t),__(t,r.cellXfs),b_(t),S_(t),E_(t),he(t,279),t.end()}var T_=["","","","","","","","","","","",""];function k_(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(wt)||[]).forEach(function(n){var i=He(n);switch(i[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":i[0].charAt(1)==="/"?(r.themeElements.clrScheme[T_.indexOf(i[0])]=a,a={}):a.name=i[0].slice(3,i[0].length-1);break;default:if(t&&t.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}})}function F_(){}function A_(){}var O_=/]*)>[\s\S]*<\/a:clrScheme>/,D_=/]*)>[\s\S]*<\/a:fontScheme>/,R_=/]*)>[\s\S]*<\/a:fmtScheme>/;function I_(e,r,t){r.themeElements={};var a;[["clrScheme",O_,k_],["fontScheme",D_,F_],["fmtScheme",R_,A_]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var P_=/]*)>[\s\S]*<\/a:themeElements>/;function Ih(e,r){(!e||e.length===0)&&(e=m0());var t,a={};if(!(t=e.match(P_)))throw new Error("themeElements not found in theme");return I_(t[0],a,r),a.raw=e,a}function m0(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Vr];return t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t.join("")}function N_(e,r,t){var a=e.l+r,n=e.read_shift(4);if(n!==124226){if(!t.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var o;try{o=Cd(i,{type:"array"})}catch{return}var s=Mt(o,"theme/theme/theme1.xml",!0);if(!!s)return Ih(s,t)}}function L_(e){return e.read_shift(4)}function B_(e){var r={};switch(r.xclrType=e.read_shift(2),r.nTintShade=e.read_shift(2),r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=M_(e,4);break;case 2:r.xclrValue=dh(e);break;case 3:r.xclrValue=L_(e);break;case 4:e.l+=4;break}return e.l+=8,r}function M_(e,r){return mt(e,r)}function K_(e,r){return mt(e,r)}function j_(e){var r=e.read_shift(2),t=e.read_shift(2)-4,a=[r];switch(r){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:a[1]=B_(e);break;case 6:a[1]=K_(e,t);break;case 14:case 15:a[1]=e.read_shift(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t)}return a}function W_(e,r){var t=e.l+r;e.l+=2;var a=e.read_shift(2);e.l+=2;for(var n=e.read_shift(2),i=[];n-- >0;)i.push(j_(e,t-e.l));return{ixfe:a,ext:i}}function U_(e,r){r.forEach(function(t){switch(t[0]){}})}function H_(e,r){return{flags:e.read_shift(4),version:e.read_shift(4),name:pt(e)}}function V_(e){var r=se(12+2*e.name.length);return r.write_shift(4,e.flags),r.write_shift(4,e.version),at(e.name,r),r.slice(0,r.l)}function z_(e){for(var r=[],t=e.read_shift(4);t-- >0;)r.push([e.read_shift(4),e.read_shift(4)]);return r}function $_(e){var r=se(4+8*e.length);r.write_shift(4,e.length);for(var t=0;t":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":case"":case"":break;case"":n=!1;break;case" `),e.join("")}function Q_(e){var r=[];if(!e)return r;var t=1;return(e.match(wt)||[]).forEach(function(a){var n=He(a);switch(n[0]){case"":case"":break;case"]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var Qn=1024;function Nh(e,r){for(var t=[21600,21600],a=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(","),n=[Se("xml",null,{"xmlns:v":Pt.v,"xmlns:o":Pt.o,"xmlns:x":Pt.x,"xmlns:mv":Pt.mv}).replace(/\/>/,">"),Se("o:shapelayout",Se("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Se("v:shapetype",[Se("v:stroke",null,{joinstyle:"miter"}),Se("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:a})];Qn",c,Se("v:shadow",null,f),Se("v:path",null,{"o:connecttype":"none"}),'
','',"","",lt("x:Anchor",[o.c+1,0,o.r+1,0,o.c+3,20,o.r+5,20].join(",")),lt("x:AutoFill","False"),lt("x:Row",String(o.r)),lt("x:Column",String(o.c)),i[1].hidden?"":"","",""])}),n.push(""),n.join("")}function Vf(e,r,t,a){var n=Array.isArray(e),i;r.forEach(function(o){var s=et(o.ref);if(n?(e[s.r]||(e[s.r]=[]),i=e[s.r][s.c]):i=e[o.ref],!i){i={t:"z"},n?e[s.r][s.c]=i:e[o.ref]=i;var l=xr(e["!ref"]||"BDWGO1000001:A1");l.s.r>s.r&&(l.s.r=s.r),l.e.rs.c&&(l.s.c=s.c),l.e.c=0;--u){if(!t&&i.c[u].T)return;t&&!i.c[u].T&&i.c.splice(u,1)}if(t&&a){for(u=0;u/))return[];var t=[],a=[],n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);n&&n[1]&&n[1].split(/<\/\w*:?author>/).forEach(function(o){if(!(o===""||o.trim()==="")){var s=o.match(/<(?:\w+:)?author[^>]*>(.*)/);s&&t.push(s[1])}});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return i&&i[1]&&i[1].split(/<\/\w*:?comment>/).forEach(function(o){if(!(o===""||o.trim()==="")){var s=o.match(/<(?:\w+:)?comment[^>]*>/);if(!!s){var l=He(s[0]),c={author:l.authorId&&t[l.authorId]||"sheetjsghost",ref:l.ref,guid:l.guid},f=et(l.ref);if(!(r.sheetRows&&r.sheetRows<=f.r)){var u=o.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),d=!!u&&!!u[1]&&x0(u[1])||{r:"",t:"",h:""};c.r=d.r,d.r==""&&(d.t=d.h=""),c.t=(d.t||"").replace(/\r\n/g,` `).replace(/\r/g,` `),r.cellHTML&&(c.h=d.h),a.push(c)}}}}),a}function Lh(e){var r=[Vr,Se("comments",null,{xmlns:Pn[0]})],t=[];return r.push(""),e.forEach(function(a){a[1].forEach(function(n){var i=mr(n.a);t.indexOf(i)==-1&&(t.push(i),r.push(""+i+"")),n.T&&n.ID&&t.indexOf("tc="+n.ID)==-1&&(t.push("tc="+n.ID),r.push("tc="+n.ID+""))})}),t.length==0&&(t.push("SheetJ5"),r.push("SheetJ5")),r.push(""),r.push(""),e.forEach(function(a){var n=0,i=[];if(a[1][0]&&a[1][0].T&&a[1][0].ID?n=t.indexOf("tc="+a[1][0].ID):a[1].forEach(function(l){l.a&&(n=t.indexOf(mr(l.a))),i.push(l.t||"")}),r.push(''),i.length<=1)r.push(lt("t",mr(i[0]||"")));else{for(var o=`Comment: `+i[0]+` `,s=1;s")}),r.push(""),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function ib(e,r){var t=[],a=!1,n={},i=0;return e.replace(wt,function(s,l){var c=He(s);switch(Ea(c[0])){case"":break;case"":n.t!=null&&t.push(n);break;case"":case"":n.t=e.slice(i,l).replace(/\r\n/g,` `).replace(/\r/g,` `);break;case"":a=!0;break;case"":a=!1;break;case"":case"
":case"":break;case"":a=!1;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return s}),t}function ob(e,r,t){var a=[Vr,Se("ThreadedComments",null,{xmlns:Qr.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(n){var i="";(n[1]||[]).forEach(function(o,s){if(!o.T){delete o.ID;return}o.a&&r.indexOf(o.a)==-1&&r.push(o.a);var l={ref:n[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};s==0?i=l.id:l.parentId=i,o.ID=l.id,o.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(o.a)).slice(-12)+"}"),a.push(Se("threadedComment",lt("text",o.t||""),l))})}),a.push(""),a.join("")}function sb(e,r){var t=[],a=!1;return e.replace(wt,function(i){var o=He(i);switch(Ea(o[0])){case"":break;case"":break;case"":case"":case"":break;case"":a=!1;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments")}return i}),t}function lb(e){var r=[Vr,Se("personList",null,{xmlns:Qr.TCMNT,"xmlns:x":Pn[0]}).replace(/[\/]>/,">")];return e.forEach(function(t,a){r.push(Se("person",null,{displayName:t,id:"{54EE7950-7262-4200-6969-"+("000000000000"+a).slice(-12)+"}",userId:t,providerId:"None"}))}),r.push(""),r.join("")}function cb(e){var r={};r.iauthor=e.read_shift(4);var t=Kn(e);return r.rfx=t.s,r.ref=$e(t.s),e.l+=16,r}function fb(e,r){return r==null&&(r=se(36)),r.write_shift(4,e[1].iauthor),vi(e[0],r),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r}var ub=pt;function db(e){return at(e.slice(0,54))}function hb(e,r){var t=[],a=[],n={},i=!1;return Ha(e,function(s,l,c){switch(c){case 632:a.push(s);break;case 635:n=s;break;case 637:n.t=s.t,n.h=s.h,n.r=s.r;break;case 636:if(n.author=a[n.iauthor],delete n.iauthor,r.sheetRows&&n.rfx&&r.sheetRows<=n.rfx.r)break;n.t||(n.t=""),delete n.rfx,t.push(n);break;case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:break;case 38:break;default:if(!l.T){if(!i||r.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}}),t}function vb(e){var r=Ot(),t=[];return he(r,628),he(r,630),e.forEach(function(a){a[1].forEach(function(n){t.indexOf(n.a)>-1||(t.push(n.a.slice(0,54)),he(r,632,db(n.a)))})}),he(r,631),he(r,633),e.forEach(function(a){a[1].forEach(function(n){n.iauthor=t.indexOf(n.a);var i={s:et(a[0]),e:et(a[0])};he(r,635,fb([i,n])),n.t&&n.t.length>0&&he(r,637,Lm(n)),he(r,636),delete n.iauthor})}),he(r,634),he(r,629),r.end()}var xb="application/vnd.ms-office.vbaProject";function gb(e){var r=Me.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(t,a){if(!(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))){var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Me.utils.cfb_add(r,n,e.FileIndex[a].content)}}),Me.write(r)}function pb(e,r){r.FullPaths.forEach(function(t,a){if(a!=0){var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");n.slice(-1)!=="/"&&Me.utils.cfb_add(e,n,r.FileIndex[a].content)}})}var Bh=["xlsb","xlsm","xlam","biff8","xla"];function mb(){return{"!type":"dialog"}}function wb(){return{"!type":"dialog"}}function yb(){return{"!type":"macro"}}function _b(){return{"!type":"macro"}}var ii=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,r={r:0,c:0};function t(a,n,i,o){var s=!1,l=!1;i.length==0?l=!0:i.charAt(0)=="["&&(l=!0,i=i.slice(1,-1)),o.length==0?s=!0:o.charAt(0)=="["&&(s=!0,o=o.slice(1,-1));var c=i.length>0?parseInt(i,10)|0:0,f=o.length>0?parseInt(o,10)|0:0;return s?f+=r.c:--f,l?c+=r.r:--c,n+(s?"":"$")+Jr(f)+(l?"":"$")+nt(c)}return function(n,i){return r=i,n.replace(e,t)}}(),w0=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,y0=function(){return function(r,t){return r.replace(w0,function(a,n,i,o,s,l){var c=Hd(o)-(i?0:t.c),f=Ud(l)-(s?0:t.r),u=f==0?"":s?f+1:"["+f+"]",d=c==0?"":i?c+1:"["+c+"]";return n+"R"+u+"C"+d})}}();function Mh(e,r){return e.replace(w0,function(t,a,n,i,o,s){return a+(n=="$"?n+i:Jr(Hd(i)+r.c))+(o=="$"?o+s:nt(Ud(s)+r.r))})}function bb(e,r,t){var a=ra(r),n=a.s,i=et(t),o={r:i.r-n.r,c:i.c-n.c};return Mh(e,o)}function Sb(e){return e.length!=1}function zf(e){return e.replace(/_xlfn\./g,"")}function $r(e){e.l+=1}function nn(e,r){var t=e.read_shift(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function Kh(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return jh(e);t.biff==12&&(a=4)}var n=e.read_shift(a),i=e.read_shift(a),o=nn(e,2),s=nn(e,2);return{s:{r:n,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}function jh(e){var r=nn(e,2),t=nn(e,2),a=e.read_shift(1),n=e.read_shift(1);return{s:{r:r[0],c:a,cRel:r[1],rRel:r[2]},e:{r:t[0],c:n,cRel:t[1],rRel:t[2]}}}function Eb(e,r,t){if(t.biff<8)return jh(e);var a=e.read_shift(t.biff==12?4:2),n=e.read_shift(t.biff==12?4:2),i=nn(e,2),o=nn(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:o[0],cRel:o[1],rRel:o[2]}}}function Wh(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Cb(e);var a=e.read_shift(t&&t.biff==12?4:2),n=nn(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Cb(e){var r=nn(e,2),t=e.read_shift(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function Tb(e){var r=e.read_shift(2),t=e.read_shift(2);return{r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function kb(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return Fb(e);var n=e.read_shift(a>=12?4:2),i=e.read_shift(2),o=(i&16384)>>14,s=(i&32768)>>15;if(i&=16383,s==1)for(;n>524287;)n-=1048576;if(o==1)for(;i>8191;)i=i-16384;return{r:n,c:i,cRel:o,rRel:s}}function Fb(e){var r=e.read_shift(2),t=e.read_shift(1),a=(r&32768)>>15,n=(r&16384)>>14;return r&=16383,a==1&&r>=8192&&(r=r-16384),n==1&&t>=128&&(t=t-256),{r,c:t,cRel:n,rRel:a}}function Ab(e,r,t){var a=(e[e.l++]&96)>>5,n=Kh(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function Ob(e,r,t){var a=(e[e.l++]&96)>>5,n=e.read_shift(2,"i"),i=8;if(t)switch(t.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var o=Kh(e,i,t);return[a,n,o]}function Db(e,r,t){var a=(e[e.l++]&96)>>5;return e.l+=t&&t.biff>8?12:t.biff<8?6:8,[a]}function Rb(e,r,t){var a=(e[e.l++]&96)>>5,n=e.read_shift(2),i=8;if(t)switch(t.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[a,n]}function Ib(e,r,t){var a=(e[e.l++]&96)>>5,n=Eb(e,r-1,t);return[a,n]}function Pb(e,r,t){var a=(e[e.l++]&96)>>5;return e.l+=t.biff==2?6:t.biff==12?14:7,[a]}function $f(e){var r=e[e.l+1]&1,t=1;return e.l+=4,[r,t]}function Nb(e,r,t){e.l+=2;for(var a=e.read_shift(t&&t.biff==2?1:2),n=[],i=0;i<=a;++i)n.push(e.read_shift(t&&t.biff==2?1:2));return n}function Lb(e,r,t){var a=e[e.l+1]&255?1:0;return e.l+=2,[a,e.read_shift(t&&t.biff==2?1:2)]}function Bb(e,r,t){var a=e[e.l+1]&255?1:0;return e.l+=2,[a,e.read_shift(t&&t.biff==2?1:2)]}function Mb(e){var r=e[e.l+1]&255?1:0;return e.l+=2,[r,e.read_shift(2)]}function Kb(e,r,t){var a=e[e.l+1]&255?1:0;return e.l+=t&&t.biff==2?3:4,[a]}function Uh(e){var r=e.read_shift(1),t=e.read_shift(1);return[r,t]}function jb(e){return e.read_shift(2),Uh(e)}function Wb(e){return e.read_shift(2),Uh(e)}function Ub(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=Wh(e,0,t);return[a,n]}function Hb(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=kb(e,0,t);return[a,n]}function Vb(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e.read_shift(2);t&&t.biff==5&&(e.l+=12);var i=Wh(e,0,t);return[a,n,i]}function zb(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e.read_shift(t&&t.biff<=3?1:2);return[XS[n],zh[n],a]}function $b(e,r,t){var a=e[e.l++],n=e.read_shift(1),i=t&&t.biff<=3?[a==88?-1:0,e.read_shift(1)]:Gb(e);return[n,(i[0]===0?zh:GS)[i[1]]]}function Gb(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function Xb(e,r,t){e.l+=t&&t.biff==2?3:4}function Yb(e,r,t){if(e.l++,t&&t.biff==12)return[e.read_shift(4,"i"),0];var a=e.read_shift(2),n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function qb(e){return e.l++,Va[e.read_shift(1)]}function Jb(e){return e.l++,e.read_shift(2)}function Zb(e){return e.l++,e.read_shift(1)!==0}function Qb(e){return e.l++,gt(e)}function eS(e,r,t){return e.l++,lo(e,r-1,t)}function rS(e,r){var t=[e.read_shift(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break}switch(t[0]){case 4:t[1]=Ur(e,1)?"TRUE":"FALSE",r!=12&&(e.l+=7);break;case 37:case 16:t[1]=Va[e[e.l]],e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=gt(e);break;case 2:t[1]=jn(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0])}return t}function tS(e,r,t){for(var a=e.read_shift(t.biff==12?4:2),n=[],i=0;i!=a;++i)n.push((t.biff==12?Kn:Es)(e));return n}function aS(e,r,t){var a=0,n=0;t.biff==12?(a=e.read_shift(4),n=e.read_shift(4)):(n=1+e.read_shift(1),a=1+e.read_shift(2)),t.biff>=2&&t.biff<8&&(--a,--n==0&&(n=256));for(var i=0,o=[];i!=a&&(o[i]=[]);++i)for(var s=0;s!=n;++s)o[i][s]=rS(e,t.biff);return o}function nS(e,r,t){var a=e.read_shift(1)>>>5&3,n=!t||t.biff>=8?4:2,i=e.read_shift(n);switch(t.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[a,0,i]}function iS(e,r,t){if(t.biff==5)return oS(e);var a=e.read_shift(1)>>>5&3,n=e.read_shift(2),i=e.read_shift(4);return[a,n,i]}function oS(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2,"i");e.l+=8;var a=e.read_shift(2);return e.l+=12,[r,t,a]}function sS(e,r,t){var a=e.read_shift(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function lS(e,r,t){var a=e.read_shift(1)>>>5&3,n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function cS(e,r,t){var a=e.read_shift(1)>>>5&3;return e.l+=4,t.biff<8&&e.l--,t.biff==12&&(e.l+=2),[a]}function fS(e,r,t){var a=(e[e.l++]&96)>>5,n=e.read_shift(2),i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[a,n]}var uS=mt,dS=mt,hS=mt;function fo(e,r,t){return e.l+=2,[Tb(e)]}function _0(e){return e.l+=6,[]}var vS=fo,xS=_0,gS=_0,pS=fo;function Hh(e){return e.l+=2,[Yr(e),e.read_shift(2)&1]}var mS=fo,wS=Hh,yS=_0,_S=fo,bS=fo,SS=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function ES(e){e.l+=2;var r=e.read_shift(2),t=e.read_shift(2),a=e.read_shift(4),n=e.read_shift(2),i=e.read_shift(2),o=SS[t>>2&31];return{ixti:r,coltype:t&3,rt:o,idx:a,c:n,C:i}}function CS(e){return e.l+=2,[e.read_shift(4)]}function TS(e,r,t){return e.l+=5,e.l+=2,e.l+=t.biff==2?1:4,["PTGSHEET"]}function kS(e,r,t){return e.l+=t.biff==2?4:5,["PTGENDSHEET"]}function FS(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function AS(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function OS(e){return e.l+=4,[0,0]}var Gf={1:{n:"PtgExp",f:Yb},2:{n:"PtgTbl",f:hS},3:{n:"PtgAdd",f:$r},4:{n:"PtgSub",f:$r},5:{n:"PtgMul",f:$r},6:{n:"PtgDiv",f:$r},7:{n:"PtgPower",f:$r},8:{n:"PtgConcat",f:$r},9:{n:"PtgLt",f:$r},10:{n:"PtgLe",f:$r},11:{n:"PtgEq",f:$r},12:{n:"PtgGe",f:$r},13:{n:"PtgGt",f:$r},14:{n:"PtgNe",f:$r},15:{n:"PtgIsect",f:$r},16:{n:"PtgUnion",f:$r},17:{n:"PtgRange",f:$r},18:{n:"PtgUplus",f:$r},19:{n:"PtgUminus",f:$r},20:{n:"PtgPercent",f:$r},21:{n:"PtgParen",f:$r},22:{n:"PtgMissArg",f:$r},23:{n:"PtgStr",f:eS},26:{n:"PtgSheet",f:TS},27:{n:"PtgEndSheet",f:kS},28:{n:"PtgErr",f:qb},29:{n:"PtgBool",f:Zb},30:{n:"PtgInt",f:Jb},31:{n:"PtgNum",f:Qb},32:{n:"PtgArray",f:Pb},33:{n:"PtgFunc",f:zb},34:{n:"PtgFuncVar",f:$b},35:{n:"PtgName",f:nS},36:{n:"PtgRef",f:Ub},37:{n:"PtgArea",f:Ab},38:{n:"PtgMemArea",f:sS},39:{n:"PtgMemErr",f:uS},40:{n:"PtgMemNoMem",f:dS},41:{n:"PtgMemFunc",f:lS},42:{n:"PtgRefErr",f:cS},43:{n:"PtgAreaErr",f:Db},44:{n:"PtgRefN",f:Hb},45:{n:"PtgAreaN",f:Ib},46:{n:"PtgMemAreaN",f:FS},47:{n:"PtgMemNoMemN",f:AS},57:{n:"PtgNameX",f:iS},58:{n:"PtgRef3d",f:Vb},59:{n:"PtgArea3d",f:Ob},60:{n:"PtgRefErr3d",f:fS},61:{n:"PtgAreaErr3d",f:Rb},255:{}},DS={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},RS={1:{n:"PtgElfLel",f:Hh},2:{n:"PtgElfRw",f:_S},3:{n:"PtgElfCol",f:vS},6:{n:"PtgElfRwV",f:bS},7:{n:"PtgElfColV",f:pS},10:{n:"PtgElfRadical",f:mS},11:{n:"PtgElfRadicalS",f:yS},13:{n:"PtgElfColS",f:xS},15:{n:"PtgElfColSV",f:gS},16:{n:"PtgElfRadicalLel",f:wS},25:{n:"PtgList",f:ES},29:{n:"PtgSxName",f:CS},255:{}},IS={0:{n:"PtgAttrNoop",f:OS},1:{n:"PtgAttrSemi",f:Kb},2:{n:"PtgAttrIf",f:Bb},4:{n:"PtgAttrChoose",f:Nb},8:{n:"PtgAttrGoto",f:Lb},16:{n:"PtgAttrSum",f:Xb},32:{n:"PtgAttrBaxcel",f:$f},33:{n:"PtgAttrBaxcel",f:$f},64:{n:"PtgAttrSpace",f:jb},65:{n:"PtgAttrSpaceSemi",f:Wb},128:{n:"PtgAttrIfError",f:Mb},255:{}};function uo(e,r,t,a){if(a.biff<8)return mt(e,r);for(var n=e.l+r,i=[],o=0;o!==t.length;++o)switch(t[o][0]){case"PtgArray":t[o][1]=aS(e,0,a),i.push(t[o][1]);break;case"PtgMemArea":t[o][2]=tS(e,t[o][1],a),i.push(t[o][2]);break;case"PtgExp":a&&a.biff==12&&(t[o][1][1]=e.read_shift(4),i.push(t[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+t[o][0]}return r=n-e.l,r!==0&&i.push(mt(e,r)),i}function ho(e,r,t){for(var a=e.l+r,n,i,o=[];a!=e.l;)r=a-e.l,i=e[e.l],n=Gf[i]||Gf[DS[i]],(i===24||i===25)&&(n=(i===24?RS:IS)[e[e.l+1]]),!n||!n.f?mt(e,r):o.push([n.n,n.f(e,r,t)]);return o}function PS(e){for(var r=[],t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function LS(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function Vh(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff<8)return r>1e4&&(r-=65536),r<0&&(r=-r),r==0?"":e.XTI[r-1];if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:return n=a[1]==-1?"#REF":e.SheetNames[a[1]],a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:return t.SID!=null?e.SheetNames[t.SID]:"SH33TJSSAME"+e[a[0]][0];case 355:default:return"SH33TJSSRC"+e[a[0]][0]}switch(e[a[0]][0][0]){case 1025:return n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3",a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[a[0]][0][3]?(n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4",a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]]):"SH33TJSERR2"}}function Xf(e,r,t){var a=Vh(e,r,t);return a=="#REF"?a:LS(a,t)}function vt(e,r,t,a,n){var i=n&&n.biff||8,o={s:{c:0,r:0},e:{c:0,r:0}},s=[],l,c,f,u=0,d=0,v,x="";if(!e[0]||!e[0][0])return"";for(var h=-1,p="",m=0,S=e[0].length;m=0){switch(e[0][h][1][0]){case 0:p=Mr(" ",e[0][h][1][1]);break;case 1:p=Mr("\r",e[0][h][1][1]);break;default:if(p="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][h][1][0])}c=c+p,h=-1}s.push(c+NS[g[0]]+l);break;case"PtgIsect":l=s.pop(),c=s.pop(),s.push(c+" "+l);break;case"PtgUnion":l=s.pop(),c=s.pop(),s.push(c+","+l);break;case"PtgRange":l=s.pop(),c=s.pop(),s.push(c+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":f=Ii(g[1][1],o,n),s.push(Pi(f,i));break;case"PtgRefN":f=t?Ii(g[1][1],t,n):g[1][1],s.push(Pi(f,i));break;case"PtgRef3d":u=g[1][1],f=Ii(g[1][2],o,n),x=Xf(a,u,n),s.push(x+"!"+Pi(f,i));break;case"PtgFunc":case"PtgFuncVar":var w=g[1][0],C=g[1][1];w||(w=0),w&=127;var F=w==0?[]:s.slice(-w);s.length-=w,C==="User"&&(C=F.shift()),s.push(C+"("+F.join(",")+")");break;case"PtgBool":s.push(g[1]?"TRUE":"FALSE");break;case"PtgInt":s.push(g[1]);break;case"PtgNum":s.push(String(g[1]));break;case"PtgStr":s.push('"'+g[1].replace(/"/g,'""')+'"');break;case"PtgErr":s.push(g[1]);break;case"PtgAreaN":v=Sf(g[1][1],t?{s:t}:o,n),s.push(Xs(v,n));break;case"PtgArea":v=Sf(g[1][1],o,n),s.push(Xs(v,n));break;case"PtgArea3d":u=g[1][1],v=g[1][2],x=Xf(a,u,n),s.push(x+"!"+Xs(v,n));break;case"PtgAttrSum":s.push("SUM("+s.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=g[1][2];var _=(a.names||[])[d-1]||(a[0]||[])[d],R=_?_.Name:"SH33TJSNAME"+String(d);R&&R.slice(0,6)=="_xlfn."&&!n.xlfn&&(R=R.slice(6)),s.push(R);break;case"PtgNameX":var y=g[1][1];d=g[1][2];var W;if(n.biff<=5)y<0&&(y=-y),a[y]&&(W=a[y][d]);else{var D="";if(((a[y]||[])[0]||[])[0]==14849||(((a[y]||[])[0]||[])[0]==1025?a[y][d]&&a[y][d].itab>0&&(D=a.SheetNames[a[y][d].itab-1]+"!"):D=a.SheetNames[d-1]+"!"),a[y]&&a[y][d])D+=a[y][d].Name;else if(a[0]&&a[0][d])D+=a[0][d].Name;else{var E=(Vh(a,y,n)||"").split(";;");E[d-1]?D=E[d-1]:D+="SH33TJSERRX"}s.push(D);break}W||(W={Name:"SH33TJSERRY"}),s.push(W.Name);break;case"PtgParen":var T="(",A=")";if(h>=0){switch(p="",e[0][h][1][0]){case 2:T=Mr(" ",e[0][h][1][1])+T;break;case 3:T=Mr("\r",e[0][h][1][1])+T;break;case 4:A=Mr(" ",e[0][h][1][1])+A;break;case 5:A=Mr("\r",e[0][h][1][1])+A;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][h][1][0])}h=-1}s.push(T+s.pop()+A);break;case"PtgRefErr":s.push("#REF!");break;case"PtgRefErr3d":s.push("#REF!");break;case"PtgExp":f={c:g[1][1],r:g[1][0]};var b={c:t.c,r:t.r};if(a.sharedf[$e(f)]){var O=a.sharedf[$e(f)];s.push(vt(O,o,b,a,n))}else{var N=!1;for(l=0;l!=a.arrayf.length;++l)if(c=a.arrayf[l],!(f.cc[0].e.c)&&!(f.rc[0].e.r)){s.push(vt(c[1],o,b,a,n)),N=!0;break}N||s.push(g[1])}break;case"PtgArray":s.push("{"+PS(g[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":h=m;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":s.push("");break;case"PtgAreaErr":s.push("#REF!");break;case"PtgAreaErr3d":s.push("#REF!");break;case"PtgList":s.push("Table"+g[1].idx+"[#"+g[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(g));default:throw new Error("Unrecognized Formula Token: "+String(g))}var G=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3&&h>=0&&G.indexOf(e[0][m][0])==-1){g=e[0][h];var L=!0;switch(g[1][0]){case 4:L=!1;case 0:p=Mr(" ",g[1][1]);break;case 5:L=!1;case 1:p=Mr("\r",g[1][1]);break;default:if(p="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+g[1][0])}s.push((L?p:"")+s.pop()+(L?"":p)),h=-1}}if(s.length>1&&n.WTF)throw new Error("bad formula stack");return s[0]}function BS(e,r,t){var a=e.l+r,n=t.biff==2?1:2,i,o=e.read_shift(n);if(o==65535)return[[],mt(e,r-2)];var s=ho(e,o,t);return r!==o+n&&(i=uo(e,r-o-n,s,t)),e.l=a,[s,i]}function MS(e,r,t){var a=e.l+r,n=t.biff==2?1:2,i,o=e.read_shift(n);if(o==65535)return[[],mt(e,r-2)];var s=ho(e,o,t);return r!==o+n&&(i=uo(e,r-o-n,s,t)),e.l=a,[s,i]}function KS(e,r,t,a){var n=e.l+r,i=ho(e,a,t),o;return n!==e.l&&(o=uo(e,n-e.l,i,t)),[i,o]}function jS(e,r,t){var a=e.l+r,n,i=e.read_shift(2),o=ho(e,i,t);return i==65535?[[],mt(e,r-2)]:(r!==i+2&&(n=uo(e,a-i-2,o,t)),[o,n])}function WS(e){var r;if(Da(e,e.l+6)!==65535)return[gt(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return r=e[e.l+2]===1,e.l+=8,[r,"b"];case 2:return r=e[e.l+2],e.l+=8,[r,"e"];case 3:return e.l+=8,["","s"]}return[]}function US(e){if(e==null){var r=se(8);return r.write_shift(1,3),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,65535),r}else if(typeof e=="number")return Tn(e);return Tn(0)}function Qs(e,r,t){var a=e.l+r,n=Ca(e);t.biff==2&&++e.l;var i=WS(e),o=e.read_shift(1);t.biff!=2&&(e.read_shift(1),t.biff>=5&&e.read_shift(4));var s=MS(e,a-e.l,t);return{cell:n,val:i[0],formula:s,shared:o>>3&1,tt:i[1]}}function HS(e,r,t,a,n){var i=Fn(r,t,n),o=US(e.v),s=se(6),l=33;s.write_shift(2,l),s.write_shift(4,0);for(var c=se(e.bf.length),f=0;f0?uo(e,i,n,t):null;return[n,o]}var VS=Cs,Ts=Cs,zS=Cs,$S=Cs,GS={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},zh={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},XS={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Yf(e){return e.slice(0,3)=="of:"&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1),e.charCodeAt(0)==61&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(r,t){return t.replace(/\./g,"")}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function YS(e){var r="of:="+e.replace(w0,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function el(e){var r=e.split(":"),t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function qS(e){return e.replace(/\./,"!")}var Li={},oi={},Bi=typeof Map<"u";function b0(e,r,t){var a=0,n=e.length;if(t){if(Bi?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){for(var i=Bi?t.get(r):t[r];a-1?(t.width=hs(a),t.customWidth=1):r.width!=null&&(t.width=r.width),r.hidden&&(t.hidden=!0),r.level!=null&&(t.outlineLevel=t.level=r.level),t}function bn(e,r){if(!!e){var t=[.7,.7,.75,.75,.3,.3];r=="xlml"&&(t=[1,1,1,1,.5,.5]),e.left==null&&(e.left=t[0]),e.right==null&&(e.right=t[1]),e.top==null&&(e.top=t[2]),e.bottom==null&&(e.bottom=t[3]),e.header==null&&(e.header=t[4]),e.footer==null&&(e.footer=t[5])}}function cn(e,r,t){var a=t.revssf[r.z!=null?r.z:"General"],n=60,i=e.length;if(a==null&&t.ssf){for(;n<392;++n)if(t.ssf[n]==null){Pa(r.z,n),t.ssf[n]=r.z,t.revssf[r.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;return e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function $h(e,r,t,a,n,i){try{a.cellNF&&(e.z=Ue[r])}catch(s){if(a.WTF)throw s}if(!(e.t==="z"&&!a.cellStyles)){if(e.t==="d"&&typeof e.v=="string"&&(e.v=Ir(e.v)),(!a||a.cellText!==!1)&&e.t!=="z")try{if(Ue[r]==null&&Pa(Gp[r]||"General",r),e.t==="e")e.w=e.w||Va[e.v];else if(r===0)if(e.t==="n")(e.v|0)===e.v?e.w=e.v.toString(10):e.w=Vi(e.v);else if(e.t==="d"){var o=ct(e.v);(o|0)===o?e.w=o.toString(10):e.w=Vi(o)}else{if(e.v===void 0)return"";e.w=En(e.v,oi)}else e.t==="d"?e.w=ea(r,ct(e.v),oi):e.w=ea(r,e.v,oi)}catch(s){if(a.WTF)throw s}if(!!a.cellStyles&&t!=null)try{e.s=i.Fills[t],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=ds(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),a.WTF&&(e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=ds(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),a.WTF&&(e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(s){if(a.WTF&&i.Fills)throw s}}}function JS(e,r,t){if(e&&e["!ref"]){var a=xr(e["!ref"]);if(a.e.c=0&&t.s.c>=0&&(e["!ref"]=rr(t))}var QS=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,eE=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,rE=/<(?:\w:)?hyperlink [^>]*>/mg,tE=/"(\w*:\w*)"/,aE=/<(?:\w:)?col\b[^>]*[\/]?>/g,nE=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,iE=/<(?:\w:)?pageMargins[^>]*\/>/g,Gh=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,oE=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,sE=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function lE(e,r,t,a,n,i,o){if(!e)return e;a||(a={"!id":{}});var s=r.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",f="",u=e.match(eE);u?(c=e.slice(0,u.index),f=e.slice(u.index+u[0].length)):c=f=e;var d=c.match(Gh);d?S0(d[0],s,n,t):(d=c.match(oE))&&fE(d[0],d[1]||"",s,n,t);var v=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(v>0){var x=c.slice(v,v+50).match(tE);x&&ZS(s,x[1])}var h=c.match(sE);h&&h[1]&&SE(h[1],n);var p=[];if(r.cellStyles){var m=c.match(aE);m&&mE(p,m)}u&&TE(u[1],s,r,l,i,o);var S=f.match(nE);S&&(s["!autofilter"]=yE(S[0]));var g=[],w=f.match(QS);if(w)for(v=0;v!=w.length;++v)g[v]=xr(w[v].slice(w[v].indexOf('"')+1));var C=f.match(rE);C&&xE(s,C,a);var F=f.match(iE);if(F&&(s["!margins"]=gE(He(F[0]))),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=rr(l)),r.sheetRows>0&&s["!ref"]){var _=xr(s["!ref"]);r.sheetRows<=+_.e.r&&(_.e.r=r.sheetRows-1,_.e.r>l.e.r&&(_.e.r=l.e.r),_.e.r<_.s.r&&(_.s.r=_.e.r),_.e.c>l.e.c&&(_.e.c=l.e.c),_.e.c<_.s.c&&(_.s.c=_.e.c),s["!fullref"]=s["!ref"],s["!ref"]=rr(_))}return p.length>0&&(s["!cols"]=p),g.length>0&&(s["!merges"]=g),s}function cE(e){if(e.length===0)return"";for(var r='',t=0;t!=e.length;++t)r+='';return r+""}function S0(e,r,t,a){var n=He(e);t.Sheets[a]||(t.Sheets[a]={}),n.codeName&&(t.Sheets[a].CodeName=ir(br(n.codeName)))}function fE(e,r,t,a,n){S0(e.slice(0,e.indexOf(">")),t,a,n)}function uE(e,r,t,a,n){var i=!1,o={},s=null;if(a.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{r.Workbook&&(l=r.Workbook.Sheets[t].CodeName||l)}catch{}i=!0,o.codeName=ya(mr(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),s=(s||"")+Se("outlinePr",null,c)}!i&&!s||(n[n.length]=Se("sheetPr",s,o))}var dE=["objects","scenarios","selectLockedCells","selectUnlockedCells"],hE=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function vE(e){var r={sheet:1};return dE.forEach(function(t){e[t]!=null&&e[t]&&(r[t]="1")}),hE.forEach(function(t){e[t]!=null&&!e[t]&&(r[t]="0")}),e.password&&(r.password=g0(e.password).toString(16).toUpperCase()),Se("sheetProtection",null,r)}function xE(e,r,t){for(var a=Array.isArray(e),n=0;n!=r.length;++n){var i=He(br(r[n]),!0);if(!i.ref)return;var o=((t||{})["!id"]||[])[i.id];o?(i.Target=o.Target,i.location&&(i.Target+="#"+ir(i.location))):(i.Target="#"+ir(i.location),o={Target:i.Target,TargetMode:"Internal"}),i.Rel=o,i.tooltip&&(i.Tooltip=i.tooltip,delete i.tooltip);for(var s=xr(i.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var f=$e({c,r:l});a?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=i):(e[f]||(e[f]={t:"z",v:void 0}),e[f].l=i)}}}function gE(e){var r={};return["left","right","top","bottom","header","footer"].forEach(function(t){e[t]&&(r[t]=parseFloat(e[t]))}),r}function pE(e){return bn(e),Se("pageMargins",null,e)}function mE(e,r){for(var t=!1,a=0;a!=r.length;++a){var n=He(r[a],!0);n.hidden&&(n.hidden=Ar(n.hidden));var i=parseInt(n.min,10)-1,o=parseInt(n.max,10)-1;for(n.outlineLevel&&(n.level=+n.outlineLevel||0),delete n.min,delete n.max,n.width=+n.width,!t&&n.width&&(t=!0,p0(n.width)),an(n);i<=o;)e[i++]=Dr(n)}}function wE(e,r){for(var t=[""],a,n=0;n!=r.length;++n)!(a=r[n])||(t[t.length]=Se("col",null,ks(n,a)));return t[t.length]="",t.join("")}function yE(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function _E(e,r,t,a){var n=typeof e.ref=="string"?e.ref:rr(e.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var i=t.Workbook.Names,o=ra(n);o.s.r==o.e.r&&(o.e.r=ra(r["!ref"]).e.r,n=rr(o));for(var s=0;sa-z][^>]*)?\/?>/;function SE(e,r){r.Views||(r.Views=[{}]),(e.match(bE)||[]).forEach(function(t,a){var n=He(t);r.Views[a]||(r.Views[a]={}),+n.zoomScale&&(r.Views[a].zoom=+n.zoomScale),Ar(n.rightToLeft)&&(r.Views[a].RTL=!0)})}function EE(e,r,t,a){var n={workbookViewId:"0"};return(((a||{}).Workbook||{}).Views||[])[0]&&(n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0"),Se("sheetViews",Se("sheetView",null,n),{})}function CE(e,r,t,a){if(e.c&&t["!comments"].push([r,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var n="",i=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=Va[e.v];break;case"d":a&&a.cellDates?n=Ir(e.v,-1).toISOString():(e=Dr(e),e.t="n",n=""+(e.v=ct(Ir(e.v)))),typeof e.z>"u"&&(e.z=Ue[14]);break;default:n=e.v;break}var s=lt("v",mr(n)),l={r},c=cn(a.cellXfs,e,a);switch(c!==0&&(l.s=c),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){s=lt("v",""+b0(a.Strings,e.v,a.revStrings)),l.t="s";break}l.t="str";break}if(e.t!=i&&(e.t=i,e.v=o),typeof e.f=="string"&&e.f){var f=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;s=Se("f",mr(e.f),f)+(e.v!=null?s:"")}return e.l&&t["!links"].push([r,e.l]),e.D&&(l.cm=1),Se("c",s,l)}var TE=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/,t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,n=/ref=["']([^"']*)["']/,i=$i("v"),o=$i("f");return function(l,c,f,u,d,v){for(var x=0,h="",p=[],m=[],S=0,g=0,w=0,C="",F,_,R=0,y=0,W,D,E=0,T=0,A=Array.isArray(v.CellXf),b,O=[],N=[],G=Array.isArray(c),L=[],X={},Z=!1,I=!!f.sheetStubs,z=l.split(r),U=0,V=z.length;U!=V;++U){h=z[U].trim();var q=h.length;if(q===0)continue;var ee=0;e:for(x=0;x":if(h[x-1]!="/"){++x;break e}if(f&&f.cellStyles){if(_=He(h.slice(ee,x),!0),R=_.r!=null?parseInt(_.r,10):R+1,y=-1,f.sheetRows&&f.sheetRows=x)break;if(_=He(h.slice(ee,x),!0),R=_.r!=null?parseInt(_.r,10):R+1,y=-1,!(f.sheetRows&&f.sheetRowsR-1&&(u.s.r=R-1),u.e.r":"")+h,m!=null&&m.length===2){for(S=0,C=m[1],g=0;g!=C.length&&!((w=C.charCodeAt(g)-64)<1||w>26);++g)S=26*S+w;--S,y=S}else++y;for(g=0;g!=h.length&&h.charCodeAt(g)!==62;++g);if(++g,_=He(h.slice(0,g),!0),_.r||(_.r=$e({r:R-1,c:y})),C=h.slice(g),F={t:""},(m=C.match(i))!=null&&m[1]!==""&&(F.v=ir(m[1])),f.cellFormula){if((m=C.match(o))!=null&&m[1]!==""){if(F.f=ir(br(m[1])).replace(/\r\n/g,` `),f.xlfn||(F.f=zf(F.f)),m[0].indexOf('t="array"')>-1)F.F=(C.match(n)||[])[1],F.F.indexOf(":")>-1&&O.push([xr(F.F),F.F]);else if(m[0].indexOf('t="shared"')>-1){D=He(m[0]);var J=ir(br(m[1]));f.xlfn||(J=zf(J)),N[parseInt(D.si,10)]=[D,J,_.r]}}else(m=C.match(/]*\/>/))&&(D=He(m[0]),N[D.si]&&(F.f=bb(N[D.si][1],N[D.si][2],_.r)));var Q=et(_.r);for(g=0;g=O[g][0].s.r&&Q.r<=O[g][0].e.r&&Q.c>=O[g][0].s.c&&Q.c<=O[g][0].e.c&&(F.F=O[g][1])}if(_.t==null&&F.v===void 0)if(F.f||F.F)F.v=0,F.t="n";else if(I)F.t="z";else continue;else F.t=_.t||"n";switch(u.s.c>y&&(u.s.c=y),u.e.c"u"){if(!I)continue;F.t="z"}else W=Li[parseInt(F.v,10)],F.v=W.t,F.r=W.r,f.cellHTML&&(F.h=W.h);break;case"str":F.t="s",F.v=F.v!=null?br(F.v):"",f.cellHTML&&(F.h=a0(F.v));break;case"inlineStr":m=C.match(a),F.t="s",m!=null&&(W=x0(m[1]))?(F.v=W.t,f.cellHTML&&(F.h=W.h)):F.v="";break;case"b":F.v=Ar(F.v);break;case"d":f.cellDates?F.v=Ir(F.v,1):(F.v=ct(Ir(F.v,1)),F.t="n");break;case"e":(!f||f.cellText!==!1)&&(F.w=F.v),F.v=Yd[F.v];break}if(E=T=0,b=null,A&&_.s!==void 0&&(b=v.CellXf[_.s],b!=null&&(b.numFmtId!=null&&(E=b.numFmtId),f.cellStyles&&b.fillId!=null&&(T=b.fillId))),$h(F,E,T,f,d,v),f.cellDates&&A&&F.t=="n"&&di(Ue[E])&&(F.t="d",F.v=Ss(F.v)),_.cm&&f.xlmeta){var ce=(f.xlmeta.Cell||[])[+_.cm-1];ce&&ce.type=="XLDAPR"&&(F.D=!0)}if(G){var K=et(_.r);c[K.r]||(c[K.r]=[]),c[K.r][K.c]=F}else c[_.r]=F}}}L.length>0&&(c["!rows"]=L)}}();function kE(e,r,t,a){var n=[],i=[],o=xr(e["!ref"]),s="",l,c="",f=[],u=0,d=0,v=e["!rows"],x=Array.isArray(e),h={r:c},p,m=-1;for(d=o.s.c;d<=o.e.c;++d)f[d]=Jr(d);for(u=o.s.r;u<=o.e.r;++u){for(i=[],c=nt(u),d=o.s.c;d<=o.e.c;++d){l=f[d]+c;var S=x?(e[u]||[])[d]:e[l];S!==void 0&&(s=CE(S,l,e,r))!=null&&i.push(s)}(i.length>0||v&&v[u])&&(h={r:c},v&&v[u]&&(p=v[u],p.hidden&&(h.hidden=1),m=-1,p.hpx?m=Qi(p.hpx):p.hpt&&(m=p.hpt),m>-1&&(h.ht=m,h.customHeight=1),p.level&&(h.outlineLevel=p.level)),n[n.length]=Se("row",i.join(""),h))}if(v)for(;u-1&&(h.ht=m,h.customHeight=1),p.level&&(h.outlineLevel=p.level),n[n.length]=Se("row","",h));return n.join("")}function Xh(e,r,t,a){var n=[Vr,Se("worksheet",null,{xmlns:Pn[0],"xmlns:r":Qr.r})],i=t.SheetNames[e],o=0,s="",l=t.Sheets[i];l==null&&(l={});var c=l["!ref"]||"A1",f=xr(c);if(f.e.c>16383||f.e.r>1048575){if(r.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575),c=rr(f)}a||(a={}),l["!comments"]=[];var u=[];uE(l,t,e,r,n),n[n.length]=Se("dimension",null,{ref:c}),n[n.length]=EE(l,r,e,t),r.sheetFormat&&(n[n.length]=Se("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"})),l["!cols"]!=null&&l["!cols"].length>0&&(n[n.length]=wE(l,l["!cols"])),n[o=n.length]="",l["!links"]=[],l["!ref"]!=null&&(s=kE(l,r),s.length>0&&(n[n.length]=s)),n.length>o+1&&(n[n.length]="",n[o]=n[o].replace("/>",">")),l["!protect"]&&(n[n.length]=vE(l["!protect"])),l["!autofilter"]!=null&&(n[n.length]=_E(l["!autofilter"],l,t,e)),l["!merges"]!=null&&l["!merges"].length>0&&(n[n.length]=cE(l["!merges"]));var d=-1,v,x=-1;return l["!links"].length>0&&(n[n.length]="",l["!links"].forEach(function(h){!h[1].Target||(v={ref:h[0]},h[1].Target.charAt(0)!="#"&&(x=pr(a,-1,mr(h[1].Target).replace(/#.*$/,""),Ze.HLINK),v["r:id"]="rId"+x),(d=h[1].Target.indexOf("#"))>-1&&(v.location=mr(h[1].Target.slice(d+1))),h[1].Tooltip&&(v.tooltip=mr(h[1].Tooltip)),n[n.length]=Se("hyperlink",null,v))}),n[n.length]=""),delete l["!links"],l["!margins"]!=null&&(n[n.length]=pE(l["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&(n[n.length]=lt("ignoredErrors",Se("ignoredError",null,{numberStoredAsText:1,sqref:c}))),u.length>0&&(x=pr(a,-1,"../drawings/drawing"+(e+1)+".xml",Ze.DRAW),n[n.length]=Se("drawing",null,{"r:id":"rId"+x}),l["!drawing"]=u),l["!comments"].length>0&&(x=pr(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Ze.VML),n[n.length]=Se("legacyDrawing",null,{"r:id":"rId"+x}),l["!legacy"]=x),n.length>1&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}function FE(e,r){var t={},a=e.l+r;t.r=e.read_shift(4),e.l+=4;var n=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=a,i&7&&(t.level=i&7),i&16&&(t.hidden=!0),i&32&&(t.hpt=n/20),t}function AE(e,r,t){var a=se(145),n=(t["!rows"]||[])[e]||{};a.write_shift(4,e),a.write_shift(4,0);var i=320;n.hpx?i=Qi(n.hpx)*20:n.hpt&&(i=n.hpt*20),a.write_shift(2,i),a.write_shift(1,0);var o=0;n.level&&(o|=n.level),n.hidden&&(o|=16),(n.hpx||n.hpt)&&(o|=32),a.write_shift(1,o),a.write_shift(1,0);var s=0,l=a.l;a.l+=4;for(var c={r:e,c:0},f=0;f<16;++f)if(!(r.s.c>f+1<<10||r.e.ca.l?a.slice(0,a.l):a}function OE(e,r,t,a){var n=AE(a,t,r);(n.length>17||(r["!rows"]||[])[a])&&he(e,0,n)}var DE=Kn,RE=vi;function IE(){}function PE(e,r){var t={},a=e[e.l];return++e.l,t.above=!(a&64),t.left=!(a&128),e.l+=18,t.name=Bm(e),t}function NE(e,r,t){t==null&&(t=se(84+4*e.length));var a=192;r&&(r.above&&(a&=-65),r.left&&(a&=-129)),t.write_shift(1,a);for(var n=1;n<3;++n)t.write_shift(1,0);return cs({auto:1},t),t.write_shift(-4,-1),t.write_shift(-4,-1),Vd(e,t),t.slice(0,t.l)}function LE(e){var r=na(e);return[r]}function BE(e,r,t){return t==null&&(t=se(8)),Ln(r,t)}function ME(e){var r=Bn(e);return[r]}function KE(e,r,t){return t==null&&(t=se(4)),Mn(r,t)}function jE(e){var r=na(e),t=e.read_shift(1);return[r,t,"b"]}function WE(e,r,t){return t==null&&(t=se(9)),Ln(r,t),t.write_shift(1,e.v?1:0),t}function UE(e){var r=Bn(e),t=e.read_shift(1);return[r,t,"b"]}function HE(e,r,t){return t==null&&(t=se(5)),Mn(r,t),t.write_shift(1,e.v?1:0),t}function VE(e){var r=na(e),t=e.read_shift(1);return[r,t,"e"]}function zE(e,r,t){return t==null&&(t=se(9)),Ln(r,t),t.write_shift(1,e.v),t}function $E(e){var r=Bn(e),t=e.read_shift(1);return[r,t,"e"]}function GE(e,r,t){return t==null&&(t=se(8)),Mn(r,t),t.write_shift(1,e.v),t.write_shift(2,0),t.write_shift(1,0),t}function XE(e){var r=na(e),t=e.read_shift(4);return[r,t,"s"]}function YE(e,r,t){return t==null&&(t=se(12)),Ln(r,t),t.write_shift(4,r.v),t}function qE(e){var r=Bn(e),t=e.read_shift(4);return[r,t,"s"]}function JE(e,r,t){return t==null&&(t=se(8)),Mn(r,t),t.write_shift(4,r.v),t}function ZE(e){var r=na(e),t=gt(e);return[r,t,"n"]}function QE(e,r,t){return t==null&&(t=se(16)),Ln(r,t),Tn(e.v,t),t}function Yh(e){var r=Bn(e),t=gt(e);return[r,t,"n"]}function eC(e,r,t){return t==null&&(t=se(12)),Mn(r,t),Tn(e.v,t),t}function rC(e){var r=na(e),t=f0(e);return[r,t,"n"]}function tC(e,r,t){return t==null&&(t=se(12)),Ln(r,t),zd(e.v,t),t}function aC(e){var r=Bn(e),t=f0(e);return[r,t,"n"]}function nC(e,r,t){return t==null&&(t=se(8)),Mn(r,t),zd(e.v,t),t}function iC(e){var r=na(e),t=s0(e);return[r,t,"is"]}function oC(e){var r=na(e),t=pt(e);return[r,t,"str"]}function sC(e,r,t){return t==null&&(t=se(12+4*e.v.length)),Ln(r,t),at(e.v,t),t.length>t.l?t.slice(0,t.l):t}function lC(e){var r=Bn(e),t=pt(e);return[r,t,"str"]}function cC(e,r,t){return t==null&&(t=se(8+4*e.v.length)),Mn(r,t),at(e.v,t),t.length>t.l?t.slice(0,t.l):t}function fC(e,r,t){var a=e.l+r,n=na(e);n.r=t["!row"];var i=e.read_shift(1),o=[n,i,"b"];if(t.cellFormula){e.l+=2;var s=Ts(e,a-e.l,t);o[3]=vt(s,null,n,t.supbooks,t)}else e.l=a;return o}function uC(e,r,t){var a=e.l+r,n=na(e);n.r=t["!row"];var i=e.read_shift(1),o=[n,i,"e"];if(t.cellFormula){e.l+=2;var s=Ts(e,a-e.l,t);o[3]=vt(s,null,n,t.supbooks,t)}else e.l=a;return o}function dC(e,r,t){var a=e.l+r,n=na(e);n.r=t["!row"];var i=gt(e),o=[n,i,"n"];if(t.cellFormula){e.l+=2;var s=Ts(e,a-e.l,t);o[3]=vt(s,null,n,t.supbooks,t)}else e.l=a;return o}function hC(e,r,t){var a=e.l+r,n=na(e);n.r=t["!row"];var i=pt(e),o=[n,i,"str"];if(t.cellFormula){e.l+=2;var s=Ts(e,a-e.l,t);o[3]=vt(s,null,n,t.supbooks,t)}else e.l=a;return o}var vC=Kn,xC=vi;function gC(e,r){return r==null&&(r=se(4)),r.write_shift(4,e),r}function pC(e,r){var t=e.l+r,a=Kn(e),n=l0(e),i=pt(e),o=pt(e),s=pt(e);e.l=t;var l={rfx:a,relId:n,loc:i,display:s};return o&&(l.Tooltip=o),l}function mC(e,r){var t=se(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));vi({s:et(e[0]),e:et(e[0])},t),c0("rId"+r,t);var a=e[1].Target.indexOf("#"),n=a==-1?"":e[1].Target.slice(a+1);return at(n||"",t),at(e[1].Tooltip||"",t),at("",t),t.slice(0,t.l)}function wC(){}function yC(e,r,t){var a=e.l+r,n=$d(e),i=e.read_shift(1),o=[n];if(o[2]=i,t.cellFormula){var s=VS(e,a-e.l,t);o[1]=s}else e.l=a;return o}function _C(e,r,t){var a=e.l+r,n=Kn(e),i=[n];if(t.cellFormula){var o=$S(e,a-e.l,t);i[1]=o,e.l=a}else e.l=a;return i}function bC(e,r,t){t==null&&(t=se(18));var a=ks(e,r);t.write_shift(-4,e),t.write_shift(-4,e),t.write_shift(4,(a.width||10)*256),t.write_shift(4,0);var n=0;return r.hidden&&(n|=1),typeof a.width=="number"&&(n|=2),r.level&&(n|=r.level<<8),t.write_shift(2,n),t}var qh=["left","right","top","bottom","header","footer"];function SC(e){var r={};return qh.forEach(function(t){r[t]=gt(e)}),r}function EC(e,r){return r==null&&(r=se(6*8)),bn(e),qh.forEach(function(t){Tn(e[t],r)}),r}function CC(e){var r=e.read_shift(2);return e.l+=28,{RTL:r&32}}function TC(e,r,t){t==null&&(t=se(30));var a=924;return(((r||{}).Views||[])[0]||{}).RTL&&(a|=32),t.write_shift(2,a),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,100),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(4,0),t}function kC(e){var r=se(24);return r.write_shift(4,4),r.write_shift(4,1),vi(e,r),r}function FC(e,r){return r==null&&(r=se(16*4+2)),r.write_shift(2,e.password?g0(e.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(t){t[1]?r.write_shift(4,e[t[0]]!=null&&!e[t[0]]?1:0):r.write_shift(4,e[t[0]]!=null&&e[t[0]]?0:1)}),r}function AC(){}function OC(){}function DC(e,r,t,a,n,i,o){if(!e)return e;var s=r||{};a||(a={"!id":{}});var l=s.dense?[]:{},c,f={s:{r:2e6,c:2e6},e:{r:0,c:0}},u=!1,d=!1,v,x,h,p,m,S,g,w,C,F=[];s.biff=12,s["!row"]=0;var _=0,R=!1,y=[],W={},D=s.supbooks||n.supbooks||[[]];if(D.sharedf=W,D.arrayf=y,D.SheetNames=n.SheetNames||n.Sheets.map(function(G){return G.name}),!s.supbooks&&(s.supbooks=D,n.Names))for(var E=0;E=I[0].s.r&&v.r<=I[0].e.r&&m>=I[0].s.c&&m<=I[0].e.c&&(x.F=rr(I[0]),R=!0)}!R&&L.length>3&&(x.f=L[3])}if(f.s.r>v.r&&(f.s.r=v.r),f.s.c>m&&(f.s.c=m),f.e.rv.r&&(f.s.r=v.r),f.s.c>m&&(f.s.c=m),f.e.r=L.s;)T[L.e--]={width:L.w/256,hidden:!!(L.flags&1),level:L.level},b||(b=!0,p0(L.w/256)),an(T[L.e+1]);break;case 161:l["!autofilter"]={ref:rr(L)};break;case 476:l["!margins"]=L;break;case 147:n.Sheets[t]||(n.Sheets[t]={}),L.name&&(n.Sheets[t].CodeName=L.name),(L.above||L.left)&&(l["!outline"]={above:L.above,left:L.left});break;case 137:n.Views||(n.Views=[{}]),n.Views[0]||(n.Views[0]={}),L.RTL&&(n.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:u=!0;break;case 36:u=!1;break;case 37:u=!0;break;case 38:u=!1;break;default:if(!X.T){if(!u||s.WTF)throw new Error("Unexpected record 0x"+Z.toString(16))}}},s),delete s.supbooks,delete s["!row"],!l["!ref"]&&(f.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(l["!ref"]=rr(c||f)),s.sheetRows&&l["!ref"]){var N=xr(l["!ref"]);s.sheetRows<=+N.e.r&&(N.e.r=s.sheetRows-1,N.e.r>f.e.r&&(N.e.r=f.e.r),N.e.rf.e.c&&(N.e.c=f.e.c),N.e.c0&&(l["!merges"]=F),T.length>0&&(l["!cols"]=T),A.length>0&&(l["!rows"]=A),l}function RC(e,r,t,a,n,i,o){if(r.v===void 0)return!1;var s="";switch(r.t){case"b":s=r.v?"1":"0";break;case"d":r=Dr(r),r.z=r.z||Ue[14],r.v=ct(Ir(r.v)),r.t="n";break;case"n":case"e":s=""+r.v;break;default:s=r.v;break}var l={r:t,c:a};switch(l.s=cn(n.cellXfs,r,n),r.l&&i["!links"].push([$e(l),r.l]),r.c&&i["!comments"].push([$e(l),r.c]),r.t){case"s":case"str":return n.bookSST?(s=b0(n.Strings,r.v,n.revStrings),l.t="s",l.v=s,o?he(e,18,JE(r,l)):he(e,7,YE(r,l))):(l.t="str",o?he(e,17,cC(r,l)):he(e,6,sC(r,l))),!0;case"n":return r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3?o?he(e,13,nC(r,l)):he(e,2,tC(r,l)):o?he(e,16,eC(r,l)):he(e,5,QE(r,l)),!0;case"b":return l.t="b",o?he(e,15,HE(r,l)):he(e,4,WE(r,l)),!0;case"e":return l.t="e",o?he(e,14,GE(r,l)):he(e,3,zE(r,l)),!0}return o?he(e,12,KE(r,l)):he(e,1,BE(r,l)),!0}function IC(e,r,t,a){var n=xr(r["!ref"]||"A1"),i,o="",s=[];he(e,145);var l=Array.isArray(r),c=n.e.r;r["!rows"]&&(c=Math.max(n.e.r,r["!rows"].length-1));for(var f=n.s.r;f<=c;++f){o=nt(f),OE(e,r,n,f);var u=!1;if(f<=n.e.r)for(var d=n.s.c;d<=n.e.c;++d){f===n.s.r&&(s[d]=Jr(d)),i=s[d]+o;var v=l?(r[f]||[])[d]:r[i];if(!v){u=!1;continue}u=RC(e,v,f,d,a,r,u)}}he(e,146)}function PC(e,r){!r||!r["!merges"]||(he(e,177,gC(r["!merges"].length)),r["!merges"].forEach(function(t){he(e,176,xC(t))}),he(e,178))}function NC(e,r){!r||!r["!cols"]||(he(e,390),r["!cols"].forEach(function(t,a){t&&he(e,60,bC(a,t))}),he(e,391))}function LC(e,r){!r||!r["!ref"]||(he(e,648),he(e,649,kC(xr(r["!ref"]))),he(e,650))}function BC(e,r,t){r["!links"].forEach(function(a){if(!!a[1].Target){var n=pr(t,-1,a[1].Target.replace(/#.*$/,""),Ze.HLINK);he(e,494,mC(a,n))}}),delete r["!links"]}function MC(e,r,t,a){if(r["!comments"].length>0){var n=pr(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",Ze.VML);he(e,551,c0("rId"+n)),r["!legacy"]=n}}function KC(e,r,t,a){if(!!r["!autofilter"]){var n=r["!autofilter"],i=typeof n.ref=="string"?n.ref:rr(n.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var o=t.Workbook.Names,s=ra(i);s.s.r==s.e.r&&(s.e.r=ra(r["!ref"]).e.r,i=rr(s));for(var l=0;l16383||l.e.r>1048575){if(r.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],he(n,129),(t.vbaraw||o["!outline"])&&he(n,147,NE(s,o["!outline"])),he(n,148,RE(l)),jC(n,o,t.Workbook),NC(n,o),IC(n,o,e,r),WC(n,o),KC(n,o,t,e),PC(n,o),BC(n,o,a),o["!margins"]&&he(n,476,EC(o["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&LC(n,o),MC(n,o,e,a),he(n,130),n.end()}function HC(e){var r=[],t=e.match(/^/),a;(e.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(i){var o=i.match(/(.*)<\/c:v><\/c:pt>/);!o||(r[+o[1]]=t?+o[2]:o[2])});var n=ir((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(i){a=i.replace(/<.*?>/g,"")}),[r,n,a]}function VC(e,r,t,a,n,i){var o=i||{"!type":"chart"};if(!e)return i;var s=0,l=0,c="A",f={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(u){var d=HC(u);f.s.r=f.s.c=0,f.e.c=s,c=Jr(s),d[0].forEach(function(v,x){o[c+nt(x)]={t:"n",v,z:d[1]},l=x}),f.e.r0&&(o["!ref"]=rr(f)),o}function zC(e,r,t,a,n){if(!e)return e;a||(a={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},o,s=e.match(Gh);return s&&S0(s[0],i,n,t),(o=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=o[1]),a["!id"][i["!rel"]]&&(i["!drawel"]=a["!id"][i["!rel"]]),i}function $C(e,r){e.l+=10;var t=pt(e);return{name:t}}function GC(e,r,t,a,n){if(!e)return e;a||(a={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},o=!1;return Ha(e,function(l,c,f){switch(f){case 550:i["!rel"]=l;break;case 651:n.Sheets[t]||(n.Sheets[t]={}),l.name&&(n.Sheets[t].CodeName=l.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:break;case 38:break;default:if(!(c.T>0)){if(!(c.T<0)){if(!o||r.WTF)throw new Error("Unexpected record 0x"+f.toString(16))}}}},r),a["!id"][i["!rel"]]&&(i["!drawel"]=a["!id"][i["!rel"]]),i}var E0=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],XC=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],YC=[],qC=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function qf(e,r){for(var t=0;t!=e.length;++t)for(var a=e[t],n=0;n!=r.length;++n){var i=r[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case"bool":typeof a[i[0]]=="string"&&(a[i[0]]=Ar(a[i[0]]));break;case"int":typeof a[i[0]]=="string"&&(a[i[0]]=parseInt(a[i[0]],10));break}}}function Jf(e,r){for(var t=0;t!=r.length;++t){var a=r[t];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case"bool":typeof e[a[0]]=="string"&&(e[a[0]]=Ar(e[a[0]]));break;case"int":typeof e[a[0]]=="string"&&(e[a[0]]=parseInt(e[a[0]],10));break}}}function Jh(e){Jf(e.WBProps,E0),Jf(e.CalcPr,qC),qf(e.WBView,XC),qf(e.Sheets,YC),oi.date1904=Ar(e.WBProps.date1904)}function JC(e){return!e.Workbook||!e.Workbook.WBProps?"false":Ar(e.Workbook.WBProps.date1904)?"true":"false"}var ZC="][*?/\\".split("");function Zh(e,r){if(e.length>31){if(r)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var t=!0;return ZC.forEach(function(a){if(e.indexOf(a)!=-1){if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=!1}}),t}function QC(e,r,t){e.forEach(function(a,n){Zh(a);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+o)}})}function eT(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];QC(e.SheetNames,r,!!e.vbaraw);for(var t=0;t":break;case"":case"":break;case"":break;case"":E0.forEach(function(u){if(f[u[0]]!=null)switch(u[2]){case"bool":t.WBProps[u[0]]=Ar(f[u[0]]);break;case"int":t.WBProps[u[0]]=parseInt(f[u[0]],10);break;default:t.WBProps[u[0]]=f[u[0]]}}),f.codeName&&(t.WBProps.CodeName=br(f.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete f[0],t.WBView.push(f);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":a=!1;break;case"":i.Ref=ir(br(e.slice(o,c))),t.Names.push(i);break;case"":break;case"":delete f[0],t.CalcPr=f;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":a=!1;break;case"":a=!0;break;case"":a=!1;break;case"0,a={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(E0.forEach(function(s){e.Workbook.WBProps[s[0]]!=null&&e.Workbook.WBProps[s[0]]!=s[1]&&(a[s[0]]=e.Workbook.WBProps[s[0]])}),e.Workbook.WBProps.CodeName&&(a.codeName=e.Workbook.WBProps.CodeName,delete a.CodeName)),r[r.length]=Se("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[],i=0;if(n&&n[0]&&!!n[0].Hidden){for(r[r.length]="",i=0;i!=e.SheetNames.length&&!(!n[i]||!n[i].Hidden);++i);i==e.SheetNames.length&&(i=0),r[r.length]='',r[r.length]=""}for(r[r.length]="",i=0;i!=e.SheetNames.length;++i){var o={name:mr(e.SheetNames[i].slice(0,31))};if(o.sheetId=""+(i+1),o["r:id"]="rId"+(i+1),n[i])switch(n[i].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden";break}r[r.length]=Se("sheet",null,o)}return r[r.length]="",t&&(r[r.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(s){var l={name:s.Name};s.Comment&&(l.comment=s.Comment),s.Sheet!=null&&(l.localSheetId=""+s.Sheet),s.Hidden&&(l.hidden="1"),s.Ref&&(r[r.length]=Se("definedName",mr(s.Ref),l))}),r[r.length]=""),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function aT(e,r){var t={};return t.Hidden=e.read_shift(4),t.iTabID=e.read_shift(4),t.strRelID=_l(e),t.name=pt(e),t}function nT(e,r){return r||(r=se(127)),r.write_shift(4,e.Hidden),r.write_shift(4,e.iTabID),c0(e.strRelID,r),at(e.name.slice(0,31),r),r.length>r.l?r.slice(0,r.l):r}function iT(e,r){var t={},a=e.read_shift(4);t.defaultThemeVersion=e.read_shift(4);var n=r>8?pt(e):"";return n.length>0&&(t.CodeName=n),t.autoCompressPictures=!!(a&65536),t.backupFile=!!(a&64),t.checkCompatibility=!!(a&4096),t.date1904=!!(a&1),t.filterPrivacy=!!(a&8),t.hidePivotFieldList=!!(a&1024),t.promptedSolutions=!!(a&16),t.publishItems=!!(a&2048),t.refreshAllConnections=!!(a&262144),t.saveExternalLinkValues=!!(a&128),t.showBorderUnselectedTables=!!(a&4),t.showInkAnnotation=!!(a&32),t.showObjects=["all","placeholders","none"][a>>13&3],t.showPivotChartFilter=!!(a&32768),t.updateLinks=["userSet","never","always"][a>>8&3],t}function oT(e,r){r||(r=se(72));var t=0;return e&&e.filterPrivacy&&(t|=8),r.write_shift(4,t),r.write_shift(4,0),Vd(e&&e.CodeName||"ThisWorkbook",r),r.slice(0,r.l)}function sT(e,r){var t={};return e.read_shift(4),t.ArchID=e.read_shift(4),e.l+=r-8,t}function lT(e,r,t){var a=e.l+r;e.l+=4,e.l+=1;var n=e.read_shift(4),i=Mm(e),o=zS(e,0,t),s=l0(e);e.l=a;var l={Name:i,Ptg:o};return n<268435455&&(l.Sheet=n),s&&(l.Comment=s),l}function cT(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},a=[],n=!1;r||(r={}),r.biff=12;var i=[],o=[[]];return o.SheetNames=[],o.XTI=[],eo[16]={n:"BrtFRTArchID$",f:sT},Ha(e,function(l,c,f){switch(f){case 156:o.SheetNames.push(l.name),t.Sheets.push(l);break;case 153:t.WBProps=l;break;case 39:l.Sheet!=null&&(r.SID=l.Sheet),l.Ref=vt(l.Ptg,null,null,o,r),delete r.SID,delete l.Ptg,i.push(l);break;case 1036:break;case 357:case 358:case 355:case 667:o[0].length?o.push([f,l]):o[0]=[f,l],o[o.length-1].XTI=[];break;case 362:o.length===0&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(l),o.XTI=o.XTI.concat(l);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:a.push(f),n=!0;break;case 36:a.pop(),n=!1;break;case 37:a.push(f),n=!0;break;case 38:a.pop(),n=!1;break;case 16:break;default:if(!c.T){if(!n||r.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+f.toString(16))}}},r),Jh(t),t.Names=i,t.supbooks=o,t}function fT(e,r){he(e,143);for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0,n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};he(e,156,nT(n))}he(e,144)}function uT(e,r){r||(r=se(127));for(var t=0;t!=4;++t)r.write_shift(4,0);return at("SheetJS",r),at(ts.version,r),at(ts.version,r),at("7262",r),r.length>r.l?r.slice(0,r.l):r}function dT(e,r){r||(r=se(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,e),r.write_shift(4,e);var t=120;return r.write_shift(1,t),r.length>r.l?r.slice(0,r.l):r}function hT(e,r){if(!(!r.Workbook||!r.Workbook.Sheets)){for(var t=r.Workbook.Sheets,a=0,n=-1,i=-1;an||(he(e,135),he(e,158,dT(n)),he(e,136))}}function vT(e,r){var t=Ot();return he(t,131),he(t,128,uT()),he(t,153,oT(e.Workbook&&e.Workbook.WBProps||null)),hT(t,e),fT(t,e),he(t,132),t.end()}function xT(e,r,t){return r.slice(-4)===".bin"?cT(e,t):tT(e,t)}function gT(e,r,t,a,n,i,o,s){return r.slice(-4)===".bin"?DC(e,a,t,n,i,o,s):lE(e,a,t,n,i,o,s)}function pT(e,r,t,a,n,i,o,s){return r.slice(-4)===".bin"?GC(e,a,t,n,i):zC(e,a,t,n,i)}function mT(e,r,t,a,n,i,o,s){return r.slice(-4)===".bin"?yb():_b()}function wT(e,r,t,a,n,i,o,s){return r.slice(-4)===".bin"?mb():wb()}function yT(e,r,t,a){return r.slice(-4)===".bin"?x_(e,t,a):a_(e,t,a)}function _T(e,r,t){return Ih(e,t)}function bT(e,r,t){return r.slice(-4)===".bin"?by(e,t):wy(e,t)}function ST(e,r,t){return r.slice(-4)===".bin"?hb(e,t):nb(e,t)}function ET(e,r,t){return r.slice(-4)===".bin"?rb(e):Q_(e)}function CT(e,r,t,a){return t.slice(-4)===".bin"?tb(e,r,t,a):void 0}function TT(e,r,t){return r.slice(-4)===".bin"?q_(e,r,t):Z_(e,r,t)}function kT(e,r,t){return(r.slice(-4)===".bin"?vT:Qh)(e)}function FT(e,r,t,a,n){return(r.slice(-4)===".bin"?UC:Xh)(e,t,a,n)}function AT(e,r,t){return(r.slice(-4)===".bin"?C_:Dh)(e,t)}function OT(e,r,t){return(r.slice(-4)===".bin"?Cy:Sh)(e,t)}function DT(e,r,t){return(r.slice(-4)===".bin"?vb:Lh)(e)}function RT(e){return(e.slice(-4)===".bin"?J_:Ph)()}var ev=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,rv=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function sa(e,r){var t=e.split(/\s+/),a=[];if(r||(a[0]=t[0]),t.length===1)return a;var n=e.match(ev),i,o,s,l;if(n)for(l=0;l!=n.length;++l)i=n[l].match(rv),(o=i[1].indexOf(":"))===-1?a[i[1]]=i[2].slice(1,i[2].length-1):(i[1].slice(0,6)==="xmlns:"?s="xmlns"+i[1].slice(6):s=i[1].slice(o+1),a[s]=i[2].slice(1,i[2].length-1));return a}function IT(e){var r=e.split(/\s+/),t={};if(r.length===1)return t;var a=e.match(ev),n,i,o,s;if(a)for(s=0;s!=a.length;++s)n=a[s].match(rv),(i=n[1].indexOf(":"))===-1?t[n[1]]=n[2].slice(1,n[2].length-1):(n[1].slice(0,6)==="xmlns:"?o="xmlns"+n[1].slice(6):o=n[1].slice(i+1),t[o]=n[2].slice(1,n[2].length-1));return t}var Mi;function PT(e,r){var t=Mi[e]||ir(e);return t==="General"?En(r):ea(t,r)}function NT(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Ar(a);break;case"i2":case"int":n=parseInt(a,10);break;case"r4":case"float":n=parseFloat(a);break;case"date":case"dateTime.tz":n=Ir(a);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+t[0])}e[ir(r)]=n}function LT(e,r,t){if(e.t!=="z"){if(!t||t.cellText!==!1)try{e.t==="e"?e.w=e.w||Va[e.v]:r==="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=Vi(e.v):e.w=En(e.v):e.w=PT(r||"General",e.v)}catch(i){if(t.WTF)throw i}try{var a=Mi[r]||r||"General";if(t.cellNF&&(e.z=a),t.cellDates&&e.t=="n"&&di(a)){var n=mn(e.v);n&&(e.t="d",e.v=new Date(n.y,n.m-1,n.d,n.H,n.M,n.S,n.u))}}catch(i){if(t.WTF)throw i}}}function BT(e,r,t){if(t.cellStyles&&r.Interior){var a=r.Interior;a.Pattern&&(a.patternType=Yy[a.Pattern]||a.Pattern)}e[r.ID]=r}function MT(e,r,t,a,n,i,o,s,l,c){var f="General",u=a.StyleID,d={};c=c||{};var v=[],x=0;for(u===void 0&&s&&(u=s.StyleID),u===void 0&&o&&(u=o.StyleID);i[u]!==void 0&&(i[u].nf&&(f=i[u].nf),i[u].Interior&&v.push(i[u].Interior),!!i[u].Parent);)u=i[u].Parent;switch(t.Type){case"Boolean":a.t="b",a.v=Ar(e);break;case"String":a.t="s",a.r=vf(ir(e)),a.v=e.indexOf("<")>-1?ir(r||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":e.slice(-1)!="Z"&&(e+="Z"),a.v=(Ir(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),a.v!==a.v?a.v=ir(e):a.v<60&&(a.v=a.v-1),(!f||f=="General")&&(f="yyyy-mm-dd");case"Number":a.v===void 0&&(a.v=+e),a.t||(a.t="n");break;case"Error":a.t="e",a.v=Yd[e],c.cellText!==!1&&(a.w=e);break;default:e==""&&r==""?a.t="z":(a.t="s",a.v=vf(r||e));break}if(LT(a,f,c),c.cellFormula!==!1)if(a.Formula){var h=ir(a.Formula);h.charCodeAt(0)==61&&(h=h.slice(1)),a.f=ii(h,n),delete a.Formula,a.ArrayRange=="RC"?a.F=ii("RC:RC",n):a.ArrayRange&&(a.F=ii(a.ArrayRange,n),l.push([xr(a.F),a.F]))}else for(x=0;x=l[x][0].s.r&&n.r<=l[x][0].e.r&&n.c>=l[x][0].s.c&&n.c<=l[x][0].e.c&&(a.F=l[x][1]);c.cellStyles&&(v.forEach(function(p){!d.patternType&&p.patternType&&(d.patternType=p.patternType)}),a.s=d),a.StyleID!==void 0&&(a.ixfe=a.StyleID)}function KT(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,` `).replace(/\r/g,` `),e.v=e.w=e.ixfe=void 0}function rl(e,r){var t=r||{};hi();var a=Si(n0(e));(t.type=="binary"||t.type=="array"||t.type=="base64")&&(a=br(a));var n=a.slice(0,1024).toLowerCase(),i=!1;if(n=n.replace(/".*?"/g,""),(n.indexOf(">")&1023)>Math.min(n.indexOf(",")&1023,n.indexOf(";")&1023)){var o=Dr(t);return o.type="string",ci.to_workbook(a,o)}if(n.indexOf("=0&&(i=!0)}),i)return Ek(a,t);Mi={"General Number":"General","General Date":Ue[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":Ue[15],"Short Date":Ue[14],"Long Time":Ue[19],"Medium Time":Ue[18],"Short Time":Ue[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:Ue[2],Standard:Ue[4],Percent:Ue[10],Scientific:Ue[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var s,l=[],c,f={},u=[],d=t.dense?[]:{},v="",x={},h={},p=sa(''),m=0,S=0,g=0,w={s:{r:2e6,c:2e6},e:{r:0,c:0}},C={},F={},_="",R=0,y=[],W={},D={},E=0,T=[],A=[],b={},O=[],N,G=!1,L=[],X=[],Z={},I=0,z=0,U={Sheets:[],WBProps:{date1904:!1}},V={};Xi.lastIndex=0,a=a.replace(//mg,"");for(var q="";s=Xi.exec(a);)switch(s[3]=(q=s[3]).toLowerCase()){case"data":if(q=="data"){if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else s[0].charAt(s[0].length-2)!=="/"&&l.push([s[3],!0]);break}if(l[l.length-1][1])break;s[1]==="/"?MT(a.slice(m,s.index),_,p,l[l.length-1][0]=="comment"?b:x,{c:S,r:g},C,O[S],h,L,t):(_="",p=sa(s[0]),m=s.index+s[0].length);break;case"cell":if(s[1]==="/")if(A.length>0&&(x.c=A),(!t.sheetRows||t.sheetRows>g)&&x.v!==void 0&&(t.dense?(d[g]||(d[g]=[]),d[g][S]=x):d[Jr(S)+nt(g)]=x),x.HRef&&(x.l={Target:ir(x.HRef)},x.HRefScreenTip&&(x.l.Tooltip=x.HRefScreenTip),delete x.HRef,delete x.HRefScreenTip),(x.MergeAcross||x.MergeDown)&&(I=S+(parseInt(x.MergeAcross,10)|0),z=g+(parseInt(x.MergeDown,10)|0),y.push({s:{c:S,r:g},e:{c:I,r:z}})),!t.sheetStubs)x.MergeAcross?S=I+1:++S;else if(x.MergeAcross||x.MergeDown){for(var ee=S;ee<=I;++ee)for(var Y=g;Y<=z;++Y)(ee>S||Y>g)&&(t.dense?(d[Y]||(d[Y]=[]),d[Y][ee]={t:"z"}):d[Jr(ee)+nt(Y)]={t:"z"});S=I+1}else++S;else x=IT(s[0]),x.Index&&(S=+x.Index-1),Sw.e.c&&(w.e.c=S),s[0].slice(-2)==="/>"&&++S,A=[];break;case"row":s[1]==="/"||s[0].slice(-2)==="/>"?(gw.e.r&&(w.e.r=g),s[0].slice(-2)==="/>"&&(h=sa(s[0]),h.Index&&(g=+h.Index-1)),S=0,++g):(h=sa(s[0]),h.Index&&(g=+h.Index-1),Z={},(h.AutoFitHeight=="0"||h.Height)&&(Z.hpx=parseInt(h.Height,10),Z.hpt=Qi(Z.hpx),X[g]=Z),h.Hidden=="1"&&(Z.hidden=!0,X[g]=Z));break;case"worksheet":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"));u.push(v),w.s.r<=w.e.r&&w.s.c<=w.e.c&&(d["!ref"]=rr(w),t.sheetRows&&t.sheetRows<=w.e.r&&(d["!fullref"]=d["!ref"],w.e.r=t.sheetRows-1,d["!ref"]=rr(w))),y.length&&(d["!merges"]=y),O.length>0&&(d["!cols"]=O),X.length>0&&(d["!rows"]=X),f[v]=d}else w={s:{r:2e6,c:2e6},e:{r:0,c:0}},g=S=0,l.push([s[3],!1]),c=sa(s[0]),v=ir(c.Name),d=t.dense?[]:{},y=[],L=[],X=[],V={name:v,Hidden:0},U.Sheets.push(V);break;case"table":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else{if(s[0].slice(-2)=="/>")break;l.push([s[3],!1]),O=[],G=!1}break;case"style":s[1]==="/"?BT(C,F,t):F=sa(s[0]);break;case"numberformat":F.nf=ir(sa(s[0]).Format||"General"),Mi[F.nf]&&(F.nf=Mi[F.nf]);for(var J=0;J!=392&&Ue[J]!=F.nf;++J);if(J==392){for(J=57;J!=392;++J)if(Ue[J]==null){Pa(F.nf,J);break}}break;case"column":if(l[l.length-1][0]!=="table")break;if(N=sa(s[0]),N.Hidden&&(N.hidden=!0,delete N.Hidden),N.Width&&(N.wpx=parseInt(N.Width,10)),!G&&N.wpx>10){G=!0,xt=Ah;for(var Q=0;Q0&&(Oe.Sheet=U.Sheets.length-1),U.Names.push(Oe);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(s[0].slice(-2)==="/>")break;s[1]==="/"?_+=a.slice(R,s.index):R=s.index+s[0].length;break;case"interior":if(!t.cellStyles)break;F.Interior=sa(s[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(s[0].slice(-2)==="/>")break;s[1]==="/"?cw(W,q,a.slice(E,s.index)):E=s.index+s[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else l.push([s[3],!1]);break;case"comment":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"));KT(b),A.push(b)}else l.push([s[3],!1]),c=sa(s[0]),b={a:c.Author};break;case"autofilter":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else if(s[0].charAt(s[0].length-2)!=="/"){var Ie=sa(s[0]);d["!autofilter"]={ref:ii(Ie.Range).replace(/\$/g,"")},l.push([s[3],!0])}break;case"name":break;case"datavalidation":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else s[0].charAt(s[0].length-2)!=="/"&&l.push([s[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else s[0].charAt(s[0].length-2)!=="/"&&l.push([s[3],!0]);break;case"null":break;default:if(l.length==0&&s[3]=="document"||l.length==0&&s[3]=="uof")return ru(a,t);var Le=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(s[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:Le=!1}break;case"componentoptions":switch(s[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:Le=!1}break;case"excelworkbook":switch(s[3]){case"date1904":U.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:Le=!1}break;case"workbookoptions":switch(s[3]){case"owcversion":break;case"height":break;case"width":break;default:Le=!1}break;case"worksheetoptions":switch(s[3]){case"visible":if(s[0].slice(-2)!=="/>")if(s[1]==="/")switch(a.slice(E,s.index)){case"SheetHidden":V.Hidden=1;break;case"SheetVeryHidden":V.Hidden=2;break}else E=s.index+s[0].length;break;case"header":d["!margins"]||bn(d["!margins"]={},"xlml"),isNaN(+He(s[0]).Margin)||(d["!margins"].header=+He(s[0]).Margin);break;case"footer":d["!margins"]||bn(d["!margins"]={},"xlml"),isNaN(+He(s[0]).Margin)||(d["!margins"].footer=+He(s[0]).Margin);break;case"pagemargins":var Pe=He(s[0]);d["!margins"]||bn(d["!margins"]={},"xlml"),isNaN(+Pe.Top)||(d["!margins"].top=+Pe.Top),isNaN(+Pe.Left)||(d["!margins"].left=+Pe.Left),isNaN(+Pe.Right)||(d["!margins"].right=+Pe.Right),isNaN(+Pe.Bottom)||(d["!margins"].bottom=+Pe.Bottom);break;case"displayrighttoleft":U.Views||(U.Views=[]),U.Views[0]||(U.Views[0]={}),U.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:Le=!1}break;case"pivottable":case"pivotcache":switch(s[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:Le=!1}break;case"pagebreaks":switch(s[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:Le=!1}break;case"autofilter":switch(s[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:Le=!1}break;case"querytable":switch(s[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:Le=!1}break;case"datavalidation":switch(s[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:Le=!1}break;case"sorting":case"conditionalformatting":switch(s[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:Le=!1}break;case"mapinfo":case"schema":case"data":switch(s[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:Le=!1}break;case"smarttags":break;default:Le=!1;break}if(Le||s[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+s[3]+"|"+l.join("|");if(l[l.length-1][0]==="customdocumentproperties"){if(s[0].slice(-2)==="/>")break;s[1]==="/"?NT(D,q,T,a.slice(E,s.index)):(T=s,E=s.index+s[0].length);break}if(t.WTF)throw"Unrecognized tag: "+s[3]+"|"+l.join("|")}var ve={};return!t.bookSheets&&!t.bookProps&&(ve.Sheets=f),ve.SheetNames=u,ve.Workbook=U,ve.SSF=Dr(Ue),ve.Props=W,ve.Custprops=D,ve}function Fl(e,r){switch(T0(r=r||{}),r.type||"base64"){case"base64":return rl(jt(e),r);case"binary":case"buffer":case"file":return rl(e,r);case"array":return rl(ln(e),r)}}function jT(e,r){var t=[];return e.Props&&t.push(fw(e.Props,r)),e.Custprops&&t.push(uw(e.Props,e.Custprops)),t.join("")}function WT(){return""}function UT(e,r){var t=[''];return r.cellXfs.forEach(function(a,n){var i=[];i.push(Se("NumberFormat",null,{"ss:Format":mr(Ue[a.numFmtId])}));var o={"ss:ID":"s"+(21+n)};t.push(Se("Style",i.join(""),o))}),Se("Styles",t.join(""))}function tv(e){return Se("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+y0(e.Ref,{r:0,c:0})})}function HT(e){if(!((e||{}).Workbook||{}).Names)return"";for(var r=e.Workbook.Names,t=[],a=0;a"),e["!margins"].header&&n.push(Se("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&n.push(Se("Footer",null,{"x:Margin":e["!margins"].footer})),n.push(Se("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),n.push("")),a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t])if(a.Workbook.Sheets[t].Hidden)n.push(Se("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}return((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL&&n.push(""),e["!protect"]&&(n.push(lt("ProtectContents","True")),e["!protect"].objects&&n.push(lt("ProtectObjects","True")),e["!protect"].scenarios&&n.push(lt("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?n.push(lt("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&n.push(lt("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(o){e["!protect"][o[0]]&&n.push("<"+o[1]+"/>")})),n.length==0?"":Se("WorksheetOptions",n.join(""),{xmlns:Pt.x})}function $T(e){return e.map(function(r){var t=dm(r.t||""),a=Se("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return Se("Comment",a,{"ss:Author":r.a})}).join("")}function GT(e,r,t,a,n,i,o){if(!e||e.v==null&&e.f==null)return"";var s={};if(e.f&&(s["ss:Formula"]="="+mr(y0(e.f,o))),e.F&&e.F.slice(0,r.length)==r){var l=et(e.F.slice(r.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==o.r?"":"["+(l.r-o.r)+"]")+"C"+(l.c==o.c?"":"["+(l.c-o.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=mr(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=mr(e.l.Tooltip))),t["!merges"])for(var c=t["!merges"],f=0;f!=c.length;++f)c[f].s.c!=o.c||c[f].s.r!=o.r||(c[f].e.c>c[f].s.c&&(s["ss:MergeAcross"]=c[f].e.c-c[f].s.c),c[f].e.r>c[f].s.r&&(s["ss:MergeDown"]=c[f].e.r-c[f].s.r));var u="",d="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":u="Number",d=String(e.v);break;case"b":u="Boolean",d=e.v?"1":"0";break;case"e":u="Error",d=Va[e.v];break;case"d":u="DateTime",d=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||Ue[14]);break;case"s":u="String",d=um(e.v||"");break}var v=cn(a.cellXfs,e,a);s["ss:StyleID"]="s"+(21+v),s["ss:Index"]=o.c+1;var x=e.v!=null?d:"",h=e.t=="z"?"":''+x+"";return(e.c||[]).length>0&&(h+=$T(e.c)),Se("Cell",h,s)}function XT(e,r){var t='"}function YT(e,r,t,a){if(!e["!ref"])return"";var n=xr(e["!ref"]),i=e["!merges"]||[],o=0,s=[];e["!cols"]&&e["!cols"].forEach(function(p,m){an(p);var S=!!p.width,g=ks(m,p),w={"ss:Index":m+1};S&&(w["ss:Width"]=Ji(g.width)),p.hidden&&(w["ss:Hidden"]="1"),s.push(Se("Column",null,w))});for(var l=Array.isArray(e),c=n.s.r;c<=n.e.r;++c){for(var f=[XT(c,(e["!rows"]||[])[c])],u=n.s.c;u<=n.e.c;++u){var d=!1;for(o=0;o!=i.length;++o)if(!(i[o].s.c>u)&&!(i[o].s.r>c)&&!(i[o].e.c"),f.length>2&&s.push(f.join(""))}return s.join("")}function qT(e,r,t){var a=[],n=t.SheetNames[e],i=t.Sheets[n],o=i?VT(i,r,e,t):"";return o.length>0&&a.push(""+o+""),o=i?YT(i,r,e,t):"",o.length>0&&a.push(""+o+"
"),a.push(zT(i,r,e,t)),a.join("")}function JT(e,r){r||(r={}),e.SSF||(e.SSF=Dr(Ue)),e.SSF&&(hi(),ys(e.SSF),r.revssf=bs(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF,r.cellXfs=[],cn(r.cellXfs,{},{revssf:{General:0}}));var t=[];t.push(jT(e,r)),t.push(WT()),t.push(""),t.push("");for(var a=0;a40||(t.l-=4,r.Reserved1=t.read_shift(0,"lpstr-ansi"),t.length-t.l<=4)||(a=t.read_shift(4),a!==1907505652)||(r.UnicodeClipboardFormat=Vm(t),a=t.read_shift(4),a==0||a>40))return r;t.l-=4,r.Reserved2=t.read_shift(0,"lpwstr")}var QT=[60,1084,2066,2165,2175];function ek(e,r,t,a,n){var i=a,o=[],s=t.slice(t.l,t.l+i);if(n&&n.enc&&n.enc.insitu&&s.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:n.enc.insitu(s)}o.push(s),t.l+=i;for(var l=Da(t,t.l),c=Al[l],f=0;c!=null&&QT.indexOf(l)>-1;)i=Da(t,t.l+2),f=t.l+4,l==2066?f+=4:(l==2165||l==2175)&&(f+=12),s=t.slice(f,t.l+4+i),o.push(s),t.l+=4+i,c=Al[l=Da(t,t.l)];var u=tt(o);st(u,0);var d=0;u.lens=[];for(var v=0;v1)&&!(Ke.sheetRows&&me.r>=Ke.sheetRows)){if(Ke.cellStyles&&De.XF&&De.XF.data&&W(me,De,Ke),delete De.ixfe,delete De.XF,u=me,d=$e(me),(!o||!o.s||!o.e)&&(o={s:{r:0,c:0},e:{r:0,c:0}}),me.ro.e.r&&(o.e.r=me.r+1),me.c+1>o.e.c&&(o.e.c=me.c+1),Ke.cellFormula&&De.f){for(var Ne=0;Neme.c||S[Ne][0].s.r>me.r)&&!(S[Ne][0].e.c>8)!==Y)throw new Error("rt mismatch: "+ce+"!="+Y);Q.r==12&&(e.l+=10,J-=10)}var K={};if(Y===10?K=Q.f(e,J,E):K=ek(Y,Q,e,J,E),Z==0&&[9,521,1033,2057].indexOf(X)===-1)continue;switch(Y){case 34:t.opts.Date1904=_.WBProps.date1904=K;break;case 134:t.opts.WriteProtect=!0;break;case 47:if(E.enc||(e.l=0),E.enc=K,!r.password)throw new Error("File is password-protected");if(K.valid==null)throw new Error("Encryption scheme unsupported");if(!K.valid)throw new Error("Password is incorrect");break;case 92:E.lastuser=K;break;case 66:var Oe=Number(K);switch(Oe){case 21010:Oe=1200;break;case 32768:Oe=1e4;break;case 32769:Oe=1252;break}ca(E.codepage=Oe),q=!0;break;case 317:E.rrtabid=K;break;case 25:E.winlocked=K;break;case 439:t.opts.RefreshAll=K;break;case 12:t.opts.CalcCount=K;break;case 16:t.opts.CalcDelta=K;break;case 17:t.opts.CalcIter=K;break;case 13:t.opts.CalcMode=K;break;case 14:t.opts.CalcPrecision=K;break;case 95:t.opts.CalcSaveRecalc=K;break;case 15:E.CalcRefMode=K;break;case 2211:t.opts.FullCalc=K;break;case 129:K.fDialog&&(n["!type"]="dialog"),K.fBelow||((n["!outline"]||(n["!outline"]={})).above=!0),K.fRight||((n["!outline"]||(n["!outline"]={})).left=!0);break;case 224:C.push(K);break;case 430:L.push([K]),L[L.length-1].XTI=[];break;case 35:case 547:L[L.length-1].push(K);break;case 24:case 536:V={Name:K.Name,Ref:vt(K.rgce,o,null,L,E)},K.itab>0&&(V.Sheet=K.itab-1),L.names.push(V),L[0]||(L[0]=[],L[0].XTI=[]),L[L.length-1].push(K),K.Name=="_xlnm._FilterDatabase"&&K.itab>0&&K.rgce&&K.rgce[0]&&K.rgce[0][0]&&K.rgce[0][0][0]=="PtgArea3d"&&(U[K.itab-1]={ref:rr(K.rgce[0][0][1][2])});break;case 22:E.ExternCount=K;break;case 23:L.length==0&&(L[0]=[],L[0].XTI=[]),L[L.length-1].XTI=L[L.length-1].XTI.concat(K),L.XTI=L.XTI.concat(K);break;case 2196:if(E.biff<8)break;V!=null&&(V.Comment=K[1]);break;case 18:n["!protect"]=K;break;case 19:K!==0&&E.WTF&&console.error("Password verifier: "+K);break;case 133:i[K.pos]=K,E.snames.push(K.name);break;case 10:{if(--Z)break;if(o.e){if(o.e.r>0&&o.e.c>0){if(o.e.r--,o.e.c--,n["!ref"]=rr(o),r.sheetRows&&r.sheetRows<=o.e.r){var Ie=o.e.r;o.e.r=r.sheetRows-1,n["!fullref"]=n["!ref"],n["!ref"]=rr(o),o.e.r=Ie}o.e.r++,o.e.c++}A.length>0&&(n["!merges"]=A),b.length>0&&(n["!objects"]=b),O.length>0&&(n["!cols"]=O),N.length>0&&(n["!rows"]=N),_.Sheets.push(R)}c===""?f=n:a[c]=n,n=r.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(E.biff===8&&(E.biff={9:2,521:3,1033:4}[Y]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[K.BIFFVer]||8),E.biffguess=K.BIFFVer==0,K.BIFFVer==0&&K.dt==4096&&(E.biff=5,q=!0,ca(E.codepage=28591)),E.biff==8&&K.BIFFVer==0&&K.dt==16&&(E.biff=2),Z++)break;if(n=r.dense?[]:{},E.biff<8&&!q&&(q=!0,ca(E.codepage=r.codepage||1252)),E.biff<5||K.BIFFVer==0&&K.dt==4096){c===""&&(c="Sheet1"),o={s:{r:0,c:0},e:{r:0,c:0}};var Le={pos:e.l-J,name:c};i[Le.pos]=Le,E.snames.push(c)}else c=(i[ee]||{name:""}).name;K.dt==32&&(n["!type"]="chart"),K.dt==64&&(n["!type"]="macro"),A=[],b=[],E.arrayf=S=[],O=[],N=[],G=!1,R={Hidden:(i[ee]||{hs:0}).hs,name:c}}break;case 515:case 3:case 2:n["!type"]=="chart"&&(r.dense?(n[K.r]||[])[K.c]:n[$e({c:K.c,r:K.r})])&&++K.c,g={ixfe:K.ixfe,XF:C[K.ixfe]||{},v:K.val,t:"n"},I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D({c:K.c,r:K.r},g,r);break;case 5:case 517:g={ixfe:K.ixfe,XF:C[K.ixfe],v:K.val,t:K.t},I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D({c:K.c,r:K.r},g,r);break;case 638:g={ixfe:K.ixfe,XF:C[K.ixfe],v:K.rknum,t:"n"},I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D({c:K.c,r:K.r},g,r);break;case 189:for(var Pe=K.c;Pe<=K.C;++Pe){var ve=K.rkrec[Pe-K.c][0];g={ixfe:ve,XF:C[ve],v:K.rkrec[Pe-K.c][1],t:"n"},I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D({c:Pe,r:K.r},g,r)}break;case 6:case 518:case 1030:{if(K.val=="String"){s=K;break}if(g=Bo(K.val,K.cell.ixfe,K.tt),g.XF=C[g.ixfe],r.cellFormula){var Ye=K.formula;if(Ye&&Ye[0]&&Ye[0][0]&&Ye[0][0][0]=="PtgExp"){var dr=Ye[0][0][1][0],hr=Ye[0][0][1][1],kr=$e({r:dr,c:hr});m[kr]?g.f=""+vt(K.formula,o,K.cell,L,E):g.F=((r.dense?(n[dr]||[])[hr]:n[kr])||{}).F}else g.f=""+vt(K.formula,o,K.cell,L,E)}I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D(K.cell,g,r),s=K}break;case 7:case 519:if(s)s.val=K,g=Bo(K,s.cell.ixfe,"s"),g.XF=C[g.ixfe],r.cellFormula&&(g.f=""+vt(s.formula,o,s.cell,L,E)),I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D(s.cell,g,r),s=null;else throw new Error("String record expects Formula");break;case 33:case 545:{S.push(K);var Qe=$e(K[0].s);if(v=r.dense?(n[K[0].s.r]||[])[K[0].s.c]:n[Qe],r.cellFormula&&v){if(!s||!Qe||!v)break;v.f=""+vt(K[1],o,K[0],L,E),v.F=rr(K[0])}}break;case 1212:{if(!r.cellFormula)break;if(d){if(!s)break;m[$e(s.cell)]=K[0],v=r.dense?(n[s.cell.r]||[])[s.cell.c]:n[$e(s.cell)],(v||{}).f=""+vt(K[0],o,u,L,E)}}break;case 253:g=Bo(l[K.isst].t,K.ixfe,"s"),l[K.isst].h&&(g.h=l[K.isst].h),g.XF=C[g.ixfe],I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D({c:K.c,r:K.r},g,r);break;case 513:r.sheetStubs&&(g={ixfe:K.ixfe,XF:C[K.ixfe],t:"z"},I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D({c:K.c,r:K.r},g,r));break;case 190:if(r.sheetStubs)for(var zr=K.c;zr<=K.C;++zr){var ge=K.ixfe[zr-K.c];g={ixfe:ge,XF:C[ge],t:"z"},I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D({c:zr,r:K.r},g,r)}break;case 214:case 516:case 4:g=Bo(K.val,K.ixfe,"s"),g.XF=C[g.ixfe],I>0&&(g.z=z[g.ixfe>>8&63]),pa(g,r,t.opts.Date1904),D({c:K.c,r:K.r},g,r);break;case 0:case 512:Z===1&&(o=K);break;case 252:l=K;break;case 1054:if(E.biff==4){z[I++]=K[1];for(var Fe=0;Fe=163&&Pa(K[1],I+163)}else Pa(K[1],K[0]);break;case 30:{z[I++]=K;for(var Ae=0;Ae=163&&Pa(K,I+163)}break;case 229:A=A.concat(K);break;case 93:b[K.cmo[0]]=E.lastobj=K;break;case 438:E.lastobj.TxO=K;break;case 127:E.lastobj.ImData=K;break;case 440:for(p=K[0].s.r;p<=K[0].e.r;++p)for(h=K[0].s.c;h<=K[0].e.c;++h)v=r.dense?(n[p]||[])[h]:n[$e({c:h,r:p})],v&&(v.l=K[1]);break;case 2048:for(p=K[0].s.r;p<=K[0].e.r;++p)for(h=K[0].s.c;h<=K[0].e.c;++h)v=r.dense?(n[p]||[])[h]:n[$e({c:h,r:p})],v&&v.l&&(v.l.Tooltip=K[1]);break;case 28:{if(E.biff<=5&&E.biff>=2)break;v=r.dense?(n[K[0].r]||[])[K[0].c]:n[$e(K[0])];var de=b[K[2]];v||(r.dense?(n[K[0].r]||(n[K[0].r]=[]),v=n[K[0].r][K[0].c]={t:"z"}):v=n[$e(K[0])]={t:"z"},o.e.r=Math.max(o.e.r,K[0].r),o.s.r=Math.min(o.s.r,K[0].r),o.e.c=Math.max(o.e.c,K[0].c),o.s.c=Math.min(o.s.c,K[0].c)),v.c||(v.c=[]),x={a:K[1],t:de.TxO.t},v.c.push(x)}break;case 2173:U_(C[K.ixfe],K.ext);break;case 125:{if(!E.cellStyles)break;for(;K.e>=K.s;)O[K.e--]={width:K.w/256,level:K.level||0,hidden:!!(K.flags&1)},G||(G=!0,p0(K.w/256)),an(O[K.e+1])}break;case 520:{var be={};K.level!=null&&(N[K.r]=be,be.level=K.level),K.hidden&&(N[K.r]=be,be.hidden=!0),K.hpt&&(N[K.r]=be,be.hpt=K.hpt,be.hpx=fi(K.hpt))}break;case 38:case 39:case 40:case 41:n["!margins"]||bn(n["!margins"]={}),n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[Y]]=K;break;case 161:n["!margins"]||bn(n["!margins"]={}),n["!margins"].header=K.header,n["!margins"].footer=K.footer;break;case 574:K.RTL&&(_.Views[0].RTL=!0);break;case 146:F=K;break;case 2198:T=K;break;case 140:w=K;break;case 442:c?R.CodeName=K||R.name:_.WBProps.CodeName=K||"ThisWorkbook";break}}else Q||console.error("Missing Info for XLS Record 0x"+Y.toString(16)),e.l+=J}return t.SheetNames=Hr(i).sort(function(ke,me){return Number(ke)-Number(me)}).map(function(ke){return i[ke].name}),r.bookSheets||(t.Sheets=a),!t.SheetNames.length&&f["!ref"]?(t.SheetNames.push("Sheet1"),t.Sheets&&(t.Sheets.Sheet1=f)):t.Preamble=f,t.Sheets&&U.forEach(function(ke,me){t.Sheets[t.SheetNames[me]]["!autofilter"]=ke}),t.Strings=l,t.SSF=Dr(Ue),E.enc&&(t.Encryption=E.enc),T&&(t.Themes=T),t.Metadata={},w!==void 0&&(t.Metadata.Country=w),L.names.length>0&&(_.Names=L.names),t.Workbook=_,t}var Ki={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function tk(e,r,t){var a=Me.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=Rf(a,bl,Ki.DSI);for(var i in n)r[i]=n[i]}catch(c){if(t.WTF)throw c}var o=Me.find(e,"/!SummaryInformation");if(o&&o.size>0)try{var s=Rf(o,Sl,Ki.SI);for(var l in s)r[l]==null&&(r[l]=s[l])}catch(c){if(t.WTF)throw c}r.HeadingPairs&&r.TitlesOfParts&&(rh(r.HeadingPairs,r.TitlesOfParts,r,t),delete r.HeadingPairs,delete r.TitlesOfParts)}function ak(e,r){var t=[],a=[],n=[],i=0,o,s=lf(bl,"n"),l=lf(Sl,"n");if(e.Props)for(o=Hr(e.Props),i=0;i-1||eh.indexOf(n[i][0])>-1||n[i][1]!=null&&c.push(n[i]);a.length&&Me.utils.cfb_add(r,"/SummaryInformation",If(a,Ki.SI,l,Sl)),(t.length||c.length)&&Me.utils.cfb_add(r,"/DocumentSummaryInformation",If(t,Ki.DSI,s,bl,c.length?c:null,Ki.UDI))}function av(e,r){r||(r={}),T0(r),Yl(),r.codepage&&Xl(r.codepage);var t,a;if(e.FullPaths){if(Me.find(e,"/encryption"))throw new Error("File is password-protected");t=Me.find(e,"!CompObj"),a=Me.find(e,"/Workbook")||Me.find(e,"/Book")}else{switch(r.type){case"base64":e=Bt(jt(e));break;case"binary":e=Bt(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}st(e,0),a={content:e}}var n,i;if(t&&ZT(t),r.bookProps&&!r.bookSheets)n={};else{var o=Je?"buffer":"array";if(a&&a.content)n=rk(a.content,r);else if((i=Me.find(e,"PerfectOffice_MAIN"))&&i.content)n=_n.to_workbook(i.content,(r.type=o,r));else if((i=Me.find(e,"NativeContent_MAIN"))&&i.content)n=_n.to_workbook(i.content,(r.type=o,r));else throw(i=Me.find(e,"MN0"))&&i.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");r.bookVBA&&e.FullPaths&&Me.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(n.vbaraw=gb(e))}var s={};return e.FullPaths&&tk(e,s,r),n.Props=n.Custprops=s,r.bookFiles&&(n.cfb=e),n}function nk(e,r){var t=r||{},a=Me.utils.cfb_new({root:"R"}),n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":t.bookType||(t.bookType="xla");case"biff8":n="/Workbook",t.biff=8;break;case"biff5":n="/Book",t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB")}return Me.utils.cfb_add(a,n,nv(e,t)),t.biff==8&&(e.Props||e.Custprops)&&ak(e,a),t.biff==8&&e.vbaraw&&pb(a,Me.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),a}var eo={0:{f:FE},1:{f:LE},2:{f:rC},3:{f:VE},4:{f:jE},5:{f:ZE},6:{f:oC},7:{f:XE},8:{f:hC},9:{f:dC},10:{f:fC},11:{f:uC},12:{f:ME},13:{f:aC},14:{f:$E},15:{f:UE},16:{f:Yh},17:{f:lC},18:{f:qE},19:{f:s0},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:lT},40:{},42:{},43:{f:o_},44:{f:n_},45:{f:c_},46:{f:u_},47:{f:f_},48:{},49:{f:Dm},50:{},51:{f:z_},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:wh},62:{f:iC},63:{f:eb},64:{f:AC},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:mt,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:CC},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:PE},148:{f:DE,p:16},151:{f:wC},152:{},153:{f:iT},154:{},155:{},156:{f:aT},157:{},158:{},159:{T:1,f:_y},160:{T:-1},161:{T:1,f:Kn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:vC},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:H_},336:{T:-1},337:{f:X_,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:_l},357:{},358:{},359:{},360:{T:1},361:{},362:{f:mh},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:yC},427:{f:_C},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:SC},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:IE},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:pC},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:_l},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:ub},633:{T:1},634:{T:-1},635:{T:1,f:cb},636:{T:-1},637:{f:Nm},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:$C},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:OC},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},Al={6:{f:Qs},10:{f:Xa},12:{f:Yr},13:{f:Yr},14:{f:Ur},15:{f:Ur},16:{f:gt},17:{f:Ur},18:{f:Ur},19:{f:Yr},20:{f:Kf},21:{f:Kf},23:{f:mh},24:{f:Wf},25:{f:Ur},26:{},27:{},28:{f:O2},29:{},34:{f:Ur},35:{f:jf},38:{f:gt},39:{f:gt},40:{f:gt},41:{f:gt},42:{f:Ur},43:{f:Ur},47:{f:Uy},49:{f:a2},51:{f:Yr},60:{},61:{f:Zw},64:{f:Ur},65:{f:t2},66:{f:Yr},77:{},80:{},81:{},82:{},85:{f:Yr},89:{},90:{},91:{},92:{f:Ww},93:{f:I2},94:{},95:{f:Ur},96:{},97:{},99:{f:Ur},125:{f:wh},128:{f:m2},129:{f:Hw},130:{f:Yr},131:{f:Ur},132:{f:Ur},133:{f:Vw},134:{},140:{f:W2},141:{f:Yr},144:{},146:{f:V2},151:{},152:{},153:{},154:{},155:{},156:{f:Yr},157:{},158:{},160:{f:J2},161:{f:G2},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:v2},190:{f:x2},193:{f:Xa},197:{},198:{},199:{},200:{},201:{},202:{f:Ur},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Yr},220:{},221:{f:Ur},222:{},224:{f:p2},225:{f:jw},226:{f:Xa},227:{},229:{f:D2},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:$w},253:{f:i2},255:{f:Xw},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:ch},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Ur},353:{f:Xa},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:S2},431:{f:Ur},432:{},433:{},434:{},437:{},438:{f:L2},439:{f:Ur},440:{f:B2},441:{},442:{f:co},443:{},444:{f:Yr},445:{},446:{},448:{f:Xa},449:{f:Jw,r:2},450:{f:Xa},512:{f:Lf},513:{f:q2},515:{f:_2},516:{f:s2},517:{f:Mf},519:{f:Z2},520:{f:Yw},523:{},545:{f:Uf},549:{f:Nf},566:{},574:{f:e2},638:{f:h2},659:{},1048:{},1054:{f:c2},1084:{},1212:{f:k2},2048:{f:K2},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Po},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Xa},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:z2,r:12},2173:{f:W_,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Ur,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:T2,r:12},2197:{},2198:{f:N_,r:12},2199:{},2200:{},2201:{},2202:{f:F2,r:12},2203:{f:Xa},2204:{},2205:{},2206:{},2207:{},2211:{f:qw},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Yr},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:X2},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:H2},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Lf},1:{},2:{f:ay},3:{f:ry},4:{f:ey},5:{f:Mf},7:{f:iy},8:{},9:{f:Po},11:{},22:{f:Yr},30:{f:u2},31:{},32:{},33:{f:Uf},36:{},37:{f:Nf},50:{f:oy},62:{},52:{},67:{},68:{f:Yr},69:{},86:{},126:{},127:{f:Q2},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:sy},223:{},234:{},354:{},421:{},518:{f:Qs},521:{f:Po},536:{f:Wf},547:{f:jf},561:{},579:{},1030:{f:Qs},1033:{f:Po},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function Ee(e,r,t,a){var n=r;if(!isNaN(n)){var i=a||(t||[]).length||0,o=e.next(4);o.write_shift(2,n),o.write_shift(2,i),i>0&&o0(t)&&e.push(t)}}function ik(e,r,t,a){var n=a||(t||[]).length||0;if(n<=8224)return Ee(e,r,t,n);var i=r;if(!isNaN(i)){for(var o=t.parts||[],s=0,l=0,c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;var f=e.next(4);for(f.write_shift(2,i),f.write_shift(2,c),e.push(t.slice(l,l+c)),l+=c;l=0&&n<65536?Ee(e,2,ny(t,a,n)):Ee(e,3,ty(t,a,n));return;case"b":case"e":Ee(e,5,ok(t,a,r.v,r.t));return;case"s":case"str":Ee(e,4,sk(t,a,(r.v||"").slice(0,255)));return}Ee(e,1,vo(null,t,a))}function ck(e,r,t,a){var n=Array.isArray(r),i=xr(r["!ref"]||"A1"),o,s="",l=[];if(i.e.c>255||i.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),o=rr(i)}for(var c=i.s.r;c<=i.e.r;++c){s=nt(c);for(var f=i.s.c;f<=i.e.c;++f){c===i.s.r&&(l[f]=Jr(f)),o=l[f]+s;var u=n?(r[c]||[])[f]:r[o];!u||lk(e,u,c,f)}}}function fk(e,r){for(var t=r||{},a=Ot(),n=0,i=0;i255||v.e.r>=x){if(r.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");v.e.c=Math.min(v.e.c,255),v.e.r=Math.min(v.e.c,x-1)}Ee(a,2057,v0(t,16,r)),Ee(a,13,Zt(1)),Ee(a,12,Zt(100)),Ee(a,15,Et(!0)),Ee(a,17,Et(!1)),Ee(a,16,Tn(.001)),Ee(a,95,Et(!0)),Ee(a,42,Et(!1)),Ee(a,43,Et(!1)),Ee(a,130,Zt(1)),Ee(a,128,w2([0,0])),Ee(a,131,Et(!1)),Ee(a,132,Et(!1)),c&&gk(a,i["!cols"]),Ee(a,512,d2(v,r)),c&&(i["!links"]=[]);for(var h=v.s.r;h<=v.e.r;++h){u=nt(h);for(var p=v.s.c;p<=v.e.c;++p){h===v.s.r&&(d[p]=Jr(p)),f=d[p]+u;var m=l?(i[h]||[])[p]:i[f];!m||(pk(a,m,h,p,r),c&&m.l&&i["!links"].push([f,m.l]))}}var S=s.CodeName||s.name||n;return c&&Ee(a,574,r2((o.Views||[])[0])),c&&(i["!merges"]||[]).length&&Ee(a,229,R2(i["!merges"])),c&&xk(a,i),Ee(a,442,uh(S)),c&&hk(a,i),Ee(a,10),a.end()}function wk(e,r,t){var a=Ot(),n=(e||{}).Workbook||{},i=n.Sheets||[],o=n.WBProps||{},s=t.biff==8,l=t.biff==5;if(Ee(a,2057,v0(e,5,t)),t.bookType=="xla"&&Ee(a,135),Ee(a,225,s?Zt(1200):null),Ee(a,193,yw(2)),l&&Ee(a,191),l&&Ee(a,192),Ee(a,226),Ee(a,92,Uw("SheetJS",t)),Ee(a,66,Zt(s?1200:1252)),s&&Ee(a,353,Zt(0)),s&&Ee(a,448),Ee(a,317,Y2(e.SheetNames.length)),s&&e.vbaraw&&Ee(a,211),s&&e.vbaraw){var c=o.CodeName||"ThisWorkbook";Ee(a,442,uh(c))}Ee(a,156,Zt(17)),Ee(a,25,Et(!1)),Ee(a,18,Et(!1)),Ee(a,19,Zt(0)),s&&Ee(a,431,Et(!1)),s&&Ee(a,444,Zt(0)),Ee(a,61,Qw()),Ee(a,64,Et(!1)),Ee(a,141,Zt(0)),Ee(a,34,Et(JC(e)=="true")),Ee(a,14,Et(!0)),s&&Ee(a,439,Et(!1)),Ee(a,218,Zt(0)),uk(a,e,t),dk(a,e.SSF,t),vk(a,t),s&&Ee(a,352,Et(!1));var f=a.end(),u=Ot();s&&Ee(u,140,U2()),s&&t.Strings&&ik(u,252,Gw(t.Strings)),Ee(u,10);var d=u.end(),v=Ot(),x=0,h=0;for(h=0;h255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var i=r||{};switch(i.biff||2){case 8:case 5:return yk(e,r);case 4:case 3:case 2:return fk(e,r)}throw new Error("invalid type "+i.bookType+" for BIFF")}function Zf(e,r){var t=r||{},a=t.dense?[]:{};e=e.replace(//g,"");var n=e.match(/");var i=e.match(/<\/table/i),o=n.index,s=i&&i.index||e.length,l=nm(e.slice(o,s),/(:?]*>)/i,""),c=-1,f=0,u=0,d=0,v={s:{r:1e7,c:1e7},e:{r:0,c:0}},x=[];for(o=0;o/i);for(s=0;s"))>-1;)g=g.slice(w+1);for(var C=0;C")));d=_.colspan?+_.colspan:1,((u=+_.rowspan)>1||d>1)&&x.push({s:{r:c,c:f},e:{r:c+(u||1)-1,c:f+d-1}});var R=_.t||_["data-t"]||"";if(!g.length){f+=d;continue}if(g=hm(g),v.s.r>c&&(v.s.r=c),v.e.rf&&(v.s.c=f),v.e.ct||n[c].s.c>o)&&!(n[c].e.r1&&(v.rowspan=s),l>1&&(v.colspan=l),a.editable?d=''+d+"":u&&(v["data-t"]=u&&u.t||"z",u.v!=null&&(v["data-v"]=u.v),u.z!=null&&(v["data-z"]=u.z),u.l&&(u.l.Target||"#").charAt(0)!="#"&&(d=''+d+"")),v.id=(a.id||"sjs")+"-"+f,i.push(Se("td",d,v))}}var x="";return x+i.join("")+""}var bk='SheetJS Table Export',Sk="";function Ek(e,r){var t=e.match(/[\s\S]*?<\/table>/gi);if(!t||t.length==0)throw new Error("Invalid HTML: could not find
");if(t.length==1)return Nn(Zf(t[0],r),r);var a=hv();return t.forEach(function(n,i){vv(a,Zf(n,r),"Sheet"+(i+1))}),a}function Ck(e,r,t){var a=[];return a.join("")+""}function Tk(e,r){var t=r||{},a=t.header!=null?t.header:bk,n=t.footer!=null?t.footer:Sk,i=[a],o=ra(e["!ref"]);t.dense=Array.isArray(e),i.push(Ck(e,o,t));for(var s=o.s.r;s<=o.e.r;++s)i.push(_k(e,o,s,t));return i.push("
"+n),i.join("")}function kk(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(a,n){return Array(parseInt(n,10)+1).join(" ")}).replace(/]*\/>/g," ").replace(//g,` `),t=ir(r.replace(/<[^>]*>/g,""));return[t]}var Qf={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function iv(e,r){var t=r||{},a=n0(e),n=[],i,o,s={name:""},l="",c=0,f,u,d={},v=[],x=t.dense?[]:{},h,p,m={value:""},S="",g=0,w=[],C=-1,F=-1,_={s:{r:1e6,c:1e7},e:{r:0,c:0}},R=0,y={},W=[],D={},E=0,T=0,A=[],b=1,O=1,N=[],G={Names:[]},L={},X=["",""],Z=[],I={},z="",U=0,V=!1,q=!1,ee=0;for(Xi.lastIndex=0,a=a.replace(//mg,"").replace(//gm,"");h=Xi.exec(a);)switch(h[3]=h[3].replace(/_.*$/,"")){case"table":case"\u5DE5\u4F5C\u8868":h[1]==="/"?(_.e.c>=_.s.c&&_.e.r>=_.s.r?x["!ref"]=rr(_):x["!ref"]="A1:A1",t.sheetRows>0&&t.sheetRows<=_.e.r&&(x["!fullref"]=x["!ref"],_.e.r=t.sheetRows-1,x["!ref"]=rr(_)),W.length&&(x["!merges"]=W),A.length&&(x["!rows"]=A),f.name=f.\u540D\u79F0||f.name,typeof JSON<"u"&&JSON.stringify(f),v.push(f.name),d[f.name]=x,q=!1):h[0].charAt(h[0].length-2)!=="/"&&(f=He(h[0],!1),C=F=-1,_.s.r=_.s.c=1e7,_.e.r=_.e.c=0,x=t.dense?[]:{},W=[],A=[],q=!0);break;case"table-row-group":h[1]==="/"?--R:++R;break;case"table-row":case"\u884C":if(h[1]==="/"){C+=b,b=1;break}if(u=He(h[0],!1),u.\u884C\u53F7?C=u.\u884C\u53F7-1:C==-1&&(C=0),b=+u["number-rows-repeated"]||1,b<10)for(ee=0;ee0&&(A[C+ee]={level:R});F=-1;break;case"covered-table-cell":h[1]!=="/"&&++F,t.sheetStubs&&(t.dense?(x[C]||(x[C]=[]),x[C][F]={t:"z"}):x[$e({r:C,c:F})]={t:"z"}),S="",w=[];break;case"table-cell":case"\u6570\u636E":if(h[0].charAt(h[0].length-2)==="/")++F,m=He(h[0],!1),O=parseInt(m["number-columns-repeated"]||"1",10),p={t:"z",v:null},m.formula&&t.cellFormula!=!1&&(p.f=Yf(ir(m.formula))),(m.\u6570\u636E\u7C7B\u578B||m["value-type"])=="string"&&(p.t="s",p.v=ir(m["string-value"]||""),t.dense?(x[C]||(x[C]=[]),x[C][F]=p):x[$e({r:C,c:F})]=p),F+=O-1;else if(h[1]!=="/"){++F,S="",g=0,w=[],O=1;var Y=b?C+b-1:C;if(F>_.e.c&&(_.e.c=F),F<_.s.c&&(_.s.c=F),C<_.s.r&&(_.s.r=C),Y>_.e.r&&(_.e.r=Y),m=He(h[0],!1),Z=[],I={},p={t:m.\u6570\u636E\u7C7B\u578B||m["value-type"],v:null},t.cellFormula)if(m.formula&&(m.formula=ir(m.formula)),m["number-matrix-columns-spanned"]&&m["number-matrix-rows-spanned"]&&(E=parseInt(m["number-matrix-rows-spanned"],10)||0,T=parseInt(m["number-matrix-columns-spanned"],10)||0,D={s:{r:C,c:F},e:{r:C+E-1,c:F+T-1}},p.F=rr(D),N.push([D,p.F])),m.formula)p.f=Yf(m.formula);else for(ee=0;ee=N[ee][0].s.r&&C<=N[ee][0].e.r&&F>=N[ee][0].s.c&&F<=N[ee][0].e.c&&(p.F=N[ee][1]);switch((m["number-columns-spanned"]||m["number-rows-spanned"])&&(E=parseInt(m["number-rows-spanned"],10)||0,T=parseInt(m["number-columns-spanned"],10)||0,D={s:{r:C,c:F},e:{r:C+E-1,c:F+T-1}},W.push(D)),m["number-columns-repeated"]&&(O=parseInt(m["number-columns-repeated"],10)),p.t){case"boolean":p.t="b",p.v=Ar(m["boolean-value"]);break;case"float":p.t="n",p.v=parseFloat(m.value);break;case"percentage":p.t="n",p.v=parseFloat(m.value);break;case"currency":p.t="n",p.v=parseFloat(m.value);break;case"date":p.t="d",p.v=Ir(m["date-value"]),t.cellDates||(p.t="n",p.v=ct(p.v)),p.z="m/d/yy";break;case"time":p.t="n",p.v=rm(m["time-value"])/86400,t.cellDates&&(p.t="d",p.v=Ss(p.v)),p.z="HH:MM:SS";break;case"number":p.t="n",p.v=parseFloat(m.\u6570\u636E\u6570\u503C);break;default:if(p.t==="string"||p.t==="text"||!p.t)p.t="s",m["string-value"]!=null&&(S=ir(m["string-value"]),w=[]);else throw new Error("Unsupported value type "+p.t)}}else{if(V=!1,p.t==="s"&&(p.v=S||"",w.length&&(p.R=w),V=g==0),L.Target&&(p.l=L),Z.length>0&&(p.c=Z,Z=[]),S&&t.cellText!==!1&&(p.w=S),V&&(p.t="z",delete p.v),(!V||t.sheetStubs)&&!(t.sheetRows&&t.sheetRows<=C))for(var J=0;J0;)x[C+J][F+O]=Dr(p);else for(x[$e({r:C+J,c:F})]=p;--O>0;)x[$e({r:C+J,c:F+O})]=Dr(p);_.e.c<=F&&(_.e.c=F)}O=parseInt(m["number-columns-repeated"]||"1",10),F+=O-1,O=0,p={},S="",w=[]}L={};break;case"document":case"document-content":case"\u7535\u5B50\u8868\u683C\u6587\u6863":case"spreadsheet":case"\u4E3B\u4F53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(h[1]==="/"){if((i=n.pop())[0]!==h[3])throw"Bad state: "+i}else h[0].charAt(h[0].length-2)!=="/"&&n.push([h[3],!0]);break;case"annotation":if(h[1]==="/"){if((i=n.pop())[0]!==h[3])throw"Bad state: "+i;I.t=S,w.length&&(I.R=w),I.a=z,Z.push(I)}else h[0].charAt(h[0].length-2)!=="/"&&n.push([h[3],!1]);z="",U=0,S="",g=0,w=[];break;case"creator":h[1]==="/"?z=a.slice(U,h.index):U=h.index+h[0].length;break;case"meta":case"\u5143\u6570\u636E":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(h[1]==="/"){if((i=n.pop())[0]!==h[3])throw"Bad state: "+i}else h[0].charAt(h[0].length-2)!=="/"&&n.push([h[3],!1]);S="",g=0,w=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(h[1]==="/"){if(y[s.name]=l,(i=n.pop())[0]!==h[3])throw"Bad state: "+i}else h[0].charAt(h[0].length-2)!=="/"&&(l="",s=He(h[0],!1),n.push([h[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(n[n.length-1][0]){case"time-style":case"date-style":o=He(h[0],!1),l+=Qf[h[3]][o.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(n[n.length-1][0]){case"time-style":case"date-style":o=He(h[0],!1),l+=Qf[h[3]][o.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(h[0].slice(-2)==="/>")break;if(h[1]==="/")switch(n[n.length-1][0]){case"number-style":case"date-style":case"time-style":l+=a.slice(c,h.index);break}else c=h.index+h[0].length;break;case"named-range":o=He(h[0],!1),X=el(o["cell-range-address"]);var Q={Name:o.name,Ref:X[0]+"!"+X[1]};q&&(Q.Sheet=v.length),G.Names.push(Q);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"\u7535\u5B50\u8868\u683C":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"\u6587\u672C\u4E32":if(["master-styles"].indexOf(n[n.length-1][0])>-1)break;if(h[1]==="/"&&(!m||!m["string-value"])){var ce=kk(a.slice(g,h.index));S=(S.length>0?S+` `:"")+ce[0]}else He(h[0],!1),g=h.index+h[0].length;break;case"s":break;case"database-range":if(h[1]==="/")break;try{X=el(He(h[0])["target-range-address"]),d[X[0]]["!autofilter"]={ref:X[1]}}catch{}break;case"date":break;case"object":break;case"title":case"\u6807\u9898":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(h[1]!=="/"){if(L=He(h[0],!1),!L.href)break;L.Target=ir(L.href),delete L.href,L.Target.charAt(0)=="#"&&L.Target.indexOf(".")>-1?(X=el(L.Target.slice(1)),L.Target="#"+X[0]+"!"+X[1]):L.Target.match(/^\.\.[\\\/]/)&&(L.Target=L.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(h[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5B57:":break;default:if(t.WTF)throw new Error(h)}}var K={Sheets:d,SheetNames:v,Workbook:G};return t.bookSheets&&delete K.Sheets,K}function eu(e,r){r=r||{},Jt(e,"META-INF/manifest.xml")&&rw(Xr(e,"META-INF/manifest.xml"),r);var t=Mt(e,"content.xml");if(!t)throw new Error("Missing content.xml in ODS / UOF file");var a=iv(br(t),r);return Jt(e,"meta.xml")&&(a.Props=Zd(Xr(e,"meta.xml"))),a}function ru(e,r){return iv(e,r)}var Fk=function(){var e=["",'',"",'',"",'',"",""].join(""),r=""+e+"";return function(){return Vr+r}}(),tu=function(){var e=function(i){return mr(i).replace(/ +/g,function(o){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},r=` `,t=` `,a=function(i,o,s){var l=[];l.push(' `);var c=0,f=0,u=ra(i["!ref"]||"A1"),d=i["!merges"]||[],v=0,x=Array.isArray(i);if(i["!cols"])for(f=0;f<=u.e.c;++f)l.push(" `);var h="",p=i["!rows"]||[];for(c=0;c `);for(;c<=u.e.r;++c){for(h=p[c]?' table:style-name="ro'+p[c].ods+'"':"",l.push(" `),f=0;ff)&&!(d[v].s.r>c)&&!(d[v].e.c `)}return l.push(` `),l.join("")},n=function(i,o){i.push(` `),i.push(` `),i.push(` `),i.push(` / `),i.push(` `),i.push(` / `),i.push(` `),i.push(` `);var s=0;o.SheetNames.map(function(c){return o.Sheets[c]}).forEach(function(c){if(!!c&&c["!cols"]){for(var f=0;f `),i.push(' `),i.push(` `),++s}}});var l=0;o.SheetNames.map(function(c){return o.Sheets[c]}).forEach(function(c){if(!!c&&c["!rows"]){for(var f=0;f `),i.push(' `),i.push(` `),++l}}}),i.push(` `),i.push(` `),i.push(` `),i.push(` `),i.push(` `)};return function(o,s){var l=[Vr],c=Gi({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),f=Gi({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});s.bookType=="fods"?(l.push(" `),l.push(Jd().replace(/office:document-meta/g,"office:meta"))):l.push(" `),n(l,o),l.push(` `),l.push(` `);for(var u=0;u!=o.SheetNames.length;++u)l.push(a(o.Sheets[o.SheetNames[u]],o,u));return l.push(` `),l.push(` `),s.bookType=="fods"?l.push(""):l.push(""),l.join("")}}();function ov(e,r){if(r.bookType=="fods")return tu(e,r);var t=e0(),a="",n=[],i=[];return a="mimetype",qe(t,a,"application/vnd.oasis.opendocument.spreadsheet"),a="content.xml",qe(t,a,tu(e,r)),n.push([a,"text/xml"]),i.push([a,"ContentFile"]),a="styles.xml",qe(t,a,Fk(e,r)),n.push([a,"text/xml"]),i.push([a,"StylesFile"]),a="meta.xml",qe(t,a,Vr+Jd()),n.push([a,"text/xml"]),i.push([a,"MetadataFile"]),a="manifest.rdf",qe(t,a,nw(i)),n.push([a,"application/rdf+xml"]),a="META-INF/manifest.xml",qe(t,a,tw(n)),t}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function An(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Ol(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):br(ln(e))}function Ak(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):Bt(ya(e))}function Ok(e,r){e:for(var t=0;t<=e.length-r.length;++t){for(var a=0;a>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function Dk(e,r){for(var t=(e[r+15]&127)<<7|e[r+14]>>1,a=e[r+14]&1,n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)}function Rk(e,r,t){var a=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-20,n=t/Math.pow(10,a-6176);e[r+15]|=a>>7,e[r+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[r+i]=n&255;e[r+15]|=t>=0?0:128}function ro(e,r){var t=r?r[0]:0,a=e[t]&127;e:if(e[t++]>=128&&(a|=(e[t]&127)<<7,e[t++]<128||(a|=(e[t]&127)<<14,e[t++]<128)||(a|=(e[t]&127)<<21,e[t++]<128)||(a+=(e[t]&127)*Math.pow(2,28),++t,e[t++]<128)||(a+=(e[t]&127)*Math.pow(2,35),++t,e[t++]<128)||(a+=(e[t]&127)*Math.pow(2,42),++t,e[t++]<128)))break e;return r&&(r[0]=t),a}function gr(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){if(r[t-1]|=128,r[t]=e>>7&127,++t,e<=16383||(r[t-1]|=128,r[t]=e>>14&127,++t,e<=2097151)||(r[t-1]|=128,r[t]=e>>21&127,++t,e<=268435455)||(r[t-1]|=128,r[t]=e/256>>>21&127,++t,e<=34359738367)||(r[t-1]|=128,r[t]=e/65536>>>21&127,++t,e<=4398046511103))break e;r[t-1]|=128,r[t]=e/16777216>>>21&127,++t}return r.slice(0,t)}function jr(e){var r=0,t=e[r]&127;e:if(e[r++]>=128){if(t|=(e[r]&127)<<7,e[r++]<128||(t|=(e[r]&127)<<14,e[r++]<128)||(t|=(e[r]&127)<<21,e[r++]<128))break e;t|=(e[r]&127)<<28}return t}function fr(e){for(var r=[],t=[0];t[0]=128;);s=e.slice(l,t[0])}break;case 5:o=4,s=e.slice(t[0],t[0]+o),t[0]+=o;break;case 1:o=8,s=e.slice(t[0],t[0]+o),t[0]+=o;break;case 2:o=ro(e,t),s=e.slice(t[0],t[0]+o),t[0]+=o;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a))}var c={data:s,type:i};r[n]==null?r[n]=[c]:r[n].push(c)}return r}function ot(e){var r=[];return e.forEach(function(t,a){t.forEach(function(n){!n.data||(r.push(gr(a*8+n.type)),n.type==2&&r.push(gr(n.data.length)),r.push(n.data))})}),on(r)}function C0(e,r){return(e==null?void 0:e.map(function(t){return r(t.data)}))||[]}function Xt(e){for(var r,t=[],a=[0];a[0]>>0>0),t.push(o)}return t}function Gn(e){var r=[];return e.forEach(function(t){var a=[];a[1]=[{data:gr(t.id),type:0}],a[2]=[],t.merge!=null&&(a[3]=[{data:gr(+!!t.merge),type:0}]);var n=[];t.messages.forEach(function(o){n.push(o.data),o.meta[3]=[{type:0,data:gr(o.data.length)}],a[2].push({data:ot(o.meta),type:2})});var i=ot(a);r.push(gr(i.length)),r.push(i),n.forEach(function(o){return r.push(o)})}),on(r)}function Ik(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var t=[0],a=ro(r,t),n=[];t[0]>2;if(o<60)++o;else{var s=o-59;o=r[t[0]],s>1&&(o|=r[t[0]+1]<<8),s>2&&(o|=r[t[0]+2]<<16),s>3&&(o|=r[t[0]+3]<<24),o>>>=0,o++,t[0]+=s}n.push(r.slice(t[0],t[0]+o)),t[0]+=o;continue}else{var l=0,c=0;if(i==1?(c=(r[t[0]]>>2&7)+4,l=(r[t[0]++]&224)<<3,l|=r[t[0]++]):(c=(r[t[0]++]>>2)+1,i==2?(l=r[t[0]]|r[t[0]+1]<<8,t[0]+=2):(l=(r[t[0]]|r[t[0]+1]<<8|r[t[0]+2]<<16|r[t[0]+3]<<24)>>>0,t[0]+=4)),n=[on(n)],l==0)throw new Error("Invalid offset 0");if(l>n[0].length)throw new Error("Invalid offset beyond length");if(c>=l)for(n.push(n[0].slice(-l)),c-=l;c>=n[n.length-1].length;)n.push(n[n.length-1]),c-=n[n.length-1].length;n.push(n[0].slice(-l,-l+c))}}var f=on(n);if(f.length!=a)throw new Error("Unexpected length: ".concat(f.length," != ").concat(a));return f}function Yt(e){for(var r=[],t=0;t>8&255]))):a<=16777216?(o+=4,r.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))):a<=4294967296&&(o+=5,r.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))),r.push(e.slice(t,t+a)),o+=a,n[0]=0,n[1]=o&255,n[2]=o>>8&255,n[3]=o>>16&255,t+=a}return on(r)}function Pk(e,r,t,a){var n=An(e),i=n.getUint32(4,!0),o=(a>1?12:8)+au(i&(a>1?3470:398))*4,s=-1,l=-1,c=NaN,f=new Date(2001,0,1);i&512&&(s=n.getUint32(o,!0),o+=4),o+=au(i&(a>1?12288:4096))*4,i&16&&(l=n.getUint32(o,!0),o+=4),i&32&&(c=n.getFloat64(o,!0),o+=8),i&64&&(f.setTime(f.getTime()+n.getFloat64(o,!0)*1e3),o+=8);var u;switch(e[2]){case 0:break;case 2:u={t:"n",v:c};break;case 3:u={t:"s",v:r[l]};break;case 5:u={t:"d",v:f};break;case 6:u={t:"b",v:c>0};break;case 7:u={t:"n",v:c/86400};break;case 8:u={t:"e",v:0};break;case 9:if(s>-1)u={t:"s",v:t[s]};else if(l>-1)u={t:"s",v:r[l]};else if(!isNaN(c))u={t:"n",v:c};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)));break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return u}function Nk(e,r,t){var a=An(e),n=a.getUint32(8,!0),i=12,o=-1,s=-1,l=NaN,c=NaN,f=new Date(2001,0,1);n&1&&(l=Dk(e,i),i+=16),n&2&&(c=a.getFloat64(i,!0),i+=8),n&4&&(f.setTime(f.getTime()+a.getFloat64(i,!0)*1e3),i+=8),n&8&&(s=a.getUint32(i,!0),i+=4),n&16&&(o=a.getUint32(i,!0),i+=4);var u;switch(e[1]){case 0:break;case 2:u={t:"n",v:l};break;case 3:u={t:"s",v:r[s]};break;case 5:u={t:"d",v:f};break;case 6:u={t:"b",v:c>0};break;case 7:u={t:"n",v:c/86400};break;case 8:u={t:"e",v:0};break;case 9:if(o>-1)u={t:"s",v:t[o]};else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(n&31," : ").concat(e.slice(0,4)));break;case 10:u={t:"n",v:l};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(n&31," : ").concat(e.slice(0,4)))}return u}function tl(e,r){var t=new Uint8Array(32),a=An(t),n=12,i=0;switch(t[0]=5,e.t){case"n":t[1]=2,Rk(t,n,e.v),i|=1,n+=16;break;case"b":t[1]=6,a.setFloat64(n,e.v?1:0,!0),i|=2,n+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[1]=3,a.setUint32(n,r.indexOf(e.v),!0),i|=8,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(8,i,!0),t.slice(0,n)}function al(e,r){var t=new Uint8Array(32),a=An(t),n=12,i=0;switch(t[0]=3,e.t){case"n":t[2]=2,a.setFloat64(n,e.v,!0),i|=32,n+=8;break;case"b":t[2]=6,a.setFloat64(n,e.v?1:0,!0),i|=32,n+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[2]=3,a.setUint32(n,r.indexOf(e.v),!0),i|=16,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(4,i,!0),t.slice(0,n)}function Lk(e,r,t){switch(e[0]){case 0:case 1:case 2:case 3:return Pk(e,r,t,e[0]);case 5:return Nk(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function ht(e){var r=fr(e);return ro(r[1][0].data)}function nu(e,r){var t=fr(r.data),a=jr(t[1][0].data),n=t[3],i=[];return(n||[]).forEach(function(o){var s=fr(o.data),l=jr(s[1][0].data)>>>0;switch(a){case 1:i[l]=Ol(s[3][0].data);break;case 8:{var c=e[ht(s[9][0].data)][0],f=fr(c.data),u=e[ht(f[1][0].data)][0],d=jr(u.meta[1][0].data);if(d!=2001)throw new Error("2000 unexpected reference to ".concat(d));var v=fr(u.data);i[l]=v[3].map(function(x){return Ol(x.data)}).join("")}break}}),i}function Bk(e,r){var t,a,n,i,o,s,l,c,f,u,d,v,x,h,p=fr(e),m=jr(p[1][0].data)>>>0,S=jr(p[2][0].data)>>>0,g=((a=(t=p[8])==null?void 0:t[0])==null?void 0:a.data)&&jr(p[8][0].data)>0||!1,w,C;if(((i=(n=p[7])==null?void 0:n[0])==null?void 0:i.data)&&r!=0)w=(s=(o=p[7])==null?void 0:o[0])==null?void 0:s.data,C=(c=(l=p[6])==null?void 0:l[0])==null?void 0:c.data;else if(((u=(f=p[4])==null?void 0:f[0])==null?void 0:u.data)&&r!=1)w=(v=(d=p[4])==null?void 0:d[0])==null?void 0:v.data,C=(h=(x=p[3])==null?void 0:x[0])==null?void 0:h.data;else throw"NUMBERS Tile missing ".concat(r," cell storage");for(var F=g?4:1,_=An(w),R=[],y=0;y=1&&(D[R[R.length-1][0]]=C.subarray(R[R.length-1][1]*F)),{R:m,cells:D}}function Mk(e,r){var t,a=fr(r.data),n=(t=a==null?void 0:a[7])!=null&&t[0]?jr(a[7][0].data)>>>0>0?1:0:-1,i=C0(a[5],function(o){return Bk(o,n)});return{nrows:jr(a[4][0].data)>>>0,data:i.reduce(function(o,s){return o[s.R]||(o[s.R]=[]),s.cells.forEach(function(l,c){if(o[s.R][c])throw new Error("Duplicate cell r=".concat(s.R," c=").concat(c));o[s.R][c]=l}),o},[])}}function Kk(e,r,t){var a,n=fr(r.data),i={s:{r:0,c:0},e:{r:0,c:0}};if(i.e.r=(jr(n[6][0].data)>>>0)-1,i.e.r<0)throw new Error("Invalid row varint ".concat(n[6][0].data));if(i.e.c=(jr(n[7][0].data)>>>0)-1,i.e.c<0)throw new Error("Invalid col varint ".concat(n[7][0].data));t["!ref"]=rr(i);var o=fr(n[4][0].data),s=nu(e,e[ht(o[4][0].data)][0]),l=(a=o[17])!=null&&a[0]?nu(e,e[ht(o[17][0].data)][0]):[],c=fr(o[3][0].data),f=0;c[1].forEach(function(u){var d=fr(u.data),v=e[ht(d[2][0].data)][0],x=jr(v.meta[1][0].data);if(x!=6002)throw new Error("6001 unexpected reference to ".concat(x));var h=Mk(e,v);h.data.forEach(function(p,m){p.forEach(function(S,g){var w=$e({r:f+m,c:g}),C=Lk(S,s,l);C&&(t[w]=C)})}),f+=h.nrows})}function jk(e,r){var t=fr(r.data),a={"!ref":"A1"},n=e[ht(t[2][0].data)],i=jr(n[0].meta[1][0].data);if(i!=6001)throw new Error("6000 unexpected reference to ".concat(i));return Kk(e,n[0],a),a}function Wk(e,r){var t,a=fr(r.data),n={name:(t=a[1])!=null&&t[0]?Ol(a[1][0].data):"",sheets:[]},i=C0(a[2],ht);return i.forEach(function(o){e[o].forEach(function(s){var l=jr(s.meta[1][0].data);l==6e3&&n.sheets.push(jk(e,s))})}),n}function Uk(e,r){var t=hv(),a=fr(r.data),n=C0(a[1],ht);if(n.forEach(function(i){e[i].forEach(function(o){var s=jr(o.meta[1][0].data);if(s==2){var l=Wk(e,o);l.sheets.forEach(function(c,f){vv(t,c,f==0?l.name:l.name+"_"+f,!0)})}})}),t.SheetNames.length==0)throw new Error("Empty NUMBERS file");return t}function nl(e){var r,t,a,n,i={},o=[];if(e.FullPaths.forEach(function(l){if(l.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(l){if(!!l.name.match(/\.iwa$/)){var c;try{c=Yt(l.content)}catch(u){return console.log("?? "+l.content.length+" "+(u.message||u))}var f;try{f=Xt(c)}catch(u){return console.log("## "+(u.message||u))}f.forEach(function(u){i[u.id]=u.messages,o.push(u.id)})}}),!o.length)throw new Error("File has no messages");var s=((n=(a=(t=(r=i==null?void 0:i[1])==null?void 0:r[0])==null?void 0:t.meta)==null?void 0:a[1])==null?void 0:n[0].data)&&jr(i[1][0].meta[1][0].data)==1&&i[1][0];if(s||o.forEach(function(l){i[l].forEach(function(c){var f=jr(c.meta[1][0].data)>>>0;if(f==1)if(!s)s=c;else throw new Error("Document has multiple roots")})}),!s)throw new Error("Cannot find Document root");return Uk(i,s)}function Hk(e,r,t){var a,n,i,o;if(!((a=e[6])!=null&&a[0])||!((n=e[7])!=null&&n[0]))throw"Mutation only works on post-BNC storages!";var s=((o=(i=e[8])==null?void 0:i[0])==null?void 0:o.data)&&jr(e[8][0].data)>0||!1;if(s)throw"Math only works with normal offsets";for(var l=0,c=An(e[7][0].data),f=0,u=[],d=An(e[4][0].data),v=0,x=[],h=0;h1&&console.error("The Numbers writer currently writes only the first table");var a=ra(t["!ref"]);a.s.r=a.s.c=0;var n=!1;a.e.c>9&&(n=!0,a.e.c=9),a.e.r>49&&(n=!0,a.e.r=49),n&&console.error("The Numbers writer is currently limited to ".concat(rr(a)));var i=uv(t,{range:a,header:1}),o=["~Sh33tJ5~"];i.forEach(function(z){return z.forEach(function(U){typeof U=="string"&&o.push(U)})});var s={},l=[],c=Me.read(r.numbers,{type:"base64"});c.FileIndex.map(function(z,U){return[z,c.FullPaths[U]]}).forEach(function(z){var U=z[0],V=z[1];if(U.type==2&&!!U.name.match(/\.iwa/)){var q=U.content,ee=Yt(q),Y=Xt(ee);Y.forEach(function(J){l.push(J.id),s[J.id]={deps:[],location:V,type:jr(J.messages[0].meta[1][0].data)}})}}),l.sort(function(z,U){return z-U});var f=l.filter(function(z){return z>1}).map(function(z){return[z,gr(z)]});c.FileIndex.map(function(z,U){return[z,c.FullPaths[U]]}).forEach(function(z){var U=z[0];if(z[1],!!U.name.match(/\.iwa/)){var V=Xt(Yt(U.content));V.forEach(function(q){q.messages.forEach(function(ee){f.forEach(function(Y){q.messages.some(function(J){return jr(J.meta[1][0].data)!=11006&&Ok(J.data,Y[1])})&&s[Y[0]].deps.push(q.id)})})})}});for(var u=Me.find(c,s[1].location),d=Xt(Yt(u.content)),v,x=0;x-1?"sheet":e==Ze.CS?"chart":e==Ze.DS?"dialog":e==Ze.MS?"macro":e&&e.length?e:"sheet"}function $k(e,r){if(!e)return 0;try{e=r.map(function(a){return a.id||(a.id=a.strRelID),[a.name,e["!id"][a.id].Target,zk(e["!id"][a.id].Type)]})}catch{return null}return!e||e.length===0?null:e}function Gk(e,r,t,a,n,i,o,s,l,c,f,u){try{i[a]=Ni(Mt(e,t,!0),r);var d=Xr(e,r),v;switch(s){case"sheet":v=gT(d,r,n,l,i[a],c,f,u);break;case"chart":if(v=pT(d,r,n,l,i[a],c,f,u),!v||!v["!drawel"])break;var x=Ci(v["!drawel"].Target,r),h=Yi(x),p=ab(Mt(e,x,!0),Ni(Mt(e,h,!0),x)),m=Ci(p,x),S=Yi(m);v=VC(Mt(e,m,!0),m,l,Ni(Mt(e,S,!0),m),c,v);break;case"macro":v=mT(d,r,n,l,i[a],c,f,u);break;case"dialog":v=wT(d,r,n,l,i[a],c,f,u);break;default:throw new Error("Unrecognized sheet type "+s)}o[a]=v;var g=[];i&&i[a]&&Hr(i[a]).forEach(function(w){var C="";if(i[a][w].Type==Ze.CMNT){C=Ci(i[a][w].Target,r);var F=ST(Xr(e,C,!0),C,l);if(!F||!F.length)return;Vf(v,F,!1)}i[a][w].Type==Ze.TCMNT&&(C=Ci(i[a][w].Target,r),g=g.concat(ib(Xr(e,C,!0),l)))}),g&&g.length&&Vf(v,g,!0,l.people||[])}catch(w){if(l.WTF)throw w}}function $t(e){return e.charAt(0)=="/"?e.slice(1):e}function Xk(e,r){if(hi(),r=r||{},T0(r),Jt(e,"META-INF/manifest.xml")||Jt(e,"objectdata.xml"))return eu(e,r);if(Jt(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof nl<"u"){if(e.FileIndex)return nl(e);var t=Me.utils.cfb_new();return uf(e).forEach(function(A){qe(t,A,Ed(e,A))}),nl(t)}throw new Error("Unsupported NUMBERS file")}if(!Jt(e,"[Content_Types].xml"))throw Jt(e,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):Jt(e,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var a=uf(e),n=Qm(Mt(e,"[Content_Types].xml")),i=!1,o,s;if(n.workbooks.length===0&&(s="xl/workbook.xml",Xr(e,s,!0)&&n.workbooks.push(s)),n.workbooks.length===0){if(s="xl/workbook.bin",!Xr(e,s,!0))throw new Error("Could not find workbook");n.workbooks.push(s),i=!0}n.workbooks[0].slice(-3)=="bin"&&(i=!0);var l={},c={};if(!r.bookSheets&&!r.bookProps){if(Li=[],n.sst)try{Li=bT(Xr(e,$t(n.sst)),n.sst,r)}catch(A){if(r.WTF)throw A}r.cellStyles&&n.themes.length&&(l=_T(Mt(e,n.themes[0].replace(/^\//,""),!0)||"",n.themes[0],r)),n.style&&(c=yT(Xr(e,$t(n.style)),n.style,l,r))}n.links.map(function(A){try{var b=Ni(Mt(e,Yi($t(A))),A);return CT(Xr(e,$t(A)),b,A,r)}catch{}});var f=xT(Xr(e,$t(n.workbooks[0])),n.workbooks[0],r),u={},d="";n.coreprops.length&&(d=Xr(e,$t(n.coreprops[0]),!0),d&&(u=Zd(d)),n.extprops.length!==0&&(d=Xr(e,$t(n.extprops[0]),!0),d&&ow(d,u,r)));var v={};(!r.bookSheets||r.bookProps)&&n.custprops.length!==0&&(d=Mt(e,$t(n.custprops[0]),!0),d&&(v=lw(d,r)));var x={};if((r.bookSheets||r.bookProps)&&(f.Sheets?o=f.Sheets.map(function(b){return b.name}):u.Worksheets&&u.SheetNames.length>0&&(o=u.SheetNames),r.bookProps&&(x.Props=u,x.Custprops=v),r.bookSheets&&typeof o<"u"&&(x.SheetNames=o),r.bookSheets?x.SheetNames:r.bookProps))return x;o={};var h={};r.bookDeps&&n.calcchain&&(h=ET(Xr(e,$t(n.calcchain)),n.calcchain));var p=0,m={},S,g;{var w=f.Sheets;u.Worksheets=w.length,u.SheetNames=[];for(var C=0;C!=w.length;++C)u.SheetNames[C]=w[C].name}var F=i?"bin":"xml",_=n.workbooks[0].lastIndexOf("/"),R=(n.workbooks[0].slice(0,_+1)+"_rels/"+n.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");Jt(e,R)||(R="xl/_rels/workbook."+F+".rels");var y=Ni(Mt(e,R,!0),R.replace(/_rels.*/,"s5s"));(n.metadata||[]).length>=1&&(r.xlmeta=TT(Xr(e,$t(n.metadata[0])),n.metadata[0],r)),(n.people||[]).length>=1&&(r.people=sb(Xr(e,$t(n.people[0])),r)),y&&(y=$k(y,f.Sheets));var W=Xr(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(p=0;p!=u.Worksheets;++p){var D="sheet";if(y&&y[p]?(S="xl/"+y[p][1].replace(/[\/]?xl\//,""),Jt(e,S)||(S=y[p][1]),Jt(e,S)||(S=R.replace(/_rels\/.*$/,"")+y[p][1]),D=y[p][2]):(S="xl/worksheets/sheet"+(p+1-W)+"."+F,S=S.replace(/sheet0\./,"sheet.")),g=S.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(p!=r.sheets)continue e;break;case"string":if(u.SheetNames[p].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){for(var E=!1,T=0;T!=r.sheets.length;++T)typeof r.sheets[T]=="number"&&r.sheets[T]==p&&(E=1),typeof r.sheets[T]=="string"&&r.sheets[T].toLowerCase()==u.SheetNames[p].toLowerCase()&&(E=1);if(!E)continue e}}Gk(e,S,g,u.SheetNames[p],p,m,o,D,r,f,l,c)}return x={Directory:n,Workbook:f,Props:u,Custprops:v,Deps:h,Sheets:o,SheetNames:u.SheetNames,Strings:Li,Styles:c,Themes:l,SSF:Dr(Ue)},r&&r.bookFiles&&(e.files?(x.keys=a,x.files=e.files):(x.keys=[],x.files={},e.FullPaths.forEach(function(A,b){A=A.replace(/^Root Entry[\/]/,""),x.keys.push(A),x.files[A]=e.FileIndex[b]}))),r&&r.bookVBA&&(n.vba.length>0?x.vbaraw=Xr(e,$t(n.vba[0]),!0):n.defaults&&n.defaults.bin===xb&&(x.vbaraw=Xr(e,"xl/vbaProject.bin",!0))),x}function Yk(e,r){var t=r||{},a="Workbook",n=Me.find(e,a);try{if(a="/!DataSpaces/Version",n=Me.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(Ty(n.content),a="/!DataSpaces/DataSpaceMap",n=Me.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=Fy(n.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",n=Me.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=Ay(n.content);if(o.length!=1||o[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",n=Me.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Dy(n.content)}catch{}if(a="/EncryptionInfo",n=Me.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=Ry(n.content);if(a="/EncryptedPackage",n=Me.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(s[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(s[1],n.content,t.password||"",t);if(s[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(s[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function qk(e,r){return r.bookType=="ods"?ov(e,r):r.bookType=="numbers"?Vk(e,r):r.bookType=="xlsb"?Jk(e,r):Zk(e,r)}function Jk(e,r){Qn=1024,e&&!e.SSF&&(e.SSF=Dr(Ue)),e&&e.SSF&&(hi(),ys(e.SSF),r.revssf=bs(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.rels={},r.wbrels={},r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,Bi?r.revStrings=new Map:(r.revStrings={},r.revStrings.foo=[],delete r.revStrings.foo);var t=r.bookType=="xlsb"?"bin":"xml",a=Bh.indexOf(r.bookType)>-1,n=d0();k0(r=r||{});var i=e0(),o="",s=0;if(r.cellXfs=[],cn(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),o="docProps/core.xml",qe(i,o,Qd(e.Props,r)),n.coreprops.push(o),pr(r.rels,2,o,Ze.CORE_PROPS),o="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var l=[],c=0;c0&&(o="docProps/custom.xml",qe(i,o,ah(e.Custprops)),n.custprops.push(o),pr(r.rels,4,o,Ze.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var f={"!id":{}},u=e.Sheets[e.SheetNames[s-1]],d=(u||{})["!type"]||"sheet";switch(d){case"chart":default:o="xl/worksheets/sheet"+s+"."+t,qe(i,o,FT(s-1,o,r,e,f)),n.sheets.push(o),pr(r.wbrels,-1,"worksheets/sheet"+s+"."+t,Ze.WS[0])}if(u){var v=u["!comments"],x=!1,h="";v&&v.length>0&&(h="xl/comments"+s+"."+t,qe(i,h,DT(v,h)),n.comments.push(h),pr(f,-1,"../comments"+s+"."+t,Ze.CMNT),x=!0),u["!legacy"]&&x&&qe(i,"xl/drawings/vmlDrawing"+s+".vml",Nh(s,u["!comments"])),delete u["!comments"],delete u["!legacy"]}f["!id"].rId1&&qe(i,Yi(o),ni(f))}return r.Strings!=null&&r.Strings.length>0&&(o="xl/sharedStrings."+t,qe(i,o,OT(r.Strings,o,r)),n.strs.push(o),pr(r.wbrels,-1,"sharedStrings."+t,Ze.SST)),o="xl/workbook."+t,qe(i,o,kT(e,o)),n.workbooks.push(o),pr(r.rels,1,o,Ze.WB),o="xl/theme/theme1.xml",qe(i,o,m0(e.Themes,r)),n.themes.push(o),pr(r.wbrels,-1,"theme/theme1.xml",Ze.THEME),o="xl/styles."+t,qe(i,o,AT(e,o,r)),n.styles.push(o),pr(r.wbrels,-1,"styles."+t,Ze.STY),e.vbaraw&&a&&(o="xl/vbaProject.bin",qe(i,o,e.vbaraw),n.vba.push(o),pr(r.wbrels,-1,"vbaProject.bin",Ze.VBA)),o="xl/metadata."+t,qe(i,o,RT(o)),n.metadata.push(o),pr(r.wbrels,-1,"metadata."+t,Ze.XLMETA),qe(i,"[Content_Types].xml",qd(n,r)),qe(i,"_rels/.rels",ni(r.rels)),qe(i,"xl/_rels/workbook."+t+".rels",ni(r.wbrels)),delete r.revssf,delete r.ssf,i}function Zk(e,r){Qn=1024,e&&!e.SSF&&(e.SSF=Dr(Ue)),e&&e.SSF&&(hi(),ys(e.SSF),r.revssf=bs(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.rels={},r.wbrels={},r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,Bi?r.revStrings=new Map:(r.revStrings={},r.revStrings.foo=[],delete r.revStrings.foo);var t="xml",a=Bh.indexOf(r.bookType)>-1,n=d0();k0(r=r||{});var i=e0(),o="",s=0;if(r.cellXfs=[],cn(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),o="docProps/core.xml",qe(i,o,Qd(e.Props,r)),n.coreprops.push(o),pr(r.rels,2,o,Ze.CORE_PROPS),o="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var l=[],c=0;c0&&(o="docProps/custom.xml",qe(i,o,ah(e.Custprops)),n.custprops.push(o),pr(r.rels,4,o,Ze.CUST_PROPS));var f=["SheetJ5"];for(r.tcid=0,s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},d=e.Sheets[e.SheetNames[s-1]],v=(d||{})["!type"]||"sheet";switch(v){case"chart":default:o="xl/worksheets/sheet"+s+"."+t,qe(i,o,Xh(s-1,r,e,u)),n.sheets.push(o),pr(r.wbrels,-1,"worksheets/sheet"+s+"."+t,Ze.WS[0])}if(d){var x=d["!comments"],h=!1,p="";if(x&&x.length>0){var m=!1;x.forEach(function(S){S[1].forEach(function(g){g.T==!0&&(m=!0)})}),m&&(p="xl/threadedComments/threadedComment"+s+"."+t,qe(i,p,ob(x,f,r)),n.threadedcomments.push(p),pr(u,-1,"../threadedComments/threadedComment"+s+"."+t,Ze.TCMNT)),p="xl/comments"+s+"."+t,qe(i,p,Lh(x)),n.comments.push(p),pr(u,-1,"../comments"+s+"."+t,Ze.CMNT),h=!0}d["!legacy"]&&h&&qe(i,"xl/drawings/vmlDrawing"+s+".vml",Nh(s,d["!comments"])),delete d["!comments"],delete d["!legacy"]}u["!id"].rId1&&qe(i,Yi(o),ni(u))}return r.Strings!=null&&r.Strings.length>0&&(o="xl/sharedStrings."+t,qe(i,o,Sh(r.Strings,r)),n.strs.push(o),pr(r.wbrels,-1,"sharedStrings."+t,Ze.SST)),o="xl/workbook."+t,qe(i,o,Qh(e)),n.workbooks.push(o),pr(r.rels,1,o,Ze.WB),o="xl/theme/theme1.xml",qe(i,o,m0(e.Themes,r)),n.themes.push(o),pr(r.wbrels,-1,"theme/theme1.xml",Ze.THEME),o="xl/styles."+t,qe(i,o,Dh(e,r)),n.styles.push(o),pr(r.wbrels,-1,"styles."+t,Ze.STY),e.vbaraw&&a&&(o="xl/vbaProject.bin",qe(i,o,e.vbaraw),n.vba.push(o),pr(r.wbrels,-1,"vbaProject.bin",Ze.VBA)),o="xl/metadata."+t,qe(i,o,Ph()),n.metadata.push(o),pr(r.wbrels,-1,"metadata."+t,Ze.XLMETA),f.length>1&&(o="xl/persons/person.xml",qe(i,o,lb(f)),n.people.push(o),pr(r.wbrels,-1,"persons/person.xml",Ze.PEOPLE)),qe(i,"[Content_Types].xml",qd(n,r)),qe(i,"_rels/.rels",ni(r.rels)),qe(i,"xl/_rels/workbook."+t+".rels",ni(r.wbrels)),delete r.revssf,delete r.ssf,i}function F0(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=jt(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"))}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function Qk(e,r){return Me.find(e,"EncryptedPackage")?Yk(e,r):av(e,r)}function e4(e,r){var t,a=e,n=r||{};return n.type||(n.type=Je&&Buffer.isBuffer(e)?"buffer":"base64"),t=Cd(a,n),Xk(t,n)}function lv(e,r){var t=0;e:for(;t=2&&n[3]===0||n[2]===0&&(n[3]===8||n[3]===9)))return _n.to_workbook(a,t);break;case 3:case 131:case 139:case 140:return kl.to_workbook(a,t);case 123:if(n[1]===92&&n[2]===114&&n[3]===116)return Fh.to_workbook(a,t);break;case 10:case 13:case 32:return r4(a,t);case 137:if(n[1]===80&&n[2]===78&&n[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return ly.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?kl.to_workbook(a,t):il(e,a,t,i)}function cv(e,r){switch(r.type){case"base64":case"binary":break;case"buffer":case"array":r.type="";break;case"file":return io(r.file,Me.write(e,{type:Je?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type)}return Me.write(e,r)}function n4(e,r){var t=Dr(r||{}),a=qk(e,t);return i4(a,t)}function i4(e,r){var t={},a=Je?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(r.compression&&(t.compression="DEFLATE"),r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type)}var n=e.FullPaths?Me.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno<"u"&&typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(ws(n))}return r.password&&typeof encrypt_agile<"u"?cv(encrypt_agile(n,r.password),r):r.type==="file"?io(r.file,n):r.type=="string"?br(n):n}function o4(e,r){var t=r||{},a=nk(e,t);return cv(a,t)}function wa(e,r,t){t||(t="");var a=t+e;switch(r.type){case"base64":return Hi(ya(a));case"binary":return ya(a);case"string":return e;case"file":return io(r.file,a,"utf8");case"buffer":return Je?Ua(a,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(a):wa(a,{type:"binary"}).split("").map(function(n){return n.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function s4(e,r){switch(r.type){case"base64":return Hi(e);case"binary":return e;case"string":return e;case"file":return io(r.file,e,"binary");case"buffer":return Je?Ua(e,"binary"):e.split("").map(function(t){return t.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function Mo(e,r){switch(r.type){case"string":case"base64":case"binary":for(var t="",a=0;a0&&(n=0);var u=nt(l.s.r),d=[],v=[],x=0,h=0,p=Array.isArray(e),m=l.s.r,S=0,g={};p&&!e[m]&&(e[m]=[]);var w=c.skipHidden&&e["!cols"]||[],C=c.skipHidden&&e["!rows"]||[];for(S=l.s.c;S<=l.e.c;++S)if(!(w[S]||{}).hidden)switch(d[S]=Jr(S),t=p?e[m][S]:e[d[S]+u],a){case 1:i[S]=S-l.s.c;break;case 2:i[S]=d[S];break;case 3:i[S]=c.header[S-l.s.c];break;default:if(t==null&&(t={w:"__EMPTY",t:"s"}),s=o=tn(t,null,c),h=g[o]||0,!h)g[o]=1;else{do s=o+"_"+h++;while(g[s]);g[o]=h,g[s]=1}i[S]=s}for(m=l.s.r+n;m<=l.e.r;++m)if(!(C[m]||{}).hidden){var F=f4(e,l,m,d,a,i,p,c);(F.isempty===!1||(a===1?c.blankrows!==!1:!!c.blankrows))&&(v[x++]=F.row)}return v.length=x,v}var iu=/"/g;function u4(e,r,t,a,n,i,o,s){for(var l=!0,c=[],f="",u=nt(t),d=r.s.c;d<=r.e.c;++d)if(!!a[d]){var v=s.dense?(e[t]||[])[d]:e[a[d]+u];if(v==null)f="";else if(v.v!=null){l=!1,f=""+(s.rawNumbers&&v.t=="n"?v.v:tn(v,null,s));for(var x=0,h=0;x!==f.length;++x)if((h=f.charCodeAt(x))===n||h===i||h===34||s.forceQuotes){f='"'+f.replace(iu,'""')+'"';break}f=="ID"&&(f='"ID"')}else v.f!=null&&!v.F?(l=!1,f="="+v.f,f.indexOf(",")>=0&&(f='"'+f.replace(iu,'""')+'"')):f="";c.push(f)}return s.blankrows===!1&&l?null:c.join(o)}function dv(e,r){var t=[],a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=xr(e["!ref"]),i=a.FS!==void 0?a.FS:",",o=i.charCodeAt(0),s=a.RS!==void 0?a.RS:` `,l=s.charCodeAt(0),c=new RegExp((i=="|"?"\\|":i)+"+$"),f="",u=[];a.dense=Array.isArray(e);for(var d=a.skipHidden&&e["!cols"]||[],v=a.skipHidden&&e["!rows"]||[],x=n.s.c;x<=n.e.c;++x)(d[x]||{}).hidden||(u[x]=Jr(x));for(var h=0,p=n.s.r;p<=n.e.r;++p)(v[p]||{}).hidden||(f=u4(e,n,p,u,o,l,i,a),f!=null&&(a.strip&&(f=f.replace(c,"")),(f||a.blankrows!==!1)&&t.push((h++?s:"")+f)));return delete a.dense,t.join("")}function d4(e,r){r||(r={}),r.FS=" ",r.RS=` `;var t=dv(e,r);return t}function hv(){return{SheetNames:[],Sheets:{}}}function vv(e,r,t,a){var n=1;if(!t)for(;n<=65535&&e.SheetNames.indexOf(t="Sheet"+n)!=-1;++n,t=void 0);if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0){var i=t.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var o=i&&i[1]||t;for(++n;n<=65535&&e.SheetNames.indexOf(t=o+n)!=-1;++n);}if(Zh(t),e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");return e.SheetNames.push(t),e.Sheets[t]=r,t}const h4=e=>(Gv("data-v-bf863a88"),e=e(),Xv(),e),v4={class:"container"},x4=h4(()=>ll("br",null,null,-1)),g4={name:"SearchTable"},p4=Tr({...g4,setup(e){const{t:r}=Ev.exports.useI18n(),t=Cv(),{loading:a,setLoading:n}=Yv(!1),i={bandwidthOption:{0:"25KHz",1:"12.5KHz"},modeOption:{0:"FM",1:"AM",2:"USB"},powerOption:{0:"\u4F4E",1:"\u4E2D",2:"\u9AD8"},toneOption:{1:"\u4E9A\u97F3\u9891",2:"\u6570\u5B57\u4E9A\u97F3",3:"\u53CD\u5411\u6570\u5B57\u4E9A\u97F3"},CTCSSOption:[67,69.3,71.9,74.4,77,79.7,82.5,85.4,88.5,91.5,94.8,97.4,100,103.5,107.2,110.9,114.8,118.8,123,127.3,131.8,136.5,141.3,146.2,151.4,156.7,159.8,162.2,165.5,167.9,171.3,173.8,177.3,179.9,183.5,186.2,189.9,192.8,196.6,199.5,203.5,206.5,210.7,218.1,225.7,229.1,233.6,241.8,250.3,254.1],DCSOption:[23,25,26,31,32,36,43,47,51,53,54,65,71,72,73,74,114,115,116,122,125,131,132,134,143,145,152,155,156,162,165,172,174,205,212,223,225,226,243,244,245,246,251,252,255,261,263,265,266,271,274,306,311,315,325,331,332,343,346,351,356,364,365,371,411,412,413,423,431,432,445,446,452,454,455,462,464,465,466,503,506,516,523,526,532,546,565,606,612,624,627,631,632,654,662,664,703,712,723,731,732,734,743,754],stepOption:[2.5,5,6.25,10,12.5,25,8.33,.01,.05,.1,.25,.5,1,1.25,9,15,20,30,50,100,125,200,250,500],scrambOption:["1","2","3","4","5","6","7","8","9","10"],pttidOption:["\u4E0A\u7EBF\u7801","\u4E0B\u7EBF\u7801","\u4E0A\u7EBF+\u4E0B\u7EBF\u7801","Quindar\u7801"]},o=Sn({renderData:Array.from({length:200}).map(g=>({scanlist:[]})),pageSize:15,nowPage:1}),s=Sn({showHide:0}),l=g=>{o.renderData=g.newData},c=le(()=>[{colKey:"drag",title:r("cps.sort"),width:46},{title:"#",colKey:"index",align:"left",width:100},{title:r("cps.name"),colKey:"name",width:250,align:"left",edit:{component:jo,props:{clearable:!0},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.bandwidth"),colKey:"bandwidth",align:"left",width:150,cell:(g,{row:w})=>{var C;return(C=i.bandwidthOption[w.bandwidth])!=null?C:""},edit:{component:Vt,props:{clearable:!0,options:Object.keys(i.bandwidthOption).map(g=>({value:g,label:i.bandwidthOption[g]}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.rx"),colKey:"rx",align:"left",width:200,cell:(g,{row:w})=>parseFloat(w.rx)?parseFloat(w.rx).toFixed(5):void 0,edit:{component:jo,props:{clearable:!0},onEdited:g=>{g.newRowData.rx=g.newRowData.rx?g.newRowData.rx:void 0;const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.tx"),colKey:"tx",align:"left",width:200,cell:(g,{row:w})=>parseFloat(w.tx)?parseFloat(w.tx).toFixed(5):void 0,edit:{component:jo,props:{clearable:!0},onEdited:g=>{g.newRowData.tx=g.newRowData.tx?g.newRowData.tx:void 0;const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.power"),colKey:"power",align:"left",width:150,cell:(g,{row:w})=>{var C;return(C=i.powerOption[w.power])!=null?C:""},edit:{component:Vt,props:{clearable:!0,options:Object.keys(i.powerOption).map(g=>({value:g,label:i.powerOption[g]}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.rxToneType"),colKey:"rxTone",align:"left",width:180,cell:(g,{row:w})=>{var C;return(C=i.toneOption[w.rxTone])!=null?C:""},edit:{component:Vt,props:{clearable:!0,options:Object.keys(i.toneOption).map(g=>({value:g,label:i.toneOption[g]}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.rxToneCTCSS"),colKey:"rxCTCSS",align:"left",width:150,cell:(g,{row:w})=>{var C;return i.CTCSSOption.indexOf(w.rxCTCSS)>=0?(C=w.rxCTCSS)==null?void 0:C.toFixed(1):void 0},edit:{component:Vt,props:{clearable:!0,options:i.CTCSSOption.map(g=>({value:g,label:g.toFixed(1)}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.rxToneDCS"),colKey:"rxDCS",align:"left",width:150,cell:(g,{row:w})=>i.DCSOption.indexOf(w.rxDCS)>=0?"0"+w.rxDCS:void 0,edit:{component:Vt,props:{clearable:!0,options:i.DCSOption.map(g=>({value:g,label:"0"+g}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.txToneType"),colKey:"txTone",align:"left",width:180,cell:(g,{row:w})=>{var C;return(C=i.toneOption[w.txTone])!=null?C:""},edit:{component:Vt,props:{clearable:!0,options:Object.keys(i.toneOption).map(g=>({value:g,label:i.toneOption[g]}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.txToneCTCSS"),colKey:"txCTCSS",align:"left",width:150,cell:(g,{row:w})=>{var C;return i.CTCSSOption.indexOf(w.txCTCSS)>=0?(C=w.txCTCSS)==null?void 0:C.toFixed(1):void 0},edit:{component:Vt,props:{clearable:!0,options:i.CTCSSOption.map(g=>({value:g,label:g.toFixed(1)}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.txToneDCS"),colKey:"txDCS",align:"left",width:150,cell:(g,{row:w})=>i.DCSOption.indexOf(w.txDCS)>=0?"0"+w.txDCS:void 0,edit:{component:Vt,props:{clearable:!0,options:i.DCSOption.map(g=>({value:g,label:"0"+g}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.step"),colKey:"step",align:"left",width:150,cell:(g,{row:w})=>{var C;return i.stepOption.indexOf(w.step)>=0?(C=w.step)==null?void 0:C.toFixed(2):void 0},edit:{component:Vt,props:{clearable:!0,options:i.stepOption.map(g=>({value:g,label:g.toFixed(2)}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.reverse"),colKey:"reverse",align:"left",width:150},{title:r("cps.scramb"),colKey:"scramb",align:"left",width:150,edit:{component:Vt,props:{clearable:!0,options:i.scrambOption.map(g=>({value:g,label:g}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.busy"),colKey:"busy",align:"left",width:150},{title:r("cps.pttid"),colKey:"pttid",align:"left",width:150,edit:{component:Vt,props:{clearable:!0,options:i.pttidOption.map(g=>({value:g,label:g}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.mode"),colKey:"mode",align:"left",width:150,cell:(g,{row:w})=>{var C;return(C=i.modeOption[w.mode])!=null?C:""},edit:{component:Vt,props:{clearable:!0,options:Object.keys(i.modeOption).map(g=>({value:g,label:i.modeOption[g]}))},onEdited:g=>{const w=[...o.renderData];w.splice((o.nowPage-1)*o.pageSize+g.rowIndex,1,g.newRowData),o.renderData=w}}},{title:r("cps.dtmf"),colKey:"dtmf",align:"left",width:150},{title:r("cps.scanlist"),colKey:"scanlist",align:"left",width:150},{title:r("cps.operate"),colKey:"operate",align:"left",width:150}]),f=[50,108,136,174,350,400,470],u=async()=>{var _,R,y,W;if(t.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}await R0(t.connectPort),n(!0);let g=new Uint8Array(3200);for(let D=0;D<3200;D+=128){const E=await As(t.connectPort,D,128,(_=t.configuration)==null?void 0:_.uart);g.set(E,D)}let w=new Uint8Array(192);for(let D=3424;D<3616;D+=64){const E=await As(t.connectPort,D,64,(R=t.configuration)==null?void 0:R.uart);w.set(E,D-3424)}let C=new Uint8Array(3200);for(let D=3920;D<7120;D+=128){const E=await As(t.connectPort,D,128,(y=t.configuration)==null?void 0:y.uart);C.set(E,D-3920)}const F=[];for(let D=0;D<3200;D+=16){const E=I0(g.subarray(D,D+16)),T=I0(w.subarray(D/16,D/16+1)),A={scanlist:[]};A.rx=E.substr(24,8)!="ffffffff"?parseInt(E.substr(24,8),16)/1e5:void 0,A.rx&&T!="ff"?(console.info(E),console.info(T),A.offset=E.substr(16,8)!="00000000"?parseInt(E.substr(16,8),16)/1e5:void 0,A.txcodeflag=E.substr(9,1),A.txcodeflag=="1"&&(A.tx=A.rx+A.offset),A.txcodeflag=="2"&&(A.tx=A.rx-A.offset),A.txTone=parseInt(E.substr(10,1),16)>0?parseInt(E.substr(10,1),16).toString():void 0,A.rxTone=parseInt(E.substr(11,1),16)>0?parseInt(E.substr(11,1),16).toString():void 0,A.txTone=="1"&&(A.txCTCSS=i.CTCSSOption[parseInt(E.substr(12,2),16)]),(A.txTone=="2"||A.txTone=="3")&&(A.txDCS=i.DCSOption[parseInt(E.substr(12,2),16)]),A.rxTone=="1"&&(A.rxCTCSS=i.CTCSSOption[parseInt(E.substr(14,2),16)]),(A.rxTone=="2"||A.rxTone=="3")&&(A.rxDCS=i.DCSOption[parseInt(E.substr(14,2),16)]),A.step=i.stepOption[parseInt(E.substr(2,2),16)],A.scramb=parseInt(E.substr(0,2),16)>0?parseInt(E.substr(0,2),16).toString():void 0,A.power_reverse_busy_width=parseInt(E.substr(6,2),16),A.reverse=!!(A.power_reverse_busy_width>>0&1),A.bandwidth=(A.power_reverse_busy_width>>1&1).toString(),A.power=(A.power_reverse_busy_width>>2&3).toString(),A.busy=!!(A.power_reverse_busy_width>>4&1),A.pttid_dtmf=parseInt(E.substr(4,2),16),A.pttid=i.pttidOption[(A.pttid_dtmf>>1)-1],A.dtmf=!!(A.pttid_dtmf>>0&1),A.mode=parseInt(E.substr(8,1),16).toString(),A.name=qv(C.subarray(D,D+16),(W=t.configuration)==null?void 0:W.charset),parseInt(T.substr(0,1),16)&8&&A.scanlist.push("I"),parseInt(T.substr(0,1),16)&4&&A.scanlist.push("II")):A.rx=void 0,F.push(A)}o.renderData=F,n(!1)},d=async()=>{var _,R;if(t.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}await R0(t.connectPort),n(!0);let g=new Uint8Array(3200),w=new Uint8Array(200),C=new Uint8Array(3200),F=0;o.renderData.map(y=>{var W,D,E;if(y.rx){let T="";T+=parseInt(y.scramb)>0?parseInt(y.scramb).toString(16).padStart(2,"0"):"00",T+=i.stepOption.indexOf(y.step)>=0?i.stepOption.indexOf(y.step).toString(16).padStart(2,"0"):"00";let A=i.pttidOption.indexOf(y.pttid)+1<<1;A+=y.dtmf?1:0,T+=A.toString(16).padStart(2,"0");let b=y.busy?1<<4:0;switch(b+=y.power<<2,b+=y.bandwidth<<1,b+=y.reverse?1:0,T+=b.toString(16).padStart(2,"0"),T+=y.mode?y.mode.toString(16):"0",y.tx>0&&y.tx>y.rx?T+="1":y.tx>0&&y.tx0?y.txTone.toString(16):"0",T+=parseInt(y.rxTone)>0?y.rxTone.toString(16):"0",y.txTone){case"1":T+=i.CTCSSOption.indexOf(y.txCTCSS).toString(16).padStart(2,"0");break;case"2":case"3":T+=i.DCSOption.indexOf(y.txDCS).toString(16).padStart(2,"0");break;default:T+="00"}switch(y.rxTone){case"1":T+=i.CTCSSOption.indexOf(y.rxCTCSS).toString(16).padStart(2,"0");break;case"2":case"3":T+=i.DCSOption.indexOf(y.rxDCS).toString(16).padStart(2,"0");break;default:T+="00"}const O=y.tx&&y.rx?Math.abs(parseInt((y.tx*1e5).toFixed(0))-parseInt((y.rx*1e5).toFixed(0))):NaN;T+=Number.isNaN(O)?"00000000":O.toString(16).padStart(8,"0"),T+=parseInt((y.rx*1e5).toFixed(0)).toString(16).padStart(8,"0"),console.log(T),g.set(Os(T),F);let N=0;((W=y.scanlist)==null?void 0:W.indexOf("I"))>=0&&(N+=8),((D=y.scanlist)==null?void 0:D.indexOf("II"))>=0&&(N+=4),w.set([(N<<4)+f.indexOf(f.reduce((L,X)=>X{const w=[...o.renderData];w.splice(g,1,{scanlist:[]}),o.renderData=w},x=()=>{const g=JSON.stringify(o.renderData),w=new Blob([g],{type:"application/octet-stream"}),C=URL.createObjectURL(w),F=document.createElement("a");F.download="channel.json",F.href=C,document.body.appendChild(F),F.click(),document.body.removeChild(F),URL.revokeObjectURL(C)},h=()=>{const g=document.createElement("input");g.type="file",g.onchange=async()=>{const C=await new Blob([g.files[0]],{type:"application/octet-stream"}).text();o.renderData=JSON.parse(C)},g.click()},p=()=>{const g=document.createElement("a");g.href="/K5Channel.xlsx",g.download="K5Channel.xlsx",document.body.appendChild(g),g.click(),document.body.removeChild(g)},m=async()=>{var F,_,R,y,W,D,E,T,A,b,O,N,G,L,X,Z,I,z,U,V,q,ee,Y,J,Q,ce,K,Oe,Ie,Le,Pe,ve,Ye,dr,hr,kr,Qe,zr;const g=await fetch("/K5Channel.xlsx"),w=vs(await g.arrayBuffer()),C=w.Sheets[w.SheetNames[0]];for(let ge=2;ge<202;ge++)(F=o.renderData[ge-2])!=null&&F.name&&(C["B"+ge]={},C["B"+ge].v=(_=o.renderData[ge-2])==null?void 0:_.name),(R=o.renderData[ge-2])!=null&&R.bandwidth&&(C["C"+ge]={},C["C"+ge].v=i.bandwidthOption[(y=o.renderData[ge-2])==null?void 0:y.bandwidth]),(W=o.renderData[ge-2])!=null&&W.rx&&(C["D"+ge]={},C["D"+ge].v=(D=o.renderData[ge-2])==null?void 0:D.rx),(E=o.renderData[ge-2])!=null&&E.tx&&(C["E"+ge]={},C["E"+ge].v=(T=o.renderData[ge-2])==null?void 0:T.tx),(A=o.renderData[ge-2])!=null&&A.power&&(C["F"+ge]={},C["F"+ge].v=i.powerOption[(b=o.renderData[ge-2])==null?void 0:b.power]),(O=o.renderData[ge-2])!=null&&O.rxTone&&(C["G"+ge]={},C["G"+ge].v=i.toneOption[(N=o.renderData[ge-2])==null?void 0:N.rxTone]),(G=o.renderData[ge-2])!=null&&G.rxCTCSS&&(C["H"+ge]={},C["H"+ge].v=(L=o.renderData[ge-2])==null?void 0:L.rxCTCSS),(X=o.renderData[ge-2])!=null&&X.rxDCS&&(C["I"+ge]={},C["I"+ge].v=(Z=o.renderData[ge-2])==null?void 0:Z.rxDCS),(I=o.renderData[ge-2])!=null&&I.txTone&&(C["J"+ge]={},C["J"+ge].v=i.toneOption[(z=o.renderData[ge-2])==null?void 0:z.txTone]),(U=o.renderData[ge-2])!=null&&U.txCTCSS&&(C["K"+ge]={},C["K"+ge].v=(V=o.renderData[ge-2])==null?void 0:V.txCTCSS),(q=o.renderData[ge-2])!=null&&q.txDCS&&(C["L"+ge]={},C["L"+ge].v=(ee=o.renderData[ge-2])==null?void 0:ee.txDCS),(Y=o.renderData[ge-2])!=null&&Y.step&&(C["M"+ge]={},C["M"+ge].v=(J=o.renderData[ge-2])==null?void 0:J.step),(Q=o.renderData[ge-2])!=null&&Q.reverse&&(C["N"+ge]={},C["N"+ge].v=((ce=o.renderData[ge-2])==null?void 0:ce.reverse)==!0?"\u5F00":"\u5173"),(K=o.renderData[ge-2])!=null&&K.scramb&&(C["O"+ge]={},C["O"+ge].v=(Oe=o.renderData[ge-2])==null?void 0:Oe.scramb),(Ie=o.renderData[ge-2])!=null&&Ie.busy&&(C["P"+ge]={},C["P"+ge].v=((Le=o.renderData[ge-2])==null?void 0:Le.busy)==!0?"\u5F00":"\u5173"),(Pe=o.renderData[ge-2])!=null&&Pe.pttid&&(C["Q"+ge]={},C["Q"+ge].v=(ve=o.renderData[ge-2])==null?void 0:ve.pttid),(Ye=o.renderData[ge-2])!=null&&Ye.mode&&(C["R"+ge]={},C["R"+ge].v=i.modeOption[(dr=o.renderData[ge-2])==null?void 0:dr.mode]),(hr=o.renderData[ge-2])!=null&&hr.dtmf&&(C["S"+ge]={},C["S"+ge].v=((kr=o.renderData[ge-2])==null?void 0:kr.dtmf)==!0?"\u5F00":"\u5173"),(Qe=o.renderData[ge-2])!=null&&Qe.scanlist&&(C["T"+ge]={},C["T"+ge].v=(zr=o.renderData[ge-2])==null?void 0:zr.scanlist.join(","));c4(w,"K5Channel.xlsx")},S=()=>{const g=document.createElement("input");g.type="file",g.onchange=async()=>{const w=new Blob([g.files[0]],{type:"application/octet-stream"}),C=new FileReader;C.onload=function(F){var W,D,E,T,A,b,O,N,G,L,X,Z,I,z,U,V,q,ee,Y,J,Q,ce,K,Oe,Ie,Le,Pe,ve,Ye,dr,hr,kr,Qe,zr,ge;const _=Array.from({length:200}).map(Fe=>({scanlist:[]}));var R=(W=F.target)==null?void 0:W.result,y=vs(R);for(let Fe=2;Fe<202;Fe++)(D=y.Sheets.Sheet1["B"+Fe])!=null&&D.w&&(_[Fe-2].name=(E=y.Sheets.Sheet1["B"+Fe])==null?void 0:E.w),(T=y.Sheets.Sheet1["C"+Fe])!=null&&T.w&&(_[Fe-2].bandwidth=Object.keys(i.bandwidthOption).find(Ae=>{var de;return i.bandwidthOption[Ae]==((de=y.Sheets.Sheet1["C"+Fe])==null?void 0:de.w)})),(A=y.Sheets.Sheet1["D"+Fe])!=null&&A.w&&(_[Fe-2].rx=(b=y.Sheets.Sheet1["D"+Fe])==null?void 0:b.w),(O=y.Sheets.Sheet1["E"+Fe])!=null&&O.w&&(_[Fe-2].tx=(N=y.Sheets.Sheet1["E"+Fe])==null?void 0:N.w),(G=y.Sheets.Sheet1["F"+Fe])!=null&&G.w&&(_[Fe-2].power=Object.keys(i.powerOption).find(Ae=>{var de;return i.powerOption[Ae]==((de=y.Sheets.Sheet1["F"+Fe])==null?void 0:de.w)})),(L=y.Sheets.Sheet1["G"+Fe])!=null&&L.w&&(_[Fe-2].rxTone=Object.keys(i.toneOption).find(Ae=>{var de;return i.toneOption[Ae]==((de=y.Sheets.Sheet1["G"+Fe])==null?void 0:de.w)})),(X=y.Sheets.Sheet1["H"+Fe])!=null&&X.w&&(_[Fe-2].rxCTCSS=parseFloat((Z=y.Sheets.Sheet1["H"+Fe])==null?void 0:Z.w)),(I=y.Sheets.Sheet1["I"+Fe])!=null&&I.w&&(_[Fe-2].rxDCS=parseFloat((z=y.Sheets.Sheet1["I"+Fe])==null?void 0:z.w)),(U=y.Sheets.Sheet1["J"+Fe])!=null&&U.w&&(_[Fe-2].txTone=Object.keys(i.toneOption).find(Ae=>{var de;return i.toneOption[Ae]==((de=y.Sheets.Sheet1["J"+Fe])==null?void 0:de.w)})),(V=y.Sheets.Sheet1["K"+Fe])!=null&&V.w&&(_[Fe-2].txCTCSS=parseFloat((q=y.Sheets.Sheet1["K"+Fe])==null?void 0:q.w)),(ee=y.Sheets.Sheet1["L"+Fe])!=null&&ee.w&&(_[Fe-2].txDCS=parseFloat((Y=y.Sheets.Sheet1["L"+Fe])==null?void 0:Y.w)),(J=y.Sheets.Sheet1["M"+Fe])!=null&&J.w&&(_[Fe-2].step=parseFloat((Q=y.Sheets.Sheet1["M"+Fe])==null?void 0:Q.w)),(ce=y.Sheets.Sheet1["N"+Fe])!=null&&ce.w&&(_[Fe-2].reverse=((K=y.Sheets.Sheet1["N"+Fe])==null?void 0:K.w)=="\u5F00"),(Oe=y.Sheets.Sheet1["O"+Fe])!=null&&Oe.w&&(_[Fe-2].scramb=parseFloat((Ie=y.Sheets.Sheet1["O"+Fe])==null?void 0:Ie.w)),(Le=y.Sheets.Sheet1["P"+Fe])!=null&&Le.w&&(_[Fe-2].busy=((Pe=y.Sheets.Sheet1["P"+Fe])==null?void 0:Pe.w)=="\u5F00"),(ve=y.Sheets.Sheet1["Q"+Fe])!=null&&ve.w&&(_[Fe-2].pttid=(Ye=y.Sheets.Sheet1["Q"+Fe])==null?void 0:Ye.w),(dr=y.Sheets.Sheet1["R"+Fe])!=null&&dr.w&&(_[Fe-2].mode=Object.keys(i.modeOption).find(Ae=>{var de;return i.modeOption[Ae]==((de=y.Sheets.Sheet1["R"+Fe])==null?void 0:de.w)})),(hr=y.Sheets.Sheet1["S"+Fe])!=null&&hr.w&&(_[Fe-2].dtmf=((kr=y.Sheets.Sheet1["S"+Fe])==null?void 0:kr.w)=="\u5F00"),(Qe=y.Sheets.Sheet1["T"+Fe])!=null&&Qe.w&&(((zr=y.Sheets.Sheet1["T"+Fe])==null?void 0:zr.w.split(",").indexOf("I"))>=0&&_[Fe-2].scanlist.push("I"),((ge=y.Sheets.Sheet1["T"+Fe])==null?void 0:ge.w.split(",").indexOf("II"))>=0&&_[Fe-2].scanlist.push("II"));o.renderData=_},C.readAsArrayBuffer(w)},g.click()};return(g,w)=>{const C=Tv,F=jv,_=Wv,R=Uv,y=Hv,W=Vv,D=zv,E=$v,T=gx,A=Go,b=Pl,O=Wi,N=xp,G=Lv;return D0(),Bv("div",v4,[te(C,{items:[g.$t("menu.dashboard"),g.$t("menu.cps.channel")]},null,8,["items"]),te(G,{class:"general-card"},{title:yr(()=>[ll("span",{onClick:w[0]||(w[0]=()=>{s.showHide+=1})},$a(g.$t("menu.cps.channel")+g.$t("global.onStart")),1)]),default:yr(()=>[te(E,{style:{"margin-bottom":"16px"}},{default:yr(()=>[te(y,{span:12},{default:yr(()=>[te(R,null,{default:yr(()=>[te(_,{type:"primary",onClick:u},{icon:yr(()=>[te(F)]),default:yr(()=>[xa(" "+$a(g.$t("cps.onDeviceRead")),1)]),_:1}),te(_,{onClick:d},{icon:yr(()=>[te(F)]),default:yr(()=>[xa(" "+$a(g.$t("cps.onDeviceWrite")),1)]),_:1})]),_:1})]),_:1}),te(y,{span:12,style:{"text-align":"right"}},{default:yr(()=>[te(R,null,{default:yr(()=>[s.showHide>=5?(D0(),Mv(D,{key:0},{content:yr(()=>[te(_,{style:{width:"200px",margin:"10px","margin-bottom":"0px"},type:"primary",onClick:x},{default:yr(()=>[xa(" \u4FDD\u5B58 ")]),_:1}),x4,te(_,{style:{width:"200px",margin:"10px"},onClick:h},{default:yr(()=>[xa(" \u52A0\u8F7D ")]),_:1})]),default:yr(()=>[te(_,null,{default:yr(()=>[xa(" \u4FDD\u5B58/\u52A0\u8F7D\uFF08\u5DF2\u5E9F\u5F03\uFF09"),te(W)]),_:1})]),_:1})):Kv("",!0),te(_,{type:"text",onClick:p},{default:yr(()=>[xa($a(g.$t("cps.downloadImportTemplate")),1)]),_:1}),te(_,{type:"primary",onClick:S},{default:yr(()=>[xa($a(g.$t("cps.import")),1)]),_:1}),te(_,{onClick:m},{default:yr(()=>[xa($a(g.$t("cps.export")),1)]),_:1})]),_:1})]),_:1})]),_:1}),te(N,{class:"ttable",loading:sl(a),size:"medium",columns:c.value,data:o.renderData,pagination:{defaultPageSize:o.pageSize,total:o.renderData.length,defaultCurrent:1,pageSizeOptions:[15,30,50,100,200]},onChange:w[1]||(w[1]=L=>{o.pageSize=L.pagination.pageSize,o.nowPage=L.pagination.current}),bordered:"","lazy-load":"",headerAffixedTop:{offsetTop:60},hover:!0,"drag-sort":"row-handler",onDragSort:l},{drag:yr(({row:L,rowIndex:X})=>[ll("span",null,[te(sl(M1))])]),index:yr(({row:L,rowIndex:X})=>[xa($a((o.nowPage-1)*o.pageSize+X+1),1)]),reverse:yr(({row:L,rowIndex:X})=>[te(T,{modelValue:L.reverse,"onUpdate:modelValue":Z=>L.reverse=Z},null,8,["modelValue","onUpdate:modelValue"])]),busy:yr(({row:L,rowIndex:X})=>[te(T,{modelValue:L.busy,"onUpdate:modelValue":Z=>L.busy=Z},null,8,["modelValue","onUpdate:modelValue"])]),dtmf:yr(({row:L,rowIndex:X})=>[te(T,{modelValue:L.dtmf,"onUpdate:modelValue":Z=>L.dtmf=Z},null,8,["modelValue","onUpdate:modelValue"])]),scanlist:yr(({row:L,rowIndex:X})=>[te(b,{modelValue:L.scanlist,"onUpdate:modelValue":Z=>L.scanlist=Z},{default:yr(()=>[te(A,{key:"I",label:"I",value:"I"}),te(A,{key:"II",label:"II",value:"II"})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),operate:yr(({row:L,rowIndex:X})=>[te(O,{theme:"default",variant:"dashed",onClick:Z=>v((o.nowPage-1)*o.pageSize+X)},{default:yr(()=>[xa($a(g.$t("cps.clear")),1)]),_:2},1032,["onClick"])]),_:1},8,["loading","columns","data","pagination"])]),_:1})])}}});const N4=kv(p4,[["__scopeId","data-v-bf863a88"]]);export{N4 as default};