ray-template/assets/utils-vendor-6e02b5fb.js
2023-07-05 16:46:26 +08:00

44 lines
176 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{r as ri,w as po,i as gn,c as fe,h as Yt}from"./vue-vendor-0e3aae74.js";import{w as go,x as mo,y as vo,A as or,B as me,C as _o,D as qt,E as yo,F as ni,G as xo,H as wo,I as bo,J as So,K as mr,L as mn,M as ai,N as Fo,O as ii,S as Ao,P as Co,Q as $r,R as nt,T as Pr,U as Yn,V as Ir,W as qn,X as Nr,Y as Rr,Z as Jn,_ as To,$ as Lr,a0 as Zn,a1 as Oo,a2 as jr,a3 as He,a4 as Eo,a5 as ko,l as Mo,a6 as vn,a7 as Do,a8 as Br,a9 as $o,aa as Po,ab as Io,ac as _n,ad as No,ae as Ro,af as Lo,ag as jo}from"./vendor-6dafcdec.js";var Bo=Array.isArray;const he=Bo;var Uo=typeof global=="object"&&global&&global.Object===Object&&global;const si=Uo;var Ho=typeof self=="object"&&self&&self.Object===Object&&self,Wo=si||Ho||Function("return this")();const Se=Wo;var zo=Se.Symbol;const Te=zo;var oi=Object.prototype,Go=oi.hasOwnProperty,Xo=oi.toString,St=Te?Te.toStringTag:void 0;function Vo(e){var t=Go.call(e,St),r=e[St];try{e[St]=void 0;var n=!0}catch{}var a=Xo.call(e);return n&&(t?e[St]=r:delete e[St]),a}var Ko=Object.prototype,Yo=Ko.toString;function qo(e){return Yo.call(e)}var Jo="[object Null]",Zo="[object Undefined]",Qn=Te?Te.toStringTag:void 0;function qe(e){return e==null?e===void 0?Zo:Jo:Qn&&Qn in Object(e)?Vo(e):qo(e)}function Oe(e){return e!=null&&typeof e=="object"}var Qo="[object Symbol]";function vr(e){return typeof e=="symbol"||Oe(e)&&qe(e)==Qo}var ef=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tf=/^\w*$/;function yn(e,t){if(he(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||vr(e)?!0:tf.test(e)||!ef.test(e)||t!=null&&e in Object(t)}function ce(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var rf="[object AsyncFunction]",nf="[object Function]",af="[object GeneratorFunction]",sf="[object Proxy]";function xn(e){if(!ce(e))return!1;var t=qe(e);return t==nf||t==af||t==rf||t==sf}var of=Se["__core-js_shared__"];const Ur=of;var ea=function(){var e=/[^.]+$/.exec(Ur&&Ur.keys&&Ur.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ff(e){return!!ea&&ea in e}var lf=Function.prototype,cf=lf.toString;function Je(e){if(e!=null){try{return cf.call(e)}catch{}try{return e+""}catch{}}return""}var uf=/[\\^$.*+?()[\]{}|]/g,hf=/^\[object .+?Constructor\]$/,df=Function.prototype,pf=Object.prototype,gf=df.toString,mf=pf.hasOwnProperty,vf=RegExp("^"+gf.call(mf).replace(uf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _f(e){if(!ce(e)||ff(e))return!1;var t=xn(e)?vf:hf;return t.test(Je(e))}function yf(e,t){return e==null?void 0:e[t]}function Ze(e,t){var r=yf(e,t);return _f(r)?r:void 0}var xf=Ze(Object,"create");const kt=xf;function wf(){this.__data__=kt?kt(null):{},this.size=0}function bf(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Sf="__lodash_hash_undefined__",Ff=Object.prototype,Af=Ff.hasOwnProperty;function Cf(e){var t=this.__data__;if(kt){var r=t[e];return r===Sf?void 0:r}return Af.call(t,e)?t[e]:void 0}var Tf=Object.prototype,Of=Tf.hasOwnProperty;function Ef(e){var t=this.__data__;return kt?t[e]!==void 0:Of.call(t,e)}var kf="__lodash_hash_undefined__";function Mf(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=kt&&t===void 0?kf:t,this}function Ke(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ke.prototype.clear=wf;Ke.prototype.delete=bf;Ke.prototype.get=Cf;Ke.prototype.has=Ef;Ke.prototype.set=Mf;function Df(){this.__data__=[],this.size=0}function Nt(e,t){return e===t||e!==e&&t!==t}function _r(e,t){for(var r=e.length;r--;)if(Nt(e[r][0],t))return r;return-1}var $f=Array.prototype,Pf=$f.splice;function If(e){var t=this.__data__,r=_r(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Pf.call(t,r,1),--this.size,!0}function Nf(e){var t=this.__data__,r=_r(t,e);return r<0?void 0:t[r][1]}function Rf(e){return _r(this.__data__,e)>-1}function Lf(e,t){var r=this.__data__,n=_r(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Ne(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=Df;Ne.prototype.delete=If;Ne.prototype.get=Nf;Ne.prototype.has=Rf;Ne.prototype.set=Lf;var jf=Ze(Se,"Map");const Mt=jf;function Bf(){this.size=0,this.__data__={hash:new Ke,map:new(Mt||Ne),string:new Ke}}function Uf(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function yr(e,t){var r=e.__data__;return Uf(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Hf(e){var t=yr(this,e).delete(e);return this.size-=t?1:0,t}function Wf(e){return yr(this,e).get(e)}function zf(e){return yr(this,e).has(e)}function Gf(e,t){var r=yr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Re(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Re.prototype.clear=Bf;Re.prototype.delete=Hf;Re.prototype.get=Wf;Re.prototype.has=zf;Re.prototype.set=Gf;var Xf="Expected a function";function wn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Xf);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var s=e.apply(this,n);return r.cache=i.set(a,s)||i,s};return r.cache=new(wn.Cache||Re),r}wn.Cache=Re;var Vf=500;function Kf(e){var t=wn(e,function(n){return r.size===Vf&&r.clear(),n}),r=t.cache;return t}var Yf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qf=/\\(\\)?/g,Jf=Kf(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Yf,function(r,n,a,i){t.push(a?i.replace(qf,"$1"):n||r)}),t});const Zf=Jf;function fi(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var Qf=1/0,ta=Te?Te.prototype:void 0,ra=ta?ta.toString:void 0;function li(e){if(typeof e=="string")return e;if(he(e))return fi(e,li)+"";if(vr(e))return ra?ra.call(e):"";var t=e+"";return t=="0"&&1/e==-Qf?"-0":t}function ci(e){return e==null?"":li(e)}function bn(e,t){return he(e)?e:yn(e,t)?[e]:Zf(ci(e))}var el=1/0;function Rt(e){if(typeof e=="string"||vr(e))return e;var t=e+"";return t=="0"&&1/e==-el?"-0":t}function ui(e,t){t=bn(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Rt(t[r++])];return r&&r==n?e:void 0}function hi(e,t,r){var n=e==null?void 0:ui(e,t);return n===void 0?r:n}let Le=null;function di(){if(Le===null&&(Le=document.getElementById("v-binder-view-measurer"),Le===null)){Le=document.createElement("div"),Le.id="v-binder-view-measurer";const{style:e}=Le;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Le)}return Le.getBoundingClientRect()}function cm(e,t){const r=di();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function um(e){const t=e.getBoundingClientRect(),r=di();return{left:t.left-r.left,top:t.top-r.top,bottom:r.height+r.top-t.bottom,right:r.width+r.left-t.right,width:t.width,height:t.height}}function tl(e){return e.nodeType===9?null:e.parentNode}function rl(e){if(e===null)return null;const t=tl(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:r,overflowX:n,overflowY:a}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(r+a+n))return t}return rl(t)}function pi(e){return e instanceof HTMLElement}function nl(e){for(let t=0;t<e.childNodes.length;t++){const r=e.childNodes[t];if(pi(r)&&(gi(r)||nl(r)))return!0}return!1}function al(e){for(let t=e.childNodes.length-1;t>=0;t--){const r=e.childNodes[t];if(pi(r)&&(gi(r)||al(r)))return!0}return!1}function gi(e){if(!il(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function il(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}var sl=/\s/;function ol(e){for(var t=e.length;t--&&sl.test(e.charAt(t)););return t}var fl=/^\s+/;function ll(e){return e&&e.slice(0,ol(e)+1).replace(fl,"")}var na=0/0,cl=/^[-+]0x[0-9a-f]+$/i,ul=/^0b[01]+$/i,hl=/^0o[0-7]+$/i,dl=parseInt;function aa(e){if(typeof e=="number")return e;if(vr(e))return na;if(ce(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ce(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ll(e);var r=ul.test(e);return r||hl.test(e)?dl(e.slice(2),r?2:8):cl.test(e)?na:+e}function xr(e){return e}var pl=Ze(Se,"WeakMap");const tn=pl;var ia=Object.create,gl=function(){function e(){}return function(t){if(!ce(t))return{};if(ia)return ia(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const ml=gl;function vl(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function mi(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var _l=800,yl=16,xl=Date.now;function wl(e){var t=0,r=0;return function(){var n=xl(),a=yl-(n-r);if(r=n,a>0){if(++t>=_l)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function bl(e){return function(){return e}}var Sl=function(){try{var e=Ze(Object,"defineProperty");return e({},"",{}),e}catch{}}();const fr=Sl;var Fl=fr?function(e,t){return fr(e,"toString",{configurable:!0,enumerable:!1,value:bl(t),writable:!0})}:xr;const Al=Fl;var Cl=wl(Al);const Tl=Cl;function Ol(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var El=9007199254740991,kl=/^(?:0|[1-9]\d*)$/;function wr(e,t){var r=typeof e;return t=t??El,!!t&&(r=="number"||r!="symbol"&&kl.test(e))&&e>-1&&e%1==0&&e<t}function Sn(e,t,r){t=="__proto__"&&fr?fr(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Ml=Object.prototype,Dl=Ml.hasOwnProperty;function Fn(e,t,r){var n=e[t];(!(Dl.call(e,t)&&Nt(n,r))||r===void 0&&!(t in e))&&Sn(e,t,r)}function Lt(e,t,r,n){var a=!r;r||(r={});for(var i=-1,s=t.length;++i<s;){var o=t[i],l=n?n(r[o],e[o],o,r,e):void 0;l===void 0&&(l=e[o]),a?Sn(r,o,l):Fn(r,o,l)}return r}var sa=Math.max;function $l(e,t,r){return t=sa(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=sa(n.length-t,0),s=Array(i);++a<i;)s[a]=n[t+a];a=-1;for(var o=Array(t+1);++a<t;)o[a]=n[a];return o[t]=r(s),vl(e,this,o)}}function Pl(e,t){return Tl($l(e,t,xr),e+"")}var Il=9007199254740991;function An(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Il}function Qe(e){return e!=null&&An(e.length)&&!xn(e)}function Nl(e,t,r){if(!ce(r))return!1;var n=typeof t;return(n=="number"?Qe(r)&&wr(t,r.length):n=="string"&&t in r)?Nt(r[t],e):!1}function Rl(e){return Pl(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,s&&Nl(r[0],r[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var o=r[n];o&&e(t,o,n,i)}return t})}var Ll=Object.prototype;function br(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ll;return e===r}function jl(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Bl="[object Arguments]";function oa(e){return Oe(e)&&qe(e)==Bl}var vi=Object.prototype,Ul=vi.hasOwnProperty,Hl=vi.propertyIsEnumerable,Wl=oa(function(){return arguments}())?oa:function(e){return Oe(e)&&Ul.call(e,"callee")&&!Hl.call(e,"callee")};const Dt=Wl;function zl(){return!1}var _i=typeof exports=="object"&&exports&&!exports.nodeType&&exports,fa=_i&&typeof module=="object"&&module&&!module.nodeType&&module,Gl=fa&&fa.exports===_i,la=Gl?Se.Buffer:void 0,Xl=la?la.isBuffer:void 0,Vl=Xl||zl;const ct=Vl;var Kl="[object Arguments]",Yl="[object Array]",ql="[object Boolean]",Jl="[object Date]",Zl="[object Error]",Ql="[object Function]",ec="[object Map]",tc="[object Number]",rc="[object Object]",nc="[object RegExp]",ac="[object Set]",ic="[object String]",sc="[object WeakMap]",oc="[object ArrayBuffer]",fc="[object DataView]",lc="[object Float32Array]",cc="[object Float64Array]",uc="[object Int8Array]",hc="[object Int16Array]",dc="[object Int32Array]",pc="[object Uint8Array]",gc="[object Uint8ClampedArray]",mc="[object Uint16Array]",vc="[object Uint32Array]",Y={};Y[lc]=Y[cc]=Y[uc]=Y[hc]=Y[dc]=Y[pc]=Y[gc]=Y[mc]=Y[vc]=!0;Y[Kl]=Y[Yl]=Y[oc]=Y[ql]=Y[fc]=Y[Jl]=Y[Zl]=Y[Ql]=Y[ec]=Y[tc]=Y[rc]=Y[nc]=Y[ac]=Y[ic]=Y[sc]=!1;function _c(e){return Oe(e)&&An(e.length)&&!!Y[qe(e)]}function Cn(e){return function(t){return e(t)}}var yi=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Tt=yi&&typeof module=="object"&&module&&!module.nodeType&&module,yc=Tt&&Tt.exports===yi,Hr=yc&&si.process,xc=function(){try{var e=Tt&&Tt.require&&Tt.require("util").types;return e||Hr&&Hr.binding&&Hr.binding("util")}catch{}}();const ut=xc;var ca=ut&&ut.isTypedArray,wc=ca?Cn(ca):_c;const Sr=wc;var bc=Object.prototype,Sc=bc.hasOwnProperty;function xi(e,t){var r=he(e),n=!r&&Dt(e),a=!r&&!n&&ct(e),i=!r&&!n&&!a&&Sr(e),s=r||n||a||i,o=s?jl(e.length,String):[],l=o.length;for(var c in e)(t||Sc.call(e,c))&&!(s&&(c=="length"||a&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||wr(c,l)))&&o.push(c);return o}function wi(e,t){return function(r){return e(t(r))}}var Fc=wi(Object.keys,Object);const Ac=Fc;var Cc=Object.prototype,Tc=Cc.hasOwnProperty;function bi(e){if(!br(e))return Ac(e);var t=[];for(var r in Object(e))Tc.call(e,r)&&r!="constructor"&&t.push(r);return t}function jt(e){return Qe(e)?xi(e):bi(e)}function Oc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Ec=Object.prototype,kc=Ec.hasOwnProperty;function Mc(e){if(!ce(e))return Oc(e);var t=br(e),r=[];for(var n in e)n=="constructor"&&(t||!kc.call(e,n))||r.push(n);return r}function pt(e){return Qe(e)?xi(e,!0):Mc(e)}function Si(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var Dc=wi(Object.getPrototypeOf,Object);const Tn=Dc;var $c="[object Object]",Pc=Function.prototype,Ic=Object.prototype,Fi=Pc.toString,Nc=Ic.hasOwnProperty,Rc=Fi.call(Object);function Lc(e){if(!Oe(e)||qe(e)!=$c)return!1;var t=Tn(e);if(t===null)return!0;var r=Nc.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Fi.call(r)==Rc}function jc(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(a);++n<a;)i[n]=e[n+t];return i}function Bc(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:jc(e,t,r)}var Uc="\\ud800-\\udfff",Hc="\\u0300-\\u036f",Wc="\\ufe20-\\ufe2f",zc="\\u20d0-\\u20ff",Gc=Hc+Wc+zc,Xc="\\ufe0e\\ufe0f",Vc="\\u200d",Kc=RegExp("["+Vc+Uc+Gc+Xc+"]");function Ai(e){return Kc.test(e)}function Yc(e){return e.split("")}var Ci="\\ud800-\\udfff",qc="\\u0300-\\u036f",Jc="\\ufe20-\\ufe2f",Zc="\\u20d0-\\u20ff",Qc=qc+Jc+Zc,eu="\\ufe0e\\ufe0f",tu="["+Ci+"]",rn="["+Qc+"]",nn="\\ud83c[\\udffb-\\udfff]",ru="(?:"+rn+"|"+nn+")",Ti="[^"+Ci+"]",Oi="(?:\\ud83c[\\udde6-\\uddff]){2}",Ei="[\\ud800-\\udbff][\\udc00-\\udfff]",nu="\\u200d",ki=ru+"?",Mi="["+eu+"]?",au="(?:"+nu+"(?:"+[Ti,Oi,Ei].join("|")+")"+Mi+ki+")*",iu=Mi+ki+au,su="(?:"+[Ti+rn+"?",rn,Oi,Ei,tu].join("|")+")",ou=RegExp(nn+"(?="+nn+")|"+su+iu,"g");function fu(e){return e.match(ou)||[]}function lu(e){return Ai(e)?fu(e):Yc(e)}function cu(e){return function(t){t=ci(t);var r=Ai(t)?lu(t):void 0,n=r?r[0]:t.charAt(0),a=r?Bc(r,1).join(""):t.slice(1);return n[e]()+a}}var uu=cu("toUpperCase");const hm=uu;function hu(){this.__data__=new Ne,this.size=0}function du(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function pu(e){return this.__data__.get(e)}function gu(e){return this.__data__.has(e)}var mu=200;function vu(e,t){var r=this.__data__;if(r instanceof Ne){var n=r.__data__;if(!Mt||n.length<mu-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Re(n)}return r.set(e,t),this.size=r.size,this}function xe(e){var t=this.__data__=new Ne(e);this.size=t.size}xe.prototype.clear=hu;xe.prototype.delete=du;xe.prototype.get=pu;xe.prototype.has=gu;xe.prototype.set=vu;function _u(e,t){return e&&Lt(t,jt(t),e)}function yu(e,t){return e&&Lt(t,pt(t),e)}var Di=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ua=Di&&typeof module=="object"&&module&&!module.nodeType&&module,xu=ua&&ua.exports===Di,ha=xu?Se.Buffer:void 0,da=ha?ha.allocUnsafe:void 0;function $i(e,t){if(t)return e.slice();var r=e.length,n=da?da(r):new e.constructor(r);return e.copy(n),n}function wu(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[a++]=s)}return i}function Pi(){return[]}var bu=Object.prototype,Su=bu.propertyIsEnumerable,pa=Object.getOwnPropertySymbols,Fu=pa?function(e){return e==null?[]:(e=Object(e),wu(pa(e),function(t){return Su.call(e,t)}))}:Pi;const On=Fu;function Au(e,t){return Lt(e,On(e),t)}var Cu=Object.getOwnPropertySymbols,Tu=Cu?function(e){for(var t=[];e;)Si(t,On(e)),e=Tn(e);return t}:Pi;const Ii=Tu;function Ou(e,t){return Lt(e,Ii(e),t)}function Ni(e,t,r){var n=t(e);return he(e)?n:Si(n,r(e))}function an(e){return Ni(e,jt,On)}function Eu(e){return Ni(e,pt,Ii)}var ku=Ze(Se,"DataView");const sn=ku;var Mu=Ze(Se,"Promise");const on=Mu;var Du=Ze(Se,"Set");const fn=Du;var ga="[object Map]",$u="[object Object]",ma="[object Promise]",va="[object Set]",_a="[object WeakMap]",ya="[object DataView]",Pu=Je(sn),Iu=Je(Mt),Nu=Je(on),Ru=Je(fn),Lu=Je(tn),Ve=qe;(sn&&Ve(new sn(new ArrayBuffer(1)))!=ya||Mt&&Ve(new Mt)!=ga||on&&Ve(on.resolve())!=ma||fn&&Ve(new fn)!=va||tn&&Ve(new tn)!=_a)&&(Ve=function(e){var t=qe(e),r=t==$u?e.constructor:void 0,n=r?Je(r):"";if(n)switch(n){case Pu:return ya;case Iu:return ga;case Nu:return ma;case Ru:return va;case Lu:return _a}return t});const ht=Ve;var ju=Object.prototype,Bu=ju.hasOwnProperty;function Uu(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Bu.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Hu=Se.Uint8Array;const lr=Hu;function En(e){var t=new e.constructor(e.byteLength);return new lr(t).set(new lr(e)),t}function Wu(e,t){var r=t?En(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var zu=/\w*$/;function Gu(e){var t=new e.constructor(e.source,zu.exec(e));return t.lastIndex=e.lastIndex,t}var xa=Te?Te.prototype:void 0,wa=xa?xa.valueOf:void 0;function Xu(e){return wa?Object(wa.call(e)):{}}function Ri(e,t){var r=t?En(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Vu="[object Boolean]",Ku="[object Date]",Yu="[object Map]",qu="[object Number]",Ju="[object RegExp]",Zu="[object Set]",Qu="[object String]",eh="[object Symbol]",th="[object ArrayBuffer]",rh="[object DataView]",nh="[object Float32Array]",ah="[object Float64Array]",ih="[object Int8Array]",sh="[object Int16Array]",oh="[object Int32Array]",fh="[object Uint8Array]",lh="[object Uint8ClampedArray]",ch="[object Uint16Array]",uh="[object Uint32Array]";function hh(e,t,r){var n=e.constructor;switch(t){case th:return En(e);case Vu:case Ku:return new n(+e);case rh:return Wu(e,r);case nh:case ah:case ih:case sh:case oh:case fh:case lh:case ch:case uh:return Ri(e,r);case Yu:return new n;case qu:case Qu:return new n(e);case Ju:return Gu(e);case Zu:return new n;case eh:return Xu(e)}}function Li(e){return typeof e.constructor=="function"&&!br(e)?ml(Tn(e)):{}}var dh="[object Map]";function ph(e){return Oe(e)&&ht(e)==dh}var ba=ut&&ut.isMap,gh=ba?Cn(ba):ph;const mh=gh;var vh="[object Set]";function _h(e){return Oe(e)&&ht(e)==vh}var Sa=ut&&ut.isSet,yh=Sa?Cn(Sa):_h;const xh=yh;var wh=1,bh=2,Sh=4,ji="[object Arguments]",Fh="[object Array]",Ah="[object Boolean]",Ch="[object Date]",Th="[object Error]",Bi="[object Function]",Oh="[object GeneratorFunction]",Eh="[object Map]",kh="[object Number]",Ui="[object Object]",Mh="[object RegExp]",Dh="[object Set]",$h="[object String]",Ph="[object Symbol]",Ih="[object WeakMap]",Nh="[object ArrayBuffer]",Rh="[object DataView]",Lh="[object Float32Array]",jh="[object Float64Array]",Bh="[object Int8Array]",Uh="[object Int16Array]",Hh="[object Int32Array]",Wh="[object Uint8Array]",zh="[object Uint8ClampedArray]",Gh="[object Uint16Array]",Xh="[object Uint32Array]",K={};K[ji]=K[Fh]=K[Nh]=K[Rh]=K[Ah]=K[Ch]=K[Lh]=K[jh]=K[Bh]=K[Uh]=K[Hh]=K[Eh]=K[kh]=K[Ui]=K[Mh]=K[Dh]=K[$h]=K[Ph]=K[Wh]=K[zh]=K[Gh]=K[Xh]=!0;K[Th]=K[Bi]=K[Ih]=!1;function ar(e,t,r,n,a,i){var s,o=t&wh,l=t&bh,c=t&Sh;if(r&&(s=a?r(e,n,a,i):r(e)),s!==void 0)return s;if(!ce(e))return e;var m=he(e);if(m){if(s=Uu(e),!o)return mi(e,s)}else{var S=ht(e),b=S==Bi||S==Oh;if(ct(e))return $i(e,o);if(S==Ui||S==ji||b&&!a){if(s=l||b?{}:Li(e),!o)return l?Ou(e,yu(s,e)):Au(e,_u(s,e))}else{if(!K[S])return a?e:{};s=hh(e,S,o)}}i||(i=new xe);var v=i.get(e);if(v)return v;i.set(e,s),xh(e)?e.forEach(function(k){s.add(ar(k,t,r,k,e,i))}):mh(e)&&e.forEach(function(k,N){s.set(N,ar(k,t,r,N,e,i))});var A=c?l?Eu:an:l?pt:jt,C=m?void 0:A(e);return Ol(C||e,function(k,N){C&&(N=k,k=e[N]),Fn(s,N,ar(k,t,r,N,e,i))}),s}var Vh=1,Kh=4;function Hi(e){return ar(e,Vh|Kh)}var Yh="__lodash_hash_undefined__";function qh(e){return this.__data__.set(e,Yh),this}function Jh(e){return this.__data__.has(e)}function cr(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Re;++t<r;)this.add(e[t])}cr.prototype.add=cr.prototype.push=qh;cr.prototype.has=Jh;function Zh(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Qh(e,t){return e.has(t)}var e0=1,t0=2;function Wi(e,t,r,n,a,i){var s=r&e0,o=e.length,l=t.length;if(o!=l&&!(s&&l>o))return!1;var c=i.get(e),m=i.get(t);if(c&&m)return c==t&&m==e;var S=-1,b=!0,v=r&t0?new cr:void 0;for(i.set(e,t),i.set(t,e);++S<o;){var A=e[S],C=t[S];if(n)var k=s?n(C,A,S,t,e,i):n(A,C,S,e,t,i);if(k!==void 0){if(k)continue;b=!1;break}if(v){if(!Zh(t,function(N,L){if(!Qh(v,L)&&(A===N||a(A,N,r,n,i)))return v.push(L)})){b=!1;break}}else if(!(A===C||a(A,C,r,n,i))){b=!1;break}}return i.delete(e),i.delete(t),b}function r0(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function n0(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var a0=1,i0=2,s0="[object Boolean]",o0="[object Date]",f0="[object Error]",l0="[object Map]",c0="[object Number]",u0="[object RegExp]",h0="[object Set]",d0="[object String]",p0="[object Symbol]",g0="[object ArrayBuffer]",m0="[object DataView]",Fa=Te?Te.prototype:void 0,Wr=Fa?Fa.valueOf:void 0;function v0(e,t,r,n,a,i,s){switch(r){case m0:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case g0:return!(e.byteLength!=t.byteLength||!i(new lr(e),new lr(t)));case s0:case o0:case c0:return Nt(+e,+t);case f0:return e.name==t.name&&e.message==t.message;case u0:case d0:return e==t+"";case l0:var o=r0;case h0:var l=n&a0;if(o||(o=n0),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;n|=i0,s.set(e,t);var m=Wi(o(e),o(t),n,a,i,s);return s.delete(e),m;case p0:if(Wr)return Wr.call(e)==Wr.call(t)}return!1}var _0=1,y0=Object.prototype,x0=y0.hasOwnProperty;function w0(e,t,r,n,a,i){var s=r&_0,o=an(e),l=o.length,c=an(t),m=c.length;if(l!=m&&!s)return!1;for(var S=l;S--;){var b=o[S];if(!(s?b in t:x0.call(t,b)))return!1}var v=i.get(e),A=i.get(t);if(v&&A)return v==t&&A==e;var C=!0;i.set(e,t),i.set(t,e);for(var k=s;++S<l;){b=o[S];var N=e[b],L=t[b];if(n)var W=s?n(L,N,b,t,e,i):n(N,L,b,e,t,i);if(!(W===void 0?N===L||a(N,L,r,n,i):W)){C=!1;break}k||(k=b=="constructor")}if(C&&!k){var j=e.constructor,V=t.constructor;j!=V&&"constructor"in e&&"constructor"in t&&!(typeof j=="function"&&j instanceof j&&typeof V=="function"&&V instanceof V)&&(C=!1)}return i.delete(e),i.delete(t),C}var b0=1,Aa="[object Arguments]",Ca="[object Array]",Jt="[object Object]",S0=Object.prototype,Ta=S0.hasOwnProperty;function F0(e,t,r,n,a,i){var s=he(e),o=he(t),l=s?Ca:ht(e),c=o?Ca:ht(t);l=l==Aa?Jt:l,c=c==Aa?Jt:c;var m=l==Jt,S=c==Jt,b=l==c;if(b&&ct(e)){if(!ct(t))return!1;s=!0,m=!1}if(b&&!m)return i||(i=new xe),s||Sr(e)?Wi(e,t,r,n,a,i):v0(e,t,l,r,n,a,i);if(!(r&b0)){var v=m&&Ta.call(e,"__wrapped__"),A=S&&Ta.call(t,"__wrapped__");if(v||A){var C=v?e.value():e,k=A?t.value():t;return i||(i=new xe),a(C,k,r,n,i)}}return b?(i||(i=new xe),w0(e,t,r,n,a,i)):!1}function kn(e,t,r,n,a){return e===t?!0:e==null||t==null||!Oe(e)&&!Oe(t)?e!==e&&t!==t:F0(e,t,r,n,kn,a)}var A0=1,C0=2;function T0(e,t,r,n){var a=r.length,i=a,s=!n;if(e==null)return!i;for(e=Object(e);a--;){var o=r[a];if(s&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++a<i;){o=r[a];var l=o[0],c=e[l],m=o[1];if(s&&o[2]){if(c===void 0&&!(l in e))return!1}else{var S=new xe;if(n)var b=n(c,m,l,e,t,S);if(!(b===void 0?kn(m,c,A0|C0,n,S):b))return!1}}return!0}function zi(e){return e===e&&!ce(e)}function O0(e){for(var t=jt(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,zi(a)]}return t}function Gi(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function E0(e){var t=O0(e);return t.length==1&&t[0][2]?Gi(t[0][0],t[0][1]):function(r){return r===e||T0(r,e,t)}}function k0(e,t){return e!=null&&t in Object(e)}function M0(e,t,r){t=bn(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var s=Rt(t[n]);if(!(i=e!=null&&r(e,s)))break;e=e[s]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&An(a)&&wr(s,a)&&(he(e)||Dt(e)))}function D0(e,t){return e!=null&&M0(e,t,k0)}var $0=1,P0=2;function I0(e,t){return yn(e)&&zi(t)?Gi(Rt(e),t):function(r){var n=hi(r,e);return n===void 0&&n===t?D0(r,e):kn(t,n,$0|P0)}}function N0(e){return function(t){return t==null?void 0:t[e]}}function R0(e){return function(t){return ui(t,e)}}function L0(e){return yn(e)?N0(Rt(e)):R0(e)}function j0(e){return typeof e=="function"?e:e==null?xr:typeof e=="object"?he(e)?I0(e[0],e[1]):E0(e):L0(e)}function B0(e){return function(t,r,n){for(var a=-1,i=Object(t),s=n(t),o=s.length;o--;){var l=s[e?o:++a];if(r(i[l],l,i)===!1)break}return t}}var U0=B0();const Mn=U0;function H0(e,t){return e&&Mn(e,t,jt)}function W0(e,t){return function(r,n){if(r==null)return r;if(!Qe(r))return e(r,n);for(var a=r.length,i=t?a:-1,s=Object(r);(t?i--:++i<a)&&n(s[i],i,s)!==!1;);return r}}var z0=W0(H0);const G0=z0;var X0=function(){return Se.Date.now()};const zr=X0;var V0="Expected a function",K0=Math.max,Y0=Math.min;function q0(e,t,r){var n,a,i,s,o,l,c=0,m=!1,S=!1,b=!0;if(typeof e!="function")throw new TypeError(V0);t=aa(t)||0,ce(r)&&(m=!!r.leading,S="maxWait"in r,i=S?K0(aa(r.maxWait)||0,t):i,b="trailing"in r?!!r.trailing:b);function v(U){var T=n,z=a;return n=a=void 0,c=U,s=e.apply(z,T),s}function A(U){return c=U,o=setTimeout(N,t),m?v(U):s}function C(U){var T=U-l,z=U-c,M=t-T;return S?Y0(M,i-z):M}function k(U){var T=U-l,z=U-c;return l===void 0||T>=t||T<0||S&&z>=i}function N(){var U=zr();if(k(U))return L(U);o=setTimeout(N,C(U))}function L(U){return o=void 0,b&&n?v(U):(n=a=void 0,s)}function W(){o!==void 0&&clearTimeout(o),c=0,n=l=a=o=void 0}function j(){return o===void 0?s:L(zr())}function V(){var U=zr(),T=k(U);if(n=arguments,a=this,l=U,T){if(o===void 0)return A(l);if(S)return clearTimeout(o),o=setTimeout(N,t),v(l)}return o===void 0&&(o=setTimeout(N,t)),s}return V.cancel=W,V.flush=j,V}function ln(e,t,r){(r!==void 0&&!Nt(e[t],r)||r===void 0&&!(t in e))&&Sn(e,t,r)}function J0(e){return Oe(e)&&Qe(e)}function cn(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Z0(e){return Lt(e,pt(e))}function Q0(e,t,r,n,a,i,s){var o=cn(e,r),l=cn(t,r),c=s.get(l);if(c){ln(e,r,c);return}var m=i?i(o,l,r+"",e,t,s):void 0,S=m===void 0;if(S){var b=he(l),v=!b&&ct(l),A=!b&&!v&&Sr(l);m=l,b||v||A?he(o)?m=o:J0(o)?m=mi(o):v?(S=!1,m=$i(l,!0)):A?(S=!1,m=Ri(l,!0)):m=[]:Lc(l)||Dt(l)?(m=o,Dt(o)?m=Z0(o):(!ce(o)||xn(o))&&(m=Li(l))):S=!1}S&&(s.set(l,m),a(m,l,n,i,s),s.delete(l)),ln(e,r,m)}function Xi(e,t,r,n,a){e!==t&&Mn(t,function(i,s){if(a||(a=new xe),ce(i))Q0(e,t,s,r,Xi,n,a);else{var o=n?n(cn(e,s),i,s+"",e,t,a):void 0;o===void 0&&(o=i),ln(e,s,o)}},pt)}function ed(e){return typeof e=="function"?e:xr}function td(e,t){var r=-1,n=Qe(e)?Array(e.length):[];return G0(e,function(a,i,s){n[++r]=t(a,i,s)}),n}function dm(e,t){var r=he(e)?fi:td;return r(e,j0(t))}function pm(e,t){return e==null?e:Mn(e,ed(t),pt)}var rd="[object Map]",nd="[object Set]",ad=Object.prototype,id=ad.hasOwnProperty;function gm(e){if(e==null)return!0;if(Qe(e)&&(he(e)||typeof e=="string"||typeof e.splice=="function"||ct(e)||Sr(e)||Dt(e)))return!e.length;var t=ht(e);if(t==rd||t==nd)return!e.size;if(br(e))return!bi(e).length;for(var r in e)if(id.call(e,r))return!1;return!0}var sd=Rl(function(e,t,r){Xi(e,t,r)});const mm=sd;function od(e,t,r,n){if(!ce(e))return e;t=bn(t,e);for(var a=-1,i=t.length,s=i-1,o=e;o!=null&&++a<i;){var l=Rt(t[a]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(a!=s){var m=o[l];c=n?n(m,l,o):void 0,c===void 0&&(c=ce(m)?m:wr(t[a+1])?[]:{})}Fn(o,l,c),o=o[l]}return e}function vm(e,t,r){return e==null?e:od(e,t,r)}var fd="Expected a function";function _m(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(fd);return ce(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),q0(e,t,{leading:n,maxWait:t,trailing:a})}function ur(e){return e.type==="group"}function Vi(e){return e.type==="ignored"}function ym(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function xm(e,t){return{getIsGroup:ur,getIgnored:Vi,getKey(n){return ur(n)?n.name||n.key||"key-required":n[e]},getChildren(n){return n[t]}}}function wm(e,t,r,n){if(!t)return e;function a(i){if(!Array.isArray(i))return[];const s=[];for(const o of i)if(ur(o)){const l=a(o[n]);l.length&&s.push(Object.assign({},o,{[n]:l}))}else{if(Vi(o))continue;t(r,o)&&s.push(o)}return s}return a(e)}function bm(e,t,r){const n=new Map;return e.forEach(a=>{ur(a)?a[r].forEach(i=>{n.set(i[t],i)}):n.set(a[t],a)}),n}function Sm(e){let t=0;for(const r of e)t++;return t}function Fm(e){return e===""||e==null}function Am(e){const t=ri(null);function r(){const{value:i}=e;if(!(i!=null&&i.focus)){a();return}const{selectionStart:s,selectionEnd:o,value:l}=i;if(s==null||o==null){a();return}t.value={start:s,end:o,beforeText:l.slice(0,s),afterText:l.slice(o)}}function n(){var i;const{value:s}=t,{value:o}=e;if(!s||!o)return;const{value:l}=o,{start:c,beforeText:m,afterText:S}=s;let b=l.length;if(l.endsWith(S))b=l.length-S.length;else if(l.startsWith(m))b=m.length;else{const v=m[c-1],A=l.indexOf(v,c-1);A!==-1&&(b=A+1)}(i=o.setSelectionRange)===null||i===void 0||i.call(o,b,b)}function a(){t.value=null}return po(e,a),{recordCursor:r,restoreCursor:n}}const ld=(e={})=>{var t;const{root:r=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(t=e.threshold)!==null&&t!==void 0?t:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof r=="string"?document.querySelector(r):r)||document.documentElement})}},Gr=new WeakMap,Xr=new WeakMap,Vr=new WeakMap,Cm=(e,t,r)=>{if(!e)return()=>{};const n=ld(t),{root:a}=n.options;let i;const s=Gr.get(a);s?i=s:(i=new Map,Gr.set(a,i));let o,l;i.has(n.hash)?(l=i.get(n.hash),l[1].has(e)||(o=l[0],l[1].add(e),o.observe(e))):(o=new IntersectionObserver(S=>{S.forEach(b=>{if(b.isIntersecting){const v=Xr.get(b.target),A=Vr.get(b.target);v&&v(),A&&(A.value=!0)}})},n.options),o.observe(e),l=[o,new Set([e])],i.set(n.hash,l));let c=!1;const m=()=>{c||(Xr.delete(e),Vr.delete(e),c=!0,l[1].has(e)&&(l[0].unobserve(e),l[1].delete(e)),l[1].size<=0&&i.delete(n.hash),i.size||Gr.delete(a))};return Xr.set(e,m),Vr.set(e,r),m},cd={date:Co,month:mn,year:ai,quarter:ii};function $e(e,t,r){const n=cd[r];return Array.isArray(e)?e.some(a=>n(a,t)):n(e,t)}function Kr(e,t,r,n){let a=!1,i=!1,s=!1;Array.isArray(r)&&(r[0]<e&&e<r[1]&&(a=!0),$e(r[0],e,"date")&&(i=!0),$e(r[1],e,"date")&&(s=!0));const o=r!==null&&(Array.isArray(r)?$e(r[0],e,"date")||$e(r[1],e,"date"):$e(r,e,"date"));return{type:"date",dateObject:{date:So(e),month:or(e),year:mr(e)},inCurrentMonth:mn(e,t),isCurrentDate:$e(n,e,"date"),inSpan:a,startOfSpan:i,endOfSpan:s,selected:o,ts:me(e)}}function ud(e,t,r){return{type:"month",dateObject:{month:or(e),year:mr(e)},isCurrent:mn(r,e),selected:t!==null&&$e(t,e,"month"),ts:me(e)}}function hd(e,t,r){return{type:"year",dateObject:{year:mr(e)},isCurrent:ai(r,e),selected:t!==null&&$e(t,e,"year"),ts:me(e)}}function dd(e,t,r){return{type:"quarter",dateObject:{quarter:Fo(e),year:mr(e)},isCurrent:ii(r,e),selected:t!==null&&$e(t,e,"quarter"),ts:me(e)}}function Tm(e,t,r,n,a=!1){const i=or(e);let s=me(_o(e)),o=me(qt(s,-1));const l=[];let c=!a;for(;yo(o)!==n||c;)l.unshift(Kr(o,e,t,r)),o=me(qt(o,-1)),c=!1;for(;or(s)===i;)l.push(Kr(s,e,t,r)),s=me(qt(s,1));const m=a?l.length<=28?28:l.length<=35?35:42:42;for(;l.length<m;)l.push(Kr(s,e,t,r)),s=me(qt(s,1));return l}function Om(e,t,r){const n=[],a=ni(e);for(let i=0;i<12;i++)n.push(ud(me(xo(a,i)),t,r));return n}function Em(e,t,r){const n=[],a=ni(e);for(let i=0;i<4;i++)n.push(dd(me(wo(a,i)),t,r));return n}function km(e,t){const r=[],n=new Date(Ao,0,1);for(let a=0;a<200;a++)r.push(hd(me(bo(n,a)),e,t));return r}function Mm(e,t,r,n){const a=go(e,t,r,n);return mo(a)?vo(a,t,n)===e?a:new Date(NaN):a}function Dm(e){if(e===void 0)return;if(typeof e=="number")return e;const[t,r,n]=e.split(":");return{hours:Number(t),minutes:Number(r),seconds:Number(n)}}function $m(e,t){return Array.isArray(e)?e[t==="start"?0:1]:null}function Pm(e,t){switch(e[0]){case"hex":return t?"#000000FF":"#000000";case"rgb":return t?"rgba(0, 0, 0, 1)":"rgb(0, 0, 0)";case"hsl":return t?"hsla(0, 0%, 0%, 1)":"hsl(0, 0%, 0%)";case"hsv":return t?"hsva(0, 0%, 0%, 1)":"hsv(0, 0%, 0%)"}return"#000000"}function pd(e){return e===null?null:/^ *#/.test(e)?"hex":e.includes("rgb")?"rgb":e.includes("hsl")?"hsl":e.includes("hsv")?"hsv":null}function Im(e){return e=Math.round(e),e>=360?359:e<0?0:e}function Nm(e){return e=Math.round(e*100)/100,e>1?1:e<0?0:e}const gd={rgb:{hex(e){return $r(nt(e))},hsl(e){const[t,r,n,a]=nt(e);return Pr([...Yn(t,r,n),a])},hsv(e){const[t,r,n,a]=nt(e);return Ir([...qn(t,r,n),a])}},hex:{rgb(e){return Nr(nt(e))},hsl(e){const[t,r,n,a]=nt(e);return Pr([...Yn(t,r,n),a])},hsv(e){const[t,r,n,a]=nt(e);return Ir([...qn(t,r,n),a])}},hsl:{hex(e){const[t,r,n,a]=Rr(e);return $r([...Jn(t,r,n),a])},rgb(e){const[t,r,n,a]=Rr(e);return Nr([...Jn(t,r,n),a])},hsv(e){const[t,r,n,a]=Rr(e);return Ir([...To(t,r,n),a])}},hsv:{hex(e){const[t,r,n,a]=Lr(e);return $r([...Zn(t,r,n),a])},rgb(e){const[t,r,n,a]=Lr(e);return Nr([...Zn(t,r,n),a])},hsl(e){const[t,r,n,a]=Lr(e);return Pr([...Oo(t,r,n),a])}}};function Rm(e,t,r){return r=r||pd(e),r?r===t?e:gd[r][t](e):null}function Lm(e,t,r){let n=!1,a=!1,i=1,s=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:i,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:i,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const o=1,l=t;let c=e,m=e;const S=(r-5)/2;m+=Math.ceil(S),m=Math.min(Math.max(m,o+r-3),l-2),c-=Math.floor(S),c=Math.max(Math.min(c,l-r+3),o+2);let b=!1,v=!1;c>o+2&&(b=!0),m<l-2&&(v=!0);const A=[];A.push({type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}),b?(n=!0,i=c-1,A.push({type:"fast-backward",active:!1,label:void 0,options:Oa(o+1,c-1)})):l>=o+1&&A.push({type:"page",label:o+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===o+1});for(let C=c;C<=m;++C)A.push({type:"page",label:C,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===C});return v?(a=!0,s=m+1,A.push({type:"fast-forward",active:!1,label:void 0,options:Oa(m+1,l-1)})):m===l-2&&A[A.length-1].label!==l-1&&A.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:l-1,active:e===l-1}),A[A.length-1].label!==l&&A.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:l,active:e===l}),{hasFastBackward:n,hasFastForward:a,fastBackwardTo:i,fastForwardTo:s,items:A}}function Oa(e,t){const r=[];for(let n=e;n<=t;++n)r.push({label:`${n}`,value:n});return r}const Ki=40,Yi=40;function jm(e){if(e.type==="selection")return e.width===void 0?Ki:jr(e.width);if(e.type==="expand")return e.width===void 0?Yi:jr(e.width);if(!("children"in e))return typeof e.width=="string"?jr(e.width):e.width}function md(e){var t,r;if(e.type==="selection")return He((t=e.width)!==null&&t!==void 0?t:Ki);if(e.type==="expand")return He((r=e.width)!==null&&r!==void 0?r:Yi);if(!("children"in e))return He(e.width)}function Bm(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function Um(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function Hm(e){return e==="ascend"?1:e==="descend"?-1:0}function Wm(e,t,r){return r!==void 0&&(e=Math.min(e,typeof r=="number"?r:parseFloat(r))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function zm(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const r=md(e),{minWidth:n,maxWidth:a}=e;return{width:r,minWidth:He(n)||r,maxWidth:He(a)}}function Gm(e,t,r){return typeof r=="function"?r(e,t):r||""}function Xm(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function Vm(e){return"children"in e?!1:!!e.sorter}function Km(e){return"children"in e&&e.children.length?!1:!!e.resizable}function Ym(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function Ea(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function qm(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:Ea(!1)}:Object.assign(Object.assign({},t),{order:Ea(t.order)})}function Jm(e,t){return t.find(r=>r.columnKey===e.key&&r.order)!==void 0}function Zm(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function Qm(e){return e.type==="group"}function e1(e){return e.type==="divider"}function t1(e){return e.type==="render"}const vd={amHours:["00","01","02","03","04","05","06","07","08","09","10","11"],pmHours:["12","01","02","03","04","05","06","07","08","09","10","11"],hours:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],minutes:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],seconds:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],period:["AM","PM"]};function Yr(e){return`00${e}`.slice(-2)}function _d(e,t,r){return Array.isArray(t)?(r==="am"?t.filter(n=>n<12):r==="pm"?t.filter(n=>n>=12).map(n=>n===12?12:n-12):t).map(n=>Yr(n)):typeof t=="number"?r==="am"?e.filter(n=>{const a=Number(n);return a<12&&a%t===0}):r==="pm"?e.filter(n=>{const a=Number(n);return a>=12&&a%t===0}).map(n=>{const a=Number(n);return Yr(a===12?12:a-12)}):e.filter(n=>Number(n)%t===0):r==="am"?e.filter(n=>Number(n)<12):r==="pm"?e.map(n=>Number(n)).filter(n=>Number(n)>=12).map(n=>Yr(n===12?12:n-12)):e}function r1(e,t,r){return r?typeof r=="number"?e%r===0:r.includes(e):!0}function n1(e,t,r){const n=_d(vd[t],r).map(Number);let a,i;for(let s=0;s<n.length;++s){const o=n[s];if(o===e)return o;if(o>e){i=o;break}a=o}return a===void 0?(i||ko("time-picker","Please set 'hours' or 'minutes' or 'seconds' props"),i):i===void 0||i-e>e-a?a:i}function a1(e){return Eo(e)<12?"am":"pm"}const yd="DESCRIPTION_ITEM_FLAG";function i1(e){return typeof e=="object"&&e&&!Array.isArray(e)?e.type&&e.type[yd]:!1}let qr;const s1=()=>{if(!Mo)return!0;if(qr===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),qr=t}return qr};function o1(e){const t=gn(vn,null);return{mergedSize:fe(()=>e.size!==void 0?e.size:(t==null?void 0:t.props.size)!==void 0?t.props.size:"medium")}}function f1(e){const t=gn(vn,null),r=fe(()=>{const{labelPlacement:v}=e;return v!==void 0?v:t!=null&&t.props.labelPlacement?t.props.labelPlacement:"top"}),n=fe(()=>r.value==="left"&&(e.labelWidth==="auto"||(t==null?void 0:t.props.labelWidth)==="auto")),a=fe(()=>{if(r.value==="top")return;const{labelWidth:v}=e;if(v!==void 0&&v!=="auto")return He(v);if(n.value){const A=t==null?void 0:t.maxChildLabelWidthRef.value;return A!==void 0?He(A):void 0}if((t==null?void 0:t.props.labelWidth)!==void 0)return He(t.props.labelWidth)}),i=fe(()=>{const{labelAlign:v}=e;if(v)return v;if(t!=null&&t.props.labelAlign)return t.props.labelAlign}),s=fe(()=>{var v;return[(v=e.labelProps)===null||v===void 0?void 0:v.style,e.labelStyle,{width:a.value}]}),o=fe(()=>{const{showRequireMark:v}=e;return v!==void 0?v:t==null?void 0:t.props.showRequireMark}),l=fe(()=>{const{requireMarkPlacement:v}=e;return v!==void 0?v:(t==null?void 0:t.props.requireMarkPlacement)||"right"}),c=ri(!1),m=fe(()=>{const{validationStatus:v}=e;if(v!==void 0)return v;if(c.value)return"error"}),S=fe(()=>{const{showFeedback:v}=e;return v!==void 0?v:(t==null?void 0:t.props.showFeedback)!==void 0?t.props.showFeedback:!0}),b=fe(()=>{const{showLabel:v}=e;return v!==void 0?v:(t==null?void 0:t.props.showLabel)!==void 0?t.props.showLabel:!0});return{validationErrored:c,mergedLabelStyle:s,mergedLabelPlacement:r,mergedLabelAlign:i,mergedShowRequireMark:o,mergedRequireMarkPlacement:l,mergedValidationStatus:m,mergedShowFeedback:S,mergedShowLabel:b,isAutoLabelWidth:n}}function l1(e){const t=gn(vn,null),r=fe(()=>{const{rulePath:s}=e;if(s!==void 0)return s;const{path:o}=e;if(o!==void 0)return o}),n=fe(()=>{const s=[],{rule:o}=e;if(o!==void 0&&(Array.isArray(o)?s.push(...o):s.push(o)),t){const{rules:l}=t.props,{value:c}=r;if(l!==void 0&&c!==void 0){const m=hi(l,c);m!==void 0&&(Array.isArray(m)?s.push(...m):s.push(m))}}return s}),a=fe(()=>n.value.some(s=>s.required)),i=fe(()=>a.value||e.required);return{mergedRules:n,mergedRequired:i}}function c1(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function u1(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function h1(e){return e==null?!0:!Number.isNaN(e)}function d1(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function p1(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const xd=_n(No),wd=_n(Ro),bd=_n(Lo);function Sd(e){return e.type==="divider"||e.type==="render"}function Fd(e){return e.type==="divider"}function g1(e,t){const{rawNode:r}=e,{show:n}=r;if(n===!1)return null;if(Sd(r))return Fd(r)?Yt(Do,Object.assign({key:e.key},r.props)):null;const{labelField:a}=t,{key:i,level:s,isGroup:o}=e,l=Object.assign(Object.assign({},r),{title:r.title||r[a],extra:r.titleExtra||r.extra,key:i,internalKey:i,level:s,root:s===0,isGroup:o});return e.children?e.isGroup?Yt($o,Br(l,xd,{tmNode:e,tmNodes:e.children,key:i})):Yt(Po,Br(l,bd,{key:i,rawNodes:r[t.childrenField],tmNodes:e.children,tmNode:e})):Yt(Io,Br(l,wd,{key:i,tmNode:e}))}function m1(e,t,r="sessionStorage"){if(!e){console.error("Failed to set stored data: key is empty or undefined");return}try{const n=JSON.stringify(t);r==="localStorage"?window.localStorage.setItem(e,n):window.sessionStorage.setItem(e,n)}catch(n){console.error(`Failed to set stored data for key '${e}'`,n)}}function v1(e,t="sessionStorage",r){try{const n=t==="localStorage"?window.localStorage.getItem(e):window.sessionStorage.getItem(e);return n===null?r??null:JSON.parse(n)}catch(n){return console.error(`Failed to get stored data for key '${e}'`,n),r??null}}function _1(e,t="sessionStorage"){switch(e){case"all":window.window.localStorage.clear(),window.sessionStorage.clear();break;case"all-sessionStorage":window.sessionStorage.clear();break;case"all-localStorage":window.localStorage.clear();break;default:if(!e){console.error("Failed to remove stored data: key is empty or undefined");return}t==="localStorage"?window.localStorage.removeItem(e):window.sessionStorage.removeItem(e)}}const y1=()=>({VITE_APP_URL:"/",VITE_APP_OFFICE_PROXY_URL:"https://office.yka.one/",VITE_APP_OFFICE_SCRIPT_URL:"https://office.yka.one/web-apps/apps/api/documents/api.js",VITE_USER_NODE_ENV:"production",BASE_URL:"/ray-template/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}),qi=(e,t)=>Object.prototype.toString.call(e).includes(t),x1=(e=16,t=62)=>{const r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[],a=window.crypto||window.msCrypto;let i=0;for(i=0;i<e;i++){const s=new Uint32Array(1);a.getRandomValues(s);const o=s[0]%t;n.push(r[o])}return n.join("")},Ad={validerCSSUnit:/^\d+(\.\d+)?(px|em|rem|%|vw|vh|vmin|vmax|cm|mm|in|pt|pc|ch|ex|q|s|ms|deg|rad|turn|grad|hz|khz|dpi|dpcm|dppx|fr|auto)$/},w1=(e,t,r,n=!1)=>{e&&t&&r&&e.addEventListener(t,r,n)},b1=(e,t,r,n=!1)=>{e&&t&&r&&e.removeEventListener(t,r,n)},S1=(e,t)=>{e&&t.trim().split(" ").forEach(n=>{n&&e.classList.add(n)})},F1=(e,t)=>{if(e)if(t==="removeAllClass"){const r=e.classList;r.forEach(n=>r.remove(n))}else t.trim().split(" ").forEach(n=>{n&&e.classList.remove(n)})},A1=(e,t)=>{const r=e.className,n=t.trim().split(" ").filter(a=>a!=="");return r.includes(n.join(" "))},C1=(e,t)=>{if(!e)return;let r;qi(t,"String")?r=t.split(";").reduce((n,a)=>{const[i,s]=a.split(":").map(o=>o.trim());return i&&s&&(n[i]=s),n},{}):r=t,Object.keys(r).forEach(n=>{const a=r[n];n in e.style&&(e.style[n]=a)})},T1=(e,t=1)=>{const r=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i,n=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/i,a=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/i;let i;if(r.test(e)){const s=e.substring(1);i="rgb("+[parseInt(s.substring(0,2),16),parseInt(s.substring(2,4),16),parseInt(s.substring(4,6),16)].join(", ")+")"}else n.test(e)||a.test(e),i=e;return i&&!i.startsWith("rgba")&&(i=i.replace("rgb","rgba").replace(")",`, ${t})`)),i},O1=e=>{if(!e)return null;const t=e.startsWith("attr:")?`[${e.replace("attr:","")}]`:e;try{return Array.from(document.querySelectorAll(t))}catch(r){return console.error(`Failed to get elements for selector '${e}'`,r),null}},E1=(e,t="px")=>typeof e=="number"?e.toString()+t:qi(e,"String")&&Ad.validerCSSUnit.test(e)?e:e+t;/*!
* currency.js - v2.0.4
* http://scurker.github.io/currency.js
*
* Copyright (c) 2021 Jason Wilson
* Released under MIT license
*/var Cd={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:kd,fromCents:!1},Ji=function(t){return Math.round(t)},Dn=function(t){return Math.pow(10,t)},Td=function(t,r){return Ji(t/r)*r},Od=/(\d)(?=(\d{3})+\b)/g,Ed=/(\d)(?=(\d\d)+\d\b)/g;function re(e,t){var r=this;if(!(r instanceof re))return new re(e,t);var n=Object.assign({},Cd,t),a=Dn(n.precision),i=ir(e,n);r.intValue=i,r.value=i/a,n.increment=n.increment||1/a,n.useVedic?n.groups=Ed:n.groups=Od,this.s=n,this.p=a}function ir(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,n=0,a=t.decimal,i=t.errorOnInvalid,s=t.precision,o=t.fromCents,l=Dn(s),c=typeof e=="number",m=e instanceof re;if(m&&o)return e.intValue;if(c||m)n=m?e.value:e;else if(typeof e=="string"){var S=new RegExp("[^-\\d"+a+"]","g"),b=new RegExp("\\"+a,"g");n=e.replace(/\((.*)\)/,"-$1").replace(S,"").replace(b,"."),n=n||0}else{if(i)throw Error("Invalid Input");n=0}return o||(n*=l,n=n.toFixed(4)),r?Ji(n):n}function kd(e,t){var r=t.pattern,n=t.negativePattern,a=t.symbol,i=t.separator,s=t.decimal,o=t.groups,l=(""+e).replace(/^-/,"").split("."),c=l[0],m=l[1];return(e.value>=0?r:n).replace("!",a).replace("#",c.replace(o,"$1"+i)+(m?s+m:""))}re.prototype={add:function(t){var r=this.intValue,n=this.s,a=this.p;return re((r+=ir(t,n))/(n.fromCents?1:a),n)},subtract:function(t){var r=this.intValue,n=this.s,a=this.p;return re((r-=ir(t,n))/(n.fromCents?1:a),n)},multiply:function(t){var r=this.intValue,n=this.s;return re((r*=t)/(n.fromCents?1:Dn(n.precision)),n)},divide:function(t){var r=this.intValue,n=this.s;return re(r/=ir(t,n,!1),n)},distribute:function(t){for(var r=this.intValue,n=this.p,a=this.s,i=[],s=Math[r>=0?"floor":"ceil"](r/t),o=Math.abs(r-s*t),l=a.fromCents?1:n;t!==0;t--){var c=re(s/l,a);o-- >0&&(c=c[r>=0?"add":"subtract"](1/l)),i.push(c)}return i},dollars:function(){return~~this.value},cents:function(){var t=this.intValue,r=this.p;return~~(t%r)},format:function(t){var r=this.s;return typeof t=="function"?t(this,r):r.format(this,Object.assign({},r,t))},toString:function(){var t=this.intValue,r=this.p,n=this.s;return Td(t/r,n.increment).toFixed(n.precision)},toJSON:function(){return this.value}};const Fr=(e,t,r)=>e!=null&&e.length?e.length===1?re(e[0]):e.reduce((a,i,s,o)=>(a=r==null?void 0:r(a,i,s,o),a),t):0,Md=(e,t,r="number")=>r==="number"?re(e,t).value:re(e,t).toString(),k1=(...e)=>Fr(e,0,(t,r)=>re(t).add(r)),M1=(...e)=>{if(e.length===2){const[n,a]=e;return re(n).subtract(a)}const t=Hi(e),r=t.shift();return t.length?Fr(t,r,(n,a)=>re(n).subtract(a)):r},D1=(...e)=>Fr(e,1,(t,r)=>re(t).multiply(r)),$1=(...e)=>{if(e.length===2){const[n,a]=e;return re(n).divide(a)}const t=Hi(e),r=t.shift();return t.length?Fr(t,r,(n,a)=>re(n).divide(a)):r},P1=(e,t,r)=>t<=1?[e||0]:e?re(e,r).distribute(t).map(a=>Md(a,r)):new Array(t).fill(0);/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Zt=function(t){return String.fromCharCode(t)},Be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function ka(e){for(var t="",r=0,n=0,a=0,i=0,s=0,o=0,l=0,c=0;c<e.length;)r=e.charCodeAt(c++),i=r>>2,n=e.charCodeAt(c++),s=(r&3)<<4|n>>4,a=e.charCodeAt(c++),o=(n&15)<<2|a>>6,l=a&63,isNaN(n)?o=l=64:isNaN(a)&&(l=64),t+=Be.charAt(i)+Be.charAt(s)+Be.charAt(o)+Be.charAt(l);return t}function Ma(e){var t="",r=0,n=0,a=0,i=0,s=0,o=0,l=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)i=Be.indexOf(e.charAt(c++)),s=Be.indexOf(e.charAt(c++)),r=i<<2|s>>4,t+=String.fromCharCode(r),o=Be.indexOf(e.charAt(c++)),n=(s&15)<<4|o>>2,o!==64&&(t+=String.fromCharCode(n)),l=Be.indexOf(e.charAt(c++)),a=(o&3)<<6|l,l!==64&&(t+=String.fromCharCode(a));return t}var Q=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),et=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function dt(e){return Q?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Da(e){return Q?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var it=function(t){return Q?et(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function Ar(e){if(typeof ArrayBuffer>"u")return it(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function Dd(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function $d(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}var st=Q?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:et(t)}))}:function(e){if(typeof Uint8Array<"u"){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if(typeof e[t]=="string")throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map(function(i){return Array.isArray(i)?i:[].slice.call(i)}))};function Pd(e){for(var t=[],r=0,n=e.length+250,a=dt(e.length+255),i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)a[r++]=s;else if(s<2048)a[r++]=192|s>>6&31,a[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var o=e.charCodeAt(++i)&1023;a[r++]=240|s>>8&7,a[r++]=128|s>>2&63,a[r++]=128|o>>6&15|(s&3)<<4,a[r++]=128|o&63}else a[r++]=224|s>>12&15,a[r++]=128|s>>6&63,a[r++]=128|s&63;r>n&&(t.push(a.slice(0,r)),r=0,a=dt(65535),n=65530)}return t.push(a.slice(0,r)),st(t)}var Ot=/\u0000/g,Qt=/[\u0001-\u0006]/g;function lt(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function _e(e,t){var r=""+e;return r.length>=t?r:ue("0",t-r.length)+r}function $n(e,t){var r=""+e;return r.length>=t?r:ue(" ",t-r.length)+r}function hr(e,t){var r=""+e;return r.length>=t?r:r+ue(" ",t-r.length)}function Id(e,t){var r=""+Math.round(e);return r.length>=t?r:ue("0",t-r.length)+r}function Nd(e,t){var r=""+e;return r.length>=t?r:ue("0",t-r.length)+r}var $a=Math.pow(2,32);function at(e,t){if(e>$a||e<-$a)return Id(e,t);var r=Math.round(e);return Nd(r,t)}function dr(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var Pa=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Jr=[["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 Rd(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]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var we={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:'"上午/下午 "hh"時"mm"分"ss"秒 "'},Ia={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},Ld={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 pr(e,t,r){for(var n=e<0?-1:1,a=e*n,i=0,s=1,o=0,l=1,c=0,m=0,S=Math.floor(a);c<t&&(S=Math.floor(a),o=S*s+i,m=S*c+l,!(a-S<5e-8));)a=1/(a-S),i=s,s=o,l=c,c=m;if(m>t&&(c>t?(m=l,o=i):(m=c,o=s)),!r)return[0,n*o,m];var b=Math.floor(n*o/m);return[b,n*o-b*m,m]}function er(e,t,r){if(e>2958465||e<0)return null;var n=e|0,a=Math.floor(86400*(e-n)),i=0,s=[],o={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(n+=1462),o.u>.9999&&(o.u=0,++a==86400&&(o.T=a=0,++n,++o.D)),n===60)s=r?[1317,10,29]:[1900,2,29],i=3;else if(n===0)s=r?[1317,8,29]:[1900,1,0],i=6;else{n>60&&--n;var l=new Date(1900,0,1);l.setDate(l.getDate()+n-1),s=[l.getFullYear(),l.getMonth()+1,l.getDate()],i=l.getDay(),n<60&&(i=(i+6)%7),r&&(i=Gd(l,s))}return o.y=s[0],o.m=s[1],o.d=s[2],o.S=a%60,a=Math.floor(a/60),o.M=a%60,a=Math.floor(a/60),o.H=a,o.q=i,o}var Zi=new Date(1899,11,31,0,0,0),jd=Zi.getTime(),Bd=new Date(1900,2,1,0,0,0);function Qi(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=Bd&&(r+=24*60*60*1e3),(r-(jd+(e.getTimezoneOffset()-Zi.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function Pn(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Ud(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function Hd(e){var t=e<0?12:11,r=Pn(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function Wd(e){var t=Pn(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function zd(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=Hd(e):t===10?r=e.toFixed(10).substr(0,12):r=Wd(e),Pn(Ud(r.toUpperCase()))}function un(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):zd(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return $t(14,Qi(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Gd(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function Xd(e,t,r,n){var a="",i=0,s=0,o=r.y,l,c=0;switch(e){case 98:o=r.y+543;case 121:switch(t.length){case 1:case 2:l=o%100,c=2;break;default:l=o%1e4,c=4;break}break;case 109:switch(t.length){case 1:case 2:l=r.m,c=t.length;break;case 3:return Jr[r.m-1][1];case 5:return Jr[r.m-1][0];default:return Jr[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:l=r.d,c=t.length;break;case 3:return Pa[r.q][0];default:return Pa[r.q][1]}break;case 104:switch(t.length){case 1:case 2:l=1+(r.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:l=r.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:l=r.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?_e(r.S,t.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,i=Math.round(s*(r.S+r.u)),i>=60*s&&(i=0),t==="s"?i===0?"0":""+i/s:(a=_e(i,2+n),t==="ss"?a.substr(0,2):"."+a.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":l=r.D*24+r.H;break;case"[m]":case"[mm]":l=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":l=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}c=t.length===3?1:2;break;case 101:l=o,c=1;break}var m=c>0?_e(l,c):"";return m}function Ue(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var es=/%/g;function Vd(e,t,r){var n=t.replace(es,""),a=t.length-n.length;return Pe(e,n,r*Math.pow(10,2*a))+ue("%",a)}function Kd(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Pe(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function ts(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+ts(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),r.indexOf("e")===-1){var s=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,l,c,m){return l+c+m.substr(0,(a+i)%a)+"."+m.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var rs=/# (\?+)( ?)\/( ?)(\d+)/;function Yd(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),i=Math.floor(a/n),s=a-i*n,o=n;return r+(i===0?"":""+i)+" "+(s===0?ue(" ",e[1].length+1+e[4].length):$n(s,e[1].length)+e[2]+"/"+e[3]+_e(o,e[4].length))}function qd(e,t,r){return r+(t===0?"":""+t)+ue(" ",e[1].length+2+e[4].length)}var ns=/^#*0*\.([0#]+)/,as=/\).*[0#]/,is=/\(###\) ###\\?-####/;function le(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function Na(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function Ra(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function Jd(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Zd(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function ge(e,t,r){if(e.charCodeAt(0)===40&&!t.match(as)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ge("n",n,r):"("+ge("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return Kd(e,t,r);if(t.indexOf("%")!==-1)return Vd(e,t,r);if(t.indexOf("E")!==-1)return ts(t,r);if(t.charCodeAt(0)===36)return"$"+ge(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,o,l=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+at(l,t.length);if(t.match(/^[#?]+$/))return a=at(r,0),a==="0"&&(a=""),a.length>t.length?a:le(t.substr(0,t.length-a.length))+a;if(i=t.match(rs))return Yd(i,l,c);if(t.match(/^#+0+$/))return c+at(l,t.length-t.indexOf("0"));if(i=t.match(ns))return a=Na(r,i[1].length).replace(/^([^\.]+)$/,"$1."+le(i[1])).replace(/\.$/,"."+le(i[1])).replace(/\.(\d*)$/,function(A,C){return"."+C+ue("0",le(i[1]).length-C.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return c+Na(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return c+Ue(at(l,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ge(e,t,-r):Ue(""+(Math.floor(r)+Jd(r,i[1].length)))+"."+_e(Ra(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return ge(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=lt(ge(e,t.replace(/[\\-]/g,""),r)),s=0,lt(lt(t.replace(/\\/g,"")).replace(/[0#]/g,function(A){return s<a.length?a.charAt(s++):A==="0"?"0":""}));if(t.match(is))return a=ge(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var m="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(i[4].length,7),o=pr(l,Math.pow(10,s)-1,!1),a=""+c,m=Pe("n",i[1],o[1]),m.charAt(m.length-1)==" "&&(m=m.substr(0,m.length-1)+"0"),a+=m+i[2]+"/"+i[3],m=hr(o[2],s),m.length<i[4].length&&(m=le(i[4].substr(i[4].length-m.length))+m),a+=m,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(i[1].length,i[4].length),7),o=pr(l,Math.pow(10,s)-1,!0),c+(o[0]||(o[1]?"":"0"))+" "+(o[1]?$n(o[1],s)+i[2]+"/"+i[3]+hr(o[2],s):ue(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=at(r,0),t.length<=a.length?a:le(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),s=a.indexOf(".");var S=t.indexOf(".")-s,b=t.length-a.length-S;return le(t.substr(0,S)+a+t.substr(t.length-b))}if(i=t.match(/^00,000\.([#0]*0)$/))return s=Ra(r,i[1].length),r<0?"-"+ge(e,t,-r):Ue(Zd(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(A){return"00,"+(A.length<3?_e(0,3-A.length):"")+A})+"."+_e(s,i[1].length);switch(t){case"###,##0.00":return ge(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var v=Ue(at(l,0));return v!=="0"?c+v:"";case"###,###.00":return ge(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return ge(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function Qd(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Pe(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function ep(e,t,r){var n=t.replace(es,""),a=t.length-n.length;return Pe(e,n,r*Math.pow(10,2*a))+ue("%",a)}function ss(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+ss(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),!r.match(/[Ee]/)){var s=Math.floor(Math.log(t)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,l,c,m){return l+c+m.substr(0,(a+i)%a)+"."+m.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function Ae(e,t,r){if(e.charCodeAt(0)===40&&!t.match(as)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Ae("n",n,r):"("+Ae("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return Qd(e,t,r);if(t.indexOf("%")!==-1)return ep(e,t,r);if(t.indexOf("E")!==-1)return ss(t,r);if(t.charCodeAt(0)===36)return"$"+Ae(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,o,l=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+_e(l,t.length);if(t.match(/^[#?]+$/))return a=""+r,r===0&&(a=""),a.length>t.length?a:le(t.substr(0,t.length-a.length))+a;if(i=t.match(rs))return qd(i,l,c);if(t.match(/^#+0+$/))return c+_e(l,t.length-t.indexOf("0"));if(i=t.match(ns))return a=(""+r).replace(/^([^\.]+)$/,"$1."+le(i[1])).replace(/\.$/,"."+le(i[1])),a=a.replace(/\.(\d*)$/,function(A,C){return"."+C+ue("0",le(i[1]).length-C.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return c+Ue(""+l);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Ae(e,t,-r):Ue(""+r)+"."+ue("0",i[1].length);if(i=t.match(/^#,#*,#0/))return Ae(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=lt(Ae(e,t.replace(/[\\-]/g,""),r)),s=0,lt(lt(t.replace(/\\/g,"")).replace(/[0#]/g,function(A){return s<a.length?a.charAt(s++):A==="0"?"0":""}));if(t.match(is))return a=Ae(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var m="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(i[4].length,7),o=pr(l,Math.pow(10,s)-1,!1),a=""+c,m=Pe("n",i[1],o[1]),m.charAt(m.length-1)==" "&&(m=m.substr(0,m.length-1)+"0"),a+=m+i[2]+"/"+i[3],m=hr(o[2],s),m.length<i[4].length&&(m=le(i[4].substr(i[4].length-m.length))+m),a+=m,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(i[1].length,i[4].length),7),o=pr(l,Math.pow(10,s)-1,!0),c+(o[0]||(o[1]?"":"0"))+" "+(o[1]?$n(o[1],s)+i[2]+"/"+i[3]+hr(o[2],s):ue(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:le(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),s=a.indexOf(".");var S=t.indexOf(".")-s,b=t.length-a.length-S;return le(t.substr(0,S)+a+t.substr(t.length-b))}if(i=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+Ae(e,t,-r):Ue(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(A){return"00,"+(A.length<3?_e(0,3-A.length):"")+A})+"."+_e(0,i[1].length);switch(t){case"###,###":case"##,###":case"#,###":var v=Ue(""+l);return v!=="0"?c+v:"";default:if(t.match(/\.[0#?]*$/))return Ae(e,t.slice(0,t.lastIndexOf(".")),r)+le(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Pe(e,t,r){return(r|0)===r?Ae(e,t,r):ge(e,t,r)}function tp(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),r===!0)throw new Error("Format |"+e+"| unterminated string ");return t}var os=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function rp(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":dr(e,t)&&(t+=6),t++;break;case'"':for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(e.charAt(t+1)==="1"||e.charAt(t+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="上午/下午")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(os))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function np(e,t,r,n){for(var a=[],i="",s=0,o="",l="t",c,m,S,b="H";s<e.length;)switch(o=e.charAt(s)){case"G":if(!dr(e,s))throw new Error("unrecognized character "+o+" in "+e);a[a.length]={t:"G",v:"General"},s+=7;break;case'"':for(i="";(S=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(S);a[a.length]={t:"t",v:i},++s;break;case"\\":var v=e.charAt(++s),A=v==="("||v===")"?v:"t";a[a.length]={t:A,v},++s;break;case"_":a[a.length]={t:"t",v:" "},s+=2;break;case"@":a[a.length]={t:"T",v:t},++s;break;case"B":case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(c==null&&(c=er(t,r,e.charAt(s+1)==="2"),c==null))return"";a[a.length]={t:"X",v:e.substr(s,2)},l=o,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":o=o.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||c==null&&(c=er(t,r),c==null))return"";for(i=o;++s<e.length&&e.charAt(s).toLowerCase()===o;)i+=o;o==="m"&&l.toLowerCase()==="h"&&(o="M"),o==="h"&&(o=b),a[a.length]={t:o,v:i},l=o;break;case"A":case"a":case"上":var C={t:o,v:o};if(c==null&&(c=er(t,r)),e.substr(s,3).toUpperCase()==="A/P"?(c!=null&&(C.v=c.H>=12?"P":"A"),C.t="T",b="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(c!=null&&(C.v=c.H>=12?"PM":"AM"),C.t="T",s+=5,b="h"):e.substr(s,5).toUpperCase()==="上午/下午"?(c!=null&&(C.v=c.H>=12?"下午":"上午"),C.t="T",s+=5,b="h"):(C.t="t",++s),c==null&&C.t==="T")return"";a[a.length]=C,l=o;break;case"[":for(i=o;e.charAt(s++)!=="]"&&s<e.length;)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(os)){if(c==null&&(c=er(t,r),c==null))return"";a[a.length]={t:"Z",v:i.toLowerCase()},l=i.charAt(1)}else i.indexOf("$")>-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",rp(e)||(a[a.length]={t:"t",v:i}));break;case".":if(c!=null){for(i=o;++s<e.length&&(o=e.charAt(s))==="0";)i+=o;a[a.length]={t:"s",v:i};break}case"0":case"#":for(i=o;++s<e.length&&"0#?.,E+-%".indexOf(o=e.charAt(s))>-1;)i+=o;a[a.length]={t:"n",v:i};break;case"?":for(i=o;e.charAt(++s)===o;)i+=o;a[a.length]={t:o,v:i},l=o;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":a[a.length]={t:n===1?"t":o,v:o},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=o;s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1;)i+=e.charAt(s);a[a.length]={t:"D",v:i};break;case" ":a[a.length]={t:o,v:o},++s;break;case"$":a[a.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(o)===-1)throw new Error("unrecognized character "+o+" in "+e);a[a.length]={t:"t",v:o},++s;break}var k=0,N=0,L;for(s=a.length-1,l="t";s>=0;--s)switch(a[s].t){case"h":case"H":a[s].t=b,l="h",k<1&&(k=1);break;case"s":(L=a[s].v.match(/\.0+$/))&&(N=Math.max(N,L[0].length-1)),k<3&&(k=3);case"d":case"y":case"M":case"e":l=a[s].t;break;case"m":l==="s"&&(a[s].t="M",k<2&&(k=2));break;case"X":break;case"Z":k<1&&a[s].v.match(/[Hh]/)&&(k=1),k<2&&a[s].v.match(/[Mm]/)&&(k=2),k<3&&a[s].v.match(/[Ss]/)&&(k=3)}switch(k){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 W="",j;for(s=0;s<a.length;++s)switch(a[s].t){case"t":case"T":case" ":case"D":break;case"X":a[s].v="",a[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":a[s].v=Xd(a[s].t.charCodeAt(0),a[s].v,c,N),a[s].t="t";break;case"n":case"?":for(j=s+1;a[j]!=null&&((o=a[j].t)==="?"||o==="D"||(o===" "||o==="t")&&a[j+1]!=null&&(a[j+1].t==="?"||a[j+1].t==="t"&&a[j+1].v==="/")||a[s].t==="("&&(o===" "||o==="n"||o===")")||o==="t"&&(a[j].v==="/"||a[j].v===" "&&a[j+1]!=null&&a[j+1].t=="?"));)a[s].v+=a[j].v,a[j]={v:"",t:";"},++j;W+=a[s].v,s=j-1;break;case"G":a[s].t="t",a[s].v=un(t,r);break}var V="",U,T;if(W.length>0){W.charCodeAt(0)==40?(U=t<0&&W.charCodeAt(0)===45?-t:t,T=Pe("n",W,U)):(U=t<0&&n>1?-t:t,T=Pe("n",W,U),U<0&&a[0]&&a[0].t=="t"&&(T=T.substr(1),a[0].v="-"+a[0].v)),j=T.length-1;var z=a.length;for(s=0;s<a.length;++s)if(a[s]!=null&&a[s].t!="t"&&a[s].v.indexOf(".")>-1){z=s;break}var M=a.length;if(z===a.length&&T.indexOf("E")===-1){for(s=a.length-1;s>=0;--s)a[s]==null||"n?".indexOf(a[s].t)===-1||(j>=a[s].v.length-1?(j-=a[s].v.length,a[s].v=T.substr(j+1,a[s].v.length)):j<0?a[s].v="":(a[s].v=T.substr(0,j+1),j=-1),a[s].t="t",M=s);j>=0&&M<a.length&&(a[M].v=T.substr(0,j+1)+a[M].v)}else if(z!==a.length&&T.indexOf("E")===-1){for(j=T.indexOf(".")-1,s=z;s>=0;--s)if(!(a[s]==null||"n?".indexOf(a[s].t)===-1)){for(m=a[s].v.indexOf(".")>-1&&s===z?a[s].v.indexOf(".")-1:a[s].v.length-1,V=a[s].v.substr(m+1);m>=0;--m)j>=0&&(a[s].v.charAt(m)==="0"||a[s].v.charAt(m)==="#")&&(V=T.charAt(j--)+V);a[s].v=V,a[s].t="t",M=s}for(j>=0&&M<a.length&&(a[M].v=T.substr(0,j+1)+a[M].v),j=T.indexOf(".")+1,s=z;s<a.length;++s)if(!(a[s]==null||"n?(".indexOf(a[s].t)===-1&&s!==z)){for(m=a[s].v.indexOf(".")>-1&&s===z?a[s].v.indexOf(".")+1:0,V=a[s].v.substr(0,m);m<a[s].v.length;++m)j<T.length&&(V+=T.charAt(j++));a[s].v=V,a[s].t="t",M=s}}}for(s=0;s<a.length;++s)a[s]!=null&&"n?".indexOf(a[s].t)>-1&&(U=n>1&&t<0&&s>0&&a[s-1].v==="-"?-t:t,a[s].v=Pe(a[s].t,a[s].v,U),a[s].t="t");var B="";for(s=0;s!==a.length;++s)a[s]!=null&&(B+=a[s].v);return B}var La=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function ja(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function ap(e,t){var r=tp(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(La),o=r[1].match(La);return ja(t,s)?[n,r[0]]:ja(t,o)?[n,r[1]]:[n,r[s!=null&&o!=null?2:1]]}return[n,i]}function $t(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:we)[e],n==null&&(n=r.table&&r.table[Ia[e]]||we[Ia[e]]),n==null&&(n=Ld[e]||"General");break}if(dr(n,0))return un(t,r);t instanceof Date&&(t=Qi(t,r.date1904));var a=ap(n,t);if(dr(a[1]))return un(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return np(a[1],t,r,a[0])}function fs(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(we[r]==null){t<0&&(t=r);continue}if(we[r]==e){t=r;break}}t<0&&(t=391)}return we[t]=e,t}function ip(e){for(var t=0;t!=392;++t)e[t]!==void 0&&fs(e[t],t)}function sp(){we=Rd()}var op=function(){var e={};e.version="1.2.0";function t(){for(var T=0,z=new Array(256),M=0;M!=256;++M)T=M,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,z[M]=T;return typeof Int32Array<"u"?new Int32Array(z):z}var r=t();function n(T){var z=0,M=0,B=0,G=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(B=0;B!=256;++B)G[B]=T[B];for(B=0;B!=256;++B)for(M=T[B],z=256+B;z<4096;z+=256)M=G[z]=M>>>8^T[M&255];var X=[];for(B=1;B!=16;++B)X[B-1]=typeof Int32Array<"u"?G.subarray(B*256,B*256+256):G.slice(B*256,B*256+256);return X}var a=n(r),i=a[0],s=a[1],o=a[2],l=a[3],c=a[4],m=a[5],S=a[6],b=a[7],v=a[8],A=a[9],C=a[10],k=a[11],N=a[12],L=a[13],W=a[14];function j(T,z){for(var M=z^-1,B=0,G=T.length;B<G;)M=M>>>8^r[(M^T.charCodeAt(B++))&255];return~M}function V(T,z){for(var M=z^-1,B=T.length-15,G=0;G<B;)M=W[T[G++]^M&255]^L[T[G++]^M>>8&255]^N[T[G++]^M>>16&255]^k[T[G++]^M>>>24]^C[T[G++]]^A[T[G++]]^v[T[G++]]^b[T[G++]]^S[T[G++]]^m[T[G++]]^c[T[G++]]^l[T[G++]]^o[T[G++]]^s[T[G++]]^i[T[G++]]^r[T[G++]];for(B+=15;G<B;)M=M>>>8^r[(M^T[G++])&255];return~M}function U(T,z){for(var M=z^-1,B=0,G=T.length,X=0,q=0;B<G;)X=T.charCodeAt(B++),X<128?M=M>>>8^r[(M^X)&255]:X<2048?(M=M>>>8^r[(M^(192|X>>6&31))&255],M=M>>>8^r[(M^(128|X&63))&255]):X>=55296&&X<57344?(X=(X&1023)+64,q=T.charCodeAt(B++)&1023,M=M>>>8^r[(M^(240|X>>8&7))&255],M=M>>>8^r[(M^(128|X>>2&63))&255],M=M>>>8^r[(M^(128|q>>6&15|(X&3)<<4))&255],M=M>>>8^r[(M^(128|q&63))&255]):(M=M>>>8^r[(M^(224|X>>12&15))&255],M=M>>>8^r[(M^(128|X>>6&63))&255],M=M>>>8^r[(M^(128|X&63))&255]);return~M}return e.table=r,e.bstr=j,e.buf=V,e.str=U,e}(),ve=function(){var t={};t.version="1.2.1";function r(f,d){for(var u=f.split("/"),h=d.split("/"),p=0,g=0,y=Math.min(u.length,h.length);p<y;++p){if(g=u[p].length-h[p].length)return g;if(u[p]!=h[p])return u[p]<h[p]?-1:1}return u.length-h.length}function n(f){if(f.charAt(f.length-1)=="/")return f.slice(0,-1).indexOf("/")===-1?f:n(f.slice(0,-1));var d=f.lastIndexOf("/");return d===-1?f:f.slice(0,d+1)}function a(f){if(f.charAt(f.length-1)=="/")return a(f.slice(0,-1));var d=f.lastIndexOf("/");return d===-1?f:f.slice(d+1)}function i(f,d){typeof d=="string"&&(d=new Date(d));var u=d.getHours();u=u<<6|d.getMinutes(),u=u<<5|d.getSeconds()>>>1,f.write_shift(2,u);var h=d.getFullYear()-1980;h=h<<4|d.getMonth()+1,h=h<<5|d.getDate(),f.write_shift(2,h)}function s(f){var d=f.read_shift(2)&65535,u=f.read_shift(2)&65535,h=new Date,p=u&31;u>>>=5;var g=u&15;u>>>=4,h.setMilliseconds(0),h.setFullYear(u+1980),h.setMonth(g-1),h.setDate(p);var y=d&31;d>>>=5;var F=d&63;return d>>>=6,h.setHours(d),h.setMinutes(F),h.setSeconds(y<<1),h}function o(f){je(f,0);for(var d={},u=0;f.l<=f.length-4;){var h=f.read_shift(2),p=f.read_shift(2),g=f.l+p,y={};switch(h){case 21589:u=f.read_shift(1),u&1&&(y.mtime=f.read_shift(4)),p>5&&(u&2&&(y.atime=f.read_shift(4)),u&4&&(y.ctime=f.read_shift(4))),y.mtime&&(y.mt=new Date(y.mtime*1e3));break}f.l=g,d[h]=y}return d}var l;function c(){return l||(l={})}function m(f,d){if(f[0]==80&&f[1]==75)return Kn(f,d);if((f[0]|32)==109&&(f[1]|32)==105)return oo(f,d);if(f.length<512)throw new Error("CFB file size "+f.length+" < 512");var u=3,h=512,p=0,g=0,y=0,F=0,_=0,x=[],w=f.slice(0,512);je(w,0);var O=S(w);switch(u=O[0],u){case 3:h=512;break;case 4:h=4096;break;case 0:if(O[1]==0)return Kn(f,d);default:throw new Error("Major Version: Expected 3 or 4 saw "+u)}h!==512&&(w=f.slice(0,h),je(w,28));var D=f.slice(0,h);b(w,u);var I=w.read_shift(4,"i");if(u===3&&I!==0)throw new Error("# Directory Sectors: Expected 0 saw "+I);w.l+=4,y=w.read_shift(4,"i"),w.l+=4,w.chk("00100000","Mini Stream Cutoff Size: "),F=w.read_shift(4,"i"),p=w.read_shift(4,"i"),_=w.read_shift(4,"i"),g=w.read_shift(4,"i");for(var E=-1,P=0;P<109&&(E=w.read_shift(4,"i"),!(E<0));++P)x[P]=E;var H=v(f,h);k(_,g,H,h,x);var J=L(H,y,x,h);J[y].name="!Directory",p>0&&F!==q&&(J[F].name="!MiniFAT"),J[x[0]].name="!FAT",J.fat_addrs=x,J.ssz=h;var Z={},se=[],xt=[],wt=[];W(y,J,H,se,p,Z,xt,F),A(xt,wt,se),se.shift();var bt={FileIndex:xt,FullPaths:wt};return d&&d.raw&&(bt.raw={header:D,sectors:H}),bt}function S(f){if(f[f.l]==80&&f[f.l+1]==75)return[0,0];f.chk(ze,"Header Signature: "),f.l+=16;var d=f.read_shift(2,"u");return[f.read_shift(2,"u"),d]}function b(f,d){var u=9;switch(f.l+=2,u=f.read_shift(2)){case 9:if(d!=3)throw new Error("Sector Shift: Expected 9 saw "+u);break;case 12:if(d!=4)throw new Error("Sector Shift: Expected 12 saw "+u);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+u)}f.chk("0600","Mini Sector Shift: "),f.chk("000000000000","Reserved: ")}function v(f,d){for(var u=Math.ceil(f.length/d)-1,h=[],p=1;p<u;++p)h[p-1]=f.slice(p*d,(p+1)*d);return h[u-1]=f.slice(u*d),h}function A(f,d,u){for(var h=0,p=0,g=0,y=0,F=0,_=u.length,x=[],w=[];h<_;++h)x[h]=w[h]=h,d[h]=u[h];for(;F<w.length;++F)h=w[F],p=f[h].L,g=f[h].R,y=f[h].C,x[h]===h&&(p!==-1&&x[p]!==p&&(x[h]=x[p]),g!==-1&&x[g]!==g&&(x[h]=x[g])),y!==-1&&(x[y]=h),p!==-1&&h!=x[h]&&(x[p]=x[h],w.lastIndexOf(p)<F&&w.push(p)),g!==-1&&h!=x[h]&&(x[g]=x[h],w.lastIndexOf(g)<F&&w.push(g));for(h=1;h<_;++h)x[h]===h&&(g!==-1&&x[g]!==g?x[h]=x[g]:p!==-1&&x[p]!==p&&(x[h]=x[p]));for(h=1;h<_;++h)if(f[h].type!==0){if(F=h,F!=x[F])do F=x[F],d[h]=d[F]+"/"+d[h];while(F!==0&&x[F]!==-1&&F!=x[F]);x[h]=-1}for(d[0]+="/",h=1;h<_;++h)f[h].type!==2&&(d[h]+="/")}function C(f,d,u){for(var h=f.start,p=f.size,g=[],y=h;u&&p>0&&y>=0;)g.push(d.slice(y*X,y*X+X)),p-=X,y=ft(u,y*4);return g.length===0?De(0):st(g).slice(0,f.size)}function k(f,d,u,h,p){var g=q;if(f===q){if(d!==0)throw new Error("DIFAT chain shorter than expected")}else if(f!==-1){var y=u[f],F=(h>>>2)-1;if(!y)return;for(var _=0;_<F&&(g=ft(y,_*4))!==q;++_)p.push(g);k(ft(y,h-4),d-1,u,h,p)}}function N(f,d,u,h,p){var g=[],y=[];p||(p=[]);var F=h-1,_=0,x=0;for(_=d;_>=0;){p[_]=!0,g[g.length]=_,y.push(f[_]);var w=u[Math.floor(_*4/h)];if(x=_*4&F,h<4+x)throw new Error("FAT boundary crossed: "+_+" 4 "+h);if(!f[w])break;_=ft(f[w],x)}return{nodes:g,data:Xa([y])}}function L(f,d,u,h){var p=f.length,g=[],y=[],F=[],_=[],x=h-1,w=0,O=0,D=0,I=0;for(w=0;w<p;++w)if(F=[],D=w+d,D>=p&&(D-=p),!y[D]){_=[];var E=[];for(O=D;O>=0;){E[O]=!0,y[O]=!0,F[F.length]=O,_.push(f[O]);var P=u[Math.floor(O*4/h)];if(I=O*4&x,h<4+I)throw new Error("FAT boundary crossed: "+O+" 4 "+h);if(!f[P]||(O=ft(f[P],I),E[O]))break}g[D]={nodes:F,data:Xa([_])}}return g}function W(f,d,u,h,p,g,y,F){for(var _=0,x=h.length?2:0,w=d[f].data,O=0,D=0,I;O<w.length;O+=128){var E=w.slice(O,O+128);je(E,64),D=E.read_shift(2),I=In(E,0,D-x),h.push(I);var P={name:I,type:E.read_shift(1),color:E.read_shift(1),L:E.read_shift(4,"i"),R:E.read_shift(4,"i"),C:E.read_shift(4,"i"),clsid:E.read_shift(16),state:E.read_shift(4,"i"),start:0,size:0},H=E.read_shift(2)+E.read_shift(2)+E.read_shift(2)+E.read_shift(2);H!==0&&(P.ct=j(E,E.l-8));var J=E.read_shift(2)+E.read_shift(2)+E.read_shift(2)+E.read_shift(2);J!==0&&(P.mt=j(E,E.l-8)),P.start=E.read_shift(4,"i"),P.size=E.read_shift(4,"i"),P.size<0&&P.start<0&&(P.size=P.type=0,P.start=q,P.name=""),P.type===5?(_=P.start,p>0&&_!==q&&(d[_].name="!StreamData")):P.size>=4096?(P.storage="fat",d[P.start]===void 0&&(d[P.start]=N(u,P.start,d.fat_addrs,d.ssz)),d[P.start].name=P.name,P.content=d[P.start].data.slice(0,P.size)):(P.storage="minifat",P.size<0?P.size=0:_!==q&&P.start!==q&&d[_]&&(P.content=C(P,d[_].data,(d[F]||{}).data))),P.content&&je(P.content,0),g[I]=P,y.push(P)}}function j(f,d){return new Date((pe(f,d+4)/1e7*Math.pow(2,32)+pe(f,d)/1e7-11644473600)*1e3)}function V(f,d){return c(),m(l.readFileSync(f),d)}function U(f,d){var u=d&&d.type;switch(u||Q&&Buffer.isBuffer(f)&&(u="buffer"),u||"base64"){case"file":return V(f,d);case"base64":return m(it(Ma(f)),d);case"binary":return m(it(f),d)}return m(f,d)}function T(f,d){var u=d||{},h=u.root||"Root Entry";if(f.FullPaths||(f.FullPaths=[]),f.FileIndex||(f.FileIndex=[]),f.FullPaths.length!==f.FileIndex.length)throw new Error("inconsistent CFB structure");f.FullPaths.length===0&&(f.FullPaths[0]=h+"/",f.FileIndex[0]={name:h,type:5}),u.CLSID&&(f.FileIndex[0].clsid=u.CLSID),z(f)}function z(f){var d="Sh33tJ5";if(!ve.find(f,"/"+d)){var u=De(4);u[0]=55,u[1]=u[3]=50,u[2]=54,f.FileIndex.push({name:d,type:2,content:u,size:4,L:69,R:69,C:69}),f.FullPaths.push(f.FullPaths[0]+d),M(f)}}function M(f,d){T(f);for(var u=!1,h=!1,p=f.FullPaths.length-1;p>=0;--p){var g=f.FileIndex[p];switch(g.type){case 0:h?u=!0:(f.FileIndex.pop(),f.FullPaths.pop());break;case 1:case 2:case 5:h=!0,isNaN(g.R*g.L*g.C)&&(u=!0),g.R>-1&&g.L>-1&&g.R==g.L&&(u=!0);break;default:u=!0;break}}if(!(!u&&!d)){var y=new Date(1987,1,19),F=0,_=Object.create?Object.create(null):{},x=[];for(p=0;p<f.FullPaths.length;++p)_[f.FullPaths[p]]=!0,f.FileIndex[p].type!==0&&x.push([f.FullPaths[p],f.FileIndex[p]]);for(p=0;p<x.length;++p){var w=n(x[p][0]);h=_[w],h||(x.push([w,{name:a(w).replace("/",""),type:1,clsid:Cr,ct:y,mt:y,content:null}]),_[w]=!0)}for(x.sort(function(I,E){return r(I[0],E[0])}),f.FullPaths=[],f.FileIndex=[],p=0;p<x.length;++p)f.FullPaths[p]=x[p][0],f.FileIndex[p]=x[p][1];for(p=0;p<x.length;++p){var O=f.FileIndex[p],D=f.FullPaths[p];if(O.name=a(D).replace("/",""),O.L=O.R=O.C=-(O.color=1),O.size=O.content?O.content.length:0,O.start=0,O.clsid=O.clsid||Cr,p===0)O.C=x.length>1?1:-1,O.size=0,O.type=5;else if(D.slice(-1)=="/"){for(F=p+1;F<x.length&&n(f.FullPaths[F])!=D;++F);for(O.C=F>=x.length?-1:F,F=p+1;F<x.length&&n(f.FullPaths[F])!=n(D);++F);O.R=F>=x.length?-1:F,O.type=1}else n(f.FullPaths[p+1]||"")==n(D)&&(O.R=p+1),O.type=2}}}function B(f,d){var u=d||{};if(u.fileType=="mad")return fo(f,u);switch(M(f),u.fileType){case"zip":return to(f,u)}var h=function(I){for(var E=0,P=0,H=0;H<I.FileIndex.length;++H){var J=I.FileIndex[H];if(J.content){var Z=J.content.length;Z>0&&(Z<4096?E+=Z+63>>6:P+=Z+511>>9)}}for(var se=I.FullPaths.length+3>>2,xt=E+7>>3,wt=E+127>>7,bt=xt+P+se+wt,Xe=bt+127>>7,Dr=Xe<=109?0:Math.ceil((Xe-109)/127);bt+Xe+Dr+127>>7>Xe;)Dr=++Xe<=109?0:Math.ceil((Xe-109)/127);var Me=[1,Dr,Xe,wt,se,P,E,0];return I.FileIndex[0].size=E<<6,Me[7]=(I.FileIndex[0].start=Me[0]+Me[1]+Me[2]+Me[3]+Me[4]+Me[5])+(Me[6]+7>>3),Me}(f),p=De(h[7]<<9),g=0,y=0;{for(g=0;g<8;++g)p.write_shift(1,js[g]);for(g=0;g<8;++g)p.write_shift(2,0);for(p.write_shift(2,62),p.write_shift(2,3),p.write_shift(2,65534),p.write_shift(2,9),p.write_shift(2,6),g=0;g<3;++g)p.write_shift(2,0);for(p.write_shift(4,0),p.write_shift(4,h[2]),p.write_shift(4,h[0]+h[1]+h[2]+h[3]-1),p.write_shift(4,0),p.write_shift(4,4096),p.write_shift(4,h[3]?h[0]+h[1]+h[2]-1:q),p.write_shift(4,h[3]),p.write_shift(-4,h[1]?h[0]-1:q),p.write_shift(4,h[1]),g=0;g<109;++g)p.write_shift(-4,g<h[2]?h[1]+g:-1)}if(h[1])for(y=0;y<h[1];++y){for(;g<236+y*127;++g)p.write_shift(-4,g<h[2]?h[1]+g:-1);p.write_shift(-4,y===h[1]-1?q:y+1)}var F=function(I){for(y+=I;g<y-1;++g)p.write_shift(-4,g+1);I&&(++g,p.write_shift(-4,q))};for(y=g=0,y+=h[1];g<y;++g)p.write_shift(-4,vt.DIFSECT);for(y+=h[2];g<y;++g)p.write_shift(-4,vt.FATSECT);F(h[3]),F(h[4]);for(var _=0,x=0,w=f.FileIndex[0];_<f.FileIndex.length;++_)w=f.FileIndex[_],w.content&&(x=w.content.length,!(x<4096)&&(w.start=y,F(x+511>>9)));for(F(h[6]+7>>3);p.l&511;)p.write_shift(-4,vt.ENDOFCHAIN);for(y=g=0,_=0;_<f.FileIndex.length;++_)w=f.FileIndex[_],w.content&&(x=w.content.length,!(!x||x>=4096)&&(w.start=y,F(x+63>>6)));for(;p.l&511;)p.write_shift(-4,vt.ENDOFCHAIN);for(g=0;g<h[4]<<2;++g){var O=f.FullPaths[g];if(!O||O.length===0){for(_=0;_<17;++_)p.write_shift(4,0);for(_=0;_<3;++_)p.write_shift(4,-1);for(_=0;_<12;++_)p.write_shift(4,0);continue}w=f.FileIndex[g],g===0&&(w.start=w.size?w.start-1:q);var D=g===0&&u.root||w.name;if(x=2*(D.length+1),p.write_shift(64,D,"utf16le"),p.write_shift(2,x),p.write_shift(1,w.type),p.write_shift(1,w.color),p.write_shift(-4,w.L),p.write_shift(-4,w.R),p.write_shift(-4,w.C),w.clsid)p.write_shift(16,w.clsid,"hex");else for(_=0;_<4;++_)p.write_shift(4,0);p.write_shift(4,w.state||0),p.write_shift(4,0),p.write_shift(4,0),p.write_shift(4,0),p.write_shift(4,0),p.write_shift(4,w.start),p.write_shift(4,w.size),p.write_shift(4,0)}for(g=1;g<f.FileIndex.length;++g)if(w=f.FileIndex[g],w.size>=4096)if(p.l=w.start+1<<9,Q&&Buffer.isBuffer(w.content))w.content.copy(p,p.l,0,w.size),p.l+=w.size+511&-512;else{for(_=0;_<w.size;++_)p.write_shift(1,w.content[_]);for(;_&511;++_)p.write_shift(1,0)}for(g=1;g<f.FileIndex.length;++g)if(w=f.FileIndex[g],w.size>0&&w.size<4096)if(Q&&Buffer.isBuffer(w.content))w.content.copy(p,p.l,0,w.size),p.l+=w.size+63&-64;else{for(_=0;_<w.size;++_)p.write_shift(1,w.content[_]);for(;_&63;++_)p.write_shift(1,0)}if(Q)p.l=p.length;else for(;p.l<p.length;)p.write_shift(1,0);return p}function G(f,d){var u=f.FullPaths.map(function(_){return _.toUpperCase()}),h=u.map(function(_){var x=_.split("/");return x[x.length-(_.slice(-1)=="/"?2:1)]}),p=!1;d.charCodeAt(0)===47?(p=!0,d=u[0].slice(0,-1)+d):p=d.indexOf("/")!==-1;var g=d.toUpperCase(),y=p===!0?u.indexOf(g):h.indexOf(g);if(y!==-1)return f.FileIndex[y];var F=!g.match(Qt);for(g=g.replace(Ot,""),F&&(g=g.replace(Qt,"!")),y=0;y<u.length;++y)if((F?u[y].replace(Qt,"!"):u[y]).replace(Ot,"")==g||(F?h[y].replace(Qt,"!"):h[y]).replace(Ot,"")==g)return f.FileIndex[y];return null}var X=64,q=-2,ze="d0cf11e0a1b11ae1",js=[208,207,17,224,161,177,26,225],Cr="00000000000000000000000000000000",vt={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:q,FREESECT:-1,HEADER_SIGNATURE:ze,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:Cr,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function Bs(f,d,u){c();var h=B(f,u);l.writeFileSync(d,h)}function _t(f){for(var d=new Array(f.length),u=0;u<f.length;++u)d[u]=String.fromCharCode(f[u]);return d.join("")}function Us(f,d){var u=B(f,d);switch(d&&d.type||"buffer"){case"file":return c(),l.writeFileSync(d.filename,u),u;case"binary":return typeof u=="string"?u:_t(u);case"base64":return ka(typeof u=="string"?u:_t(u));case"buffer":if(Q)return Buffer.isBuffer(u)?u:et(u);case"array":return typeof u=="string"?it(u):u}return u}var yt;function Hs(f){try{var d=f.InflateRaw,u=new d;if(u._processChunk(new Uint8Array([3,0]),u._finishFlushFlag),u.bytesRead)yt=f;else throw new Error("zlib does not expose bytesRead")}catch(h){console.error("cannot use native zlib: "+(h.message||h))}}function Ws(f,d){if(!yt)return Xn(f,d);var u=yt.InflateRaw,h=new u,p=h._processChunk(f.slice(f.l),h._finishFlushFlag);return f.l+=h.bytesRead,p}function zs(f){return yt?yt.deflateRawSync(f):Bn(f)}var Gs=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Wt=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],zt=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function Xs(f){var d=(f<<1|f<<11)&139536|(f<<5|f<<15)&558144;return(d>>16|d>>8|d)&255}for(var ie=typeof Uint8Array<"u",ke=ie?new Uint8Array(256):[],Gt=0;Gt<256;++Gt)ke[Gt]=Xs(Gt);function Vs(f,d){var u=ke[f&255];return d<=8?u>>>8-d:(u=u<<8|ke[f>>8&255],d<=16?u>>>16-d:(u=u<<8|ke[f>>16&255],u>>>24-d))}function Ks(f,d){var u=d&7,h=d>>>3;return(f[h]|(u<=6?0:f[h+1]<<8))>>>u&3}function Tr(f,d){var u=d&7,h=d>>>3;return(f[h]|(u<=5?0:f[h+1]<<8))>>>u&7}function Ys(f,d){var u=d&7,h=d>>>3;return(f[h]|(u<=4?0:f[h+1]<<8))>>>u&15}function Nn(f,d){var u=d&7,h=d>>>3;return(f[h]|(u<=3?0:f[h+1]<<8))>>>u&31}function Rn(f,d){var u=d&7,h=d>>>3;return(f[h]|(u<=1?0:f[h+1]<<8))>>>u&127}function Xt(f,d,u){var h=d&7,p=d>>>3,g=(1<<u)-1,y=f[p]>>>h;return u<8-h||(y|=f[p+1]<<8-h,u<16-h)||(y|=f[p+2]<<16-h,u<24-h)||(y|=f[p+3]<<24-h),y&g}function Ln(f,d,u){var h=d&7,p=d>>>3;return h<=5?f[p]|=(u&7)<<h:(f[p]|=u<<h&255,f[p+1]=(u&7)>>8-h),d+3}function qs(f,d,u){var h=d&7,p=d>>>3;return u=(u&1)<<h,f[p]|=u,d+1}function rt(f,d,u){var h=d&7,p=d>>>3;return u<<=h,f[p]|=u&255,u>>>=8,f[p+1]=u,d+8}function jn(f,d,u){var h=d&7,p=d>>>3;return u<<=h,f[p]|=u&255,u>>>=8,f[p+1]=u&255,f[p+2]=u>>>8,d+16}function Or(f,d){var u=f.length,h=2*u>d?2*u:d+5,p=0;if(u>=d)return f;if(Q){var g=Da(h);if(f.copy)f.copy(g);else for(;p<f.length;++p)g[p]=f[p];return g}else if(ie){var y=new Uint8Array(h);if(y.set)y.set(f);else for(;p<u;++p)y[p]=f[p];return y}return f.length=h,f}function Fe(f){for(var d=new Array(f),u=0;u<f;++u)d[u]=0;return d}function Vt(f,d,u){var h=1,p=0,g=0,y=0,F=0,_=f.length,x=ie?new Uint16Array(32):Fe(32);for(g=0;g<32;++g)x[g]=0;for(g=_;g<u;++g)f[g]=0;_=f.length;var w=ie?new Uint16Array(_):Fe(_);for(g=0;g<_;++g)x[p=f[g]]++,h<p&&(h=p),w[g]=0;for(x[0]=0,g=1;g<=h;++g)x[g+16]=F=F+x[g-1]<<1;for(g=0;g<_;++g)F=f[g],F!=0&&(w[g]=x[F+16]++);var O=0;for(g=0;g<_;++g)if(O=f[g],O!=0)for(F=Vs(w[g],h)>>h-O,y=(1<<h+4-O)-1;y>=0;--y)d[F|y<<O]=O&15|g<<4;return h}var Er=ie?new Uint16Array(512):Fe(512),kr=ie?new Uint16Array(32):Fe(32);if(!ie){for(var Ge=0;Ge<512;++Ge)Er[Ge]=0;for(Ge=0;Ge<32;++Ge)kr[Ge]=0}(function(){for(var f=[],d=0;d<32;d++)f.push(5);Vt(f,kr,32);var u=[];for(d=0;d<=143;d++)u.push(8);for(;d<=255;d++)u.push(9);for(;d<=279;d++)u.push(7);for(;d<=287;d++)u.push(8);Vt(u,Er,288)})();var Js=function(){for(var d=ie?new Uint8Array(32768):[],u=0,h=0;u<zt.length-1;++u)for(;h<zt[u+1];++h)d[h]=u;for(;h<32768;++h)d[h]=29;var p=ie?new Uint8Array(259):[];for(u=0,h=0;u<Wt.length-1;++u)for(;h<Wt[u+1];++h)p[h]=u;function g(F,_){for(var x=0;x<F.length;){var w=Math.min(65535,F.length-x),O=x+w==F.length;for(_.write_shift(1,+O),_.write_shift(2,w),_.write_shift(2,~w&65535);w-- >0;)_[_.l++]=F[x++]}return _.l}function y(F,_){for(var x=0,w=0,O=ie?new Uint16Array(32768):[];w<F.length;){var D=Math.min(65535,F.length-w);if(D<10){for(x=Ln(_,x,+(w+D==F.length)),x&7&&(x+=8-(x&7)),_.l=x/8|0,_.write_shift(2,D),_.write_shift(2,~D&65535);D-- >0;)_[_.l++]=F[w++];x=_.l*8;continue}x=Ln(_,x,+(w+D==F.length)+2);for(var I=0;D-- >0;){var E=F[w];I=(I<<5^E)&32767;var P=-1,H=0;if((P=O[I])&&(P|=w&-32768,P>w&&(P-=32768),P<w))for(;F[P+H]==F[w+H]&&H<250;)++H;if(H>2){E=p[H],E<=22?x=rt(_,x,ke[E+1]>>1)-1:(rt(_,x,3),x+=5,rt(_,x,ke[E-23]>>5),x+=3);var J=E<8?0:E-4>>2;J>0&&(jn(_,x,H-Wt[E]),x+=J),E=d[w-P],x=rt(_,x,ke[E]>>3),x-=3;var Z=E<4?0:E-2>>1;Z>0&&(jn(_,x,w-P-zt[E]),x+=Z);for(var se=0;se<H;++se)O[I]=w&32767,I=(I<<5^F[w])&32767,++w;D-=H-1}else E<=143?E=E+48:x=qs(_,x,1),x=rt(_,x,ke[E]),O[I]=w&32767,++w}x=rt(_,x,0)-1}return _.l=(x+7)/8|0,_.l}return function(_,x){return _.length<8?g(_,x):y(_,x)}}();function Bn(f){var d=De(50+Math.floor(f.length*1.1)),u=Js(f,d);return d.slice(0,u)}var Un=ie?new Uint16Array(32768):Fe(32768),Hn=ie?new Uint16Array(32768):Fe(32768),Wn=ie?new Uint16Array(128):Fe(128),zn=1,Gn=1;function Zs(f,d){var u=Nn(f,d)+257;d+=5;var h=Nn(f,d)+1;d+=5;var p=Ys(f,d)+4;d+=4;for(var g=0,y=ie?new Uint8Array(19):Fe(19),F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_=1,x=ie?new Uint8Array(8):Fe(8),w=ie?new Uint8Array(8):Fe(8),O=y.length,D=0;D<p;++D)y[Gs[D]]=g=Tr(f,d),_<g&&(_=g),x[g]++,d+=3;var I=0;for(x[0]=0,D=1;D<=_;++D)w[D]=I=I+x[D-1]<<1;for(D=0;D<O;++D)(I=y[D])!=0&&(F[D]=w[I]++);var E=0;for(D=0;D<O;++D)if(E=y[D],E!=0){I=ke[F[D]]>>8-E;for(var P=(1<<7-E)-1;P>=0;--P)Wn[I|P<<E]=E&7|D<<3}var H=[];for(_=1;H.length<u+h;)switch(I=Wn[Rn(f,d)],d+=I&7,I>>>=3){case 16:for(g=3+Ks(f,d),d+=2,I=H[H.length-1];g-- >0;)H.push(I);break;case 17:for(g=3+Tr(f,d),d+=3;g-- >0;)H.push(0);break;case 18:for(g=11+Rn(f,d),d+=7;g-- >0;)H.push(0);break;default:H.push(I),_<I&&(_=I);break}var J=H.slice(0,u),Z=H.slice(u);for(D=u;D<286;++D)J[D]=0;for(D=h;D<30;++D)Z[D]=0;return zn=Vt(J,Un,286),Gn=Vt(Z,Hn,30),d}function Qs(f,d){if(f[0]==3&&!(f[1]&3))return[dt(d),2];for(var u=0,h=0,p=Da(d||1<<18),g=0,y=p.length>>>0,F=0,_=0;!(h&1);){if(h=Tr(f,u),u+=3,h>>>1)h>>1==1?(F=9,_=5):(u=Zs(f,u),F=zn,_=Gn);else{u&7&&(u+=8-(u&7));var x=f[u>>>3]|f[(u>>>3)+1]<<8;if(u+=32,x>0)for(!d&&y<g+x&&(p=Or(p,g+x),y=p.length);x-- >0;)p[g++]=f[u>>>3],u+=8;continue}for(;;){!d&&y<g+32767&&(p=Or(p,g+32767),y=p.length);var w=Xt(f,u,F),O=h>>>1==1?Er[w]:Un[w];if(u+=O&15,O>>>=4,!(O>>>8&255))p[g++]=O;else{if(O==256)break;O-=257;var D=O<8?0:O-4>>2;D>5&&(D=0);var I=g+Wt[O];D>0&&(I+=Xt(f,u,D),u+=D),w=Xt(f,u,_),O=h>>>1==1?kr[w]:Hn[w],u+=O&15,O>>>=4;var E=O<4?0:O-2>>1,P=zt[O];for(E>0&&(P+=Xt(f,u,E),u+=E),!d&&y<I&&(p=Or(p,I+100),y=p.length);g<I;)p[g]=p[g-P],++g}}}return d?[p,u+7>>>3]:[p.slice(0,g),u+7>>>3]}function Xn(f,d){var u=f.slice(f.l||0),h=Qs(u,d);return f.l+=h[1],h[0]}function Vn(f,d){if(f)typeof console<"u"&&console.error(d);else throw new Error(d)}function Kn(f,d){var u=f;je(u,0);var h=[],p=[],g={FileIndex:h,FullPaths:p};T(g,{root:d.root});for(var y=u.length-4;(u[y]!=80||u[y+1]!=75||u[y+2]!=5||u[y+3]!=6)&&y>=0;)--y;u.l=y+4,u.l+=4;var F=u.read_shift(2);u.l+=6;var _=u.read_shift(4);for(u.l=_,y=0;y<F;++y){u.l+=20;var x=u.read_shift(4),w=u.read_shift(4),O=u.read_shift(2),D=u.read_shift(2),I=u.read_shift(2);u.l+=8;var E=u.read_shift(4),P=o(u.slice(u.l+O,u.l+O+D));u.l+=O+D+I;var H=u.l;u.l=E+4,eo(u,x,w,g,P),u.l=H}return g}function eo(f,d,u,h,p){f.l+=2;var g=f.read_shift(2),y=f.read_shift(2),F=s(f);if(g&8257)throw new Error("Unsupported ZIP encryption");for(var _=f.read_shift(4),x=f.read_shift(4),w=f.read_shift(4),O=f.read_shift(2),D=f.read_shift(2),I="",E=0;E<O;++E)I+=String.fromCharCode(f[f.l++]);if(D){var P=o(f.slice(f.l,f.l+D));(P[21589]||{}).mt&&(F=P[21589].mt),((p||{})[21589]||{}).mt&&(F=p[21589].mt)}f.l+=D;var H=f.slice(f.l,f.l+x);switch(y){case 8:H=Ws(f,w);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+y)}var J=!1;g&8&&(_=f.read_shift(4),_==134695760&&(_=f.read_shift(4),J=!0),x=f.read_shift(4),w=f.read_shift(4)),x!=d&&Vn(J,"Bad compressed size: "+d+" != "+x),w!=u&&Vn(J,"Bad uncompressed size: "+u+" != "+w),Mr(h,I,H,{unsafe:!0,mt:F})}function to(f,d){var u=d||{},h=[],p=[],g=De(1),y=u.compression?8:0,F=0,_=0,x=0,w=0,O=0,D=f.FullPaths[0],I=D,E=f.FileIndex[0],P=[],H=0;for(_=1;_<f.FullPaths.length;++_)if(I=f.FullPaths[_].slice(D.length),E=f.FileIndex[_],!(!E.size||!E.content||I=="Sh33tJ5")){var J=w,Z=De(I.length);for(x=0;x<I.length;++x)Z.write_shift(1,I.charCodeAt(x)&127);Z=Z.slice(0,Z.l),P[O]=op.buf(E.content,0);var se=E.content;y==8&&(se=zs(se)),g=De(30),g.write_shift(4,67324752),g.write_shift(2,20),g.write_shift(2,F),g.write_shift(2,y),E.mt?i(g,E.mt):g.write_shift(4,0),g.write_shift(-4,P[O]),g.write_shift(4,se.length),g.write_shift(4,E.content.length),g.write_shift(2,Z.length),g.write_shift(2,0),w+=g.length,h.push(g),w+=Z.length,h.push(Z),w+=se.length,h.push(se),g=De(46),g.write_shift(4,33639248),g.write_shift(2,0),g.write_shift(2,20),g.write_shift(2,F),g.write_shift(2,y),g.write_shift(4,0),g.write_shift(-4,P[O]),g.write_shift(4,se.length),g.write_shift(4,E.content.length),g.write_shift(2,Z.length),g.write_shift(2,0),g.write_shift(2,0),g.write_shift(2,0),g.write_shift(2,0),g.write_shift(4,0),g.write_shift(4,J),H+=g.l,p.push(g),H+=Z.length,p.push(Z),++O}return g=De(22),g.write_shift(4,101010256),g.write_shift(2,0),g.write_shift(2,0),g.write_shift(2,O),g.write_shift(2,O),g.write_shift(4,H),g.write_shift(4,w),g.write_shift(2,0),st([st(h),st(p),g])}var Kt={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function ro(f,d){if(f.ctype)return f.ctype;var u=f.name||"",h=u.match(/\.([^\.]+)$/);return h&&Kt[h[1]]||d&&(h=(u=d).match(/[\.\\]([^\.\\])+$/),h&&Kt[h[1]])?Kt[h[1]]:"application/octet-stream"}function no(f){for(var d=ka(f),u=[],h=0;h<d.length;h+=76)u.push(d.slice(h,h+76));return u.join(`\r
`)+`\r
`}function ao(f){var d=f.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(x){var w=x.charCodeAt(0).toString(16).toUpperCase();return"="+(w.length==1?"0"+w:w)});d=d.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),d.charAt(0)==`
`&&(d="=0D"+d.slice(1)),d=d.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var u=[],h=d.split(`\r
`),p=0;p<h.length;++p){var g=h[p];if(g.length==0){u.push("");continue}for(var y=0;y<g.length;){var F=76,_=g.slice(y,y+F);_.charAt(F-1)=="="?F--:_.charAt(F-2)=="="?F-=2:_.charAt(F-3)=="="&&(F-=3),_=g.slice(y,y+F),y+=F,y<g.length&&(_+="="),u.push(_)}}return u.join(`\r
`)}function io(f){for(var d=[],u=0;u<f.length;++u){for(var h=f[u];u<=f.length&&h.charAt(h.length-1)=="=";)h=h.slice(0,h.length-1)+f[++u];d.push(h)}for(var p=0;p<d.length;++p)d[p]=d[p].replace(/[=][0-9A-Fa-f]{2}/g,function(g){return String.fromCharCode(parseInt(g.slice(1),16))});return it(d.join(`\r
`))}function so(f,d,u){for(var h="",p="",g="",y,F=0;F<10;++F){var _=d[F];if(!_||_.match(/^\s*$/))break;var x=_.match(/^(.*?):\s*([^\s].*)$/);if(x)switch(x[1].toLowerCase()){case"content-location":h=x[2].trim();break;case"content-type":g=x[2].trim();break;case"content-transfer-encoding":p=x[2].trim();break}}switch(++F,p.toLowerCase()){case"base64":y=it(Ma(d.slice(F).join("")));break;case"quoted-printable":y=io(d.slice(F));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+p)}var w=Mr(f,h.slice(u.length),y,{unsafe:!0});g&&(w.ctype=g)}function oo(f,d){if(_t(f.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var u=d&&d.root||"",h=(Q&&Buffer.isBuffer(f)?f.toString("binary"):_t(f)).split(`\r
`),p=0,g="";for(p=0;p<h.length;++p)if(g=h[p],!!/^Content-Location:/i.test(g)&&(g=g.slice(g.indexOf("file")),u||(u=g.slice(0,g.lastIndexOf("/")+1)),g.slice(0,u.length)!=u))for(;u.length>0&&(u=u.slice(0,u.length-1),u=u.slice(0,u.lastIndexOf("/")+1),g.slice(0,u.length)!=u););var y=(h[1]||"").match(/boundary="(.*?)"/);if(!y)throw new Error("MAD cannot find boundary");var F="--"+(y[1]||""),_=[],x=[],w={FileIndex:_,FullPaths:x};T(w);var O,D=0;for(p=0;p<h.length;++p){var I=h[p];I!==F&&I!==F+"--"||(D++&&so(w,h.slice(O,p),u),O=p)}return w}function fo(f,d){var u=d||{},h=u.boundary||"SheetJS";h="------="+h;for(var p=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+h.slice(2)+'"',"","",""],g=f.FullPaths[0],y=g,F=f.FileIndex[0],_=1;_<f.FullPaths.length;++_)if(y=f.FullPaths[_].slice(g.length),F=f.FileIndex[_],!(!F.size||!F.content||y=="Sh33tJ5")){y=y.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(H){return"_x"+H.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(H){return"_u"+H.charCodeAt(0).toString(16)+"_"});for(var x=F.content,w=Q&&Buffer.isBuffer(x)?x.toString("binary"):_t(x),O=0,D=Math.min(1024,w.length),I=0,E=0;E<=D;++E)(I=w.charCodeAt(E))>=32&&I<128&&++O;var P=O>=D*4/5;p.push(h),p.push("Content-Location: "+(u.root||"file:///C:/SheetJS/")+y),p.push("Content-Transfer-Encoding: "+(P?"quoted-printable":"base64")),p.push("Content-Type: "+ro(F,y)),p.push(""),p.push(P?ao(w):no(w))}return p.push(h+`--\r
`),p.join(`\r
`)}function lo(f){var d={};return T(d,f),d}function Mr(f,d,u,h){var p=h&&h.unsafe;p||T(f);var g=!p&&ve.find(f,d);if(!g){var y=f.FullPaths[0];d.slice(0,y.length)==y?y=d:(y.slice(-1)!="/"&&(y+="/"),y=(y+d).replace("//","/")),g={name:a(d),type:2},f.FileIndex.push(g),f.FullPaths.push(y),p||ve.utils.cfb_gc(f)}return g.content=u,g.size=u?u.length:0,h&&(h.CLSID&&(g.clsid=h.CLSID),h.mt&&(g.mt=h.mt),h.ct&&(g.ct=h.ct)),g}function co(f,d){T(f);var u=ve.find(f,d);if(u){for(var h=0;h<f.FileIndex.length;++h)if(f.FileIndex[h]==u)return f.FileIndex.splice(h,1),f.FullPaths.splice(h,1),!0}return!1}function uo(f,d,u){T(f);var h=ve.find(f,d);if(h){for(var p=0;p<f.FileIndex.length;++p)if(f.FileIndex[p]==h)return f.FileIndex[p].name=a(u),f.FullPaths[p]=u,!0}return!1}function ho(f){M(f,!0)}return t.find=G,t.read=U,t.parse=m,t.write=Us,t.writeFile=Bs,t.utils={cfb_new:lo,cfb_add:Mr,cfb_del:co,cfb_mov:uo,cfb_gc:ho,ReadShift:Et,CheckField:Os,prep_blob:je,bconcat:st,use_zlib:Hs,_deflateRaw:Bn,_inflateRaw:Xn,consts:vt},t}();function fp(e){return typeof e=="string"?Ar(e):Array.isArray(e)?$d(e):e}function ls(e,t,r){if(typeof Deno<"u"){if(r&&typeof t=="string")switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=Ar(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?ds(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var a=new Blob([fp(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(typeof saveAs<"u")return saveAs(a,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(a);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});var s=document.createElement("a");if(s.download!=null)return s.download=e,s.href=i,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var o=File(e);return o.open("w"),o.encoding="binary",Array.isArray(t)&&(t=Dd(t)),o.write(t),o.close(),t}catch(l){if(!l.message||!l.message.match(/onstruct/))throw l}throw new Error("cannot save file "+e)}function We(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function lp(e){for(var t=[],r=We(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function cp(e){for(var t=[],r=We(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function up(e){for(var t=[],r=We(e),n=0;n!==r.length;++n)t[e[r[n]]]==null&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var Ba=new Date(1899,11,30,0,0,0);function Ye(e,t){var r=e.getTime();t&&(r-=1462*24*60*60*1e3);var n=Ba.getTime()+(e.getTimezoneOffset()-Ba.getTimezoneOffset())*6e4;return(r-n)/(24*60*60*1e3)}var Ua=new Date("2017-02-19T19:06:09.000Z"),cs=isNaN(Ua.getFullYear())?new Date("2/19/17"):Ua,hp=cs.getFullYear()==2017;function hn(e,t){var r=new Date(e);if(hp)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(cs.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function Bt(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 t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Bt(e[r]));return t}function ue(e,t){for(var r="";r.length<t;)r+=e;return r}function Ha(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(t=Number(n))||(n=n.replace(/[(](.*)[)]/,function(a,i){return r=-r,i}),!isNaN(t=Number(n)))?t/r:t}var dp=["january","february","march","april","may","june","july","august","september","october","november","december"];function pp(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),i=t.getDate();if(isNaN(i))return r;var s=e.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),s.length>3&&dp.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||i>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}function ne(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return Q?n=et(r):n=Pd(r),ve.utils.cfb_add(e,t,n)}ve.utils.cfb_add(e,t,r)}else e.file(t,r)}function gp(){return ve.utils.cfb_new()}var de=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
`,mp={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},us=lp(mp),hs=/[&<>'"]/g,vp=/[\u0000-\u0008\u000b-\u001f]/g;function ee(e){var t=e+"";return t.replace(hs,function(r){return us[r]}).replace(vp,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}var _p=/[\u0000-\u001f]/g;function yp(e){var t=e+"";return t.replace(hs,function(r){return us[r]}).replace(/\n/g,"<br/>").replace(_p,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function Zr(e){for(var t="",r=0,n=0,a=0,i=0,s=0,o=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(a=e.charCodeAt(r++),n>191&&n<224){s=(n&31)<<6,s|=a&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(a&63)<<6|i&63);continue}s=e.charCodeAt(r++),o=((n&7)<<18|(a&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(o&1023))}return t}function Wa(e){var t=dt(2*e.length),r,n,a=1,i=0,s=0,o;for(n=0;n<e.length;n+=a)a=1,(o=e.charCodeAt(n))<128?r=o:o<224?(r=(o&31)*64+(e.charCodeAt(n+1)&63),a=2):o<240?(r=(o&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),a=3):(a=4,r=(o&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),r-=65536,s=55296+(r>>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function za(e){return et(e,"binary").toString("utf8")}var tr="foo bar baz☃🍣",xp=Q&&(za(tr)==Zr(tr)&&za||Wa(tr)==Zr(tr)&&Wa)||Zr,ds=Q?function(e){return et(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},wp=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
`).replace(/<[^>]*>/g,""),a=0;a<e.length;++a)n=n.replace(e[a][0],e[a][1]);return n}}(),ps=/(^\s|\s$|\n)/;function ye(e,t){return"<"+e+(t.match(ps)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function gs(e){return We(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function R(e,t,r){return"<"+e+(r!=null?gs(r):"")+(t!=null?(t.match(ps)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function dn(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function bp(e,t){switch(typeof e){case"string":var r=R("vt:lpwstr",ee(e));return t&&(r=r.replace(/&quot;/g,"_x0022_")),r;case"number":return R((e|0)==e?"vt:i4":"vt:r8",ee(String(e)));case"boolean":return R("vt:bool",e?"true":"false")}if(e instanceof Date)return R("vt:filetime",dn(e));throw new Error("Unable to serialize "+e)}var ae={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"},gt=["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"],rr={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 Sp(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),a=e[t+6]&15,i=5;i>=0;--i)a=a*256+e[t+i];return n==2047?a==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function Fp(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,s=n?-t:t;isFinite(s)?s==0?a=i=0:(a=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?a=-1022:(i-=Math.pow(2,52),a+=1023)):(a=2047,i=isNaN(t)?26985:0);for(var o=0;o<=5;++o,i/=256)e[r+o]=i&255;e[r+6]=(a&15)<<4|i&15,e[r+7]=a>>4|n}var Ga=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var a=0,i=e[0][n].length;a<i;a+=r)t.push.apply(t,e[0][n].slice(a,a+r));return t},Xa=Q?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:et(t)})):Ga(e)}:Ga,Va=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(Ft(e,a)));return n.join("").replace(Ot,"")},In=Q?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(Ot,""):Va(e,t,r)}:Va,Ka=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},ms=Q?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):Ka(e,t,r)}:Ka,Ya=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(ot(e,a)));return n.join("")},Ut=Q?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):Ya(t,r,n)}:Ya,vs=function(e,t){var r=pe(e,t);return r>0?Ut(e,t+4,t+4+r-1):""},_s=vs,ys=function(e,t){var r=pe(e,t);return r>0?Ut(e,t+4,t+4+r-1):""},xs=ys,ws=function(e,t){var r=2*pe(e,t);return r>0?Ut(e,t+4,t+4+r-1):""},bs=ws,Ss=function(t,r){var n=pe(t,r);return n>0?In(t,r+4,r+4+n):""},Fs=Ss,As=function(e,t){var r=pe(e,t);return r>0?Ut(e,t+4,t+4+r):""},Cs=As,Ts=function(e,t){return Sp(e,t)},pn=Ts;Q&&(_s=function(t,r){if(!Buffer.isBuffer(t))return vs(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},xs=function(t,r){if(!Buffer.isBuffer(t))return ys(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},bs=function(t,r){if(!Buffer.isBuffer(t))return ws(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},Fs=function(t,r){if(!Buffer.isBuffer(t))return Ss(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},Cs=function(t,r){if(!Buffer.isBuffer(t))return As(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},pn=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):Ts(t,r)});var ot=function(e,t){return e[t]},Ft=function(e,t){return e[t+1]*256+e[t]},Ap=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},pe=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},ft=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Cp=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Et(e,t){var r="",n,a,i=[],s,o,l,c;switch(t){case"dbcs":if(c=this.l,Q&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l<e;++l)r+=String.fromCharCode(Ft(this,c)),c+=2;e*=2;break;case"utf8":r=Ut(this,this.l,this.l+e);break;case"utf16le":e*=2,r=In(this,this.l,this.l+e);break;case"wstr":return Et.call(this,e,"dbcs");case"lpstr-ansi":r=_s(this,this.l),e=4+pe(this,this.l);break;case"lpstr-cp":r=xs(this,this.l),e=4+pe(this,this.l);break;case"lpwstr":r=bs(this,this.l),e=4+2*pe(this,this.l);break;case"lpp4":e=4+pe(this,this.l),r=Fs(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+pe(this,this.l),r=Cs(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(s=ot(this,this.l+e++))!==0;)i.push(Zt(s));r=i.join("");break;case"_wstr":for(e=0,r="";(s=Ft(this,this.l+e))!==0;)i.push(Zt(s)),e+=2;e+=2,r=i.join("");break;case"dbcs-cont":for(r="",c=this.l,l=0;l<e;++l){if(this.lens&&this.lens.indexOf(c)!==-1)return s=ot(this,c),this.l=c+1,o=Et.call(this,e-l,s?"dbcs-cont":"sbcs-cont"),i.join("")+o;i.push(Zt(Ft(this,c))),c+=2}r=i.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",c=this.l,l=0;l!=e;++l){if(this.lens&&this.lens.indexOf(c)!==-1)return s=ot(this,c),this.l=c+1,o=Et.call(this,e-l,s?"dbcs-cont":"sbcs-cont"),i.join("")+o;i.push(Zt(ot(this,c))),c+=1}r=i.join("");break;default:switch(e){case 1:return n=ot(this,this.l),this.l++,n;case 2:return n=(t==="i"?Ap:Ft)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||!(this[this.l+3]&128)?(n=(e>0?ft:Cp)(this,this.l),this.l+=4,n):(a=pe(this,this.l),this.l+=4,a);case 8:case-8:if(t==="f")return e==8?a=pn(this,this.l):a=pn([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,a;e=8;case 16:r=ms(this,this.l,e);break}}return this.l+=e,r}var Tp=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Op=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Ep=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function kp(e,t,r){var n=0,a=0;if(r==="dbcs"){for(a=0;a!=t.length;++a)Ep(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=t.charCodeAt(a)&255;n=t.length}else if(r==="hex"){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}else if(r==="utf16le"){var i=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var s=t.charCodeAt(a);this[this.l++]=s&255,this[this.l++]=s>>8}for(;this.l<i;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=t&255;break;case 2:n=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,Tp(this,t,this.l);break;case 8:if(n=8,r==="f"){Fp(this,t,this.l);break}case 16:break;case-4:n=4,Op(this,t,this.l);break}return this.l+=n,this}function Os(e,t){var r=ms(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function je(e,t){e.l=t,e.read_shift=Et,e.chk=Os,e.write_shift=kp}function De(e){var t=dt(e);return je(t,0),t}function Mp(e){return parseInt(Dp(e),10)-1}function tt(e){return""+(e+1)}function Dp(e){return e.replace(/\$(\d+)$/,"$1")}function $p(e){for(var t=Pp(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function mt(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Pp(e){return e.replace(/^\$([A-Z])/,"$1")}function Ip(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Ce(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function Ie(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function Pt(e){var t=e.indexOf(":");return t==-1?{s:Ce(e),e:Ce(e)}:{s:Ce(e.slice(0,t)),e:Ce(e.slice(t+1))}}function be(e,t){return typeof t>"u"||typeof t=="number"?be(e.s,e.e):(typeof e!="string"&&(e=Ie(e)),typeof t!="string"&&(t=Ie(t)),e==t?e:e+":"+t)}function Ee(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,i=e.length;for(r=0;n<i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===i||a!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function qa(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=$t(e.z,r?Ye(t):t)}catch{}try{return e.w=$t((e.XF||{}).numFmtId||(r?14:0),r?Ye(t):t)}catch{return""+t}}function Ht(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?ks[e.v]||e.v:t==null?qa(e,e.v):qa(e,t))}function Np(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Es(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,i=e||(a?[]:{}),s=0,o=0;if(i&&n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?Ce(n.origin):n.origin;s=l.r,o=l.c}i["!ref"]||(i["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var m=Ee(i["!ref"]);c.s.c=m.s.c,c.s.r=m.s.r,c.e.c=Math.max(c.e.c,m.e.c),c.e.r=Math.max(c.e.r,m.e.r),s==-1&&(c.e.r=s=m.e.r+1)}for(var S=0;S!=t.length;++S)if(t[S]){if(!Array.isArray(t[S]))throw new Error("aoa_to_sheet expects an array of arrays");for(var b=0;b!=t[S].length;++b)if(!(typeof t[S][b]>"u")){var v={v:t[S][b]},A=s+S,C=o+b;if(c.s.r>A&&(c.s.r=A),c.s.c>C&&(c.s.c=C),c.e.r<A&&(c.e.r=A),c.e.c<C&&(c.e.c=C),t[S][b]&&typeof t[S][b]=="object"&&!Array.isArray(t[S][b])&&!(t[S][b]instanceof Date))v=t[S][b];else if(Array.isArray(v.v)&&(v.f=t[S][b][1],v.v=v.v[0]),v.v===null)if(v.f)v.t="n";else if(n.nullError)v.t="e",v.v=0;else if(n.sheetStubs)v.t="z";else continue;else typeof v.v=="number"?v.t="n":typeof v.v=="boolean"?v.t="b":v.v instanceof Date?(v.z=n.dateNF||we[14],n.cellDates?(v.t="d",v.w=$t(v.z,Ye(v.v))):(v.t="n",v.v=Ye(v.v),v.w=$t(v.z,v.v))):v.t="s";if(a)i[A]||(i[A]=[]),i[A][C]&&i[A][C].z&&(v.z=i[A][C].z),i[A][C]=v;else{var k=Ie({c:C,r:A});i[k]&&i[k].z&&(v.z=i[k].z),i[k]=v}}}return c.s.c<1e7&&(i["!ref"]=be(c)),i}function Rp(e,t){return Es(null,e,t)}var ks={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Lp={"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"},nr={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 jp(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Bp(e,t){var r=up(Lp),n=[],a;n[n.length]=de,n[n.length]=R("Types",null,{xmlns:ae.CT,"xmlns:xsd":ae.xsd,"xmlns:xsi":ae.xsi}),n=n.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 R("Default",null,{Extension:l[0],ContentType:l[1]})}));var i=function(l){e[l]&&e[l].length>0&&(a=e[l][0],n[n.length]=R("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:nr[l][t.bookType]||nr[l].xlsx}))},s=function(l){(e[l]||[]).forEach(function(c){n[n.length]=R("Override",null,{PartName:(c[0]=="/"?"":"/")+c,ContentType:nr[l][t.bookType]||nr[l].xlsx})})},o=function(l){(e[l]||[]).forEach(function(c){n[n.length]=R("Override",null,{PartName:(c[0]=="/"?"":"/")+c,ContentType:r[l][0]})})};return i("workbooks"),s("sheets"),s("charts"),o("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("threadedcomments"),o("drawings"),s("metadata"),o("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var te={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 Up(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Qr(e){var t=[de,R("Relationships",null,{xmlns:ae.RELS})];return We(e["!id"]).forEach(function(r){t[t.length]=R("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function oe(e,t,r,n,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,i?a.TargetMode=i:[te.HLINK,te.XPATH,te.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}var Ja=[["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"]];function en(e,t,r,n,a){a[e]!=null||t==null||t===""||(a[e]=t,t=ee(t),n[n.length]=r?R(e,t,r):ye(e,t))}function Hp(e,t){var r=t||{},n=[de,R("cp:coreProperties",null,{"xmlns:cp":ae.CORE_PROPS,"xmlns:dc":ae.dc,"xmlns:dcterms":ae.dcterms,"xmlns:dcmitype":ae.dcmitype,"xmlns:xsi":ae.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&en("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:dn(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&en("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:dn(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=Ja.length;++i){var s=Ja[i],o=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;o===!0?o="1":o===!1?o="0":typeof o=="number"&&(o=String(o)),o!=null&&en(s[0],o,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var Wp=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function zp(e){var t=[],r=R;return e||(e={}),e.Application="SheetJS",t[t.length]=de,t[t.length]=R("Properties",null,{xmlns:ae.EXT_PROPS,"xmlns:vt":ae.vt}),Wp.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=ee(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}a!==void 0&&(t[t.length]=r(n[0],a))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+ee(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function Gp(e){var t=[de,R("Properties",null,{xmlns:ae.CUST_PROPS,"xmlns:vt":ae.vt})];if(!e)return t.join("");var r=1;return We(e).forEach(function(a){++r,t[t.length]=R("property",bp(e[a],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:ee(a)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Xp=/^\s|\s$|[\t\n\r]/;function Vp(e,t){if(!t.bookSST)return"";var r=[de];r[r.length]=R("sst",null,{xmlns:gt[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var a=e[n],i="<si>";a.r?i+=a.r:(i+="<t",a.t||(a.t=""),a.t.match(Xp)&&(i+=' xml:space="preserve"'),i+=">"+ee(a.t)+"</t>"),i+="</si>",r[r.length]=i}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function Kp(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function Yp(e){var t=0,r,n=Kp(e),a=n.length+1,i,s,o,l,c;for(r=dt(a),r[0]=n.length,i=1;i!=a;++i)r[i]=n[i-1];for(i=a-1;i>=0;--i)s=r[i],o=t&16384?1:0,l=t<<1&32767,c=o|l,t=c^s;return t^52811}var qp=6,gr=qp;function Jp(e){return Math.floor((e-5)/gr*100+.5)/100}function Zp(e){return Math.round((e*gr+5)/gr*256)/256}var Qp=96,eg=Qp;function Za(e){return e*96/eg}function tg(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=R("numFmt",null,{numFmtId:n,formatCode:ee(e[n])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=R("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function rg(e){var t=[];return t[t.length]=R("cellXfs",null),e.forEach(function(r){t[t.length]=R("xf",null,r)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=R("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function ng(e,t){var r=[de,R("styleSheet",null,{xmlns:gt[0],"xmlns:vt":ae.vt})],n;return e.SSF&&(n=tg(e.SSF))!=null&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=rg(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function ag(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[de];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function ig(){var e=[de];return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
<metadataTypes count="1">
<metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
</metadataTypes>
<futureMetadata name="XLDAPR" count="1">
<bk>
<extLst>
<ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
<xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
</ext>
</extLst>
</bk>
</futureMetadata>
<cellMetadata count="1">
<bk>
<rc t="1" v="0"/>
</bk>
</cellMetadata>
</metadata>`),e.join("")}var At=1024;function sg(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[R("xml",null,{"xmlns:v":rr.v,"xmlns:o":rr.o,"xmlns:x":rr.x,"xmlns:mv":rr.mv}).replace(/\/>/,">"),R("o:shapelayout",R("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),R("v:shapetype",[R("v:stroke",null,{joinstyle:"miter"}),R("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];At<e*1e3;)At+=1e3;return t.forEach(function(i){var s=Ce(i[0]),o={color2:"#BEFF82",type:"gradient"};o.type=="gradient"&&(o.angle="-180");var l=o.type=="gradient"?R("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,c=R("v:fill",l,o),m={on:"t",obscured:"t"};++At,a=a.concat(["<v:shape"+gs({id:"_x0000_s"+At,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(i[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",c,R("v:shadow",null,m),R("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",ye("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),ye("x:AutoFill","False"),ye("x:Row",String(s.r)),ye("x:Column",String(s.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function og(e){var t=[de,R("comments",null,{xmlns:gt[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(a){var i=ee(a.a);r.indexOf(i)==-1&&(r.push(i),t.push("<author>"+i+"</author>")),a.T&&a.ID&&r.indexOf("tc="+a.ID)==-1&&(r.push("tc="+a.ID),t.push("<author>tc="+a.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(n){var a=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(l){l.a&&(a=r.indexOf(ee(l.a))),i.push(l.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+a+'"><text>'),i.length<=1)t.push(ye("t",ee(i[0]||"")));else{for(var s=`Comment:
`+i[0]+`
`,o=1;o<i.length;++o)s+=`Reply:
`+i[o]+`
`;t.push(ye("t",ee(s)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function fg(e,t,r){var n=[de,R("ThreadedComments",null,{xmlns:ae.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var i="";(a[1]||[]).forEach(function(s,o){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var l={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};o==0?i=l.id:l.parentId=i,s.ID=l.id,s.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(R("threadedComment",ye("text",s.t||""),l))})}),n.push("</ThreadedComments>"),n.join("")}function lg(e){var t=[de,R("personList",null,{xmlns:ae.TCMNT,"xmlns:x":gt[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(R("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}var cg=["xlsb","xlsm","xlam","biff8","xla"],sr=typeof Map<"u";function ug(e,t,r){var n=0,a=e.length;if(r){if(sr?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=sr?r.get(t):r[t];n<i.length;++n)if(e[i[n]].t===t)return e.Count++,i[n]}}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t},e.Count++,e.Unique++,r&&(sr?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function hg(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(gr=t.MDW),t.width!=null?r.customWidth=1:t.wpx!=null?n=Jp(t.wpx):t.wch!=null&&(n=t.wch),n>-1?(r.width=Zp(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function dg(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(r=[1,1,1,1,.5,.5]),e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Ms(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],a=60,i=e.length;if(n==null&&r.ssf){for(;a<392;++a)if(r.ssf[a]==null){fs(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}}for(a=0;a!=i;++a)if(e[a].numFmtId===n)return a;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function pg(e,t,r){if(e&&e["!ref"]){var n=Ee(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function gg(e){if(e.length===0)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+be(e[r])+'"/>';return t+"</mergeCells>"}function mg(e,t,r,n,a){var i=!1,s={},o=null;if(n.bookType!=="xlsx"&&t.vbaraw){var l=t.SheetNames[r];try{t.Workbook&&(l=t.Workbook.Sheets[r].CodeName||l)}catch{}i=!0,s.codeName=ds(ee(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),o=(o||"")+R("outlinePr",null,c)}!i&&!o||(a[a.length]=R("sheetPr",o,s))}var vg=["objects","scenarios","selectLockedCells","selectUnlockedCells"],_g=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function yg(e){var t={sheet:1};return vg.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),_g.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=Yp(e.password).toString(16).toUpperCase()),R("sheetProtection",null,t)}function xg(e){return dg(e),R("pageMargins",null,e)}function wg(e,t){for(var r=["<cols>"],n,a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=R("col",null,hg(a,n)));return r[r.length]="</cols>",r.join("")}function bg(e,t,r,n){var a=typeof e.ref=="string"?e.ref:be(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=Pt(a);s.s.r==s.e.r&&(s.e.r=Pt(t["!ref"]).e.r,a=be(s));for(var o=0;o<i.length;++o){var l=i[o];if(l.Name=="_xlnm._FilterDatabase"&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return o==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),R("autoFilter",null,{ref:a})}function Sg(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),R("sheetViews",R("sheetView",null,a),{})}function Fg(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var a="",i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=ks[e.v];break;case"d":n&&n.cellDates?a=hn(e.v,-1).toISOString():(e=Bt(e),e.t="n",a=""+(e.v=Ye(hn(e.v)))),typeof e.z>"u"&&(e.z=we[14]);break;default:a=e.v;break}var o=ye("v",ee(a)),l={r:t},c=Ms(n.cellXfs,e,n);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(n&&n.bookSST){o=ye("v",""+ug(n.Strings,e.v,n.revStrings)),l.t="s";break}l.t="str";break}if(e.t!=i&&(e.t=i,e.v=s),typeof e.f=="string"&&e.f){var m=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;o=R("f",ee(e.f),m)+(e.v!=null?o:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(l.cm=1),R("c",o,l)}function Ag(e,t,r,n){var a=[],i=[],s=Ee(e["!ref"]),o="",l,c="",m=[],S=0,b=0,v=e["!rows"],A=Array.isArray(e),C={r:c},k,N=-1;for(b=s.s.c;b<=s.e.c;++b)m[b]=mt(b);for(S=s.s.r;S<=s.e.r;++S){for(i=[],c=tt(S),b=s.s.c;b<=s.e.c;++b){l=m[b]+c;var L=A?(e[S]||[])[b]:e[l];L!==void 0&&(o=Fg(L,l,e,t))!=null&&i.push(o)}(i.length>0||v&&v[S])&&(C={r:c},v&&v[S]&&(k=v[S],k.hidden&&(C.hidden=1),N=-1,k.hpx?N=Za(k.hpx):k.hpt&&(N=k.hpt),N>-1&&(C.ht=N,C.customHeight=1),k.level&&(C.outlineLevel=k.level)),a[a.length]=R("row",i.join(""),C))}if(v)for(;S<v.length;++S)v&&v[S]&&(C={r:S+1},k=v[S],k.hidden&&(C.hidden=1),N=-1,k.hpx?N=Za(k.hpx):k.hpt&&(N=k.hpt),N>-1&&(C.ht=N,C.customHeight=1),k.level&&(C.outlineLevel=k.level),a[a.length]=R("row","",C));return a.join("")}function Cg(e,t,r,n){var a=[de,R("worksheet",null,{xmlns:gt[0],"xmlns:r":ae.r})],i=r.SheetNames[e],s=0,o="",l=r.Sheets[i];l==null&&(l={});var c=l["!ref"]||"A1",m=Ee(c);if(m.e.c>16383||m.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");m.e.c=Math.min(m.e.c,16383),m.e.r=Math.min(m.e.c,1048575),c=be(m)}n||(n={}),l["!comments"]=[];var S=[];mg(l,r,e,t,a),a[a.length]=R("dimension",null,{ref:c}),a[a.length]=Sg(l,t,e,r),t.sheetFormat&&(a[a.length]=R("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),l["!cols"]!=null&&l["!cols"].length>0&&(a[a.length]=wg(l,l["!cols"])),a[s=a.length]="<sheetData/>",l["!links"]=[],l["!ref"]!=null&&(o=Ag(l,t),o.length>0&&(a[a.length]=o)),a.length>s+1&&(a[a.length]="</sheetData>",a[s]=a[s].replace("/>",">")),l["!protect"]&&(a[a.length]=yg(l["!protect"])),l["!autofilter"]!=null&&(a[a.length]=bg(l["!autofilter"],l,r,e)),l["!merges"]!=null&&l["!merges"].length>0&&(a[a.length]=gg(l["!merges"]));var b=-1,v,A=-1;return l["!links"].length>0&&(a[a.length]="<hyperlinks>",l["!links"].forEach(function(C){C[1].Target&&(v={ref:C[0]},C[1].Target.charAt(0)!="#"&&(A=oe(n,-1,ee(C[1].Target).replace(/#.*$/,""),te.HLINK),v["r:id"]="rId"+A),(b=C[1].Target.indexOf("#"))>-1&&(v.location=ee(C[1].Target.slice(b+1))),C[1].Tooltip&&(v.tooltip=ee(C[1].Tooltip)),a[a.length]=R("hyperlink",null,v))}),a[a.length]="</hyperlinks>"),delete l["!links"],l["!margins"]!=null&&(a[a.length]=xg(l["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=ye("ignoredErrors",R("ignoredError",null,{numberStoredAsText:1,sqref:c}))),S.length>0&&(A=oe(n,-1,"../drawings/drawing"+(e+1)+".xml",te.DRAW),a[a.length]=R("drawing",null,{"r:id":"rId"+A}),l["!drawing"]=S),l["!comments"].length>0&&(A=oe(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",te.VML),a[a.length]=R("legacyDrawing",null,{"r:id":"rId"+A}),l["!legacy"]=A),a.length>1&&(a[a.length]="</worksheet>",a[1]=a[1].replace("/>",">")),a.join("")}var Tg=[["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"]],Og="][*?/\\".split("");function Ds(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return Og.forEach(function(n){if(e.indexOf(n)!=-1){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function Eg(e,t,r){e.forEach(function(n,a){Ds(n);for(var i=0;i<a;++i)if(n==e[i])throw new Error("Duplicate Sheet Name: "+n);if(r){var s=t&&t[a]&&t[a].CodeName||n;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function kg(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];Eg(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)pg(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}function Mg(e){var t=[de];t[t.length]=R("workbook",null,{xmlns:gt[0],"xmlns:r":ae.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Tg.forEach(function(o){e.Workbook.WBProps[o[0]]!=null&&e.Workbook.WBProps[o[0]]!=o[1]&&(n[o[0]]=e.Workbook.WBProps[o[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=R("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",i=0;i!=e.SheetNames.length&&!(!a[i]||!a[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",i=0;i!=e.SheetNames.length;++i){var s={name:ee(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=R("sheet",null,s)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(o){var l={name:o.Name};o.Comment&&(l.comment=o.Comment),o.Sheet!=null&&(l.localSheetId=""+o.Sheet),o.Hidden&&(l.hidden="1"),o.Ref&&(t[t.length]=R("definedName",ee(o.Ref),l))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function Dg(e,t,r,n){for(var a=e["!merges"]||[],i=[],s=t.s.c;s<=t.e.c;++s){for(var o=0,l=0,c=0;c<a.length;++c)if(!(a[c].s.r>r||a[c].s.c>s)&&!(a[c].e.r<r||a[c].e.c<s)){if(a[c].s.r<r||a[c].s.c<s){o=-1;break}o=a[c].e.r-a[c].s.r+1,l=a[c].e.c-a[c].s.c+1;break}if(!(o<0)){var m=Ie({r,c:s}),S=n.dense?(e[r]||[])[s]:e[m],b=S&&S.v!=null&&(S.h||yp(S.w||(Ht(S),S.w)||""))||"",v={};o>1&&(v.rowspan=o),l>1&&(v.colspan=l),n.editable?b='<span contenteditable="true">'+b+"</span>":S&&(v["data-t"]=S&&S.t||"z",S.v!=null&&(v["data-v"]=S.v),S.z!=null&&(v["data-z"]=S.z),S.l&&(S.l.Target||"#").charAt(0)!="#"&&(b='<a href="'+S.l.Target+'">'+b+"</a>")),v.id=(n.id||"sjs")+"-"+m,i.push(R("td",b,v))}}var A="<tr>";return A+i.join("")+"</tr>"}var $g='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Pg="</body></html>";function Ig(e,t,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function Ng(e,t){var r=t||{},n=r.header!=null?r.header:$g,a=r.footer!=null?r.footer:Pg,i=[n],s=Pt(e["!ref"]);r.dense=Array.isArray(e),i.push(Ig(e,s,r));for(var o=s.s.r;o<=s.e.r;++o)i.push(Dg(e,s,o,r));return i.push("</table>"+a),i.join("")}function $s(e,t,r){var n=r||{},a=0,i=0;if(n.origin!=null)if(typeof n.origin=="number")a=n.origin;else{var s=typeof n.origin=="string"?Ce(n.origin):n.origin;a=s.r,i=s.c}var o=t.getElementsByTagName("tr"),l=Math.min(n.sheetRows||1e7,o.length),c={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var m=Pt(e["!ref"]);c.s.r=Math.min(c.s.r,m.s.r),c.s.c=Math.min(c.s.c,m.s.c),c.e.r=Math.max(c.e.r,m.e.r),c.e.c=Math.max(c.e.c,m.e.c),a==-1&&(c.e.r=a=m.e.r+1)}var S=[],b=0,v=e["!rows"]||(e["!rows"]=[]),A=0,C=0,k=0,N=0,L=0,W=0;for(e["!cols"]||(e["!cols"]=[]);A<o.length&&C<l;++A){var j=o[A];if(Qa(j)){if(n.display)continue;v[C]={hidden:!0}}var V=j.children;for(k=N=0;k<V.length;++k){var U=V[k];if(!(n.display&&Qa(U))){var T=U.hasAttribute("data-v")?U.getAttribute("data-v"):U.hasAttribute("v")?U.getAttribute("v"):wp(U.innerHTML),z=U.getAttribute("data-z")||U.getAttribute("z");for(b=0;b<S.length;++b){var M=S[b];M.s.c==N+i&&M.s.r<C+a&&C+a<=M.e.r&&(N=M.e.c+1-i,b=-1)}W=+U.getAttribute("colspan")||1,((L=+U.getAttribute("rowspan")||1)>1||W>1)&&S.push({s:{r:C+a,c:N+i},e:{r:C+a+(L||1)-1,c:N+i+(W||1)-1}});var B={t:"s",v:T},G=U.getAttribute("data-t")||U.getAttribute("t")||"";T!=null&&(T.length==0?B.t=G||"z":n.raw||T.trim().length==0||G=="s"||(T==="TRUE"?B={t:"b",v:!0}:T==="FALSE"?B={t:"b",v:!1}:isNaN(Ha(T))?isNaN(pp(T).getDate())||(B={t:"d",v:hn(T)},n.cellDates||(B={t:"n",v:Ye(B.v)}),B.z=n.dateNF||we[14]):B={t:"n",v:Ha(T)})),B.z===void 0&&z!=null&&(B.z=z);var X="",q=U.getElementsByTagName("A");if(q&&q.length)for(var ze=0;ze<q.length&&!(q[ze].hasAttribute("href")&&(X=q[ze].getAttribute("href"),X.charAt(0)!="#"));++ze);X&&X.charAt(0)!="#"&&(B.l={Target:X}),n.dense?(e[C+a]||(e[C+a]=[]),e[C+a][N+i]=B):e[Ie({c:N+i,r:C+a})]=B,c.e.c<N+i&&(c.e.c=N+i),N+=W}}++C}return S.length&&(e["!merges"]=(e["!merges"]||[]).concat(S)),c.e.r=Math.max(c.e.r,C-1+a),e["!ref"]=be(c),C>=l&&(e["!fullref"]=be((c.e.r=o.length-A+C-1+a,c))),e}function Ps(e,t){var r=t||{},n=r.dense?[]:{};return $s(n,e,t)}function Rg(e,t){return Np(Ps(e,t),t)}function Qa(e){var t="",r=Lg(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function Lg(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function jg(e){return function(r){for(var n=0;n!=e.length;++n){var a=e[n];r[a[0]]===void 0&&(r[a[0]]=a[1]),a[2]==="n"&&(r[a[0]]=Number(r[a[0]]))}}}function Bg(e){jg([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function Ug(e,t){At=1024,e&&!e.SSF&&(e.SSF=Bt(we)),e&&e.SSF&&(sp(),ip(e.SSF),t.revssf=cp(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,sr?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=cg.indexOf(t.bookType)>-1,a=jp();Bg(t=t||{});var i=gp(),s="",o=0;if(t.cellXfs=[],Ms(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",ne(i,s,Hp(e.Props,t)),a.coreprops.push(s),oe(t.rels,2,s,te.CORE_PROPS),s="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;c<e.SheetNames.length;++c)(e.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(e.SheetNames[c]);e.Props.SheetNames=l}e.Props.Worksheets=e.Props.SheetNames.length,ne(i,s,zp(e.Props)),a.extprops.push(s),oe(t.rels,3,s,te.EXT_PROPS),e.Custprops!==e.Props&&We(e.Custprops||{}).length>0&&(s="docProps/custom.xml",ne(i,s,Gp(e.Custprops)),a.custprops.push(s),oe(t.rels,4,s,te.CUST_PROPS));var m=["SheetJ5"];for(t.tcid=0,o=1;o<=e.SheetNames.length;++o){var S={"!id":{}},b=e.Sheets[e.SheetNames[o-1]],v=(b||{})["!type"]||"sheet";switch(v){case"chart":default:s="xl/worksheets/sheet"+o+"."+r,ne(i,s,Cg(o-1,t,e,S)),a.sheets.push(s),oe(t.wbrels,-1,"worksheets/sheet"+o+"."+r,te.WS[0])}if(b){var A=b["!comments"],C=!1,k="";if(A&&A.length>0){var N=!1;A.forEach(function(L){L[1].forEach(function(W){W.T==!0&&(N=!0)})}),N&&(k="xl/threadedComments/threadedComment"+o+"."+r,ne(i,k,fg(A,m,t)),a.threadedcomments.push(k),oe(S,-1,"../threadedComments/threadedComment"+o+"."+r,te.TCMNT)),k="xl/comments"+o+"."+r,ne(i,k,og(A)),a.comments.push(k),oe(S,-1,"../comments"+o+"."+r,te.CMNT),C=!0}b["!legacy"]&&C&&ne(i,"xl/drawings/vmlDrawing"+o+".vml",sg(o,b["!comments"])),delete b["!comments"],delete b["!legacy"]}S["!id"].rId1&&ne(i,Up(s),Qr(S))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,ne(i,s,Vp(t.Strings,t)),a.strs.push(s),oe(t.wbrels,-1,"sharedStrings."+r,te.SST)),s="xl/workbook."+r,ne(i,s,Mg(e)),a.workbooks.push(s),oe(t.rels,1,s,te.WB),s="xl/theme/theme1.xml",ne(i,s,ag(e.Themes,t)),a.themes.push(s),oe(t.wbrels,-1,"theme/theme1.xml",te.THEME),s="xl/styles."+r,ne(i,s,ng(e,t)),a.styles.push(s),oe(t.wbrels,-1,"styles."+r,te.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",ne(i,s,e.vbaraw),a.vba.push(s),oe(t.wbrels,-1,"vbaProject.bin",te.VBA)),s="xl/metadata."+r,ne(i,s,ig()),a.metadata.push(s),oe(t.wbrels,-1,"metadata."+r,te.XLMETA),m.length>1&&(s="xl/persons/person.xml",ne(i,s,lg(m)),a.people.push(s),oe(t.wbrels,-1,"persons/person.xml",te.PEOPLE)),ne(i,"[Content_Types].xml",Bp(a,t)),ne(i,"_rels/.rels",Qr(t.rels)),ne(i,"xl/_rels/workbook."+r+".rels",Qr(t.wbrels)),delete t.revssf,delete t.ssf,i}function Hg(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return ls(t.file,ve.write(e,{type:Q?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return ve.write(e,t)}function Wg(e,t){var r=Bt(t||{}),n=Ug(e,r);return zg(n,r)}function zg(e,t){var r={},n=Q?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?ve.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(t.type=="binary"||t.type=="base64")return a;a=new Uint8Array(Ar(a))}return t.password&&typeof encrypt_agile<"u"?Hg(encrypt_agile(a,t.password),t):t.type==="file"?ls(t.file,a):t.type=="string"?xp(a):a}function Is(e,t){kg(e);var r=Bt(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=Is(e,r);return r.type="array",Ar(n)}return Wg(e,r)}function Gg(e){if(!e.bookType){var t={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},r=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();r.match(/^\.[a-z]+$/)&&(e.bookType=r.slice(1)),e.bookType=t[e.bookType]||e.bookType}}function Xg(e,t,r){var n=r||{};return n.type="file",n.file=t,Gg(n),Is(e,n)}function Vg(e,t,r,n,a,i,s,o){var l=tt(r),c=o.defval,m=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),S=!0,b=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(b,"__rowNum__",{value:r,enumerable:!1})}catch{b.__rowNum__=r}else b.__rowNum__=r;if(!s||e[r])for(var v=t.s.c;v<=t.e.c;++v){var A=s?e[r][v]:e[n[v]+l];if(A===void 0||A.t===void 0){if(c===void 0)continue;i[v]!=null&&(b[i[v]]=c);continue}var C=A.v;switch(A.t){case"z":if(C==null)break;continue;case"e":C=C==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+A.t)}if(i[v]!=null){if(C==null)if(A.t=="e"&&C===null)b[i[v]]=null;else if(c!==void 0)b[i[v]]=c;else if(m&&C===null)b[i[v]]=null;else continue;else b[i[v]]=m&&(A.t!=="n"||A.t==="n"&&o.rawNumbers!==!1)?C:Ht(A,C,o);C!=null&&(S=!1)}}return{row:b,isempty:S}}function ei(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,a=1,i=[],s=0,o="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},m=c.range!=null?c.range:e["!ref"];switch(c.header===1?n=1:c.header==="A"?n=2:Array.isArray(c.header)?n=3:c.header==null&&(n=0),typeof m){case"string":l=Ee(m);break;case"number":l=Ee(e["!ref"]),l.s.r=m;break;default:l=m}n>0&&(a=0);var S=tt(l.s.r),b=[],v=[],A=0,C=0,k=Array.isArray(e),N=l.s.r,L=0,W={};k&&!e[N]&&(e[N]=[]);var j=c.skipHidden&&e["!cols"]||[],V=c.skipHidden&&e["!rows"]||[];for(L=l.s.c;L<=l.e.c;++L)if(!(j[L]||{}).hidden)switch(b[L]=mt(L),r=k?e[N][L]:e[b[L]+S],n){case 1:i[L]=L-l.s.c;break;case 2:i[L]=b[L];break;case 3:i[L]=c.header[L-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),o=s=Ht(r,null,c),C=W[s]||0,!C)W[s]=1;else{do o=s+"_"+C++;while(W[o]);W[s]=C,W[o]=1}i[L]=o}for(N=l.s.r+a;N<=l.e.r;++N)if(!(V[N]||{}).hidden){var U=Vg(e,l,N,b,n,i,k,c);(U.isempty===!1||(n===1?c.blankrows!==!1:c.blankrows))&&(v[A++]=U.row)}return v.length=A,v}var ti=/"/g;function Kg(e,t,r,n,a,i,s,o){for(var l=!0,c=[],m="",S=tt(r),b=t.s.c;b<=t.e.c;++b)if(n[b]){var v=o.dense?(e[r]||[])[b]:e[n[b]+S];if(v==null)m="";else if(v.v!=null){l=!1,m=""+(o.rawNumbers&&v.t=="n"?v.v:Ht(v,null,o));for(var A=0,C=0;A!==m.length;++A)if((C=m.charCodeAt(A))===a||C===i||C===34||o.forceQuotes){m='"'+m.replace(ti,'""')+'"';break}m=="ID"&&(m='"ID"')}else v.f!=null&&!v.F?(l=!1,m="="+v.f,m.indexOf(",")>=0&&(m='"'+m.replace(ti,'""')+'"')):m="";c.push(m)}return o.blankrows===!1&&l?null:c.join(s)}function Ns(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var a=Ee(e["!ref"]),i=n.FS!==void 0?n.FS:",",s=i.charCodeAt(0),o=n.RS!==void 0?n.RS:`
`,l=o.charCodeAt(0),c=new RegExp((i=="|"?"\\|":i)+"+$"),m="",S=[];n.dense=Array.isArray(e);for(var b=n.skipHidden&&e["!cols"]||[],v=n.skipHidden&&e["!rows"]||[],A=a.s.c;A<=a.e.c;++A)(b[A]||{}).hidden||(S[A]=mt(A));for(var C=0,k=a.s.r;k<=a.e.r;++k)(v[k]||{}).hidden||(m=Kg(e,a,k,S,s,l,i,n),m!=null&&(n.strip&&(m=m.replace(c,"")),(m||n.blankrows!==!1)&&r.push((C++?o:"")+m)));return delete n.dense,r.join("")}function Yg(e,t){t||(t={}),t.FS=" ",t.RS=`
`;var r=Ns(e,t);return r}function qg(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var a=Ee(e["!ref"]),i="",s=[],o,l=[],c=Array.isArray(e);for(o=a.s.c;o<=a.e.c;++o)s[o]=mt(o);for(var m=a.s.r;m<=a.e.r;++m)for(i=tt(m),o=a.s.c;o<=a.e.c;++o)if(t=s[o]+i,r=c?(e[m]||[])[o]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=t+"="+n}return l}function Rs(e,t,r){var n=r||{},a=+!n.skipHeader,i=e||{},s=0,o=0;if(i&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?Ce(n.origin):n.origin;s=l.r,o=l.c}var c,m={s:{c:0,r:0},e:{c:o,r:s+t.length-1+a}};if(i["!ref"]){var S=Ee(i["!ref"]);m.e.c=Math.max(m.e.c,S.e.c),m.e.r=Math.max(m.e.r,S.e.r),s==-1&&(s=S.e.r+1,m.e.r=s+t.length-1+a)}else s==-1&&(s=0,m.e.r=t.length-1+a);var b=n.header||[],v=0;t.forEach(function(C,k){We(C).forEach(function(N){(v=b.indexOf(N))==-1&&(b[v=b.length]=N);var L=C[N],W="z",j="",V=Ie({c:o+v,r:s+k+a});c=It(i,V),L&&typeof L=="object"&&!(L instanceof Date)?i[V]=L:(typeof L=="number"?W="n":typeof L=="boolean"?W="b":typeof L=="string"?W="s":L instanceof Date?(W="d",n.cellDates||(W="n",L=Ye(L)),j=n.dateNF||we[14]):L===null&&n.nullError&&(W="e",L=0),c?(c.t=W,c.v=L,delete c.w,delete c.R,j&&(c.z=j)):i[V]=c={t:W,v:L},j&&(c.z=j))})}),m.e.c=Math.max(m.e.c,o+b.length-1);var A=tt(s);if(a)for(v=0;v<b.length;++v)i[mt(v+o)+A]={t:"s",v:b[v]};return i["!ref"]=be(m),i}function Jg(e,t){return Rs(null,e,t)}function It(e,t,r){if(typeof t=="string"){if(Array.isArray(e)){var n=Ce(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return typeof t!="number"?It(e,Ie(t)):It(e,Ie({r:t,c:r||0}))}function Zg(e,t){if(typeof t=="number"){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function Qg(){return{SheetNames:[],Sheets:{}}}function em(e,t,r,n){var a=1;if(!r)for(;a<=65535&&e.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);a=i&&+i[2]||0;var s=i&&i[1]||r;for(++a;a<=65535&&e.SheetNames.indexOf(r=s+a)!=-1;++a);}if(Ds(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function tm(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=Zg(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function rm(e,t){return e.z=t,e}function Ls(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function nm(e,t,r){return Ls(e,"#"+t,r)}function am(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function im(e,t,r,n){for(var a=typeof t!="string"?t:Ee(t),i=typeof t=="string"?t:be(t),s=a.s.r;s<=a.e.r;++s)for(var o=a.s.c;o<=a.e.c;++o){var l=It(e,s,o);l.t="n",l.F=i,delete l.v,s==a.s.r&&o==a.s.c&&(l.f=r,n&&(l.D=!0))}return e}var Ct={encode_col:mt,encode_row:tt,encode_cell:Ie,encode_range:be,decode_col:$p,decode_row:Mp,split_cell:Ip,decode_cell:Ce,decode_range:Pt,format_cell:Ht,sheet_add_aoa:Es,sheet_add_json:Rs,sheet_add_dom:$s,aoa_to_sheet:Rp,json_to_sheet:Jg,table_to_sheet:Ps,table_to_book:Rg,sheet_to_csv:Ns,sheet_to_txt:Yg,sheet_to_json:ei,sheet_to_html:Ng,sheet_to_formulae:qg,sheet_to_row_object_array:ei,sheet_get_cell:It,book_new:Qg,book_append_sheet:em,book_set_sheet_visibility:tm,cell_set_number_format:rm,cell_set_hyperlink:Ls,cell_set_internal_link:nm,cell_add_comment:am,sheet_set_array_formula:im,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const sm=e=>e.reduce((r,n)=>(r[n.key]=n.title,r),{}),om=(e,t,r)=>{for(let n=e.s.c;n<=e.e.c;n++){const a=Ct.encode_col(n)+"1";t[a].v=r[t[a].v]}},I1=async(e,t,r={})=>{await new Promise((n,a)=>{if(Array.isArray(e))if(e.length){const i=sm(t??[]),s=Ct.json_to_sheet(e),o=Ct.book_new(),l=r.filename?r.filename+".xlsx":jo().format("YYYY-MM-DD")+"导出表格.xlsx";Ct.book_append_sheet(o,s,"Data");const c=Ct.decode_range(s["!ref"]);t!=null&&t.length&&om(c,s,i),Xg(o,l),n()}else n();else a()})};export{$m as $,e1 as A,t1 as B,Qm as C,Bm as D,Jm as E,Ym as F,Vm as G,qm as H,Wm as I,Km as J,hi as K,Gm as L,Hm as M,Um as N,jm as O,zm as P,_d as Q,a1 as R,vd as S,r1 as T,Mm as U,n1 as V,Tm as W,Om as X,km as Y,Em as Z,Dm as _,rl as a,i1 as a0,yd as a1,s1 as a2,o1 as a3,f1 as a4,l1 as a5,p1 as a6,u1 as a7,c1 as a8,h1 as a9,D1 as aA,$1 as aB,I1 as aC,d1 as aa,g1 as ab,Sd as ac,_m as ad,S1 as ae,F1 as af,m1 as ag,T1 as ah,qi as ai,w1 as aj,b1 as ak,q0 as al,O1 as am,x1 as an,A1 as ao,gm as ap,_1 as aq,C1 as ar,pm as as,y1 as at,E1 as au,Hi as av,Md as aw,P1 as ax,k1 as ay,M1 as az,cm as b,um as c,al as d,mm as e,nl as f,v1 as g,Am as h,Fm as i,Nm as j,pd as k,Sm as l,dm as m,Im as n,Cm as o,Rm as p,Pm as q,xm as r,vm as s,bm as t,hm as u,ym as v,wm as w,Lm as x,Xm as y,Zm as z};