diff --git a/.output/nitro.json b/.output/nitro.json new file mode 100644 index 0000000000000000000000000000000000000000..d9ebcb118cce44aae3d5edf61c80f34daaef0550 --- /dev/null +++ b/.output/nitro.json @@ -0,0 +1,15 @@ +{ + "date": "2025-02-26T14:54:43.994Z", + "preset": "node-server", + "framework": { + "name": "nitro", + "version": "" + }, + "versions": { + "nitro": "2.10.4" + }, + "commands": { + "preview": "node ./server/index.mjs" + }, + "config": {} +} \ No newline at end of file diff --git a/.output/public/assets/ChatInput-BMuO6hgs.css b/.output/public/assets/ChatInput-BMuO6hgs.css new file mode 100644 index 0000000000000000000000000000000000000000..af8a3dc51fc476c7c337254cad8f33e46df7142f --- /dev/null +++ b/.output/public/assets/ChatInput-BMuO6hgs.css @@ -0,0 +1 @@ +.chat-input textarea{border:none}.chat-input textarea.t-textarea__inner:focus{border:none;box-shadow:none;outline:none}.autocomplete{max-height:150px;overflow-y:auto;border-radius:.5rem}.autocomplete ul{list-style-type:none;padding:0;margin:0}.autocomplete li{padding:5px;cursor:pointer}.autocomplete li:hover,.autocomplete li.selected{background-color:var(--td-bg-color-container-active)} diff --git a/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-S3GrV3uE.js b/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-S3GrV3uE.js new file mode 100644 index 0000000000000000000000000000000000000000..4c13e7902d054850166253c58093907321eaecde --- /dev/null +++ b/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-S3GrV3uE.js @@ -0,0 +1,7409 @@ +var e,t,n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v,y,w,x,_,T,D,A,E,k,S,C,U,F,M,R,I,O,N,P,L,W,B,j,z,H,V,G,X,q,Y,K,Z,J,Q,ee,te,ne,ie,re,ae,se,oe,ce,le,he,de,ue,fe,pe,ge,me,be,ve,ye,we,xe,_e,Te,De,Ae,Ee,ke,Se,Ce,Ue,Fe,Me,Re,Ie,Oe,Ne,Pe,Le,We,Be,je,ze,He,Ve,Ge,Xe,$e,qe,Ye,Ke,Ze,Je,Qe,et,tt,nt,it,rt,at,st,ot,ct,lt,ht,dt,ut,ft,pt,gt,mt,bt,vt,yt,wt,xt,_t,Tt,Dt,At,Et,kt,St,Ct,Ut,Ft,Mt,Rt,It,Ot,Nt,Pt,Lt,Wt,Bt,jt,zt,Ht,Vt,Gt,Xt,$t,qt,Yt,Kt,Zt,Jt,Qt,en,tn,nn,rn,an,sn,on,cn,ln,hn,dn,un,fn,pn,gn,mn,bn,vn,yn,wn,xn,_n,Tn,Dn,An,En,kn,Sn,Cn,Un,Fn,Mn,Rn,In,On,Nn,Pn,Ln,Wn,Bn,jn,zn,Hn,Vn,Gn,Xn,$n,qn,Yn,Kn,Zn,Jn,Qn,ei,ti,ni,ii,ri,ai,si,oi,ci,li,hi,di,ui,fi,pi,gi,mi,bi,vi,yi,wi,xi,_i,Ti,Di,Ai,Ei,ki,Si,Ci,Ui,Fi,Mi,Ri,Ii,Oi,Ni,Pi,Li,Wi,Bi,ji,zi,Hi,Vi,Gi,Xi,$i,qi,Yi,Ki,Zi,Ji,Qi,er,tr,nr,ir,rr,ar,sr,or,cr,lr,hr,dr,ur,fr,pr,gr,mr,br,vr,yr,wr,xr,_r,Tr,Dr,Ar,Er,kr,Sr,Cr,Ur,Fr,Mr,Rr,Ir,Or,Nr,Pr,Lr,Wr,Br,jr,zr,Hr,Vr,Gr,Xr,$r,qr,Yr,Kr,Zr,Jr,Qr,ea,ta,na,ia,ra,aa,sa,oa,ca,la,ha,da,ua,fa,pa,ga,ma,ba,va,ya,wa,xa,_a,Ta,Da,Aa,Ea,ka,Sa,Ca,Ua,Fa,Ma,Ra,Ia,Oa,Na,Pa,La,Wa,Ba,ja,za,Ha,Va,Ga,Xa,$a,qa,Ya,Ka,Za,Ja,Qa,es,ts,ns,is,rs,as,ss,os,cs,ls,hs,ds,us,fs,ps,gs,ms,bs,vs,ys,ws,xs,_s,Ts,Ds,As,Es,ks,Ss,Cs,Us,Fs,Ms,Rs,Is,Os,Ns,Ps,Ls,Ws,Bs,js,zs,Hs,Vs,Gs,Xs,$s,qs,Ys,Ks,Zs,Js,Qs,eo,to,no,io,ro,ao,so,oo,co,lo,ho,uo,fo,po,go,mo,bo,vo,yo,wo,xo,_o,To,Do,Ao,Eo,ko,So,Co,Uo,Fo,Mo,Ro,Io,Oo,No,Po,Lo,Wo,Bo,jo,zo,Ho,Vo,Go,Xo,$o,qo,Yo,Ko,Zo,Jo,Qo,ec,tc,nc,ic,rc,ac,sc,oc,cc,lc,hc,dc,uc,fc,pc,gc,mc,bc,vc,yc,wc,xc,_c,Tc,Dc,Ac,Ec,kc,Sc,Cc,Uc,Fc,Mc,Rc,Ic,Oc,Nc,Pc,Lc,Wc,Bc,jc,zc,Hc,Vc,Gc,Xc,$c,qc,Yc,Kc,Zc,Jc,Qc,el,tl,nl,il,rl,al,sl,ol,cl,ll,hl,dl,ul,fl,pl,gl,ml,bl,vl,yl,wl,xl,_l,Tl,Dl=Object.defineProperty,Al=e=>{throw TypeError(e)},El=(e,t,n)=>((e,t,n)=>t in e?Dl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),kl=(e,t,n)=>t.has(e)||Al("Cannot "+n),Sl=(e,t,n)=>(kl(e,t,"read from private field"),n?n.call(e):t.get(e)),Cl=(e,t,n)=>t.has(e)?Al("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ul=(e,t,n,i)=>(kl(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),Fl=(e,t,n)=>(kl(e,t,"access private method"),n),Ml=(e,t,n,i)=>({set _(i){Ul(e,t,i,n)},get _(){return Sl(e,t,i)}});import{e as Rl,c as Il,p as Ol,q as Nl,s as Pl,C as Ll,S as Wl,r as Bl,aJ as jl,aQ as zl,I as Hl,aR as Vl,j as Gl,aL as Xl,aX as $l,aK as ql,aZ as Yl,aT as Kl,bn as Zl,au as Jl,as as Ql,ck as eh,bm as th,bp as nh,aH as ih,bD as rh,bx as ah,o as sh,bG as oh,aM as ch,a1 as lh}from"./global-D3BYkvaa.js";import{D as hh}from"./index-Be57K-Sq.js";import{a6 as dh,B as uh}from"./main-CVO8cEkC.js";import{I as fh,U as ph,u as gh}from"./index-DF9MRVbo.js";import{c as mh}from"./_commonjs-dynamic-modules-BHR_E30J.js";import{T as bh}from"./index-B5H-uah9.js";function vh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function yh(e){for(var t=1;te.size)),{className:r,style:a}=Ol(i),s=Il((()=>["t-icon","t-icon-send",r.value])),o=Il((()=>yh(yh({},a.value),n.style))),c=Il((()=>({class:s.value,style:o.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>Nl(wh,c.value)}});function _h(){const e=window.innerWidth<768,t=navigator.userAgent.toLowerCase(),n=["android","webos","iphone","ipad","ipod","blackberry","windows phone"].some((e=>t.includes(e))),i="ontouchstart"in window||navigator.maxTouchPoints>0,r=void 0!==window.screen.orientation;return e&&(n||i||r)}const Th={key:0,class:"flex gap-2 flex-wrap"},Dh=["onClick"],Ah={class:"max-w-[160px] overflow-hidden text-ellipsis text-nowrap"},Eh={class:"flex gap-2"},kh={class:"max-w-[120px] overflow-hidden text-ellipsis text-nowrap"},Sh=["onClick"],Ch={class:"max-w-[160px] overflow-hidden text-ellipsis text-nowrap"},Uh={class:"flex gap-2"},Fh={class:"max-w-[120px] overflow-hidden text-ellipsis text-nowrap"},Mh={class:"whitespace-pre-wrap break-words"},Rh=Rl({__name:"FileList",props:{files:{type:Array},showCloseButton:{type:Boolean,default:!0}},setup(e){const t=e,n=Ll([]);Wl((()=>t.files.length),(()=>{n.length=t.files.length,n.fill(!1)}),{immediate:!0});const i=e=>{t.files.splice(e,1)},r=Bl(!1),a=Bl("");function s(e){if(0===e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["B","KB","MB","GB"][t]}return(t,o)=>{const c=dh,l=uh,h=fh,d=hh;return e.files.length>0?(jl(),zl("div",Th,[(jl(!0),zl(Hl,null,Vl(e.files,((t,o)=>(jl(),zl(Hl,null,[t.type.startsWith("image")?(jl(),ql(h,{key:t.id,visible:n[o],images:[t.content||t.url],"close-on-overlay":"",onClose:e=>(e=>{n[e]=!1})(o)},{trigger:Xl((()=>[Yl("div",{class:"bg-color-page flex p-2 gap-2 rounded-lg cursor-pointer",onClick:e=>(e=>{n[e]=!0})(o)},[Gl(c,{src:t.content||t.url,style:{width:"40px",height:"40px"}},null,8,["src"]),Yl("div",null,[Yl("div",Ah,Kl(t.name),1),Yl("div",Eh,[Yl("span",kh,Kl(t.type),1),Yl("span",null,Kl(s(t.size)),1)])]),e.showCloseButton?(jl(),ql(l,{key:0,theme:"primary",shape:"circle",onClick:Zl((e=>i(o)),["stop"]),size:"small",variant:"text"},{default:Xl((()=>[Gl(Jl(Ql),{slot:"icon"})])),_:2},1032,["onClick"])):$l("",!0)],8,Dh)])),_:2},1032,["visible","images","onClose"])):(jl(),zl("div",{key:1,class:"bg-color-page flex p-2 gap-2 rounded-lg cursor-pointer",onClick:e=>(e=>{r.value=!0,a.value=e.content})(t)},[Gl(c,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAMAAAC4uKf/AAAA1VBMVEVHcEwgUP8kVP8lVf8oUP8IMKckVP8lU/8NL6kkVP8gUP8QMJ8NL6klVf8jU/8NL6oLMKokVP8OMKglUv8NMKkkVP8kU/8OLqskVP8OL6klU/8kVP8OLqkNL6oNMKkNL6olU/8NMKckVf8MMKckVP////8NL6nI1P8QNLR2lP8/af8yX/8xX/+6yf9Aaf/W3/9bf/+tv/+7yv+Env/x9f/k6v+ftP9oif8YQtQeS+lNdP9piv+En/8XQM/j6v8VPckhT/QSNrqgtP8eS+oTOL+Sqf+Rqf9kuMQUAAAAJHRSTlMAEHBgICDv39/PIBDv35C/ML9wYF9A0H+wz5+Pj59Q76Bgr0CdNRTaAAACCElEQVRo3u3a11ICQRAF0GVFFpAgIIggxt5ZcpJgzvr/n+STVZZMT+zZp7k/cGrSZavoIOClGHaiHKjnvHq5H5hlrwaaYYzlz0yoZgRggDF2pE1lugCGWOlQ08q2wBhjeb1zy0ZggbH8gc4eGlq/GKtqYF2wxNip+pUHa4zVVbGIAGPXrhf2FyupXckCCab2ALJAg7EThQcQUmGsJ8faZBg7dnlk/zF5J+cIMSbrZKDEZFeSFJN1Mi0m6WRiTNzJ1Jiwk8kxdpYmJuhkekzwABxgeCfbYH1M6znAXjAM62Qb7A7FkE4GJ/uIdDI4Whq3Ja0wuMW1Ojkm0Kr0GLxi51ZygAF8PH2+9TlxgmHxmMc8JsYGk2Q3AyfYaBZzs546wBYxkoQem8Zo5uTYA47dkGODNLFhmtsICWZNUrz6s6GbR73cfdPLx7HvRo95zGMe85glNvrmfTcimQyssPtVrJVkbPEpt441szHH3mPtjI2xRB/bGmNLfWxujH3pY0NjbLTStRY2V/85vasPMNyov+lksfXd6DGPecxjHiP+u1+YHOlQjSQFDnbhCmsTD58IExKP1QhT5P01WEvvyKxGoURpUA95CVLGxihTXFgQVOitCj5yWCDfxAz9MCVqFV2MbvLTKkqGNwnPrZKRTx4SLa7cVBt0JLgntYb61G14VTD+fctFnZB/WD8ijwbYDm7GXAAAAABJRU5ErkJggg==",style:{width:"40px",height:"40px"}}),Yl("div",null,[Yl("div",Ch,Kl(t.name),1),Yl("div",Uh,[Yl("span",Fh,Kl(t.type),1),Yl("span",null,Kl(s(t.size)),1)])]),e.showCloseButton?(jl(),ql(l,{key:0,theme:"primary",shape:"circle",onClick:Zl((e=>i(o)),["stop"]),size:"small",variant:"text"},{default:Xl((()=>[Gl(Jl(Ql),{slot:"icon"})])),_:2},1032,["onClick"])):$l("",!0)],8,Sh))],64)))),256)),Gl(d,{visible:r.value,"onUpdate:visible":o[0]||(o[0]=e=>r.value=e),attach:"body","on-confirm":()=>r.value=!1},{body:Xl((()=>[Yl("div",Mh,Kl(a.value),1)])),_:1},8,["visible","on-confirm"])])):$l("",!0)}}});var Ih,Oh={exports:{}};const Nh=th((Ih||(Ih=1,Oh.exports=function e(t,n,i){function r(s,o){if(!n[s]){if(!t[s]){var c="function"==typeof mh&&mh;if(!o&&c)return c(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var h=n[s]={exports:{}};t[s][0].call(h.exports,(function(e){var n=t[s][1][e];return r(n||e)}),h,h.exports,e,t,n,i)}return n[s].exports}for(var a="function"==typeof mh&&mh,s=0;s0&&(n=s.concat(n),s=[]),y.map(k(t),A(n),(function(e,t){return new a.Paragraph(t,e)})).insertExtra()},"w:r":function(e){return y.map(C(e.firstOrEmpty("w:rPr")),A(e.children),(function(e,t){var n=W();return null!==n&&(t=[new a.Hyperlink(t,n)]),new a.Run(t,e)}))},"w:fldChar":L,"w:instrText":z,"w:t":function(e){return b(new a.Text(e.text()))},"w:tab":function(e){return b(new a.Tab)},"w:noBreakHyphen":function(){return b(new a.Text("‑"))},"w:softHyphen":function(e){return b(new a.Text("­"))},"w:sym":H,"w:hyperlink":function(e){var t=e.attributes["r:id"],n=e.attributes["w:anchor"];return A(e.children).map((function(i){function s(t){var n=e.attributes["w:tgtFrame"]||null;return new a.Hyperlink(i,r.extend({targetFrame:n},t))}if(t){var o=h.findTargetByRelationshipId(t);return n&&(o=l.replaceFragment(o,n)),s({href:o})}return n?s({anchor:n}):i}))},"w:tbl":q,"w:tr":K,"w:tc":Z,"w:footnoteReference":V("footnote"),"w:endnoteReference":V("endnote"),"w:commentReference":G,"w:br":function(e){var t=e.attributes["w:type"];return null==t||"textWrapping"===t?b(a.lineBreak):"page"===t?b(a.pageBreak):"column"===t?b(a.columnBreak):g([o("Unsupported break type: "+t)])},"w:bookmarkStart":function(e){var t=e.attributes["w:name"];return"_GoBack"===t?m():b(new a.BookmarkStart({name:t}))},"mc:AlternateContent":function(e){return X(e.first("mc:Fallback"))},"w:sdt":function(e){var t=e.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(t){var n=t.first("wordml:checked"),i=!!n&&M(n.attributes["wordml:val"]);return b(a.checkbox({checked:i}))}return A(e.firstOrEmpty("w:sdtContent").children)},"w:ins":X,"w:object":X,"w:smartTag":X,"w:drawing":X,"w:pict":function(e){return X(e).toExtra()},"v:roundrect":X,"v:shape":X,"v:textbox":X,"w:txbxContent":X,"wp:inline":ee,"wp:anchor":ee,"v:imagedata":re,"v:group":X,"v:rect":X};return{readXmlElement:E,readXmlElements:A};function q(e){var t=Y(e.firstOrEmpty("w:tblPr"));return A(e.children).flatMap(Q).flatMap((function(e){return t.map((function(t){return a.Table(e,t)}))}))}function Y(e){return N(e).map((function(e){return{styleId:e.styleId,styleName:e.name}}))}function K(e){var t=!!e.firstOrEmpty("w:trPr").first("w:tblHeader");return A(e.children).map((function(e){return a.TableRow(e,{isHeader:t})}))}function Z(e){return A(e.children).map((function(t){var n=e.firstOrEmpty("w:tcPr"),i=n.firstOrEmpty("w:gridSpan").attributes["w:val"],r=i?parseInt(i,10):1,s=a.TableCell(t,{colSpan:r});return s._vMerge=J(n),s}))}function J(e){var t=e.first("w:vMerge");if(t){var n=t.attributes["w:val"];return"continue"===n||!n}return null}function Q(e){if(r.any(e,(function(e){return e.type!==a.types.tableRow})))return v(e,[o("unexpected non-row element in table, cell merging may be incorrect")]);if(r.any(e,(function(e){return r.any(e.children,(function(e){return e.type!==a.types.tableCell}))})))return v(e,[o("unexpected non-cell element in table row, cell merging may be incorrect")]);var t={};return e.forEach((function(e){var n=0;e.children.forEach((function(e){e._vMerge&&t[n]?t[n].rowSpan++:(t[n]=e,e._vMerge=!1),n+=e.colSpan}))})),e.forEach((function(e){e.children=e.children.filter((function(e){return!e._vMerge})),e.children.forEach((function(e){delete e._vMerge}))})),b(e)}function ee(e){return w(e.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip").map(te.bind(null,e)))}function te(e,t){var n=e.first("wp:docPr").attributes,i=ne(n.descr)?n.title:n.descr,r=ie(t);return null===r?g([o("Could not find image file for a:blip element")]):se(r,i)}function ne(e){return null==e||/^\s*$/.test(e)}function ie(e){var t=e.attributes["r:embed"],n=e.attributes["r:link"];if(t)return ae(t);if(n){var i=h.findTargetByRelationshipId(n);return{path:i,read:_.read.bind(_,i)}}return null}function re(e){var t=e.attributes["r:id"];return t?se(ae(t),e.attributes["o:title"]):g([o("A v:imagedata element without a relationship ID was ignored")])}function ae(e){var t=l.uriToZipEntryName("word",h.findTargetByRelationshipId(e));return{path:t,read:x.read.bind(x,t)}}function se(e,t){var n=d.findContentType(e.path);return v(a.Image({readImage:e.read,altText:t,contentType:n}),f[n]?[]:o("Image of type "+n+" is unlikely to display in web browsers"))}function oe(e,t){return o(e+" style with ID "+t+" was referenced but not defined in the document")}}function u(e,t,n){var i=t.firstOrEmpty("w:ilvl").attributes["w:val"],r=t.firstOrEmpty("w:numId").attributes["w:val"];if(void 0!==i&&void 0!==r)return n.findLevel(r,i);if(null!=e){var a=n.findLevelByParagraphStyleId(e);if(null!=a)return a}return null}var f={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},p={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function g(e){return new y(null,null,e)}function m(){return new y(null)}function b(e){return new y(e)}function v(e,t){return new y(e,null,t)}function y(e,t,n){this.value=e||[],this.extra=t||[],this._result=new s({element:this.value,extra:t},n),this.messages=this._result.messages}function w(e){var t=s.combine(r.pluck(e,"_result"));return new y(r.flatten(r.pluck(t.value,"element")),r.filter(r.flatten(r.pluck(t.value,"extra")),_),t.messages)}function x(e,t){return r.flatten([e,t])}function _(e){return e}y.prototype.toExtra=function(){return new y(null,x(this.extra,this.value),this.messages)},y.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new y(x(this.value,e),null,this.messages):this},y.prototype.map=function(e){var t=this._result.map((function(t){return e(t.element)}));return new y(t.value,this.extra,t.messages)},y.prototype.flatMap=function(e){var t=this._result.flatMap((function(t){return e(t.element)._result}));return new y(t.value.element,x(this.extra,t.value.extra),t.messages)},y.map=function(e,t,n){return new y(n(e.value,t.value),x(e.extra,t.extra),e.messages.concat(t.messages))}},{"../documents":4,"../results":25,"../xml":35,"./uris":16,"dingbat-to-unicode":85,underscore:102}],6:[function(e,t,n){var i=e("../documents"),r=e("../results").Result;function a(e){function t(e){return r.combine(e.getElementsByTagName("w:comment").map(n))}function n(t){var n=t.attributes["w:id"];function r(e){return(t.attributes[e]||"").trim()||null}return e.readXmlElements(t.children).map((function(e){return i.comment({commentId:n,body:e,authorName:r("w:author"),authorInitials:r("w:initials")})}))}return t}n.createCommentsReader=a},{"../documents":4,"../results":25}],7:[function(e,t,n){n.readContentTypesFromXml=r;var i={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};function r(e){var t={},n={};return e.children.forEach((function(e){if("content-types:Default"===e.name&&(t[e.attributes.Extension]=e.attributes.ContentType),"content-types:Override"===e.name){var i=e.attributes.PartName;"/"===i.charAt(0)&&(i=i.substring(1)),n[i]=e.attributes.ContentType}})),a(n,t)}function a(e,t){return{findContentType:function(n){var r=e[n];if(r)return r;var a=n.split("."),s=a[a.length-1];if(t.hasOwnProperty(s))return t[s];var o=i[s.toLowerCase()];return o?"image/"+o:null}}}n.defaultContentTypes=a({},{})},{}],8:[function(e,t,n){n.DocumentXmlReader=a;var i=e("../documents"),r=e("../results").Result;function a(e){var t=e.bodyReader;function n(n){var a=n.first("w:body");if(null==a)throw new Error("Could not find the body element: are you sure this is a docx file?");var s=t.readXmlElements(a.children).map((function(t){return new i.Document(t,{notes:e.notes,comments:e.comments})}));return new r(s.value,s.messages)}return{convertXmlToDocument:n}}},{"../documents":4,"../results":25}],9:[function(e,t,n){n.read=b,n._findPartPaths=v;var i=e("../promises"),r=e("../documents"),a=e("../results").Result,s=e("../zipfile"),o=e("./office-xml-reader").readXmlFromZipFile,c=e("./body-reader").createBodyReader,l=e("./document-xml-reader").DocumentXmlReader,h=e("./relationships-reader"),d=e("./content-types-reader"),u=e("./numbering-xml"),f=e("./styles-reader"),p=e("./notes-reader"),g=e("./comments-reader"),m=e("./files").Files;function b(e,t){return t=t||{},i.props({contentTypes:D(e),partPaths:v(e),docxFile:e,files:t.path?m.relativeToFile(t.path):new m(null)}).also((function(t){return{styles:E(e,t.partPaths.styles)}})).also((function(t){return{numbering:A(e,t.partPaths.numbering,t.styles)}})).also((function(e){return{footnotes:_(e.partPaths.footnotes,e,(function(e,t){return t?p.createFootnotesReader(e)(t):new a([])})),endnotes:_(e.partPaths.endnotes,e,(function(e,t){return t?p.createEndnotesReader(e)(t):new a([])})),comments:_(e.partPaths.comments,e,(function(e,t){return t?g.createCommentsReader(e)(t):new a([])}))}})).also((function(e){return{notes:e.footnotes.flatMap((function(t){return e.endnotes.map((function(e){return new r.Notes(t.concat(e))}))}))}})).then((function(e){return _(e.partPaths.mainDocument,e,(function(t,n){return e.notes.flatMap((function(i){return e.comments.flatMap((function(e){return new l({bodyReader:t,notes:i,comments:e}).convertXmlToDocument(n)}))}))}))}))}function v(e){return k(e).then((function(t){var n=y({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(n))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return x({filename:T(n),readElement:h.readRelationships,defaultValue:h.defaultValue})(e).then((function(t){function i(i){return y({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+i,basePath:s.splitPath(n).dirname,fallbackPath:"word/"+i+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}}))}))}function y(e){var t=e.docxFile,n=e.relationships,i=e.relationshipType,r=e.basePath,a=e.fallbackPath,o=n.findTargetsByType(i).map((function(e){return w(s.joinPath(r,e),"/")})).filter((function(e){return t.exists(e)}));return 0===o.length?a:o[0]}function w(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function x(e){return function(t){return o(t,e.filename).then((function(t){return t?e.readElement(t):e.defaultValue}))}}function _(e,t,n){return x({filename:T(e),readElement:h.readRelationships,defaultValue:h.defaultValue})(t.docxFile).then((function(i){var r=new c({relationships:i,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return o(t.docxFile,e).then((function(e){return n(r,e)}))}))}function T(e){var t=s.splitPath(e);return s.joinPath(t.dirname,"_rels",t.basename+".rels")}var D=x({filename:"[Content_Types].xml",readElement:d.readContentTypesFromXml,defaultValue:d.defaultContentTypes});function A(e,t,n){return x({filename:t,readElement:function(e){return u.readNumberingXml(e,{styles:n})},defaultValue:u.defaultNumbering})(e)}function E(e,t){return x({filename:t,readElement:f.readStylesXml,defaultValue:f.defaultStyles})(e)}var k=x({filename:"_rels/.rels",readElement:h.readRelationships,defaultValue:h.defaultValue})},{"../documents":4,"../promises":23,"../results":25,"../zipfile":40,"./body-reader":5,"./comments-reader":6,"./content-types-reader":7,"./document-xml-reader":8,"./files":1,"./notes-reader":10,"./numbering-xml":11,"./office-xml-reader":12,"./relationships-reader":13,"./styles-reader":15}],10:[function(e,t,n){var i=e("../documents"),r=e("../results").Result;function a(e,t){function n(t){return r.combine(t.getElementsByTagName("w:"+e).filter(a).map(s))}function a(e){var t=e.attributes["w:type"];return"continuationSeparator"!==t&&"separator"!==t}function s(n){var r=n.attributes["w:id"];return t.readXmlElements(n.children).map((function(t){return i.Note({noteType:e,noteId:r,body:t})}))}return n}n.createFootnotesReader=a.bind(this,"footnote"),n.createEndnotesReader=a.bind(this,"endnote")},{"../documents":4,"../results":25}],11:[function(e,t,n){var i=e("underscore");function r(e,t,n){var r=i.flatten(i.values(t).map((function(e){return i.values(e.levels)}))),a=i.indexBy(r.filter((function(e){return null!=e.paragraphStyleId})),"paragraphStyleId");function s(i,r){var a=e[i];if(a){var o=t[a.abstractNumId];return o?null==o.numStyleLink?t[a.abstractNumId].levels[r]:s(n.findNumberingStyleById(o.numStyleLink).numId,r):null}return null}function o(e){return a[e]||null}return{findLevel:s,findLevelByParagraphStyleId:o}}function a(e,t){if(!t||!t.styles)throw new Error("styles is missing");var n=s(e);return new r(c(e),n,t.styles)}function s(e){var t={};return e.getElementsByTagName("w:abstractNum").forEach((function(e){var n=e.attributes["w:abstractNumId"];t[n]=o(e)})),t}function o(e){var t={};e.getElementsByTagName("w:lvl").forEach((function(e){var n=e.attributes["w:ilvl"],i=e.firstOrEmpty("w:numFmt").attributes["w:val"],r=e.firstOrEmpty("w:pStyle").attributes["w:val"];t[n]={isOrdered:"bullet"!==i,level:n,paragraphStyleId:r}}));var n=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:n}}function c(e){var t={};return e.getElementsByTagName("w:num").forEach((function(e){var n=e.attributes["w:numId"],i=e.first("w:abstractNumId").attributes["w:val"];t[n]={abstractNumId:i}})),t}n.readNumberingXml=a,n.Numbering=r,n.defaultNumbering=new r({},{})},{underscore:102}],12:[function(e,t,n){var i=e("underscore"),r=e("../promises"),a=e("../xml");n.read=o,n.readXmlFromZipFile=c;var s={ +// Transitional format +"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic", +// Strict format +"http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic", +// Common +"http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word", +// [MS-DOCX]: Word Extensions to the Office Open XML (.docx) File Format +// https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/b839fe1f-e1ca-4fa6-8c26-5954d0abbccd +"http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function o(e){return a.readString(e,s).then((function(e){return h(e)[0]}))}function c(e,t){return e.exists(t)?e.read(t,"utf-8").then(l).then(o):r.resolve(null)}function l(e){return e.replace(/^\uFEFF/g,"")}function h(e){return"element"===e.type?"mc:AlternateContent"===e.name?e.first("mc:Fallback").children:(e.children=i.flatten(e.children.map(h,!0)),[e]):[e]}},{"../promises":23,"../xml":35,underscore:102}],13:[function(e,t,n){function i(e){var t=[];return e.children.forEach((function(e){if("relationships:Relationship"===e.name){var n={relationshipId:e.attributes.Id,target:e.attributes.Target,type:e.attributes.Type};t.push(n)}})),new r(t)}function r(e){var t={};e.forEach((function(e){t[e.relationshipId]=e.target}));var n={};return e.forEach((function(e){n[e.type]||(n[e.type]=[]),n[e.type].push(e.target)})),{findTargetByRelationshipId:function(e){return t[e]},findTargetsByType:function(e){return n[e]||[]}}}n.readRelationships=i,n.defaultValue=new r([]),n.Relationships=r},{}],14:[function(e,t,n){var i=e("underscore"),r=e("../promises"),a=e("../xml");n.writeStyleMap=l,n.readStyleMap=f;var s="http://schemas.zwobble.org/mammoth/style-map",o="mammoth/style-map",c="/"+o;function l(e,t){return e.write(o,t),h(e).then((function(){return d(e)}))}function h(e){var t="word/_rels/document.xml.rels",n="http://schemas.openxmlformats.org/package/2006/relationships",i="{"+n+"}Relationship";return e.read(t,"utf8").then(a.readString).then((function(r){u(r.children,i,"Id",{Id:"rMammothStyleMap",Type:s,Target:c});var o={"":n};return e.write(t,a.writeString(r,o))}))}function d(e){var t="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",i="{"+n+"}Override";return e.read(t,"utf8").then(a.readString).then((function(r){u(r.children,i,"PartName",{PartName:c,ContentType:"text/prs.mammoth.style-map"});var s={"":n};return e.write(t,a.writeString(r,s))}))}function u(e,t,n,r){var s=i.find(e,(function(e){return e.name===t&&e.attributes[n]===r[n]}));s?s.attributes=r:e.push(a.element(t,r))}function f(e){return e.exists(o)?e.read(o,"utf8"):r.resolve(null)}},{"../promises":23,"../xml":35,underscore:102}],15:[function(e,t,n){function i(e,t,n,i){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return n[e]},findNumberingStyleById:function(e){return i[e]}}}function r(e){var t={},n={},r={},s={},c={paragraph:t,character:n,table:r};return e.getElementsByTagName("w:style").forEach((function(e){var t=a(e);if("numbering"===t.type)s[t.styleId]=o(e);else{var n=c[t.type];n&&(n[t.styleId]=t)}})),new i(t,n,r,s)}function a(e){return{type:e.attributes["w:type"],styleId:e.attributes["w:styleId"],name:s(e)}}function s(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function o(e){return{numId:e.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"]}}n.readStylesXml=r,n.Styles=i,n.defaultStyles=new i({},{}),i.EMPTY=new i({},{},{},{})},{}],16:[function(e,t,n){function i(e,t){return"/"===t.charAt(0)?t.substr(1):e+"/"+t}function r(e,t){var n=e.indexOf("#");return-1!==n&&(e=e.substring(0,n)),e+"#"+t}n.uriToZipEntryName=i,n.replaceFragment=r},{}],17:[function(e,t,n){var i=e("../styles/html-paths");function r(e,t,n){return s(i.element(e,t,{fresh:!1}),n)}function a(e,t,n){return s(i.element(e,t,{fresh:!0}),n)}function s(e,t){return{type:"element",tag:e,children:t||[]}}function o(e){return{type:"text",value:e}}var c={type:"forceWrite"};n.freshElement=a,n.nonFreshElement=r,n.elementWithTag=s,n.text=o,n.forceWrite=c;var l={br:!0,hr:!0,img:!0,input:!0};function h(e){return 0===e.children.length&&l[e.tag.tagName]}n.isVoidElement=h},{"../styles/html-paths":28}],18:[function(e,t,n){var i=e("./ast");function r(e,t){t.forEach((function(t){a(e,t)}))}function a(e,t){s[t.type](e,t)}n.freshElement=i.freshElement,n.nonFreshElement=i.nonFreshElement,n.elementWithTag=i.elementWithTag,n.text=i.text,n.forceWrite=i.forceWrite,n.simplify=e("./simplify");var s={element:o,text:c,forceWrite:function(){}};function o(e,t){i.isVoidElement(t)?e.selfClosing(t.tag.tagName,t.tag.attributes):(e.open(t.tag.tagName,t.tag.attributes),r(e,t.children),e.close(t.tag.tagName))}function c(e,t){e.text(t.value)}n.write=r},{"./ast":17,"./simplify":19}],19:[function(e,t,n){var i=e("underscore"),r=e("./ast");function a(e){return s(u(e))}function s(e){var t=[];return e.map(o).forEach((function(e){d(t,e)})),t}function o(e){return c[e.type](e)}var c={element:l,text:h,forceWrite:h};function l(e){return r.elementWithTag(e.tag,s(e.children))}function h(e){return e}function d(e,t){var n=e[e.length-1];"element"===t.type&&!t.tag.fresh&&n&&"element"===n.type&&t.tag.matchesElement(n.tag)?(t.tag.separator&&d(n.children,r.text(t.tag.separator)),t.children.forEach((function(e){d(n.children,e)}))):e.push(t)}function u(e){return f(e,(function(e){return p[e.type](e)}))}function f(e,t){return i.flatten(i.map(e,t),!0)}var p={element:m,text:b,forceWrite:g};function g(e){return[e]}function m(e){var t=u(e.children);return 0!==t.length||r.isVoidElement(e)?[r.elementWithTag(e.tag,t)]:[]}function b(e){return 0===e.value.length?[]:[e]}t.exports=a},{"./ast":17,underscore:102}],20:[function(e,t,n){var i=e("underscore"),r=e("./promises"),a=e("./html");function s(e){return function(t,n){return r.when(e(t)).then((function(e){var n={};return t.altText&&(n.alt=t.altText),i.extend(n,e),[a.freshElement("img",n)]}))}}n.imgElement=s,n.inline=n.imgElement,n.dataUri=s((function(e){return e.readAsBase64String().then((function(t){return{src:"data:"+e.contentType+";base64,"+t}}))}))},{"./html":18,"./promises":23,underscore:102}],21:[function(e,t,n){(function(t){var i=e("underscore"),r=e("./docx/docx-reader"),a=e("./docx/style-map"),s=e("./document-to-html").DocumentConverter,o=e("./raw-text").convertElementToRawText,c=e("./style-reader").readStyle,l=e("./options-reader").readOptions,h=e("./unzip"),d=e("./results").Result;function u(e,t){return p(e,t)}function f(e,t){var n=Object.create(t||{});return n.outputFormat="markdown",p(e,n)}function p(e,t){return t=l(t),h.openZip(e).tap((function(e){return a.readStyleMap(e).then((function(e){t.embeddedStyleMap=e}))})).then((function(n){return r.read(n,e).then((function(e){return e.map(t.transformDocument)})).then((function(e){return m(e,t)}))}))}function g(e){return h.openZip(e).then(a.readStyleMap)}function m(e,t){var n=b(t.readStyleMap()),r=i.extend({},t,{styleMap:n.value}),a=new s(r);return e.flatMapThen((function(e){return n.flatMapThen((function(t){return a.convertToHtml(e)}))}))}function b(e){return d.combine((e||[]).map(c)).map((function(e){return e.filter((function(e){return!!e}))}))}function v(e){return h.openZip(e).then(r.read).then((function(e){return e.map(o)}))}function y(e,n){return h.openZip(e).tap((function(e){return a.writeStyleMap(e,n)})).then((function(e){return e.toArrayBuffer()})).then((function(e){return{toArrayBuffer:function(){return e},toBuffer:function(){return t.from(e)}}}))}n.convertToHtml=u,n.convertToMarkdown=f,n.convert=p,n.extractRawText=v,n.images=e("./images"),n.transforms=e("./transforms"),n.underline=e("./underline"),n.embedStyleMap=y,n.readEmbeddedStyleMap=g,n.styleMapping=function(){throw new Error("Use a raw string instead of mammoth.styleMapping e.g. \"p[style-name='Title'] => h1\" instead of mammoth.styleMapping(\"p[style-name='Title'] => h1\")")}}).call(this,e("buffer").Buffer)},{"./document-to-html":3,"./docx/docx-reader":9,"./docx/style-map":14,"./images":20,"./options-reader":22,"./raw-text":24,"./results":25,"./style-reader":26,"./transforms":30,"./underline":31,"./unzip":2,buffer:83,underscore:102}],22:[function(e,t,n){n.readOptions=s;var i=e("underscore"),r=n._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>", +// LibreOffice +"p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh"],a=n._standardOptions={transformDocument:c,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function s(e){return e=e||{},i.extend({},a,e,{customStyleMap:o(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(r)),e}})}function o(e){return e?i.isString(e)?e.split("\n").map((function(e){return e.trim()})).filter((function(e){return""!==e&&"#"!==e.charAt(0)})):e:[]}function c(e){return e}},{underscore:102}],23:[function(e,t,n){var i=e("underscore"),r=e("bluebird/js/release/promise")();function a(){var e,t,n=new r.Promise((function(n,i){e=n,t=i}));return{resolve:e,reject:t,promise:n}}n.defer=a,n.when=r.resolve,n.resolve=r.resolve,n.all=r.all,n.props=r.props,n.reject=r.reject,n.promisify=r.promisify,n.mapSeries=r.mapSeries,n.attempt=r.attempt,n.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1);return r.promisify(e).apply(null,t)},r.prototype.fail=r.prototype.caught,r.prototype.also=function(e){return this.then((function(t){var n=i.extend({},t,e(t));return r.props(n)}))}},{"bluebird/js/release/promise":68,underscore:102}],24:[function(e,t,n){var i=e("./documents");function r(e){if("text"===e.type)return e.value;if(e.type===i.types.tab)return"\t";var t="paragraph"===e.type?"\n\n":"";return(e.children||[]).map(r).join("")+t}n.convertElementToRawText=r},{"./documents":4}],25:[function(e,t,n){var i=e("underscore");function r(e,t){this.value=e,this.messages=t||[]}function a(e){return new r(e,[])}function s(e){return{type:"warning",message:e}}function o(e){return{type:"error",message:e.message,error:e}}function c(e){var t=[];return i.flatten(i.pluck(e,"messages"),!0).forEach((function(e){l(t,e)||t.push(e)})),t}function l(e,t){return void 0!==i.find(e,h.bind(null,t))}function h(e,t){return e.type===t.type&&e.message===t.message}n.Result=r,n.success=a,n.warning=s,n.error=o,r.prototype.map=function(e){return new r(e(this.value),this.messages)},r.prototype.flatMap=function(e){var t=e(this.value);return new r(t.value,c([this,t]))},r.prototype.flatMapThen=function(e){var t=this;return e(this.value).then((function(e){return new r(e.value,c([t,e]))}))},r.combine=function(e){return new r(i.flatten(i.pluck(e,"value")),c(e))}},{underscore:102}],26:[function(e,t,n){var i=e("underscore"),r=e("lop"),a=e("./styles/document-matchers"),s=e("./styles/html-paths"),o=e("./styles/parser/tokeniser").tokenise,c=e("./results");function l(e){return T(E,e)}function h(){return r.rules.sequence(r.rules.sequence.capture(u()),r.rules.tokenOfType("whitespace"),r.rules.tokenOfType("arrow"),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("whitespace"),r.rules.sequence.capture(p())).head())),r.rules.tokenOfType("end")).map((function(e,t){return{from:e,to:t.valueOrElse(s.empty)}}))}function d(e){return T(u(),e)}function u(){var e=r.rules.sequence,t=function(e,t){return r.rules.then(r.rules.token("identifier",e),(function(){return t}))},n=t("p",a.paragraph),s=t("r",a.run),o=r.rules.firstOf("p or r or table",n,s),c=r.rules.sequence(r.rules.tokenOfType("dot"),r.rules.sequence.cut(),r.rules.sequence.capture(g)).map((function(e){return{styleId:e}})),l=r.rules.firstOf("style name matcher",r.rules.then(r.rules.sequence(r.rules.tokenOfType("equals"),r.rules.sequence.cut(),r.rules.sequence.capture(b)).head(),(function(e){return{styleName:a.equalTo(e)}})),r.rules.then(r.rules.sequence(r.rules.tokenOfType("startsWith"),r.rules.sequence.cut(),r.rules.sequence.capture(b)).head(),(function(e){return{styleName:a.startsWith(e)}}))),h=r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.token("identifier","style-name"),r.rules.sequence.capture(l),r.rules.tokenOfType("close-square-bracket")).head(),d=r.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),u=e(r.rules.tokenOfType("colon"),e.capture(d),e.cut(),r.rules.tokenOfType("open-paren"),e.capture(m),r.rules.tokenOfType("close-paren")).map((function(e,t){return{list:{isOrdered:e.isOrdered,levelIndex:t-1}}}));function f(e){var t=r.rules.firstOf.apply(r.rules.firstOf,["matcher suffix"].concat(e)),n=r.rules.zeroOrMore(t);return r.rules.then(n,(function(e){var t={};return e.forEach((function(e){i.extend(t,e)})),t}))}var p=e(e.capture(o),e.capture(f([c,h,u]))).map((function(e,t){return e(t)})),v=e(r.rules.token("identifier","table"),e.capture(f([c,h]))).map((function(e){return a.table(e)})),y=t("b",a.bold),w=t("i",a.italic),x=t("u",a.underline),_=t("strike",a.strikethrough),T=t("all-caps",a.allCaps),D=t("small-caps",a.smallCaps),A=e(r.rules.token("identifier","highlight"),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.token("identifier","color"),r.rules.tokenOfType("equals"),r.rules.sequence.capture(b),r.rules.tokenOfType("close-square-bracket")).head()))).map((function(e){return a.highlight({color:e.valueOrElse(void 0)})})),E=t("comment-reference",a.commentReference),k=e(r.rules.token("identifier","br"),e.cut(),r.rules.tokenOfType("open-square-bracket"),r.rules.token("identifier","type"),r.rules.tokenOfType("equals"),e.capture(b),r.rules.tokenOfType("close-square-bracket")).map((function(e){switch(e){case"line":return a.lineBreak;case"page":return a.pageBreak;case"column":return a.columnBreak}}));return r.rules.firstOf("element type",p,v,y,w,x,_,T,D,A,E,k)}function f(e){return T(p(),e)}function p(){var e=r.rules.sequence.capture,t=r.rules.tokenOfType("whitespace"),n=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("colon"),r.rules.token("identifier","fresh"))),(function(e){return e.map((function(){return!0})).valueOrElse(!1)})),i=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("colon"),r.rules.token("identifier","separator"),r.rules.tokenOfType("open-paren"),e(b),r.rules.tokenOfType("close-paren")).head()),(function(e){return e.valueOrElse("")})),a=r.rules.oneOrMoreWithSeparator(g,r.rules.tokenOfType("choice")),o=r.rules.sequence(e(a),e(r.rules.zeroOrMore(_)),e(n),e(i)).map((function(e,t,n,i){var r={},a={};return t.forEach((function(e){e.append&&r[e.name]?r[e.name]+=" "+e.value:r[e.name]=e.value})),n&&(a.fresh=!0),i&&(a.separator=i),s.element(e,r,a)}));return r.rules.firstOf("html path",r.rules.then(r.rules.tokenOfType("bang"),(function(){return s.ignore})),r.rules.then(r.rules.zeroOrMoreWithSeparator(o,r.rules.sequence(t,r.rules.tokenOfType("gt"),t)),s.elements))}n.readHtmlPath=f,n.readDocumentMatcher=d,n.readStyle=l;var g=r.rules.then(r.rules.tokenOfType("identifier"),y),m=r.rules.tokenOfType("integer"),b=r.rules.then(r.rules.tokenOfType("string"),y),v={n:"\n",r:"\r",t:"\t"};function y(e){return e.replace(/\\(.)/g,(function(e,t){return v[t]||t}))}var w=r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.sequence.capture(g),r.rules.tokenOfType("equals"),r.rules.sequence.capture(b),r.rules.tokenOfType("close-square-bracket")).map((function(e,t){return{name:e,value:t,append:!1}})),x=r.rules.sequence(r.rules.tokenOfType("dot"),r.rules.sequence.cut(),r.rules.sequence.capture(g)).map((function(e){return{name:"class",value:e,append:!0}})),_=r.rules.firstOf("attribute or class",w,x);function T(e,t){var n=o(t),i=r.Parser().parseTokens(e,n);return i.isSuccess()?c.success(i.value()):new c.Result(null,[c.warning(D(t,i))])}function D(e,t){return"Did not understand this style mapping, so ignored it: "+e+"\n"+t.errors().map(A).join("\n")}function A(e){return"Error was at character number "+e.characterNumber()+": Expected "+e.expected+" but got "+e.actual}var E=h()},{"./results":25,"./styles/document-matchers":27,"./styles/html-paths":28,"./styles/parser/tokeniser":29,lop:89,underscore:102}],27:[function(e,t,n){function i(e){return new o("paragraph",e)}function r(e){return new o("run",e)}function a(e){return new o("table",e)}function s(e){return new c(e)}function o(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}function c(e){e=e||{},this._color=e.color}function l(e){e=e||{},this._breakType=e.breakType}function h(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function d(e){return{operator:f,operand:e}}function u(e){return{operator:p,operand:e}}function f(e,t){return e.toUpperCase()===t.toUpperCase()}function p(e,t){return 0===t.toUpperCase().indexOf(e.toUpperCase())}n.paragraph=i,n.run=r,n.table=a,n.bold=new o("bold"),n.italic=new o("italic"),n.underline=new o("underline"),n.strikethrough=new o("strikethrough"),n.allCaps=new o("allCaps"),n.smallCaps=new o("smallCaps"),n.highlight=s,n.commentReference=new o("commentReference"),n.lineBreak=new l({breakType:"line"}),n.pageBreak=new l({breakType:"page"}),n.columnBreak=new l({breakType:"column"}),n.equalTo=d,n.startsWith=u,o.prototype.matches=function(e){return e.type===this._elementType&&(void 0===this._styleId||e.styleId===this._styleId)&&(void 0===this._styleName||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(void 0===this._listIndex||h(e,this._listIndex,this._listIsOrdered))&&(void 0===this._breakType||this._breakType===e.breakType)},c.prototype.matches=function(e){return"highlight"===e.type&&(void 0===this._color||e.color===this._color)},l.prototype.matches=function(e){return"break"===e.type&&(void 0===this._breakType||e.breakType===this._breakType)}},{}],28:[function(e,t,n){var i=e("underscore"),r=e("../html");function a(e,t){return s([c(e,t,{fresh:!0})])}function s(e){return new o(e.map((function(e){return i.isString(e)?c(e):e})))}function o(e){this._elements=e}function c(e,t,n){return new l(e,t,n=n||{})}function l(e,t,n){var r={};i.isArray(e)?(e.forEach((function(e){r[e]=!0})),e=e[0]):r[e]=!0,this.tagName=e,this.tagNames=r,this.attributes=t||{},this.fresh=n.fresh,this.separator=n.separator}n.topLevelElement=a,n.elements=s,n.element=c,o.prototype.wrap=function(e){for(var t=e(),n=this._elements.length-1;n>=0;n--)t=this._elements[n].wrapNodes(t);return t},l.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&i.isEqual(this.attributes||{},e.attributes||{})},l.prototype.wrap=function(e){return this.wrapNodes(e())},l.prototype.wrapNodes=function(e){return[r.elementWithTag(this,e)]},n.empty=s([]),n.ignore={wrap:function(){return[]}}},{"../html":18,underscore:102}],29:[function(e,t,n){var i=e("lop").RegexTokeniser;n.tokenise=a;var r="'((?:\\\\.|[^'])*)";function a(e){var t="(?:[a-zA-Z\\-_]|\\\\.)";return new i([{name:"identifier",regex:new RegExp("("+t+"(?:"+t+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(r+"'")},{name:"unterminated-string",regex:new RegExp(r)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]).tokenise(e)}},{lop:89}],30:[function(e,t,n){var i=e("underscore");function r(e){return s("paragraph",e)}function a(e){return s("run",e)}function s(e,t){return o((function(n){return n.type===e?t(n):n}))}function o(e){return function t(n){if(n.children){var r=i.map(n.children,t);n=i.extend(n,{children:r})}return e(n)}}function c(e,t){return l(e).filter((function(e){return e.type===t}))}function l(e){var t=[];return h(e,(function(e){t.push(e)})),t}function h(e,t){e.children&&e.children.forEach((function(e){h(e,t),t(e)}))}n.paragraph=r,n.run=a,n._elements=o,n.getDescendantsOfType=c,n.getDescendants=l},{underscore:102}],31:[function(e,t,n){var i=e("./styles/html-paths"),r=e("./html");function a(e){return function(t){return r.elementWithTag(i.element(e),[t])}}n.element=a},{"./html":18,"./styles/html-paths":28}],32:[function(e,t,n){var i=e("underscore");function r(e){return(e=e||{}).prettyPrint?s():o()}n.writer=r;var a={div:!0,p:!0,ul:!0,li:!0};function s(){var e=0,t=" ",n=[],r=!0,s=!1,c=o();function l(t,i){a[t]&&g(),n.push(t),c.open(t,i),a[t]&&e++,r=!1}function h(t){a[t]&&(e--,g()),n.pop(),c.close(t)}function d(e){p();var n=m()?e:e.replace("\n","\n"+t);c.text(n)}function u(e,t){g(),c.selfClosing(e,t)}function f(){return 0===n.length||a[n[n.length-1]]}function p(){s||(g(),s=!0)}function g(){if(s=!1,!r&&f()&&!m()){c._append("\n");for(var n=0;n")}function n(t){e.push("")}function r(t,n){var i=a(n);e.push("<"+t+i+" />")}function a(e){return i.map(e,(function(e,t){return" "+t+'="'+l(e)+'"'})).join("")}function s(t){e.push(c(t))}function o(t){e.push(t)}function h(){return e.join("")}return{asString:h,open:t,close:n,text:s,selfClosing:r,_append:o}}function c(e){return e.replace(/&/g,"&").replace(//g,">")}function l(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}},{underscore:102}],33:[function(e,t,n){var i=e("./html-writer"),r=e("./markdown-writer");function a(e){return"markdown"===(e=e||{}).outputFormat?r.writer():i.writer(e)}n.writer=a},{"./html-writer":32,"./markdown-writer":34}],34:[function(e,t,n){var i=e("underscore");function r(e){return a(e,e)}function a(e,t){return function(){return{start:e,end:t}}}function s(e){var t=e.href||"";return t?{start:"[",end:"]("+t+")",anchorPosition:"before"}:{}}function o(e){var t=e.src||"",n=e.alt||"";return t||n?{start:"!["+n+"]("+t+")"}:{}}function c(e){return function(t,n){return{start:n?"\n":"",end:n?"":"\n",list:{isOrdered:e.isOrdered,indent:n?n.indent+1:0,count:0}}}}function l(e,t,n){(t=t||{indent:0,isOrdered:!1,count:0}).count++,n.hasClosed=!1;var i=t.isOrdered?t.count+".":"-";return{start:d("\t",t.indent)+i+" ",end:function(){if(!n.hasClosed)return n.hasClosed=!0,"\n"}}}var h={p:a("","\n\n"),br:a(""," \n"),ul:c({isOrdered:!1}),ol:c({isOrdered:!0}),li:l,strong:r("__"),em:r("*"),a:s,img:o};function d(e,t){return new Array(t+1).join(e)}function u(){var e=[],t=[],n=null,r={};function a(i,a){a=a||{};var o=(h[i]||function(){return{}})(a,n,r);t.push({end:o.end,list:n}),o.list&&(n=o.list);var c="before"===o.anchorPosition;c&&s(a),e.push(o.start||""),c||s(a)}function s(t){t.id&&e.push('')}function o(r){var a=t.pop();n=a.list;var s=i.isFunction(a.end)?a.end():a.end;e.push(s||"")}function c(e,t){a(e,t),o()}function l(t){e.push(f(t))}function d(){return e.join("")}return{asString:d,open:a,close:o,text:l,selfClosing:c}}function f(e){return e.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}!function(){for(var e=1;e<=6;e++)h["h"+e]=a(d("#",e)+" ","\n\n")}(),n.writer=u},{underscore:102}],35:[function(e,t,n){var i=e("./nodes");n.Element=i.Element,n.element=i.element,n.emptyElement=i.emptyElement,n.text=i.text,n.readString=e("./reader").readString,n.writeString=e("./writer").writeString},{"./nodes":36,"./reader":37,"./writer":38}],36:[function(e,t,n){var i=e("underscore");n.Element=a,n.element=function(e,t,n){return new a(e,t,n)},n.text=function(e){return{type:"text",value:e}};var r=n.emptyElement={first:function(){return null},firstOrEmpty:function(){return r},attributes:{},children:[]};function a(e,t,n){this.type="element",this.name=e,this.attributes=t||{},this.children=n||[]}a.prototype.first=function(e){return i.find(this.children,(function(t){return t.name===e}))},a.prototype.firstOrEmpty=function(e){return this.first(e)||r},a.prototype.getElementsByTagName=function(e){return o(i.filter(this.children,(function(t){return t.name===e})))},a.prototype.text=function(){if(0===this.children.length)return"";if(1!==this.children.length||"text"!==this.children[0].type)throw new Error("Not implemented");return this.children[0].value};var s={getElementsByTagName:function(e){return o(i.flatten(this.map((function(t){return t.getElementsByTagName(e)}),!0)))}};function o(e){return i.extend(e,s)}},{underscore:102}],37:[function(e,t,n){var i=e("../promises"),r=e("underscore"),a=e("./xmldom"),s=e("./nodes"),o=s.Element;n.readString=l;var c=a.Node;function l(e,t){t=t||{};try{var n=a.parseFromString(e,"text/xml")}catch(u){return i.reject(u)}if("parsererror"===n.documentElement.tagName)return i.resolve(new Error(n.documentElement.textContent));function l(e){switch(e.nodeType){case c.ELEMENT_NODE:return h(e);case c.TEXT_NODE:return s.text(e.nodeValue)}}function h(e){var t=d(e),n=[];r.forEach(e.childNodes,(function(e){var t=l(e);t&&n.push(t)}));var i={};return r.forEach(e.attributes,(function(e){i[d(e)]=e.value})),new o(t,i,n)}function d(e){if(e.namespaceURI){var n=t[e.namespaceURI];return(n?n+":":"{"+e.namespaceURI+"}")+e.localName}return e.localName}return i.resolve(l(n.documentElement))}},{"../promises":23,"./nodes":36,"./xmldom":39,underscore:102}],38:[function(e,t,n){var i=e("underscore"),r=e("xmlbuilder");function a(e,t){var n=i.invert(t),a={element:c,text:s};function o(e,t){return a[t.type](e,t)}function c(e,t){var n=e.element(l(t.name),t.attributes);t.children.forEach((function(e){o(n,e)}))}function l(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(t){var i=n[t[1]];return i+(""===i?"":":")+t[2]}return e}function h(e){var n=r.create(l(e.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return i.forEach(t,(function(e,t){var i="xmlns"+(""===t?"":":"+t);n.attribute(i,e)})),e.children.forEach((function(e){o(n,e)})),n.end()}return h(e)}function s(e,t){e.text(t.value)}n.writeString=a},{underscore:102,xmlbuilder:124}],39:[function(e,t,n){var i=e("@xmldom/xmldom"),r=e("@xmldom/xmldom/lib/dom");function a(e){var t=null,n=new i.DOMParser({errorHandler:function(e,n){t={level:e,message:n}}}).parseFromString(e);if(null===t)return n;throw new Error(t.level+": "+t.message)}n.parseFromString=a,n.Node=r.Node},{"@xmldom/xmldom":45,"@xmldom/xmldom/lib/dom":43}],40:[function(e,t,n){var i=e("base64-js"),r=e("jszip");function a(e){return r.loadAsync(e).then((function(e){function t(t){return null!==e.file(t)}function n(t,n){return e.file(t).async("uint8array").then((function(e){return"base64"===n?i.fromByteArray(e):n?new TextDecoder(n).decode(e):e}))}function r(t,n){e.file(t,n)}function a(){return e.generateAsync({type:"arraybuffer"})}return{exists:t,read:n,write:r,toArrayBuffer:a}}))}function s(e){var t=e.lastIndexOf("/");return-1===t?{dirname:"",basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function o(){var e=Array.prototype.filter.call(arguments,(function(e){return e})),t=[];return e.forEach((function(e){/^\//.test(e)?t=[e]:t.push(e)})),t.join("/")}n.openArrayBuffer=a,n.splitPath=s,n.joinPath=o},{"base64-js":47,jszip:88}],41:[function(e,t,n){function i(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var i=0;i=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}u.prototype.parseFromString=function(e,t){var n=this.options,i=new h,r=n.domBuilder||new p,s=n.errorHandler,o=n.locator,l=n.xmlns||{},u=/\/x?html?$/.test(t),g=u?a.HTML_ENTITIES:a.XML_ENTITIES;o&&r.setDocumentLocator(o),i.errorHandler=f(s,r,o),i.domBuilder=n.domBuilder||r,u&&(l[""]=c.HTML),l.xml=l.xml||c.XML;var m=n.normalizeLineEndings||d;return e&&"string"==typeof e?i.parse(m(e),l,g):i.errorHandler.error("invalid doc source"),r.doc},p.prototype={startDocument:function(){this.doc=(new o).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,i){var r=this.doc,a=r.createElementNS(e,n||t),s=i.length;v(this,a),this.currentElement=a,this.locator&&g(this.locator,a);for(var o=0;o=0))throw new F(C,new Error(e.tagName+"@"+n));for(var r=t.length-1;i"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function z(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(z(e,t))return!0}while(e=e.nextSibling)}function H(){this.ownerDocument=this}function V(e,t,n){e&&e._inc++,n.namespaceURI===a.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}function G(e,t,n,i){e&&e._inc++,n.namespaceURI===a.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function X(e,t,n){if(e&&e._inc){e._inc++;var i=t.childNodes;if(n)i[i.length++]=n;else{for(var r=t.firstChild,a=0;r;)i[a++]=r,r=r.nextSibling;i.length=a,delete i[i.length]}}}function $(e,t){var n=t.previousSibling,i=t.nextSibling;return n?n.nextSibling=i:e.firstChild=i,i?i.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,X(e.ownerDocument,e),t}function q(e){return e&&(e.nodeType===B.DOCUMENT_NODE||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.ELEMENT_NODE)}function Y(e){return e&&(Z(e)||J(e)||K(e)||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.COMMENT_NODE||e.nodeType===B.PROCESSING_INSTRUCTION_NODE)}function K(e){return e&&e.nodeType===B.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===B.ELEMENT_NODE}function J(e){return e&&e.nodeType===B.TEXT_NODE}function Q(e,t){var n=e.childNodes||[];if(r(n,Z)||K(t))return!1;var i=r(n,K);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function ee(e,t){var n=e.childNodes||[];function i(e){return Z(e)&&e!==t}if(r(n,i))return!1;var a=r(n,K);return!(t&&a&&n.indexOf(a)>n.indexOf(t))}function te(e,t,n){if(!q(e))throw new F(S,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new F(C,"child not in parent");if( +// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a "HierarchyRequestError" DOMException. +!Y(t)||// 5. If either `node` is a Text node and `parent` is a document, +// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0 +// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE) +// or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException. +K(t)&&e.nodeType!==B.DOCUMENT_NODE)throw new F(S,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function ne(e,t,n){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var s=a.filter(Z);if(s.length>1||r(a,J))throw new F(S,"More than one element or text in fragment");if(1===s.length&&!Q(e,n))throw new F(S,"Element in fragment can not be inserted before doctype")}if(Z(t)&&!Q(e,n))throw new F(S,"Only one element can be added and only after doctype");if(K(t)){if(r(i,K))throw new F(S,"Only one doctype is allowed");var o=r(i,Z);if(n&&i.indexOf(o)1||r(a,J))throw new F(S,"More than one element or text in fragment");if(1===s.length&&!ee(e,n))throw new F(S,"Element in fragment can not be inserted before doctype")}if(Z(t)&&!ee(e,n))throw new F(S,"Only one element can be added and only after doctype");if(K(t)){if(r(i,(function(e){return K(e)&&e!==n})))throw new F(S,"Only one doctype is allowed");var o=r(i,Z);if(n&&i.indexOf(o)=0;f--)if(""===(y=r[f]).prefix&&y.namespace===e.namespaceURI){d=y.namespace;break}if(d!==e.namespaceURI)for(f=r.length-1;f>=0;f--){var y;if((y=r[f]).namespace===e.namespaceURI){y.prefix&&(h=y.prefix+":"+l);break}}}t.push("<",h);for(var A=0;A"),n&&/^script$/i.test(l))for(;c;)c.data?t.push(c.data):_e(c,t,n,i,r.slice()),c=c.nextSibling;else for(;c;)_e(c,t,n,i,r.slice()),c=c.nextSibling;t.push("")}else t.push("/>");return;case _:case D:for(c=e.firstChild;c;)_e(c,t,n,i,r.slice()),c=c.nextSibling;return;case g:return xe(t,e.name,e.value);case m:return t.push(e.data.replace(/[<&>]/g,j));case b:return t.push("");case x:return t.push("\x3c!--",e.data,"--\x3e");case T:var C=e.publicId,U=e.systemId;if(t.push("");else if(U&&"."!=U)t.push(" SYSTEM ",U,">");else{var F=e.internalSubset;F&&t.push(" [",F,"]"),t.push(">")}return;case w:return t.push("");case v:return t.push("&",e.nodeName,";"); +//case ENTITY_NODE: +//case NOTATION_NODE: +default:t.push("??",e.nodeName)}}function Te(e,t,n){var i;switch(t.nodeType){case p:(i=t.cloneNode(!1)).ownerDocument=e; +//var attrs = node2.attributes; +//var len = attrs.length; +//for(var i=0;i0}, +/** + * Look up the prefix associated to the given namespace URI, starting from this node. + * **The default namespace declarations are ignored by this method.** + * See Namespace Prefix Lookup for details on the algorithm used by this method. + * + * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._ + * + * @param {string | null} namespaceURI + * @returns {string | null} + * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix + * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo + * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix + * @see https://github.com/xmldom/xmldom/issues/322 + */ +lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&n[i]===e)return i;t=t.nodeType==g?t.ownerDocument:t.parentNode}return null}, +// Introduced in DOM Level 3: +lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==g?t.ownerDocument:t.parentNode}return null}, +// Introduced in DOM Level 3: +isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},d(f,B),d(f,B.prototype),H.prototype={ +//implementation : null, +nodeName:"#document",nodeType:_, +/** + * The DocumentType node of the document. + * + * @readonly + * @type DocumentType + */ +doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==D){for(var n=e.firstChild;n;){var i=n.nextSibling;this.insertBefore(n,t),n=i}return e}return re(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),$(this,e)},replaceChild:function(e,t){re(this,e,t,ie),e.ownerDocument=this,t&&this.removeChild(t),Z(e)&&(this.documentElement=e)}, +// Introduced in DOM Level 2: +importNode:function(e,t){return Te(this,e,t)}, +// Introduced in DOM Level 2: +getElementById:function(e){var t=null;return z(this.documentElement,(function(n){if(n.nodeType==p&&n.getAttribute("id")==e)return t=n,!0})),t}, +/** + * The `getElementsByClassName` method of `Document` interface returns an array-like object + * of all child elements which have **all** of the given class name(s). + * + * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters. + * + * + * Warning: This is a live LiveNodeList. + * Changes in the DOM will reflect in the array as the changes occur. + * If an element selected by this array no longer qualifies for the selector, + * it will automatically be removed. Be aware of this for iteration purposes. + * + * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName + * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname + */ +getElementsByClassName:function(e){var t=l(e);return new R(this,(function(n){var i=[];return t.length>0&&z(n.documentElement,(function(r){if(r!==n&&r.nodeType===p){var a=r.getAttribute("class");if(a){var s=e===a;if(!s){var o=l(a);s=t.every(h(o))}s&&i.push(r)}}})),i}))}, +//document factory method: +createElement:function(e){var t=new se;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new M,(t.attributes=new O)._ownerElement=t,t},createDocumentFragment:function(){var e=new me;return e.ownerDocument=this,e.childNodes=new M,e},createTextNode:function(e){var t=new le;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new he;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new de;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new be;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new oe;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ge;return t.ownerDocument=this,t.nodeName=e,t}, +// Introduced in DOM Level 2: +createElementNS:function(e,t){var n=new se,i=t.split(":"),r=n.attributes=new O;return n.childNodes=new M,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=t,r._ownerElement=n,n}, +// Introduced in DOM Level 2: +createAttributeNS:function(e,t){var n=new oe,i=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=t,n}},u(H,B),se.prototype={nodeType:p,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)}, +//four real opeartion method +appendChild:function(e){return e.nodeType===D?this.insertBefore(e,null):ae(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)}, +//get real attribute name,and remove it by removeAttributeNode +removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var i=this.ownerDocument.createAttributeNS(e,t);i.value=i.nodeValue=""+n,this.setAttributeNode(i)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new R(this,(function(t){var n=[];return z(t,(function(i){i===t||i.nodeType!=p||"*"!==e&&i.tagName!=e||n.push(i)})),n}))},getElementsByTagNameNS:function(e,t){return new R(this,(function(n){var i=[];return z(n,(function(r){r===n||r.nodeType!==p||"*"!==e&&r.namespaceURI!==e||"*"!==t&&r.localName!=t||i.push(r)})),i}))}},H.prototype.getElementsByTagName=se.prototype.getElementsByTagName,H.prototype.getElementsByTagNameNS=se.prototype.getElementsByTagNameNS,u(se,B),oe.prototype.nodeType=g,u(oe,B),ce.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(k[S])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},u(ce,B),le.prototype={nodeName:"#text",nodeType:m,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var i=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},u(le,ce),he.prototype={nodeName:"#comment",nodeType:x},u(he,ce),de.prototype={nodeName:"#cdata-section",nodeType:b},u(de,ce),ue.prototype.nodeType=T,u(ue,B),fe.prototype.nodeType=A,u(fe,B),pe.prototype.nodeType=y,u(pe,B),ge.prototype.nodeType=v,u(ge,B),me.prototype.nodeName="#document-fragment",me.prototype.nodeType=D,u(me,B),be.prototype.nodeType=w,u(be,B),ve.prototype.serializeToString=function(e,t,n){return ye.call(e,t,n)},B.prototype.toString=ye;try{if(Object.defineProperty){let e=function(t){switch(t.nodeType){case p:case D:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}};Object.defineProperty(R.prototype,"length",{get:function(){return I(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return e(this)},set:function(e){switch(this.nodeType){case p:case D:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Ae=function(e,t,n){e["$$"+t]=n}}}catch(Ee){}n.DocumentType=ue,n.DOMException=F,n.DOMImplementation=W,n.Element=se,n.Node=B,n.NodeList=M,n.XMLSerializer=ve},{"./conventions":41}],44:[function(e,t,n){var i=e("./conventions").freeze;n.XML_ENTITIES=i({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),n.HTML_ENTITIES=i({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),n.entityMap=n.HTML_ENTITIES},{"./conventions":41}],45:[function(e,t,n){var i=e("./dom");n.DOMImplementation=i.DOMImplementation,n.XMLSerializer=i.XMLSerializer,n.DOMParser=e("./dom-parser").DOMParser},{"./dom":43,"./dom-parser":42}],46:[function(e,t,n){var i=e("./conventions").NAMESPACE,r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+r.source+a.source+"*(?::"+r.source+a.source+"*)?$"),o=0,c=1,l=2,h=3,d=4,u=5,f=6,p=7;function g(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,g)}function m(){}function b(e,t,n,r,a){function s(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function o(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?s(parseInt(t.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function c(t){if(t>b){var n=e.substring(b,t).replace(/&#?\w+;/g,o);f&&l(b),r.characters(n,0,t-b),b=t}}function l(t,n){for(;t>=d&&(n=u.exec(e));)h=n.index,d=h+n[0].length,f.lineNumber++;f.columnNumber=t-h+1}for(var h=0,d=0,u=/.*(?:\r\n?|\n)|.*$/g,f=r.locator,p=[{currentNSMap:t}],m={},b=0;;){try{var T=e.indexOf("<",b);if(T<0){if(!e.substr(b).match(/^\s*$/)){var k=r.doc,S=k.createTextNode(e.substr(b));k.appendChild(S),r.currentElement=S}return}switch(T>b&&c(T),e.charAt(T+1)){case"/":var C=e.indexOf(">",T+3),U=e.substring(T+2,C).replace(/[ \t\n\r]+$/g,""),F=p.pop();C<0?(U=e.substring(T+2).replace(/[\s<].*/,""),a.error("end tag name: "+U+" is not complete:"+F.tagName),C=T+1+U.length):U.match(/\sb?b=C:c(Math.max(T,b)+1)}}function v(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function y(e,t,n,r,a,s){function g(e,t,i){n.attributeNames.hasOwnProperty(e)&&s.fatalError("Attribute "+e+" redefined"),n.addValue(e, +// @see https://www.w3.org/TR/xml/#AVNormalize +// since the xmldom sax parser does not "interpret" DTD the following is not implemented: +// - recursive replacement of (DTD) entity references +// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA +t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),i)}for(var m,b=++t,v=o;;){var y=e.charAt(b);switch(y){case"=":if(v===c)m=e.slice(t,b),v=h;else{if(v!==l)throw new Error("attribute equal must after attrName");v=h}break;case"'":case'"':if(v===h||v===c){if(v===c&&(s.warning('attribute value must after "="'),m=e.slice(t,b)),t=b+1,!((b=e.indexOf(y,t))>0))throw new Error("attribute value no end '"+y+"' match");g(m,w=e.slice(t,b),t-1),v=u}else{if(v!=d)throw new Error('attribute value must after "="');g(m,w=e.slice(t,b),t),s.warning('attribute "'+m+'" missed start quot('+y+")!!"),t=b+1,v=u}break;case"/":switch(v){case o:n.setTagName(e.slice(t,b));case u:case f:case p:v=p,n.closed=!0;case d:case c:case l:break; +//case S_EQ: +default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),v==o&&n.setTagName(e.slice(t,b)),b;case">":switch(v){case o:n.setTagName(e.slice(t,b));case u:case f:case p:break; +//normal +case d: +//Compatible state +case c:"/"===(w=e.slice(t,b)).slice(-1)&&(n.closed=!0,w=w.slice(0,-1));case l:v===l&&(w=m),v==d?(s.warning('attribute "'+w+'" missed quot(")!'),g(m,w,t)):(i.isHTML(r[""])&&w.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+w+'" missed value!! "'+w+'" instead!!'),g(w,w,t));break;case h:throw new Error("attribute value missed!!")}return b; +/*xml space '\x20' | #x9 | #xD | #xA; */case"€":y=" ";default:if(y<=" ")switch(v){case o:n.setTagName(e.slice(t,b)),v=f;break;case c:m=e.slice(t,b),v=l;break;case d:var w=e.slice(t,b);s.warning('attribute "'+w+'" missed quot(")!!'),g(m,w,t);case u:v=f}else switch(v){ +//case S_TAG:void();break; +//case S_ATTR:void();break; +//case S_ATTR_NOQUOT_VALUE:void();break; +case l:n.tagName,i.isHTML(r[""])&&m.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+m+'" missed value!! "'+m+'" instead2!!'),g(m,m,t),t=b,v=c;break;case u:s.warning('attribute space is required"'+m+'"!!');case f:v=c,t=b;break;case h:v=d,t=b;break;case p:throw new Error("elements closed character '/' and '>' must be connected to")}}b++}}function w(e,t,n){for(var r=e.tagName,a=null,s=e.length;s--;){var o=e[s],c=o.qName,l=o.value;if((f=c.indexOf(":"))>0)var h=o.prefix=c.slice(0,f),d=c.slice(f+1),u="xmlns"===h&&d;else d=c,h=null,u="xmlns"===c&&"";o.localName=d,!1!==u&&(null==a&&(a={},T(n,n={})),n[u]=a[u]=l,o.uri=i.XMLNS,t.startPrefixMapping(u,l))}for(s=e.length;s--;)(h=(o=e[s]).prefix)&&("xml"===h&&(o.uri=i.XML),"xmlns"!==h&&(o.uri=n[h||""]));var f;(f=r.indexOf(":"))>0?(h=e.prefix=r.slice(0,f),d=e.localName=r.slice(f+1)):(h=null,d=e.localName=r);var p=e.uri=n[h||""];if(t.startElement(p,d,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=a,!0;if(t.endElement(p,d,r),a)for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&t.endPrefixMapping(h)}function x(e,t,n,i,r){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf("",t),s=e.substring(t+1,a);if(/[&<]/.test(s))return/^script$/i.test(n)?(r.characters(s,0,s.length),a):(s=s.replace(/&#?\w+;/g,i),r.characters(s,0,s.length),a)}return t+1}function _(e,t,n,i){var r=i[n];return null==r&&((r=e.lastIndexOf(""))t?(n.comment(e,t+4,r-t-4),r+3):(i.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var r=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,r-t-9),n.endCDATA(),r+3}var a=k(e,t),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var o=a[1][0],c=!1,l=!1;s>3&&(/^public$/i.test(a[2][0])?(c=a[3][0],l=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var h=a[s-1];return n.startDTD(o,c,l),n.endDTD(),h.index+h[0].length}return-1}function A(e,t,n){var i=e.indexOf("?>",t);if(i){var r=e.substring(t,i).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return r?(r[0].length,n.processingInstruction(r[1],r[2]),i+2):-1}return-1}function E(){this.attributeNames={}}function k(e,t){var n,i=[],r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(r.lastIndex=t,r.exec(e);n=r.exec(e);)if(i.push(n),n[1])return i}g.prototype=new Error,g.prototype.name=g.name,m.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),T(t,t={}),b(e,t,n,i,this.errorHandler),i.endDocument()}},E.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!s.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value} +// ,getIndex:function(uri, localName)){ +// if(localName){ + +// }else{ +// var qName = uri +// } +// }, +// getValue:function(){return this.getValue(this.getIndex.apply(this,arguments))}, +// getType:function(uri,localName){} +// getType:function(i){}, +},n.XMLReader=m,n.ParseError=g},{"./conventions":41}],47:[function(e,t,n){n.byteLength=h,n.toByteArray=u,n.fromByteArray=g;for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=s.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function h(e){var t=l(e),n=t[0],i=t[1];return 3*(n+i)/4-i}function d(e,t,n){return 3*(t+n)/4-n}function u(e){var t,n,i=l(e),s=i[0],o=i[1],c=new a(d(e,s,o)),h=0,u=o>0?s-4:s;for(n=0;n>16&255,c[h++]=t>>8&255,c[h++]=255&t;return 2===o&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[h++]=255&t),1===o&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[h++]=t>>8&255,c[h++]=255&t),c}function f(e){return i[e>>18&63]+i[e>>12&63]+i[e>>6&63]+i[63&e]}function p(e,t,n){for(var i,r=[],a=t;ac?c:o+s));return 1===r?(t=e[n-1],a.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],a.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"=")),a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},{}],48:[function(e,t,n){t.exports=function(e){var t=e._SomePromiseArray;function n(e){var n=new t(e),i=n.promise();return n.setHowMany(1),n.setUnwrap(),n.init(),i}e.any=function(e){return n(e)},e.prototype.any=function(){return n(this)}}},{}],49:[function(e,t,n){(function(n){var i;try{throw new Error}catch(d){i=d}var r=e("./schedule"),a=e("./queue"),s=e("./util");function o(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new a(16),this._normalQueue=new a(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=r}function c(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function l(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function h(e){this._normalQueue._pushOne(e),this._queueTick()}o.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},o.prototype.hasCustomScheduler=function(){return this._customScheduler},o.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},o.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this._trampolineEnabled=!1)},o.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},o.prototype.fatalError=function(e,t){t?(n.stderr.write("Fatal "+(e instanceof Error?e.stack:e)+"\n"),n.exit(2)):this.throwLater(e)},o.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout((function(){e(t)}),0);else try{this._schedule((function(){e(t)}))}catch(d){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(o.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?c.call(this,e,t,n):this._schedule((function(){setTimeout((function(){e.call(t,n)}),100)}))},o.prototype.invoke=function(e,t,n){this._trampolineEnabled?l.call(this,e,t,n):this._schedule((function(){e.call(t,n)}))},o.prototype.settlePromises=function(e){this._trampolineEnabled?h.call(this,e):this._schedule((function(){e._settlePromises()}))}):(o.prototype.invokeLater=c,o.prototype.invoke=l,o.prototype.settlePromises=h),o.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if("function"==typeof t){var n=e.shift(),i=e.shift();t.call(n,i)}else t._settlePromises()}},o.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},o.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},o.prototype._reset=function(){this._isTickUsed=!1},t.exports=o,t.exports.firstLineError=i}).call(this,e("_process"))},{"./queue":72,"./schedule":75,"./util":82,_process:101}],50:[function(e,t,n){t.exports=function(e,t,n,i){var r=!1,a=function(e,t){this._reject(t)},s=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(a,a,null,this,e)},o=function(e,t){50397184&this._bitField||this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(a){r||(r=!0,e.prototype._propagateFrom=i.propagateFromFunction(),e.prototype._boundValue=i.boundValueFunction());var l=n(a),h=new e(t);h._propagateFrom(this,1);var d=this._target();if(h._setBoundTo(l),l instanceof e){var u={promiseRejectionQueued:!1,promise:h,target:d,bindingPromise:l};d._then(t,s,void 0,h,u),l._then(o,c,void 0,h,u),h._setOnCancel(l)}else h._resolveCallback(d);return h},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return!(2097152&~this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],51:[function(e,t,n){var i=Object.create;if(i){var r=i(null),a=i(null);r[" size"]=a[" size"]=0}t.exports=function(t){var n,i,s=e("./util"),o=s.canEvaluate,c=s.isIdentifier,l=function(e){return new Function("ensureMethod"," \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g,e))(u)},h=function(e){return new Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",e))},d=function(e,t,n){var i=n[e];if("function"!=typeof i){if(!c(e))return null;if(i=t(e),n[e]=i,n[" size"]++,n[" size"]>512){for(var r=Object.keys(n),a=0;a<256;++a)delete n[r[a]];n[" size"]=r.length-256}}return i};function u(e,n){var i;if(null!=e&&(i=e[n]),"function"!=typeof i){var r="Object "+s.classString(e)+" has no method '"+s.toString(n)+"'";throw new t.TypeError(r)}return i}function f(e){return u(e,this.pop()).apply(e,this)}function p(e){return e[this]}function g(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}n=function(e){return d(e,l,r)},i=function(e){return d(e,h,a)},t.prototype.call=function(e){for(var t=arguments.length,i=new Array(Math.max(t-1,0)),r=1;r0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(a.isArray(e))for(var n=0;n=0)return n[e]}return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},i.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,n.push(this._trace))},i.prototype._popContext=function(){if(void 0!==this._trace){var e=n.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},i.CapturedTrace=null,i.create=r,i.deactivateLongStackTraces=function(){},i.activateLongStackTraces=function(){var n=e.prototype._pushContext,r=e.prototype._popContext,s=e._peekContext,o=e.prototype._peekContext,c=e.prototype._promiseCreated;i.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=r,e._peekContext=s,e.prototype._peekContext=o,e.prototype._promiseCreated=c,t=!1},t=!0,e.prototype._pushContext=i.prototype._pushContext,e.prototype._popContext=i.prototype._popContext,e._peekContext=e.prototype._peekContext=a,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},i}},{}],55:[function(e,t,n){(function(n){t.exports=function(t,i){var r,a,s,o=t._getDomain,c=t._async,l=e("./errors").Warning,h=e("./util"),d=h.canAttachTrace,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,f=/\((?:timers\.js):\d+:\d+\)/,p=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,g=null,m=null,b=!1,v=!(0==h.env("BLUEBIRD_DEBUG")||!h.env("BLUEBIRD_DEBUG")&&"development"!==h.env("NODE_ENV")),y=!(0==h.env("BLUEBIRD_WARNINGS")||!v&&!h.env("BLUEBIRD_WARNINGS")),w=!(0==h.env("BLUEBIRD_LONG_STACK_TRACES")||!v&&!h.env("BLUEBIRD_LONG_STACK_TRACES")),x=0!=h.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(y||!!h.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){524288&this._bitField||(this._setRejectionIsUnhandled(),c.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){K("rejectionHandled",r,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return!!(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),K("unhandledRejection",a,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,n){return z(e,t,n||this)},t.onPossiblyUnhandledRejection=function(e){var t=o();a="function"==typeof e?null===t?e:h.domainBind(t,e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();r="function"==typeof e?null===t?e:h.domainBind(t,e):void 0};var _=function(){};t.longStackTraces=function(){if(c.haveItemsQueued()&&!se.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!se.longStackTraces&&Q()){var e=t.prototype._captureStackTrace,n=t.prototype._attachExtraTrace;se.longStackTraces=!0,_=function(){if(c.haveItemsQueued()&&!se.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=n,i.deactivateLongStackTraces(),c.enableTrampoline(),se.longStackTraces=!1},t.prototype._captureStackTrace=L,t.prototype._attachExtraTrace=W,i.activateLongStackTraces(),c.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return se.longStackTraces&&Q()};var T=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return h.global.dispatchEvent(e),function(e,t){var n=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!h.global.dispatchEvent(n)}}return"function"==typeof Event?(e=new Event("CustomEvent"),h.global.dispatchEvent(e),function(e,t){var n=new Event(e.toLowerCase(),{cancelable:!0});return n.detail=t,!h.global.dispatchEvent(n)}):((e=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),h.global.dispatchEvent(e),function(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!h.global.dispatchEvent(n)})}catch(t){}return function(){return!1}}(),D=h.isNode?function(){return n.emit.apply(n,arguments)}:h.global?function(e){var t="on"+e.toLowerCase(),n=h.global[t];return!!n&&(n.apply(h.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function A(e,t){return{promise:t}}var E={promiseCreated:A,promiseFulfilled:A,promiseRejected:A,promiseResolved:A,promiseCancelled:A,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:A},k=function(e){var t=!1;try{t=D.apply(null,arguments)}catch(i){c.throwLater(i),t=!0}var n=!1;try{n=T(e,E[e].apply(null,arguments))}catch(i){c.throwLater(i),n=!0}return n||t};function S(){return!1}function C(e,t,n){var i=this;try{e(t,n,(function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+h.toString(e));i._attachCancellationCallback(e)}))}catch(r){return r}}function U(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?h.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function F(){return this._onCancelField}function M(e){this._onCancelField=e}function R(){this._cancellationParent=void 0,this._onCancelField=void 0}function I(e,t){if(1&t){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}2&t&&e._isBound()&&this._setBoundTo(e._boundTo)}function O(e,t){2&t&&e._isBound()&&this._setBoundTo(e._boundTo)}t.config=function(e){if("longStackTraces"in(e=Object(e))&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&_()),"warnings"in e){var n=e.warnings;se.warnings=!!n,x=se.warnings,h.isObject(n)&&"wForgottenReturn"in n&&(x=!!n.wForgottenReturn)}if("cancellation"in e&&e.cancellation&&!se.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=R,t.prototype._propagateFrom=I,t.prototype._onCancel=F,t.prototype._setOnCancel=M,t.prototype._attachCancellationCallback=U,t.prototype._execute=C,N=I,se.cancellation=!0}return"monitoring"in e&&(e.monitoring&&!se.monitoring?(se.monitoring=!0,t.prototype._fireEvent=k):!e.monitoring&&se.monitoring&&(se.monitoring=!1,t.prototype._fireEvent=S)),t},t.prototype._fireEvent=S,t.prototype._execute=function(e,t,n){try{e(t,n)}catch(i){return i}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var N=O;function P(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function L(){this._trace=new re(this._peekContext())}function W(e,t){if(d(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=q(e);h.notEnumerableProp(e,"stack",i.message+"\n"+i.stack.join("\n")),h.notEnumerableProp(e,"__stackCleaned__",!0)}}}function B(e,t,n,i,r){if(void 0===e&&null!==t&&x){if(void 0!==r&&r._returnedNonUndefined())return;if(!(65535&i._bitField))return;n&&(n+=" ");var a="",s="";if(t._trace){for(var o=t._trace.stack.split("\n"),c=X(o),l=c.length-1;l>=0;--l){var h=c[l];if(!f.test(h)){var d=h.match(p);d&&(a="at "+d[1]+":"+d[2]+":"+d[3]+" ");break}}if(c.length>0){var u=c[0];for(l=0;l0&&(s="\n"+o[l-1]);break}}}var g="a promise was created in a "+n+"handler "+a+"but was not returned from it, see http://goo.gl/rRqMUw"+s;i._warn(g,!0,t)}}function j(e,t){var n=e+" is deprecated and will be removed in a future version.";return t&&(n+=" Use "+t+" instead."),z(n)}function z(e,n,i){if(se.warnings){var r,a=new l(e);if(n)i._attachExtraTrace(a);else if(se.longStackTraces&&(r=t._peekContext()))r.attachExtraTrace(a);else{var s=q(a);a.stack=s.message+"\n"+s.stack.join("\n")}k("warning",a)||Y(a,"",!0)}}function H(e,t){for(var n=0;n=0;--o)if(i[o]===a){s=o;break}for(o=s;o>=0;--o){var c=i[o];if(t[r]!==c)break;t.pop(),r--}t=i}}function X(e){for(var t=[],n=0;n0&&"SyntaxError"!=e.name&&(t=t.slice(n)),t}function q(e){var t=e.stack,n=e.toString();return t="string"==typeof t&&t.length>0?$(e):[" (No stack trace)"],{message:n,stack:"SyntaxError"==e.name?t:X(t)}}function Y(e,t,n){if("undefined"!=typeof console){var i;if(h.isObject(e)){var r=e.stack;i=t+m(r,e)}else i=t+String(e);"function"==typeof s?s(i,n):"function"==typeof console.log||console.log}}function K(e,t,n,i){var r=!1;try{"function"==typeof t&&(r=!0,"rejectionHandled"===e?t(i):t(n,i))}catch(a){c.throwLater(a)}"unhandledRejection"===e?k(e,n,i)||r||Y(n,"Unhandled rejection "):k(e,i)}function Z(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{if(t=e&&"function"==typeof e.toString?e.toString():h.toString(e),/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(n){}0===t.length&&(t="(empty array)")}return"(<"+J(t)+">, no stack trace)"}function J(e){var t=41;return e.length=o||(ee=function(e){if(u.test(e))return!0;var t=ne(e);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=o)})}}function re(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ae(this,re),t>32&&this.uncycle()}h.inherits(re,Error),i.CapturedTrace=re,re.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},i=0,r=this;void 0!==r;++i)t.push(r),r=r._parent;for(i=(e=this._length=i)-1;i>=0;--i){var a=t[i].stack;void 0===n[a]&&(n[a]=i)}for(i=0;i0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[i]._parent=void 0,t[i]._length=1;var o=i>0?t[i-1]:this;s=0;--l)t[l]._length=c,c++;return}}}},re.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=q(e),n=t.message,i=[t.stack],r=this;void 0!==r;)i.push(X(r.stack.split("\n"))),r=r._parent;G(i),V(i),h.notEnumerableProp(e,"stack",H(n,i)),h.notEnumerableProp(e,"__stackCleaned__",!0)}};var ae=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():Z(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,g=e,m=t;var n=Error.captureStackTrace;return ee=function(e){return u.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var i,r=new Error;if("string"==typeof r.stack&&r.stack.split("\n")[0].indexOf("stackDetection@")>=0)return g=/@/,m=t,b=!0,function(e){e.stack=(new Error).stack};try{throw new Error}catch(a){i="stack"in a}return!("stack"in r)&&i&&"number"==typeof Error.stackTraceLimit?(g=e,m=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(a){e.stack=a.stack}Error.stackTraceLimit-=6}):(m=function(e,t){return"string"==typeof e?e:"object"!=typeof t&&"function"!=typeof t||void 0===t.name||void 0===t.message?Z(t):t.toString()},null)}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(e){},h.isNode&&n.stderr.isTTY?s=function(e,t){}:h.isNode||"string"!=typeof(new Error).stack||(s=function(e,t){}));var se={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return w&&t.longStackTraces(),{longStackTraces:function(){return se.longStackTraces},warnings:function(){return se.warnings},cancellation:function(){return se.cancellation},monitoring:function(){return se.monitoring},propagateFromFunction:function(){return N},boundValueFunction:function(){return P},checkForgottenReturns:B,setBounds:ie,warn:z,deprecated:j,CapturedTrace:re,fireDomEvent:T,fireGlobalEvent:D}}}).call(this,e("_process"))},{"./errors":58,"./util":82,_process:101}],56:[function(e,t,n){t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],i=function(){throw t};return this.caught(e,i)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var i=arguments[1];i instanceof e&&i.suppressUnhandledRejections();var r=function(){return i};return this.caught(n,r)}}},{}],57:[function(e,t,n){t.exports=function(e,t){var n=e.reduce,i=e.all;function r(){return i(this)}function a(e,i){return n(e,i,t,t)}e.prototype.each=function(e){return n(this,e,t,0)._then(r,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return n(this,e,t,t)},e.each=function(e,i){return n(e,i,t,0)._then(r,void 0,void 0,e,void 0)},e.mapSeries=a}},{}],58:[function(e,t,n){var i,r,a=e("./es5"),s=a.freeze,o=e("./util"),c=o.inherits,l=o.notEnumerableProp;function h(e,t){function n(i){if(!(this instanceof n))return new n(i);l(this,"message","string"==typeof i?i:t),l(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(n,Error),n}var d=h("Warning","warning"),u=h("CancellationError","cancellation error"),f=h("TimeoutError","timeout error"),p=h("AggregateError","aggregate error");try{i=TypeError,r=RangeError}catch(w){i=h("TypeError","type error"),r=h("RangeError","range error")}for(var g="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function l(){return d.call(this,this.promise._target()._settledValue())}function h(e){if(!c(this,e))return a.e=e,a}function d(e){var i=this.promise,s=this.handler;if(!this.called){this.called=!0;var d=this.isFinallyHandler()?s.call(i._boundValue()):s.call(i._boundValue(),e);if(void 0!==d){i._setReturnedNonUndefined();var u=n(d,i);if(u instanceof t){if(null!=this.cancelPromise){if(u._isCancelled()){var f=new r("late cancellation observer");return i._attachExtraTrace(f),a.e=f,a}u.isPending()&&u._attachCancellationCallback(new o(this))}return u._then(l,h,void 0,this,void 0)}}}return i.isRejected()?(c(this),a.e=e,a):(c(this),e)}return s.prototype.isFinallyHandler=function(){return 0===this.type},o.prototype._resultCancelled=function(){c(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return"function"!=typeof e?this.then():this._then(n,i,void 0,new s(this,t,e),void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThrough(e,0,d,d)},t.prototype.tap=function(e){return this._passThrough(e,1,d)},s}},{"./util":82}],62:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o=e("./errors").TypeError,c=e("./util"),l=c.errorObj,h=c.tryCatch,d=[];function u(e,n,i){for(var a=0;a0&&"function"==typeof arguments[a]&&(e=arguments[a],a<=8&&l)){(_=new t(r))._captureStackTrace();for(var h=new(0,g[a-1])(e),d=m,u=0;u=1?s:0,a).promise()}c.inherits(u,n),u.prototype._asyncInit=function(){this._init$(void 0,-2)},u.prototype._init=function(){},u.prototype._promiseFulfilled=function(e,n){var i=this._values,a=this.length(),o=this._preservedValues,c=this._limit;if(n<0){if(i[n=-1*n-1]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return i[n]=e,this._queue.push(n),!1;null!==o&&(o[n]=e);var d=this._promise,u=this._callback,f=d._boundValue();d._pushContext();var p=l(u).call(f,e,n,a),g=d._popContext();if(s.checkForgottenReturns(p,g,null!==o?"Promise.filter":"Promise.map",d),p===h)return this._reject(p.e),!0;var m=r(p,this._promise);if(m instanceof t){var b=(m=m._target())._bitField;if(!(50397184&b))return c>=1&&this._inFlight++,i[n]=m,m._proxy(this,-1*(n+1)),!1;if(!(33554432&b))return 16777216&b?(this._reject(m._reason()),!0):(this._cancel(),!0);p=m._value()}i[n]=p}return++this._totalResolved>=a&&(null!==o?this._filter(i,o):this._resolve(i),!0)},u.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight1){a.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1],h=arguments[2];i=s.isArray(l)?o(e).apply(h,l):o(e).call(h,l)}else i=o(e)();var d=c._popContext();return a.checkForgottenReturns(i,d,"Promise.try",c),c._resolveFromSyncValue(i),c},t.prototype._resolveFromSyncValue=function(e){e===s.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{"./util":82}],66:[function(e,t,n){var i=e("./util"),r=i.maybeWrapAsError,a=e("./errors").OperationalError,s=e("./es5");function o(e){return e instanceof Error&&s.getPrototypeOf(e)===Error.prototype}var c=/^(?:name|message|stack|cause)$/;function l(e){var t;if(o(e)){(t=new a(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var n=s.keys(e),r=0;r1){var n,i=new Array(t-1),r=0;for(n=0;n0&&"function"!=typeof e&&"function"!=typeof t){var n=".then() only accepts functions but was passed: "+l.classString(e);arguments.length>1&&(n+=", "+l.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},U.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()},U.prototype.spread=function(e){return"function"!=typeof e?a("expecting a function but got "+l.classString(e)):this.all()._then(e,void 0,void 0,b,void 0)},U.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},U.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new w(this).promise()},U.prototype.error=function(e){return this.caught(l.originatesFromRejection,e)},U.getNewLibraryCopy=t.exports,U.is=function(e){return e instanceof U},U.fromNode=U.fromCallback=function(e){var t=new U(m);t._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,i=S(e)(E(t,n));return i===k&&t._rejectCallback(i.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},U.all=function(e){return new w(e).promise()},U.cast=function(e){var t=y(e);return t instanceof U||((t=new U(m))._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},U.resolve=U.fulfilled=U.cast,U.reject=U.rejected=function(e){var t=new U(m);return t._captureStackTrace(),t._rejectCallback(e,!0),t},U.setScheduler=function(e){if("function"!=typeof e)throw new p("expecting a function but got "+l.classString(e));return u.setScheduler(e)},U.prototype._then=function(e,t,n,i,r){var a=void 0!==r,s=a?r:new U(m),c=this._target(),h=c._bitField;a||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===i&&2097152&this._bitField&&(i=50397184&h?this._boundValue():c===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var d=o();if(50397184&h){var f,p,b=c._settlePromiseCtx;33554432&h?(p=c._rejectionHandler0,f=e):16777216&h?(p=c._fulfillmentHandler0,f=t,c._unsetRejectionIsUnhandled()):(b=c._settlePromiseLateCancellationObserver,p=new g("late cancellation observer"),c._attachExtraTrace(p),f=t),u.invoke(b,c,{handler:null===d?f:"function"==typeof f&&l.domainBind(d,f),promise:s,receiver:i,value:p})}else c._addCallbacks(e,t,s,i,d);return s},U.prototype._length=function(){return 65535&this._bitField},U.prototype._isFateSealed=function(){return!!(117506048&this._bitField)},U.prototype._isFollowing=function(){return!(67108864&~this._bitField)},U.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},U.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},U.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},U.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},U.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},U.prototype._isFinal=function(){return(4194304&this._bitField)>0},U.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},U.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},U.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},U.prototype._setAsyncGuaranteed=function(){u.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},U.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==c)return void 0===t&&this._isBound()?this._boundValue():t},U.prototype._promiseAt=function(e){return this[4*e-4+2]},U.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},U.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},U.prototype._boundValue=function(){},U.prototype._migrateCallback0=function(e){e._bitField;var t=e._fulfillmentHandler0,n=e._rejectionHandler0,i=e._promise0,r=e._receiverAt(0);void 0===r&&(r=c),this._addCallbacks(t,n,i,r,null)},U.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),i=e._rejectionHandlerAt(t),r=e._promiseAt(t),a=e._receiverAt(t);void 0===a&&(a=c),this._addCallbacks(n,i,r,a,null)},U.prototype._addCallbacks=function(e,t,n,i,r){var a=this._length();if(a>=65531&&(a=0,this._setLength(0)),0===a)this._promise0=n,this._receiver0=i,"function"==typeof e&&(this._fulfillmentHandler0=null===r?e:l.domainBind(r,e)),"function"==typeof t&&(this._rejectionHandler0=null===r?t:l.domainBind(r,t));else{var s=4*a-4;this[s+2]=n,this[s+3]=i,"function"==typeof e&&(this[s+0]=null===r?e:l.domainBind(r,e)),"function"==typeof t&&(this[s+1]=null===r?t:l.domainBind(r,t))}return this._setLength(a+1),a},U.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},U.prototype._resolveCallback=function(e,t){if(!(117506048&this._bitField)){if(e===this)return this._rejectCallback(i(),!1);var n=y(e,this);if(!(n instanceof U))return this._fulfill(e);t&&this._propagateFrom(n,2);var r=n._target();if(r!==this){var a=r._bitField;if(50397184&a)if(33554432&a)this._fulfill(r._value());else if(16777216&a)this._reject(r._reason());else{var s=new g("late cancellation observer");r._attachExtraTrace(s),this._reject(s)}else{var o=this._length();o>0&&r._migrateCallback0(this);for(var c=1;c>>16)){if(e===this){var n=i();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(134217728&t?this._settlePromises():u.settlePromises(this))}},U.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=e,this._isFinal())return u.fatalError(e,l.isNode);(65535&t)>0?u.settlePromises(this):this._ensurePossibleRejectionHandled()}},U.prototype._fulfillPromises=function(e,t){for(var n=1;n0){if(16842752&e){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var i=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,i,e),this._fulfillPromises(t,i)}this._setLength(0)}this._clearCancellationData()},U.prototype._settledValue=function(){var e=this._bitField;return 33554432&e?this._rejectionHandler0:16777216&e?this._fulfillmentHandler0:void 0},U.defer=U.pending=function(){return T.deprecated("Promise.defer","new Promise"),{promise:new U(m),resolve:F,reject:M}},l.notEnumerableProp(U,"_makeSelfResolutionError",i),e("./method")(U,m,y,a,T),e("./bind")(U,m,y,T),e("./cancel")(U,w,a,T),e("./direct_resolve")(U),e("./synchronous_inspection")(U),e("./join")(U,w,y,m,u,o),U.Promise=U,U.version="3.4.7",e("./map.js")(U,w,a,y,m,T),e("./call_get.js")(U),e("./using.js")(U,a,y,_,m,T),e("./timers.js")(U,m,T),e("./generators.js")(U,a,m,y,s,T),e("./nodeify.js")(U),e("./promisify.js")(U,m),e("./props.js")(U,w,y,a),e("./race.js")(U,m,y,a),e("./reduce.js")(U,w,a,y,m,T),e("./settle.js")(U,w,T),e("./some.js")(U,w,a),e("./filter.js")(U,m),e("./each.js")(U,m),e("./any.js")(U),l.toFastProperties(U),l.toFastProperties(U.prototype),R({a:1}),R({b:2}),R({c:3}),R(1),R((function(){})),R(void 0),R(!1),R(new U(m)),T.setBounds(d.firstLineError,l.lastLineError),U}}).call(this,e("_process"))},{"./any.js":48,"./async":49,"./bind":50,"./call_get.js":51,"./cancel":52,"./catch_filter":53,"./context":54,"./debuggability":55,"./direct_resolve":56,"./each.js":57,"./errors":58,"./es5":59,"./filter.js":60,"./finally":61,"./generators.js":62,"./join":63,"./map.js":64,"./method":65,"./nodeback":66,"./nodeify.js":67,"./promise_array":69,"./promisify.js":70,"./props.js":71,"./race.js":73,"./reduce.js":74,"./settle.js":76,"./some.js":77,"./synchronous_inspection":78,"./thenables":79,"./timers.js":80,"./using.js":81,"./util":82,_process:101}],69:[function(e,t,n){t.exports=function(t,n,i,r,a){var s=e("./util");function o(e){switch(e){case-2:return[];case-3:return{}}}function c(e){var i=this._promise=new t(n);e instanceof t&&i._propagateFrom(e,3),i._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return s.isArray,s.inherits(c,a),c.prototype.length=function(){return this._length},c.prototype.promise=function(){return this._promise},c.prototype._init=function e(n,a){var c=i(this._values,this._promise);if(c instanceof t){var l=(c=c._target())._bitField;if(this._values=c,!(50397184&l))return this._promise._setAsyncGuaranteed(),c._then(e,this._reject,void 0,this,a);if(!(33554432&l))return 16777216&l?this._reject(c._reason()):this._cancel();c=c._value()}if(null!==(c=s.asArray(c)))0!==c.length?this._iterate(c):-5===a?this._resolveEmptyArray():this._resolve(o(a));else{var h=r("expecting an array or an iterable object but got "+s.classString(c)).reason();this._promise._rejectCallback(h,!1)}},c.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var r=this._promise,a=!1,s=null,o=0;o=this._length&&(this._resolve(this._values),!0)},c.prototype._promiseCancelled=function(){return this._cancel(),!0},c.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},c.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n=n;--i)t.push(i);for(i=e+1;i<=3;++i)t.push(i);return t},x=function(e){return r.filledRange(e,"_arg","")},_=function(e){return r.filledRange(Math.max(e,3),"_arg","")},T=function(e){return"number"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};function D(e,c,l,h,d,u){var f=function(){return this}(),p=e;function g(){var r=c;c===i&&(r=this);var l=new t(n);l._captureStackTrace();var h="string"==typeof p&&this!==f?this[p]:e,d=a(l,u);try{h.apply(r,s(arguments,d))}catch(g){l._rejectCallback(o(g),!0,!0)}return l._isFateSealed()||l._setAsyncGuaranteed(),l}return"string"==typeof p&&(e=h),r.notEnumerableProp(g,"__isPromisified__",!0),g}var A=c?function(e,c,l,h,d,u){var f=Math.max(0,T(h)-1),p=w(f),g="string"==typeof e||c===i;function m(e){var t=x(e).join(", "),n=e>0?", ":"";return(g?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===c?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n").replace("{{args}}",t).replace(", ",n)}function b(){for(var e="",t=0;t=this._length){var n;if(this._isMap)n=h(this._values);else{n={};for(var i=this.length(),r=0,a=this.length();r>1},t.prototype.props=function(){return u(this)},t.props=function(e){return u(e)}}},{"./es5":59,"./util":82}],72:[function(e,t,n){function i(e,t,n,i,r){for(var a=0;a=this._length&&(this._resolve(this._values),!0)},a.prototype._promiseFulfilled=function(e,t){var n=new r;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},a.prototype._promiseRejected=function(e,t){var n=new r;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return i.deprecated(".settle()",".reflect()"),new a(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":82}],77:[function(e,t,n){t.exports=function(t,n,i){var r=e("./util"),a=e("./errors").RangeError,s=e("./errors").AggregateError,o=r.isArray,c={};function l(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function h(e,t){if((0|t)!==t||t<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new l(e),r=n.promise();return n.setHowMany(t),n.init(),r}r.inherits(l,n),l.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=o(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(e){this._howMany=e},l.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},l.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(c),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new s,t=this.length();t0?this._reject(e):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(e){this._values.push(e)},l.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new a(t)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return h(e,t)},t.prototype.some=function(e){return h(this,e)},t._SomePromiseArray=l}},{"./errors":58,"./util":82}],78:[function(e,t,n){t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=t.prototype.isFulfilled=function(){return!!(33554432&this._bitField)},a=t.prototype.isRejected=function(){return!!(16777216&this._bitField)},s=t.prototype.isPending=function(){return!(50397184&this._bitField)},o=t.prototype.isResolved=function(){return!!(50331648&this._bitField)};t.prototype.isCancelled=function(){return!!(8454144&this._bitField)},e.prototype.__isCancelled=function(){return!(65536&~this._bitField)},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return!!(8454144&this._target()._bitField)},e.prototype.isPending=function(){return s.call(this._target())},e.prototype.isRejected=function(){return a.call(this._target())},e.prototype.isFulfilled=function(){return r.call(this._target())},e.prototype.isResolved=function(){return o.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),i.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],79:[function(e,t,n){t.exports=function(t,n){var i=e("./util"),r=i.errorObj,a=i.isObject;function s(e,i){if(a(e)){if(e instanceof t)return e;var s=c(e);if(s===r){i&&i._pushContext();var o=t.reject(s.e);return i&&i._popContext(),o}if("function"==typeof s)return h(e)?(o=new t(n),e._then(o._fulfill,o._reject,void 0,o,null),o):d(e,s,i)}return e}function o(e){return e.then}function c(e){try{return o(e)}catch(t){return r.e=t,r}}var l={}.hasOwnProperty;function h(e){try{return l.call(e,"_promise0")}catch(t){return!1}}function d(e,a,s){var o=new t(n),c=o;s&&s._pushContext(),o._captureStackTrace(),s&&s._popContext();var l=!0,h=i.tryCatch(a).call(e,d,u);function d(e){o&&(o._resolveCallback(e),o=null)}function u(e){o&&(o._rejectCallback(e,l,!0),o=null)}return l=!1,o&&h===r&&(o._rejectCallback(h.e,!0,!0),o=null),c}return s}},{"./util":82}],80:[function(e,t,n){t.exports=function(t,n,i){var r=e("./util"),a=t.TimeoutError;function s(e){this.handle=e}s.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(e){return c(+this).thenReturn(e)},c=t.delay=function(e,r){var a,c;return void 0!==r?(a=t.resolve(r)._then(o,null,null,e,void 0),i.cancellation()&&r instanceof t&&a._setOnCancel(r)):(a=new t(n),c=setTimeout((function(){a._fulfill()}),+e),i.cancellation()&&a._setOnCancel(new s(c)),a._captureStackTrace()),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return c(e,this)};var l=function(e,t,n){var i;i="string"!=typeof t?t instanceof Error?t:new a("operation timed out"):new a(t),r.markAsOriginatingFromRejection(i),e._attachExtraTrace(i),e._reject(i),null!=n&&n.cancel()};function h(e){return clearTimeout(this.handle),e}function d(e){throw clearTimeout(this.handle),e}t.prototype.timeout=function(e,t){var n,r;e=+e;var a=new s(setTimeout((function(){n.isPending()&&l(n,t,r)}),e));return i.cancellation()?(r=this.then(),(n=r._then(h,d,void 0,a,void 0))._setOnCancel(a)):n=this._then(h,d,void 0,a,void 0),n}}},{"./util":82}],81:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o=e("./util"),c=e("./errors").TypeError,l=e("./util").inherits,h=o.errorObj,d=o.tryCatch,u={};function f(e){setTimeout((function(){throw e}),0)}function p(e){var t=i(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function g(e,n){var r=0,s=e.length,o=new t(a);function c(){if(r>=s)return o._fulfill();var a=p(e[r++]);if(a instanceof t&&a._isDisposable()){try{a=i(a._getDisposer().tryDispose(n),e.promise)}catch(l){return f(l)}if(a instanceof t)return a._then(c,f,null,null,null)}c()}return c(),o}function m(e,t,n){this._data=e,this._promise=t,this._context=n}function b(e,t,n){this.constructor$(e,t,n)}function v(e){return m.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function y(e){this.length=e,this.promise=null,this[e-1]=null}m.prototype.data=function(){return this._data},m.prototype.promise=function(){return this._promise},m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():u},m.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var i=t!==u?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,i},m.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},l(b,m),b.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},y.prototype._resultCancelled=function(){for(var e=this.length,n=0;n0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new b(e,this,r());throw new c}}},{"./errors":58,"./util":82}],82:[function(e,t,n){(function(n,i){var r,a=e("./es5"),s="undefined"==typeof navigator,o={e:{}},c="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i?i:void 0!==this?this:null;function l(){try{var e=r;return r=null,e.apply(this,arguments)}catch(t){return o.e=t,o}}function h(e){return r=e,l}var d=function(e,t){var n={}.hasOwnProperty;function i(){for(var i in this.constructor=e,this.constructor$=t,t.prototype)n.call(t.prototype,i)&&"$"!==i.charAt(i.length-1)&&(this[i+"$"]=t.prototype[i])}return i.prototype=t.prototype,e.prototype=new i,e.prototype};function u(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function f(e){return"function"==typeof e||"object"==typeof e&&null!==e}function p(e){return u(e)?new Error(E(e)):e}function g(e,t){var n,i=e.length,r=new Array(i+1);for(n=0;n1,i=t.length>0&&!(1===t.length&&"constructor"===t[0]),r=w.test(e+"")&&a.names(e).length>0;if(n||i||r)return!0}return!1}catch(s){return!1}}function _(e){return e}var T=/^[a-z$_][a-z$_0-9]*$/i;function D(e){return T.test(e)}function A(e,t,n){for(var i=new Array(e),r=0;r10||j[0]>0),z.isNode&&z.toFastProperties(n);try{throw new Error}catch(H){z.lastLineError=H}t.exports=z}).call(this,e("_process"),void 0!==eh?eh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./es5":59,_process:101}],83:[function(e,t,n){(function(t){var i=e("base64-js"),r=e("ieee754"),a=e("isarray");function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&// typed array instances can be augmented +"function"==typeof e.subarray&&// chrome 9-10 lack `subarray` +0===e.subarray(1,1).byteLength}catch(t){return!1}}function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),l.alloc(+e)}function w(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(i)return K(e).length;t=(""+t).toLowerCase(),i=!0}}function x(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function _(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function T(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:D(e,t,n,i,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):D(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function D(e,t,n,i,r){var a,s=1,o=e.length,c=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s=2,o/=2,c/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var h=-1;for(a=n;ao&&(n=o-c),a=n;a>=0;a--){for(var d=!0,u=0;ur&&(i=r):i=r;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var s=0;s239?4:l>223?3:l>191?2:1;if(r+d<=n)switch(d){case 1:l<128&&(h=l);break;case 2:128==(192&(a=e[r+1]))&&(c=(31&l)<<6|63&a)>127&&(h=c);break;case 3:a=e[r+1],s=e[r+2],128==(192&a)&&128==(192&s)&&(c=(15&l)<<12|(63&a)<<6|63&s)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:a=e[r+1],s=e[r+2],o=e[r+3],128==(192&a)&&128==(192&s)&&128==(192&o)&&(c=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&c<1114112&&(h=c)}null===h?(h=65533,d=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),r+=d}return I(i)}n.Buffer=l,n.SlowBuffer=y,n.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),n.kMaxLength=o(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return h(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return u(null,e,t,n)},l.allocUnsafe=function(e){return f(null,e)},l.allocUnsafeSlow=function(e){return f(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,a=Math.min(n,i);r0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(r>>>=0)-(i>>>=0),s=(n>>>=0)-(t>>>=0),o=Math.min(a,s),c=this.slice(i,r),h=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var R=4096;function I(e){var t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);for(var n="",i=0;ii)&&(n=i);for(var r="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function B(e,t,n,i,r,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function j(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function z(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function H(e,t,n,i,r,a){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(e,t,n,i,a){return a||H(e,t,n,4),r.write(e,t,n,i,23,4),n+4}function G(e,t,n,i,a){return a||H(e,t,n,8),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return t||W(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||W(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||W(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||W(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||W(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||W(e,t,this.length);for(var i=this[e],r=1,a=0;++a=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||W(e,t,this.length);for(var i=t,r=1,a=this[e+--i];i>0&&(r*=256);)a+=this[e+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||W(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||W(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||W(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||W(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||W(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||W(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||W(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||W(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||W(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||B(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+r]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):z(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):z(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);B(this,e,t,n,r-1,-r)}var a=0,s=1,o=0;for(this[t]=255&e;++a=0&&(s*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/s|0)-o&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):z(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):z(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return V(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return V(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return G(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return G(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function Z(e){for(var t=[],n=0;n>8,r=n%256,a.push(r),a.push(i);return a}function Q(e){return i.toByteArray($(e))}function ee(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function te(e){return e!=e}}).call(this,void 0!==eh?eh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":47,ieee754:86,isarray:87}],84:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var i=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];n.default=i},{}],85:[function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.hex=n.dec=n.codePoint=void 0;for(var r=i(e("./dingbats")),a={},s=String.fromCodePoint?String.fromCodePoint:g,o=0,c=r.default;o>1,h=-7,d=n?r-1:0,u=n?-1:1,f=e[t+d];for(d+=u,a=f&(1<<-h)-1,f>>=-h,h+=o;h>0;a=256*a+e[t+d],d+=u,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=i;h>0;s=256*s+e[t+d],d+=u,h-=8);if(0===a)a=1-l;else{if(a===c)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,i),a-=l}return(f?-1:1)*s*Math.pow(2,a-i)},n.write=function(e,t,n,i,r,a){var s,o,c,l=8*a-r-1,h=(1<>1,u=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:a-1,p=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=h):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+d>=1?u/c:u*Math.pow(2,1-d))*c>=2&&(s++,c/=2),s+d>=h?(o=0,s=h):s+d>=1?(o=(t*c-1)*Math.pow(2,r),s+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;e[n+f]=255&o,f+=p,o/=256,r-=8);for(s=s<0;e[n+f]=255&s,f+=p,s/=256,l-=8);e[n+f-p]|=128*g}},{}],87:[function(e,t,n){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],88:[function(e,t,n){(function(i,r){ +/*! + + JSZip v3.7.1 - A JavaScript class for generating and reading zip files + + + (c) 2009-2016 Stuart Knightley + Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + + JSZip uses the library pako released under the MIT license : + https://github.com/nodeca/pako/blob/master/LICENSE + */ +!function(e){"object"==typeof n&&void 0!==t?t.exports=e():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=e()}((function(){return function t(n,i,r){function a(o,c){if(!i[o]){if(!n[o]){var l="function"==typeof e&&e;if(!c&&l)return l(o,!0);if(s)return s(o,!0);var h=new Error("Cannot find module '"+o+"'");throw h.code="MODULE_NOT_FOUND",h}var d=i[o]={exports:{}};n[o][0].call(d.exports,(function(e){return a(n[o][1][e]||e)}),d,d.exports,t,n,i,r)}return i[o].exports}for(var s="function"==typeof e&&e,o=0;o>2,o=(3&t)<<4|n>>4,c=1>6:64,l=2>4,n=(15&s)<<4|(o=a.indexOf(e.charAt(l++)))>>2,i=(3&o)<<6|(c=a.indexOf(e.charAt(l++))),u[h++]=t,64!==o&&(u[h++]=n),64!==c&&(u[h++]=i);return u}},{"./support":30,"./utils":32}],2:[function(e,t,n){var i=e("./external"),r=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function o(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}o.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new s("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var i=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var i=e("./utils"),r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,n,i){var a=r,s=i+n;e^=-1;for(var o=i;o>>8^a[255&(e^t[o])];return~e}(0|t,e,e.length,0):function(e,t,n,i){var a=r,s=i+n;e^=-1;for(var o=i;o>>8^a[255&(e^t.charCodeAt(o))];return~e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),a=e("./utils"),s=e("./stream/GenericWorker"),o=i?"uint8array":"array";function c(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",a.inherits(c,s),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(o,e.data),!1)},c.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c("Deflate",e)},n.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function i(e,t){var n,i="";for(n=0;n>>=8;return i}function r(e,t,n,r,s,h){var d,u,f=e.file,p=e.compression,g=h!==o.utf8encode,m=a.transformTo("string",h(f.name)),b=a.transformTo("string",o.utf8encode(f.name)),v=f.comment,y=a.transformTo("string",h(v)),w=a.transformTo("string",o.utf8encode(v)),x=b.length!==f.name.length,_=w.length!==v.length,T="",D="",A="",E=f.dir,k=f.date,S={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(S.crc32=e.crc32,S.compressedSize=e.compressedSize,S.uncompressedSize=e.uncompressedSize);var C=0;t&&(C|=8),g||!x&&!_||(C|=2048);var U,F,M,R=0,I=0;E&&(R|=16),"UNIX"===s?(I=798,R|=(U=f.unixPermissions,F=E,M=U,U||(M=F?16893:33204),(65535&M)<<16)):(I=20,R|=function(e){return 63&(e||0)}(f.dosPermissions)),d=k.getUTCHours(),d<<=6,d|=k.getUTCMinutes(),d<<=5,d|=k.getUTCSeconds()/2,u=k.getUTCFullYear()-1980,u<<=4,u|=k.getUTCMonth()+1,u<<=5,u|=k.getUTCDate(),x&&(D=i(1,1)+i(c(m),4)+b,T+="up"+i(D.length,2)+D),_&&(A=i(1,1)+i(c(y),4)+w,T+="uc"+i(A.length,2)+A);var O="";return O+="\n\0",O+=i(C,2),O+=p.magic,O+=i(d,2),O+=i(u,2),O+=i(S.crc32,4),O+=i(S.compressedSize,4),O+=i(S.uncompressedSize,4),O+=i(m.length,2),O+=i(T.length,2),{fileRecord:l.LOCAL_FILE_HEADER+O+m+T,dirRecord:l.CENTRAL_FILE_HEADER+i(I,2)+O+i(y.length,2)+"\0\0\0\0"+i(R,4)+i(r,4)+m+T+y}}var a=e("../utils"),s=e("../stream/GenericWorker"),o=e("../utf8"),c=e("../crc32"),l=e("../signature");function h(e,t,n,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(h,s),h.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},h.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(e){this.accumulate=!1;var t,n=this.streamFiles&&!e.file.dir,a=r(e,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),n)this.push({data:(t=e,l.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{"../utils":32}],19:[function(e,t,n){var i=e("./Uint8ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var i=e("./DataReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var i=e("./ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var i=e("../utils"),r=e("../support"),a=e("./ArrayReader"),s=e("./StringReader"),o=e("./NodeBufferReader"),c=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new o(e):r.uint8array?new c(i.transformTo("uint8array",e)):new a(i.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){var i=e("./GenericWorker"),r=e("../utils");function a(e){i.call(this,"ConvertWorker to "+e),this.destType=e}r.inherits(a,i),a.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var i=e("./GenericWorker"),r=e("../crc32");function a(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,i),a.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var i=e("../utils"),r=e("./GenericWorker");function a(e){r.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(a,r),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}r.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var i=e("../utils"),r=e("./GenericWorker");function a(e){r.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}i.inherits(a,r),a.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}},t.exports=i},{}],29:[function(e,t,n){var i=e("../utils"),a=e("./ConvertWorker"),s=e("./GenericWorker"),o=e("../base64"),c=e("../support"),l=e("../external"),h=null;if(c.nodestream)try{h=e("../nodejs/NodejsStreamOutputAdapter")}catch(f){}function d(e,t){return new l.Promise((function(n,a){var s=[],c=e._internalType,l=e._outputType,h=e._mimeType;e.on("data",(function(e,n){s.push(e),t&&t(n)})).on("error",(function(e){s=[],a(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return o.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var n,i=0,a=null,s=0;for(n=0;n>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return r.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,r,a,s=e.length,c=new Array(2*s);for(t=n=0;t>10&1023,c[n++]=56320|1023&r)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),i.applyFromCharCode(c)}(e=i.transformTo(r.uint8array?"uint8array":"array",e))},i.inherits(l,s),l.prototype.processChunk=function(e){var t=i.transformTo(r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}(t),c=t;s!==t.length&&(r.uint8array?(c=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(c=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,i.inherits(h,s),h.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var i=e("./support"),r=e("./base64"),a=e("./nodejsUtils"),s=e("set-immediate-shim"),o=e("./external");function c(e){return e}function l(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n>10&1023,l[i++]=56320|1023&r)}return c(l,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,i){for(var r=65535&e,a=e>>>16&65535,s=0;0!==n;){for(n-=s=2e3>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var a=i,s=r+n;e^=-1;for(var o=r;o>>8^a[255&(e^t[o])];return~e}},{}],46:[function(e,t,n){var i,r=e("../utils/common"),a=e("./trees"),s=e("./adler32"),o=e("./crc32"),c=e("./messages"),l=0,h=4,d=0,u=-2,f=-1,p=4,g=2,m=8,b=9,v=286,y=30,w=19,x=2*v+1,_=15,T=3,D=258,A=D+T+1,E=42,k=113,S=1,C=2,U=3,F=4;function M(e,t){return e.msg=c[t],t}function R(e){return(e<<1)-(4e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function N(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,O(e.strm)}function P(e,t){e.pending_buf[e.pending++]=t}function L(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function W(e,t){var n,i,r=e.max_chain_length,a=e.strstart,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-A?e.strstart-(e.w_size-A):0,l=e.window,h=e.w_mask,d=e.prev,u=e.strstart+D,f=l[a+s-1],p=l[a+s];e.prev_length>=e.good_match&&(r>>=2),o>e.lookahead&&(o=e.lookahead);do{if(l[(n=t)+s]===p&&l[n+s-1]===f&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do{}while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&ac&&0!=--r);return s<=e.lookahead?s:e.lookahead}function B(e){var t,n,i,a,c,l,h,d,u,f,p=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-A)){for(r.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;i=e.head[--t],e.head[t]=p<=i?i-p:0,--n;);for(t=n=p;i=e.prev[--t],e.prev[t]=p<=i?i-p:0,--n;);a+=p}if(0===e.strm.avail_in)break;if(l=e.strm,h=e.window,d=e.strstart+e.lookahead,f=void 0,(u=a)<(f=l.avail_in)&&(f=u),n=0===f?0:(l.avail_in-=f,r.arraySet(h,l.input,l.next_in,f,d),1===l.state.wrap?l.adler=s(l.adler,h,f,d):2===l.state.wrap&&(l.adler=o(l.adler,h,f,d)),l.next_in+=f,l.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=T)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<=T&&(e.ins_h=(e.ins_h<=T)if(i=a._tr_tally(e,e.strstart-e.match_start,e.match_length-T),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=T){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=T&&(e.ins_h=(e.ins_h<=T&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-T,i=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-T),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),0===e.lookahead&&t===l)return S;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,N(e,!1),0===e.strm.avail_out))return S;if(e.strstart-e.block_start>=e.w_size-A&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),S)})),new H(4,4,8,4,j),new H(4,5,16,8,j),new H(4,6,32,32,j),new H(4,4,16,16,z),new H(8,16,32,32,z),new H(8,16,128,128,z),new H(8,32,128,256,z),new H(32,128,258,1024,z),new H(32,258,258,4096,z)],n.deflateInit=function(e,t){return $(e,t,m,15,8,0)},n.deflateInit2=$,n.deflateReset=X,n.deflateResetKeep=G,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?u:(e.state.gzhead=t,d):u},n.deflate=function(e,t){var n,r,s,c;if(!e||!e.state||5>8&255),P(r,r.gzhead.time>>16&255),P(r,r.gzhead.time>>24&255),P(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),P(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(P(r,255&r.gzhead.extra.length),P(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=o(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(P(r,0),P(r,0),P(r,0),P(r,0),P(r,0),P(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),P(r,3),r.status=k);else{var f=m+(r.w_bits-8<<4)<<8;f|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(f|=32),f+=31-f%31,r.status=k,L(r,f),0!==r.strstart&&(L(r,e.adler>>>16),L(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(s=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending!==r.pending_buf_size));)P(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending===r.pending_buf_size)){c=1;break}c=r.gzindexs&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),0===c&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending===r.pending_buf_size)){c=1;break}c=r.gzindexs&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),0===c&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&O(e),r.pending+2<=r.pending_buf_size&&(P(r,255&e.adler),P(r,e.adler>>8&255),e.adler=0,r.status=k)):r.status=k),0!==r.pending){if(O(e),0===e.avail_out)return r.last_flush=-1,d}else if(0===e.avail_in&&R(t)<=R(n)&&t!==h)return M(e,-5);if(666===r.status&&0!==e.avail_in)return M(e,-5);if(0!==e.avail_in||0!==r.lookahead||t!==l&&666!==r.status){var p=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(B(e),0===e.lookahead)){if(t===l)return S;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?S:C}(r,t):3===r.strategy?function(e,t){for(var n,i,r,s,o=e.window;;){if(e.lookahead<=D){if(B(e),e.lookahead<=D&&t===l)return S;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=T&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=T?(n=a._tr_tally(e,1,e.match_length-T),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?S:C}(r,t):i[r.level].func(r,t);if(p!==U&&p!==F||(r.status=666),p===S||p===U)return 0===e.avail_out&&(r.last_flush=-1),d;if(p===C&&(1===t?a._tr_align(r):5!==t&&(a._tr_stored_block(r,0,0,!1),3===t&&(I(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),O(e),0===e.avail_out))return r.last_flush=-1,d}return t!==h?d:r.wrap<=0?1:(2===r.wrap?(P(r,255&e.adler),P(r,e.adler>>8&255),P(r,e.adler>>16&255),P(r,e.adler>>24&255),P(r,255&e.total_in),P(r,e.total_in>>8&255),P(r,e.total_in>>16&255),P(r,e.total_in>>24&255)):(L(r,e.adler>>>16),L(r,65535&e.adler)),O(e),0=n.w_size&&(0===o&&(I(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new r.Buf8(n.w_size),r.arraySet(f,t,p-n.w_size,n.w_size,0),t=f,p=n.w_size),c=e.avail_in,l=e.next_in,h=e.input,e.avail_in=p,e.next_in=0,e.input=t,B(n);n.lookahead>=T;){for(i=n.strstart,a=n.lookahead-(T-1);n.ins_h=(n.ins_h<>>=w=y>>>24,p-=w,0==(w=y>>>16&255))E[a++]=65535&y;else{if(!(16&w)){if(!(64&w)){y=g[(65535&y)+(f&(1<>>=w,p-=w),p<15&&(f+=A[i++]<>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(!(64&w)){y=m[(65535&y)+(f&(1<>>=w,p-=w,(w=a-s)<_){if(h<(w=_-w)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(D=u,(T=0)===d){if(T+=l-w,w>3,f&=(1<<(p-=x<<3))-1,e.next_in=i,e.next_out=a,e.avail_in=i>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=u,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(f),t.distcode=t.distdyn=new i.Buf32(p),t.sane=1,t.back=-1,h):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,b(e)):d}function y(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=s.wsize?(i.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r<(a=s.wsize-s.wnext)&&(a=r),i.arraySet(s.window,t,n-r,a,s.wnext),(r-=a)?(i.arraySet(s.window,t,n-r,r,0),s.wnext=r,s.whave=s.wsize):(s.wnext+=a,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,n.check=a(n.check,B,2,0),x=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",n.mode=30;break}if(x-=4,O=8+(15&(w>>>=4)),0===n.wbits)n.wbits=O;else if(O>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=a(n.check,B,2,0)),x=w=0,n.mode=3;case 3:for(;x<32;){if(0===v)break e;v--,w+=f[m++]<>>8&255,B[2]=w>>>16&255,B[3]=w>>>24&255,n.check=a(n.check,B,4,0)),x=w=0,n.mode=4;case 4:for(;x<16;){if(0===v)break e;v--,w+=f[m++]<>8),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=a(n.check,B,2,0)),x=w=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(0===v)break e;v--,w+=f[m++]<>>8&255,n.check=a(n.check,B,2,0)),x=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(O=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,f,m,E,O)),512&n.flags&&(n.check=a(n.check,f,E,m)),v-=E,m+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break e;for(E=0;O=f[m+E++],n.head&&O&&n.length<65536&&(n.head.name+=String.fromCharCode(O)),O&&E>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(0===v)break e;v--,w+=f[m++]<>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(0===v)break e;v--,w+=f[m++]<>>=1)){case 0:n.mode=14;break;case 1:if(D(n),n.mode=20,6!==t)break;w>>>=2,x-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}w>>>=2,x-=2;break;case 14:for(w>>>=7&x,x-=7&x;x<32;){if(0===v)break e;v--,w+=f[m++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,x=w=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v>>=5,x-=5,n.ndist=1+(31&w),w>>>=5,x-=5,n.ncode=4+(15&w),w>>>=4,x-=4,286>>=3,x-=3}for(;n.have<19;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},N=o(0,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,N){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>>=C,x-=C,n.lens[n.have++]=F;else{if(16===F){for(L=C+2;x>>=C,x-=C,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}O=n.lens[n.have-1],E=3+(3&w),w>>>=2,x-=2}else if(17===F){for(L=C+3;x>>=C)),w>>>=3,x-=3}else{for(L=C+7;x>>=C)),w>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;E--;)n.lens[n.have++]=O}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,P={bits:n.lenbits},N=o(c,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,N){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},N=o(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,N){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=b,e.avail_out=y,e.next_in=m,e.avail_in=v,n.hold=w,n.bits=x,s(e,T),b=e.next_out,p=e.output,y=e.avail_out,m=e.next_in,f=e.input,v=e.avail_in,w=n.hold,x=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;U=(W=n.lencode[w&(1<>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>M)])>>>16&255,F=65535&W,!(M+(C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>>=M,x-=M,n.back+=M}if(w>>>=C,x-=C,n.back+=C,n.length=F,0===U){n.mode=26;break}if(32&U){n.back=-1,n.mode=12;break}if(64&U){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&U,n.mode=22;case 22:if(n.extra){for(L=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;U=(W=n.distcode[w&(1<>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>M)])>>>16&255,F=65535&W,!(M+(C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>>=M,x-=M,n.back+=M}if(w>>>=C,x-=C,n.back+=C,64&U){e.msg="invalid distance code",n.mode=30;break}n.offset=F,n.extra=15&U,n.mode=24;case 24:if(n.extra){for(L=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break e;if(E=T-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}k=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),S=n.window}else S=p,k=b-n.offset,E=n.length;for(yv?(w=P[L+d[D]],R[I+d[D]]):(w=96,0),f=1<>C)+(p-=f)]=y<<24|w<<16|x,0!==p;);for(f=1<>=1;if(0!==f?(M&=f-1,M+=f):M=0,D++,0==--O[T]){if(T===E)break;T=t[n+d[D]]}if(k>>7)]}function P(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function L(e,t,n){e.bi_valid>g-n?(e.bi_buf|=t<>g-e.bi_valid,e.bi_valid+=n-g):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function j(e,t,n){var i,r,a=new Array(p+1),s=0;for(i=1;i<=p;i++)a[i]=s=s+n[i-1]<<1;for(r=0;r<=t;r++){var o=e[2*r+1];0!==o&&(e[2*r]=B(a[o]++,o))}}function z(e){var t;for(t=0;t>1;1<=n;n--)G(e,a,n);for(r=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,a,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,a[2*r]=a[2*n]+a[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,a[2*n+1]=a[2*i+1]=r,e.heap[1]=r++,G(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,a,s,o,c=t.dyn_tree,l=t.max_code,h=t.stat_desc.static_tree,d=t.stat_desc.has_stree,u=t.stat_desc.extra_bits,g=t.stat_desc.extra_base,m=t.stat_desc.max_length,b=0;for(a=0;a<=p;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n>=7;i>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return r;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t>>3,(o=e.static_len+3+7>>>3)<=s&&(s=o)):s=o=n+5,n+4<=s&&-1!==t?Z(e,t,n,i):4===e.strategy||o===s?(L(e,2+(i?1:0),3),X(e,A,E)):(L(e,4+(i?1:0),3),function(e,t,n,i){var r;for(L(e,t-257,5),L(e,n-1,5),L(e,i-4,4),r=0;r>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(S[n]+l+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){var t;L(e,2,3),W(e,b,A),16===(t=e).bi_valid?(P(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){t.exports="function"==typeof setImmediate?setImmediate:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)}))}).call(this,void 0!==eh?eh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{buffer:83}],89:[function(e,t,n){n.Parser=e("./lib/parser").Parser,n.rules=e("./lib/rules"),n.errors=e("./lib/errors"),n.results=e("./lib/parsing-results"),n.StringSource=e("./lib/StringSource"),n.Token=e("./lib/Token"),n.bottomUp=e("./lib/bottom-up"),n.RegexTokeniser=e("./lib/regex-tokeniser").RegexTokeniser,n.rule=function(e){var t;return function(n){return t||(t=e()),t(n)}}},{"./lib/StringSource":90,"./lib/Token":91,"./lib/bottom-up":93,"./lib/errors":94,"./lib/parser":96,"./lib/parsing-results":97,"./lib/regex-tokeniser":98,"./lib/rules":99}],90:[function(e,t,n){t.exports=function(e,t){return{asString:function(){return e},range:function(n,r){return new i(e,t,n,r)}}};var i=function(e,t,n,i){this._string=e,this._description=t,this._startIndex=n,this._endIndex=i};i.prototype.to=function(e){return new i(this._string,this._description,this._startIndex,e._endIndex)},i.prototype.describe=function(){var e=this._position();return(this._description?this._description+"\n":"")+"Line number: "+e.lineNumber+"\nCharacter number: "+e.characterNumber},i.prototype.lineNumber=function(){return this._position().lineNumber},i.prototype.characterNumber=function(){return this._position().characterNumber},i.prototype._position=function(){for(var e=this,t=0,n=function(){return e._string.indexOf("\n",t)},i=1;-1!==n()&&n()n){var l=o[1];return{token:new i(e[a].name,l,r.range(n,c)),endIndex:c}}}}return c=n+1,{token:new i("unrecognisedCharacter",t.substring(n,c),r.range(n,c)),endIndex:c}}function a(e,t){return new i("end",null,t.range(e.length,e.length))}return e=e.map((function(e){return{name:e.name,regex:new RegExp(e.regex.source,"g")}})),{tokenise:t}}n.RegexTokeniser=a},{"./StringSource":90,"./Token":91}],99:[function(e,t,n){var i=e("underscore"),r=e("option"),a=e("./parsing-results"),s=e("./errors"),o=e("./lazy-iterators");n.token=function(e,t){var n=void 0!==t;return function(i){var r=i.head();return!r||r.name!==e||n&&r.value!==t?f(i,u({name:e,value:t})):a.success(r.value,i.tail(),r.source)}},n.tokenOfType=function(e){return n.token(e)},n.firstOf=function(e,t){return i.isArray(t)||(t=Array.prototype.slice.call(arguments,1)),function(n){return o.fromArray(t).map((function(e){return e(n)})).filter((function(e){return e.isSuccess()||e.isError()})).first()||f(n,e)}},n.then=function(e,t){return function(n){var i=e(n);return i.map,i.map(t)}},n.sequence=function(){var e=Array.prototype.slice.call(arguments,0),t=function(t){var r=i.foldl(e,(function(e,n){var i=e.result,r=e.hasCut;if(!i.isSuccess())return{result:i,hasCut:r};var s=n(i.remaining());if(s.isCut())return{result:i,hasCut:!0};if(s.isSuccess()){var o;o=n.isCaptured?i.value().withValue(n,s.value()):i.value();var c=s.remaining(),l=t.to(c);return{result:a.success(o,c,l),hasCut:r}}return r?{result:a.error(s.errors(),s.remaining()),hasCut:r}:{result:s,hasCut:r}}),{result:a.success(new c,t),hasCut:!1}).result,s=t.to(r.remaining());return r.map((function(e){return e.withValue(n.sequence.source,s)}))};function r(e){return e.isCaptured}return t.head=function(){var a=i.find(e,r);return n.then(t,n.sequence.extract(a))},t.map=function(e){return n.then(t,(function(t){return e.apply(this,t.toArray())}))},t};var c=function(e,t){this._values=e||{},this._valuesArray=t||[]};c.prototype.withValue=function(e,t){if(e.captureName&&e.captureName in this._values)throw new Error('Cannot add second value for capture "'+e.captureName+'"');var n=i.clone(this._values);n[e.captureName]=t;var r=this._valuesArray.concat([t]);return new c(n,r)},c.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];throw new Error('No value for capture "'+e.captureName+'"')},c.prototype.toArray=function(){return this._valuesArray},n.sequence.capture=function(e,t){var n=function(){return e.apply(this,arguments)};return n.captureName=t,n.isCaptured=!0,n},n.sequence.extract=function(e){return function(t){return t.get(e)}},n.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(n){var i=t.map((function(e){return n.get(e)}));return e.apply(this,i)}},n.sequence.source={captureName:"☃source☃"},n.sequence.cut=function(){return function(e){return a.cut(e)}},n.optional=function(e){return function(t){var n=e(t);return n.isSuccess()?n.map(r.some):n.isFailure()?a.success(r.none,t):n}},n.zeroOrMoreWithSeparator=function(e,t){return d(e,t,!1)},n.oneOrMoreWithSeparator=function(e,t){return d(e,t,!0)};var l=n.zeroOrMore=function(e){return function(t){for(var n,i=[];(n=e(t))&&n.isSuccess();)t=n.remaining(),i.push(n.value());return n.isError()?n:a.success(i,t)}};function h(e){return a.success(null,e)}n.oneOrMore=function(e){return n.oneOrMoreWithSeparator(e,h)};var d=function(e,t,i){return function(r){var s=e(r);if(s.isSuccess()){var o=n.sequence.capture(e,"main"),c=l(n.then(n.sequence(t,o),n.sequence.extract(o)))(s.remaining());return a.success([s.value()].concat(c.value()),c.remaining())}return i||s.isError()?s:a.success([],r)}};n.leftAssociative=function(e,t,i){var r;r=(r=i?[{func:i,rule:t}]:t).map((function(e){return n.then(e.rule,(function(t){return function(n,i){return e.func(n,t,i)}}))}));var s=n.firstOf.apply(null,["rules"].concat(r));return function(t){var n=t,i=e(t);if(!i.isSuccess())return i;for(var r=s(i.remaining());r.isSuccess();){var o=r.remaining(),c=n.to(r.remaining()),l=r.value();i=a.success(l(i.value(),c),o,c),r=s(i.remaining())}return r.isError()?r:i}},n.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},n.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var u=function(e){return e.value?e.name+' "'+e.value+'"':e.name};function f(e,t){var n,i=e.head();return n=i?s.error({expected:t,actual:u(i),location:i.source}):s.error({expected:t,actual:"end of tokens"}),a.failure([n],e)}},{"./errors":94,"./lazy-iterators":95,"./parsing-results":97,option:100,underscore:102}],100:[function(e,t,n){function i(e){return"function"==typeof e?e():e}n.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return n.none},flatMap:function(){return n.none},filter:function(){return n.none},toArray:function(){return[]},orElse:i,valueOrElse:i}),n.some=function(e){return new r(e)};var r=function(e){this._value=e};r.prototype.value=function(){return this._value},r.prototype.isNone=function(){return!1},r.prototype.isSome=function(){return!0},r.prototype.map=function(e){return new r(e(this._value))},r.prototype.flatMap=function(e){return e(this._value)},r.prototype.filter=function(e){return e(this._value)?this:n.none},r.prototype.toArray=function(){return[this._value]},r.prototype.orElse=function(e){return this},r.prototype.valueOrElse=function(e){return this._value},n.isOption=function(e){return e===n.none||e instanceof r},n.fromNullable=function(e){return null==e?n.none:new r(e)}},{}],101:[function(e,t,n){var i,r,a=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(n){return i.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(e){i=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var h,d=[],u=!1,f=-1;function p(){u&&h&&(u=!1,h.length?d=h.concat(d):f=-1,d.length&&g())}function g(){if(!u){var e=c(p);u=!0;for(var t=d.length;t;){for(h=d,d=[];++f1)for(var n=1;n=0&&n<=w}}function J(e){return function(t){return null==t?void 0:t[e]}}var Q=J("byteLength"),ee=Z(Q),te=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function ne(e){return g?g(e)&&!H(e):ee(e)&&te.test(c.call(e))}var ie=h?ne:K(!1),re=J("length");function ae(e){for(var t={},n=e.length,i=0;i":">",'"':""","'":"'","`":"`"},ct=st(ot),lt=st(Fe(ot)),ht=he.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},dt=/(.)^/,ut={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ft=/\\|'|\r|\n|\u2028|\u2029/g;function pt(e){return"\\"+ut[e]}var gt=/^\s*(\w|\$)+\s*$/;function mt(e,t,n){!t&&n&&(t=n),t=Ne({},t,he.templateSettings);var i=RegExp([(t.escape||dt).source,(t.interpolate||dt).source,(t.evaluate||dt).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,(function(t,n,i,s,o){return a+=e.slice(r,o).replace(ft,pt),r=o+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(a+="';\n"+s+"\n__p+='"),t})),a+="';\n";var s,o=t.variable;if(o){if(!gt.test(o))throw new Error("variable is not a bare identifier: "+o)}else a="with(obj||{}){\n"+a+"}\n",o="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{s=new Function(o,"_",a)}catch(l){throw l.source=a,l}var c=function(e){return s.call(this,e,he)};return c.source="function("+o+"){\n"+a+"}",c}function bt(e,t,n){var i=(t=He(t)).length;if(!i)return P(n)?n.call(e):n;for(var r=0;r1)At(o,t-1,n,i),r=i.length;else for(var c=0,l=o.length;ct?(i&&(clearTimeout(i),i=null),o=l,s=e.apply(r,a),i||(r=a=null)):i||!1===n.trailing||(i=setTimeout(c,h)),s};return l.cancel=function(){clearTimeout(i),o=0,i=r=a=null},l}function Ft(e,t,n){var i,r,a,s,o,c=function(){var l=at()-r;t>l?i=setTimeout(c,t-l):(i=null,n||(s=e.apply(o,a)),i||(a=o=null))},l=x((function(l){return o=this,a=l,r=at(),i||(i=setTimeout(c,t),n&&(s=e.apply(o,a))),s}));return l.cancel=function(){clearTimeout(i),i=a=o=null},l}function Mt(e,t){return _t(t,e)}function Rt(e){return function(){return!e.apply(this,arguments)}}function It(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}}function Ot(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Nt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Pt=_t(Nt,2);function Lt(e,t,n){t=Qe(t,n);for(var i,r=oe(e),a=0,s=r.length;a0?0:r-1;a>=0&&a0?s=a>=0?a:Math.max(a+c,s):c=a>=0?Math.min(a+1,c):a+c+1;else if(n&&a&&c)return i[a=n(i,r)]===r?a:-1;if(r!=r)return(a=t(o.call(i,s,c),Y))>=0?a+s:-1;for(a=e>0?s:c-1;a>=0&&a0?0:s-1;for(r||(i=t[a?a[o]:o],o+=e);o>=0&&o=3;return t(e,Ke(n,r,4),i,a)}}var Zt=Kt(1),Jt=Kt(-1);function Qt(e,t,n){var i=[];return t=Qe(t,n),qt(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}function en(e,t,n){return Qt(e,Rt(Qe(t)),n)}function tn(e,t,n){t=Qe(t,n);for(var i=!Dt(e)&&oe(e),r=(i||e).length,a=0;a=0}var an=x((function(e,t,n){var i,r;return P(t)?r=t:(t=He(t),i=t.slice(0,-1),t=t[t.length-1]),Yt(e,(function(e){var a=r;if(!a){if(i&&i.length&&(e=Ve(e,i)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function sn(e,t){return Yt(e,Ye(t))}function on(e,t){return Qt(e,qe(t))}function cn(e,t,n){var i,r,a=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,c=(e=Dt(e)?e:Ce(e)).length;oa&&(a=i);else t=Qe(t,n),qt(e,(function(e,n,i){((r=t(e,n,i))>s||r===-1/0&&a===-1/0)&&(a=e,s=r)}));return a}function ln(e,t,n){var i,r,a=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,c=(e=Dt(e)?e:Ce(e)).length;oi||void 0===n)return 1;if(n1&&(i=Ke(i,t[1])),t=me(e)):(i=xn,t=At(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r1&&(n=t[1])):(t=Yt(At(t,!1,!1),String),i=function(e,n){return!rn(t,n)}),_n(e,i,n)}));function Dn(e,t,n){return o.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function An(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Dn(e,e.length-t)}function En(e,t,n){return o.call(e,null==t||n?1:t)}function kn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:En(e,Math.max(0,e.length-t))}function Sn(e){return Qt(e,Boolean)}function Cn(e,t){return At(e,t,!1)}var Un=x((function(e,t){return t=At(t,!0,!0),Qt(e,(function(e){return!rn(t,e)}))})),Fn=x((function(e,t){return Un(e,t)}));function Mn(e,t,n,i){A(t)||(i=n,n=t,t=!1),null!=n&&(n=Qe(n,i));for(var r=[],a=[],s=0,o=re(e);s":(null!=(n=this.parent)?n.name:void 0)?"attribute: {"+e+"}, parent: <"+this.parent.name+">":"attribute: {"+e+"}":""},e}()}).call(this)},{}],105:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).cdata(this)},t}(n)}).call(this)},{"./XMLNode":116}],106:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t}(n)}).call(this)},{"./XMLNode":116}],107:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i,r,a,s){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==i)throw new Error("Missing DTD attribute name. "+this.debugInfo(n));if(!r)throw new Error("Missing DTD attribute type. "+this.debugInfo(n));if(!a)throw new Error("Missing DTD attribute default. "+this.debugInfo(n));if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(s&&!a.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.eleName(n),this.attributeName=this.stringify.attName(i),this.attributeType=this.stringify.dtdAttType(r),this.defaultValue=this.stringify.dtdAttDefault(s),this.defaultValueType=a}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdAttList(this)},t}(n)}).call(this)},{"./XMLNode":116}],108:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD element name. "+this.debugInfo());i||(i="(#PCDATA)"),Array.isArray(i)&&(i="("+i.join(",")+")"),this.name=this.stringify.eleName(n),this.value=this.stringify.dtdElementValue(i)}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdElement(this)},t}(n)}).call(this)},{"./XMLNode":116}],109:[function(e,t,n){(function(){var n,i,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},a={}.hasOwnProperty;i=e("./Utility").isObject,n=e("./XMLNode"),t.exports=function(e){function t(e,n,r,a){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD entity name. "+this.debugInfo(r));if(null==a)throw new Error("Missing DTD entity value. "+this.debugInfo(r));if(this.pe=!!n,this.name=this.stringify.eleName(r),i(a)){if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(r));if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(r));if(null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(r))}else this.value=this.stringify.dtdEntityValue(a)}return r(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116}],110:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD notation name. "+this.debugInfo(n));if(!i.pubID&&!i.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.eleName(n),null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID))}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdNotation(this)},t}(n)}).call(this)},{"./XMLNode":116}],111:[function(e,t,n){(function(){var n,i,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},a={}.hasOwnProperty;i=e("./Utility").isObject,n=e("./XMLNode"),t.exports=function(e){function t(e,n,r,a){var s;t.__super__.constructor.call(this,e),i(n)&&(n=(s=n).version,r=s.encoding,a=s.standalone),n||(n="1.0"),this.version=this.stringify.xmlVersion(n),null!=r&&(this.encoding=this.stringify.xmlEncoding(r)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return r(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116}],112:[function(e,t,n){(function(){var n,i,r,a,s,o,c=function(e,t){for(var n in t)l.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},l={}.hasOwnProperty;o=e("./Utility").isObject,s=e("./XMLNode"),n=e("./XMLDTDAttList"),r=e("./XMLDTDEntity"),i=e("./XMLDTDElement"),a=e("./XMLDTDNotation"),t.exports=function(e){function t(e,n,i){var r,a;t.__super__.constructor.call(this,e),this.name="!DOCTYPE",this.documentObject=e,o(n)&&(n=(r=n).pubID,i=r.sysID),null==i&&(i=(a=[n,i])[0],n=a[1]),null!=n&&(this.pubID=this.stringify.dtdPubID(n)),null!=i&&(this.sysID=this.stringify.dtdSysID(i))}return c(t,e),t.prototype.element=function(e,t){var n;return n=new i(this,e,t),this.children.push(n),this},t.prototype.attList=function(e,t,i,r,a){var s;return s=new n(this,e,t,i,r,a),this.children.push(s),this},t.prototype.entity=function(e,t){var n;return n=new r(this,!1,e,t),this.children.push(n),this},t.prototype.pEntity=function(e,t){var n;return n=new r(this,!0,e,t),this.children.push(n),this},t.prototype.notation=function(e,t){var n;return n=new a(this,e,t),this.children.push(n),this},t.prototype.toString=function(e){return this.options.writer.set(e).docType(this)},t.prototype.ele=function(e,t){return this.element(e,t)},t.prototype.att=function(e,t,n,i,r){return this.attList(e,t,n,i,r)},t.prototype.ent=function(e,t){return this.entity(e,t)},t.prototype.pent=function(e,t){return this.pEntity(e,t)},t.prototype.not=function(e,t){return this.notation(e,t)},t.prototype.up=function(){return this.root()||this.documentObject},t}(s)}).call(this)},{"./Utility":103,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLNode":116}],113:[function(e,t,n){(function(){var n,i,r,a,s=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},o={}.hasOwnProperty;a=e("./Utility").isPlainObject,n=e("./XMLNode"),r=e("./XMLStringifier"),i=e("./XMLStringWriter"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,null),this.name="?xml",e||(e={}),e.writer||(e.writer=new i),this.options=e,this.stringify=new r(e),this.isDocument=!0}return s(t,e),t.prototype.end=function(e){var t;return e?a(e)&&(t=e,e=this.options.writer.set(t)):e=this.options.writer,e.document(this)},t.prototype.toString=function(e){return this.options.writer.set(e).document(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116,"./XMLStringWriter":120,"./XMLStringifier":121}],114:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v,y,w,x,_={}.hasOwnProperty;x=e("./Utility"),y=x.isObject,v=x.isFunction,w=x.isPlainObject,b=x.getValue,d=e("./XMLElement"),i=e("./XMLCData"),r=e("./XMLComment"),f=e("./XMLRaw"),m=e("./XMLText"),u=e("./XMLProcessingInstruction"),l=e("./XMLDeclaration"),h=e("./XMLDocType"),a=e("./XMLDTDAttList"),o=e("./XMLDTDEntity"),s=e("./XMLDTDElement"),c=e("./XMLDTDNotation"),n=e("./XMLAttribute"),g=e("./XMLStringifier"),p=e("./XMLStringWriter"),t.exports=function(){function e(e,t,n){var i;this.name="?xml",e||(e={}),e.writer?w(e.writer)&&(i=e.writer,e.writer=new p(i)):e.writer=new p(e),this.options=e,this.writer=e.writer,this.stringify=new g(e),this.onDataCallback=t||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return e.prototype.node=function(e,t,n){var i;if(null==e)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=b(e),null==t&&(t={}),t=b(t),y(t)||(n=(i=[t,n])[0],t=i[1]),this.currentNode=new d(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=n&&this.text(n),this},e.prototype.element=function(e,t,n){return this.currentNode&&this.currentNode instanceof h?this.dtdElement.apply(this,arguments):this.node(e,t,n)},e.prototype.attribute=function(e,t){var i,r;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(e));if(null!=e&&(e=b(e)),y(e))for(i in e)_.call(e,i)&&(r=e[i],this.attribute(i,r));else v(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.currentNode.attributes[e]=new n(this,e,t));return this},e.prototype.text=function(e){var t;return this.openCurrent(),t=new m(this,e),this.onData(this.writer.text(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.cdata=function(e){var t;return this.openCurrent(),t=new i(this,e),this.onData(this.writer.cdata(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.comment=function(e){var t;return this.openCurrent(),t=new r(this,e),this.onData(this.writer.comment(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.raw=function(e){var t;return this.openCurrent(),t=new f(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.instruction=function(e,t){var n,i,r,a,s;if(this.openCurrent(),null!=e&&(e=b(e)),null!=t&&(t=b(t)),Array.isArray(e))for(n=0,a=e.length;n=0;)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(e){if(!e.isOpen)return!this.root&&0===this.currentLevel&&e instanceof d&&(this.root=e),this.onData(this.writer.openNode(e,this.currentLevel),this.currentLevel),e.isOpen=!0},e.prototype.closeNode=function(e){if(!e.isClosed)return this.onData(this.writer.closeNode(e,this.currentLevel),this.currentLevel),e.isClosed=!0},e.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(e,t,n){return this.node(e,t,n)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},e.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},e.prototype.e=function(e,t,n){return this.element(e,t,n)},e.prototype.n=function(e,t,n){return this.node(e,t,n)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.att=function(){return this.currentNode&&this.currentNode instanceof h?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode instanceof h?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e}()}).call(this)},{"./Utility":103,"./XMLAttribute":104,"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLStringWriter":120,"./XMLStringifier":121,"./XMLText":122}],115:[function(e,t,n){(function(){var n,i,r,a,s,o,c=function(e,t){for(var n in t)l.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},l={}.hasOwnProperty;o=e("./Utility"),s=o.isObject,a=o.isFunction,r=o.getValue,i=e("./XMLNode"),n=e("./XMLAttribute"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(n),this.attributes={},null!=i&&this.attribute(i),e.isDocument&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this)}return c(t,e),t.prototype.clone=function(){var e,t,n,i;for(t in(n=Object.create(this)).isRoot&&(n.documentObject=null),n.attributes={},i=this.attributes)l.call(i,t)&&(e=i[t],n.attributes[t]=e.clone());return n.children=[],this.children.forEach((function(e){var t;return(t=e.clone()).parent=n,n.children.push(t)})),n},t.prototype.attribute=function(e,t){var i,o;if(null!=e&&(e=r(e)),s(e))for(i in e)l.call(e,i)&&(o=e[i],this.attribute(i,o));else a(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.attributes[e]=new n(this,e,t));return this},t.prototype.removeAttribute=function(e){var t,n,i;if(null==e)throw new Error("Missing attribute name. "+this.debugInfo());if(e=r(e),Array.isArray(e))for(n=0,i=e.length;n":(null!=(n=this.parent)?n.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(e){return this.importDocument(e)},t}()}).call(this)},{"./Utility":103,"./XMLCData":105,"./XMLComment":106,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122}],117:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(n),i&&(this.value=this.stringify.insValue(i))}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).processingInstruction(this)},t}(n)}).call(this)},{"./XMLNode":116}],118:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).raw(this)},t}(n)}).call(this)},{"./XMLNode":116}],119:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g=function(e,t){for(var n in t)m.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},m={}.hasOwnProperty;c=e("./XMLDeclaration"),l=e("./XMLDocType"),n=e("./XMLCData"),i=e("./XMLComment"),h=e("./XMLElement"),u=e("./XMLRaw"),f=e("./XMLText"),d=e("./XMLProcessingInstruction"),r=e("./XMLDTDAttList"),a=e("./XMLDTDElement"),s=e("./XMLDTDEntity"),o=e("./XMLDTDNotation"),p=e("./XMLWriterBase"),t.exports=function(e){function t(e,n){t.__super__.constructor.call(this,n),this.stream=e}return g(t,e),t.prototype.document=function(e){var t,n,r,a,s,o,h,u;for(n=0,a=(o=e.children).length;n"+this.endline(e))},t.prototype.comment=function(e,t){return this.stream.write(this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.endline(e))},t.prototype.declaration=function(e,t){return this.stream.write(this.space(t)),this.stream.write('"),this.stream.write(this.endline(e))},t.prototype.docType=function(e,t){var c,l,h,u;if(t||(t=0),this.stream.write(this.space(t)),this.stream.write("0){for(this.stream.write(" ["),this.stream.write(this.endline(e)),l=0,h=(u=e.children).length;l"),this.stream.write(this.endline(e))},t.prototype.element=function(e,t){var r,a,s,o,c,l,p,g;for(c in t||(t=0),g=this.space(t),this.stream.write(g+"<"+e.name),l=e.attributes)m.call(l,c)&&(r=l[c],this.attribute(r));if(0===e.children.length||e.children.every((function(e){return""===e.value})))this.allowEmpty?this.stream.write(">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===e.children.length&&null!=e.children[0].value)this.stream.write(">"),this.stream.write(e.children[0].value),this.stream.write("");else{for(this.stream.write(">"+this.newline),s=0,o=(p=e.children).length;s")}return this.stream.write(this.endline(e))},t.prototype.processingInstruction=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.raw=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},t.prototype.text=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},t.prototype.dtdAttList=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.dtdElement=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.dtdEntity=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.dtdNotation=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.endline=function(e){return e.isLastRootNode?"":this.newline},t}(p)}).call(this)},{"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122,"./XMLWriterBase":123}],120:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g=function(e,t){for(var n in t)m.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},m={}.hasOwnProperty;c=e("./XMLDeclaration"),l=e("./XMLDocType"),n=e("./XMLCData"),i=e("./XMLComment"),h=e("./XMLElement"),u=e("./XMLRaw"),f=e("./XMLText"),d=e("./XMLProcessingInstruction"),r=e("./XMLDTDAttList"),a=e("./XMLDTDElement"),s=e("./XMLDTDEntity"),o=e("./XMLDTDNotation"),p=e("./XMLWriterBase"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,e)}return g(t,e),t.prototype.document=function(e){var t,n,r,a,s;for(this.textispresent=!1,a="",n=0,r=(s=e.children).length;n"+this.newline},t.prototype.comment=function(e,t){return this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.newline},t.prototype.declaration=function(e,t){var n;return n=this.space(t),n+='",n+=this.newline},t.prototype.docType=function(e,t){var c,l,h,u,f;if(t||(t=0),u=this.space(t),u+="0){for(u+=" [",u+=this.newline,l=0,h=(f=e.children).length;l",u+=this.newline},t.prototype.element=function(e,t){var r,a,s,o,c,l,p,g,b,v,y,w,x;for(p in t||(t=0),x=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),g="",g+=(w=this.space(t))+"<"+e.name,b=e.attributes)m.call(b,p)&&(r=b[p],g+=this.attribute(r));if(0===e.children.length||e.children.every((function(e){return""===e.value})))this.allowEmpty?g+=">"+this.newline:g+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===e.children.length&&null!=e.children[0].value)g+=">",g+=e.children[0].value,g+=""+this.newline;else{if(this.dontprettytextnodes)for(s=0,c=(v=e.children).length;s"+this.newline,o=0,l=(y=e.children).length;o"+this.newline}return g},t.prototype.processingInstruction=function(e,t){var n;return n=this.space(t)+""+this.newline},t.prototype.raw=function(e,t){return this.space(t)+e.value+this.newline},t.prototype.text=function(e,t){return this.space(t)+e.value+this.newline},t.prototype.dtdAttList=function(e,t){var n;return n=this.space(t)+""+this.newline},t.prototype.dtdElement=function(e,t){return this.space(t)+""+this.newline},t.prototype.dtdEntity=function(e,t){var n;return n=this.space(t)+""+this.newline},t.prototype.dtdNotation=function(e,t){var n;return n=this.space(t)+""+this.newline},t.prototype.openNode=function(e,t){var n,i,r,a;if(t||(t=0),e instanceof h){for(i in r=this.space(t)+"<"+e.name,a=e.attributes)m.call(a,i)&&(n=a[i],r+=this.attribute(n));return r+=(e.children?">":"/>")+this.newline}return r=this.space(t)+"")+this.newline},t.prototype.closeNode=function(e,t){switch(t||(t=0),!1){case!(e instanceof h):return this.space(t)+""+this.newline;case!(e instanceof l):return this.space(t)+"]>"+this.newline}},t}(p)}).call(this)},{"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122,"./XMLWriterBase":123}],121:[function(e,t,n){(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;t.exports=function(){function t(t){var i,r,a;for(i in this.assertLegalChar=e(this.assertLegalChar,this),t||(t={}),this.noDoubleEncoding=t.noDoubleEncoding,r=t.stringify||{})n.call(r,i)&&(a=r[i],this[i]=a)}return t.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},t.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},t.prototype.cdata=function(e){return e=(e=""+e||"").replace("]]>","]]]]>"),this.assertLegalChar(e)},t.prototype.comment=function(e){if((e=""+e||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return""+e||""},t.prototype.attName=function(e){return""+e||""},t.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},t.prototype.insTarget=function(e){return""+e||""},t.prototype.insValue=function(e){if((e=""+e||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},t.prototype.xmlVersion=function(e){if(!(e=""+e||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},t.prototype.xmlEncoding=function(e){if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return e},t.prototype.xmlStandalone=function(e){return e?"yes":"no"},t.prototype.dtdPubID=function(e){return""+e||""},t.prototype.dtdSysID=function(e){return""+e||""},t.prototype.dtdElementValue=function(e){return""+e||""},t.prototype.dtdAttType=function(e){return""+e||""},t.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},t.prototype.dtdEntityValue=function(e){return""+e||""},t.prototype.dtdNData=function(e){return""+e||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(e){var t;if(t=e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+e+" at index "+t.index);return e},t.prototype.elEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(//g,">").replace(/\r/g," ")},t.prototype.attEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/0?new Array(t).join(this.indent):""},t}()}).call(this)},{}],124:[function(e,t,n){(function(){var n,i,r,a,s,o,c;c=e("./Utility"),s=c.assign,o=c.isFunction,n=e("./XMLDocument"),i=e("./XMLDocumentCB"),a=e("./XMLStringWriter"),r=e("./XMLStreamWriter"),t.exports.create=function(e,t,i,r){var a,o;if(null==e)throw new Error("Root element needs a name.");return r=s({},t,i,r),o=(a=new n(r)).element(e),r.headless||(a.declaration(r),null==r.pubID&&null==r.sysID||a.doctype(r)),o},t.exports.begin=function(e,t,r){var a;return o(e)&&(t=(a=[e,t])[0],r=a[1],e={}),t?new i(e,t,r):new n(e)},t.exports.stringWriter=function(e){return new a(e)},t.exports.streamWriter=function(e,t){return new r(e,t)}}).call(this)},{"./Utility":103,"./XMLDocument":113,"./XMLDocumentCB":114,"./XMLStreamWriter":119,"./XMLStringWriter":120}]},{},[21])(21)),Oh.exports)); +/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Ph=1252,Lh=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],Wh={ +/*::[*/ +0:1252, +/* ANSI */ +/*::[*/ +1:65001, +/* DEFAULT */ +/*::[*/ +2:65001, +/* SYMBOL */ +/*::[*/ +77:1e4, +/* MAC */ +/*::[*/ +128:932, +/* SHIFTJIS */ +/*::[*/ +129:949, +/* HANGUL */ +/*::[*/ +130:1361, +/* JOHAB */ +/*::[*/ +134:936, +/* GB2312 */ +/*::[*/ +136:950, +/* CHINESEBIG5 */ +/*::[*/ +161:1253, +/* GREEK */ +/*::[*/ +162:1254, +/* TURKISH */ +/*::[*/ +163:1258, +/* VIETNAMESE */ +/*::[*/ +177:1255, +/* HEBREW */ +/*::[*/ +178:1256, +/* ARABIC */ +/*::[*/ +186:1257, +/* BALTIC */ +/*::[*/ +204:1251, +/* RUSSIAN */ +/*::[*/ +222:874, +/* THAI */ +/*::[*/ +238:1250, +/* EASTEUROPE */ +/*::[*/ +255:1252, +/* OEM */ +/*::[*/ +69:6969 +/* MISC */},Bh=function(e){-1!=Lh.indexOf(e)&&(Ph=Wh[0]=e)};var jh=function(e){Bh(e)};function zh(){jh(1200),Bh(1252)}function Hh(e){for(var t=[],n=0,i=e.length;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}var Gh,Xh=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?function(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==n?Vh(e.slice(2)):65279==t?e.slice(1):e},$h=function(e){return String.fromCharCode(e)},qh=function(e){return String.fromCharCode(e)},Yh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Kh(e){for(var t="",n=0,i=0,r=0,a=0,s=0,o=0,c=0,l=0;l>2,s=(3&n)<<4|(i=e.charCodeAt(l++))>>4,o=(15&i)<<2|(r=e.charCodeAt(l++))>>6,c=63&r,isNaN(i)?o=c=64:isNaN(r)&&(c=64),t+=Yh.charAt(a)+Yh.charAt(s)+Yh.charAt(o)+Yh.charAt(c);return t}function Zh(e){var t="",n=0,i=0,r=0,a=0,s=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4,t+=String.fromCharCode(n),i=(15&a)<<4|(s=Yh.indexOf(e.charAt(c++)))>>2,64!==s&&(t+=String.fromCharCode(i)),r=(3&s)<<6|(o=Yh.indexOf(e.charAt(c++))),64!==o&&(t+=String.fromCharCode(r));return t}var Jh=function(){return"undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node}(),Qh=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function ed(e){return Jh?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function td(e){return Jh?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var nd=function(e){return Jh?Qh(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function id(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n=0;)t+=e.charAt(n--);return t}function ld(e,t){var n=""+e;return n.length>=t?n:bu("0",t-n.length)+n}function hd(e,t){var n=""+e;return n.length>=t?n:bu(" ",t-n.length)+n}function dd(e,t){var n=""+e;return n.length>=t?n:n+bu(" ",t-n.length)}var ud=Math.pow(2,32);function fd(e,t){return e>ud||e<-ud?function(e,t){var n=""+Math.round(e);return n.length>=t?n:bu("0",t-n.length)+n}(e,t):function(e,t){var n=""+e;return n.length>=t?n:bu("0",t-n.length)+n}(Math.round(e),t)}function pd(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var gd=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],md=[["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"]];var bd={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"秒 "'},vd={5:37,6:38,7:39,8:40, +// 5 -> 37 ... 8 -> 40 +23:0,24:0,25:0,26:0, +// 23 -> 0 ... 26 -> 0 +27:14,28:14,29:14,30:14,31:14, +// 27 -> 14 ... 31 -> 14 +50:14,51:14,52:14,53:14,54:14, +// 50 -> 14 ... 58 -> 14 +55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4, +// 59 -> 1 ... 62 -> 4 +67:9,68:10, +// 67 -> 9 ... 68 -> 10 +69:12,70:13,71:14, +// 69 -> 12 ... 71 -> 14 +72:14,73:15,74:16,75:17, +// 72 -> 14 ... 75 -> 17 +76:20,77:21,78:22, +// 76 -> 20 ... 78 -> 22 +79:45,80:46,81:47, +// 79 -> 45 ... 81 -> 47 +82:0},yd={ +// 5 -- Currency, 0 decimal, black negative +5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)', +// 6 -- Currency, 0 decimal, red negative +6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)', +// 7 -- Currency, 2 decimal, black negative +7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)', +// 8 -- Currency, 2 decimal, red negative +8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', +// 41 -- Accounting, 0 decimal, No Symbol +41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)', +// 42 -- Accounting, 0 decimal, $ Symbol +42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)', +// 43 -- Accounting, 2 decimal, No Symbol +43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)', +// 44 -- Accounting, 2 decimal, $ Symbol +44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function wd(e,t,n){for(var i=e<0?-1:1,r=e*i,a=0,s=1,o=0,c=1,l=0,h=0,d=Math.floor(r);lt&&(l>t?(h=c,o=a):(h=l,o=s)),!n)return[0,i*o,h];var u=Math.floor(i*o/h);return[u,i*o-u*h,h]}function xd(e,t,n){if(e>2958465||e<0)return null;var i=0|e,r=Math.floor(86400*(e-i)),a=0,s=[],o={D:i,T:r,u:86400*(e-i)-r,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&&(i+=1462),o.u>.9999&&(o.u=0,86400==++r&&(o.T=r=0,++i,++o.D)),60===i)s=n?[1317,10,29]:[1900,2,29],a=3;else if(0===i)s=n?[1317,8,29]:[1900,1,0],a=6;else{i>60&&--i;var c=new Date(1900,0,1);c.setDate(c.getDate()+i-1),s=[c.getFullYear(),c.getMonth()+1,c.getDate()],a=c.getDay(),i<60&&(a=(a+6)%7),n&&(a=function(e,t){t[0]-=581;var n=e.getDay();e<60&&(n=(n+6)%7);return n}(c,s))}return o.y=s[0],o.m=s[1],o.d=s[2],o.S=r%60,r=Math.floor(r/60),o.M=r%60,r=Math.floor(r/60),o.H=r,o.q=a,o}var _d=new Date(1899,11,31,0,0,0),Td=_d.getTime(),Dd=new Date(1900,2,1,0,0,0);function Ad(e,t){var n=e.getTime();return t?n-=1262304e5:e>=Dd&&(n+=864e5),(n-(Td+6e4*(e.getTimezoneOffset()-_d.getTimezoneOffset())))/864e5}function Ed(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function kd(e){var t,n=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=n>=-4&&n<=-1?e.toPrecision(10+n):Math.abs(n)<=9?function(e){var t=e<0?12:11,n=Ed(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(e):10===n?e.toFixed(10).substr(0,12):function(e){var t=Ed(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),Ed(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}function Sd(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):kd(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Yd(14,Ad(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Cd(e,t,n,i){var r,a="",s=0,o=0,c=n.y,l=0;switch(e){case 98:c=n.y+543; +/* falls through */case 121:switch(t.length){case 1:case 2:r=c%100,l=2;break;default:r=c%1e4,l=4}break;case 109:switch(t.length){case 1:case 2:r=n.m,l=t.length;break;case 3:return md[n.m-1][1];case 5:return md[n.m-1][0];default:return md[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:r=n.d,l=t.length;break;case 3:return gd[n.q][0];default:return gd[n.q][1]}break;case 104:switch(t.length){case 1:case 2:r=1+(n.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:r=n.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:r=n.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(o=i>=2?3===i?1e3:100:1===i?10:1,(s=Math.round(o*(n.S+n.u)))>=60*o&&(s=0),"s"===t?0===s?"0":""+s/o:(a=ld(s,2+i),"ss"===t?a.substr(0,2):"."+a.substr(2,t.length-1))):ld(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":r=24*n.D+n.H;break;case"[m]":case"[mm]":r=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":r=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}l=3===t.length?1:2;break;case 101:r=c,l=1}return l>0?ld(r,l):""}function Ud(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}var Fd=/%/g;function Md(e,t){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+Md(e,-t);var r=e.indexOf(".");-1===r&&(r=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%r;if(a<0&&(a+=r),-1===(n=(t/Math.pow(10,a)).toPrecision(i+1+(r+a)%r)).indexOf("e")){var s=Math.floor(Math.log(t)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,r)+"."+n.substr(2+r)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,i){return t+n+i.substr(0,(r+a)%r)+"."+i.substr(a)+"E"}))}else n=t.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var Rd=/# (\?+)( ?)\/( ?)(\d+)/;var Id=/^#*0*\.([0#]+)/,Od=/\).*[0#]/,Nd=/\(###\) ###\\?-####/;function Pd(e){for(var t,n="",i=0;i!=e.length;++i)switch(t=e.charCodeAt(i)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function Ld(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function Wd(e,t){var n=e-Math.floor(e),i=Math.pow(10,t);return t<(""+Math.round(n*i)).length?0:Math.round(n*i)}function Bd(e,t,n){if(40===e.charCodeAt(0)&&!t.match(Od)){var i=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?Bd("n",i,n):"("+Bd("n",i,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var i=t.length-1;44===t.charCodeAt(i-1);)--i;return Hd(e,t.substr(0,i),n/Math.pow(10,3*(t.length-i)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var i=t.replace(Fd,""),r=t.length-i.length;return Hd(e,i,n*Math.pow(10,2*r))+bu("%",r)}(e,t,n);if(-1!==t.indexOf("E"))return Md(t,n);if(36===t.charCodeAt(0))return"$"+Bd(e,t.substr(" "==t.charAt(1)?2:1),n);var r,a,s,o,c=Math.abs(n),l=n<0?"-":"";if(t.match(/^00+$/))return l+fd(c,t.length);if(t.match(/^[#?]+$/))return"0"===(r=fd(n,0))&&(r=""),r.length>t.length?r:Pd(t.substr(0,t.length-r.length))+r;if(a=t.match(Rd))return function(e,t,n){var i=parseInt(e[4],10),r=Math.round(t*i),a=Math.floor(r/i),s=r-a*i,o=i;return n+(0===a?"":""+a)+" "+(0===s?bu(" ",e[1].length+1+e[4].length):hd(s,e[1].length)+e[2]+"/"+e[3]+ld(o,e[4].length))}(a,c,l);if(t.match(/^#+0+$/))return l+fd(c,t.length-t.indexOf("0"));if(a=t.match(Id))return r=Ld(n,a[1].length).replace(/^([^\.]+)$/,"$1."+Pd(a[1])).replace(/\.$/,"."+Pd(a[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+bu("0",Pd( +/*::(*/ +a[1]).length-t.length)})),-1!==t.indexOf("0.")?r:r.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return l+Ld(c,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return l+Ud(fd(c,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+Bd(e,t,-n):Ud(""+(Math.floor(n)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(n,a[1].length)))+"."+ld(Wd(n,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return Bd(e,t.replace(/^#,#*,/,""),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return r=cd(Bd(e,t.replace(/[\\-]/g,""),n)),s=0,cd(cd(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return s-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(n)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?ld(0,3-e.length):"")+e}))+"."+ld(s,a[1].length);switch(t){case"###,##0.00":return Bd(e,"#,##0.00",n);case"###,###":case"##,###":case"#,###":var f=Ud(fd(c,0));return"0"!==f?l+f:"";case"###,###.00":return Bd(e,"###,##0.00",n).replace(/^0\./,".");case"#,###.00":return Bd(e,"#,##0.00",n).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function jd(e,t){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+jd(e,-t);var r=e.indexOf(".");-1===r&&(r=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%r;if(a<0&&(a+=r),!(n=(t/Math.pow(10,a)).toPrecision(i+1+(r+a)%r)).match(/[Ee]/)){var s=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,i){return t+n+i.substr(0,(r+a)%r)+"."+i.substr(a)+"E"}))}else n=t.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function zd(e,t,n){if(40===e.charCodeAt(0)&&!t.match(Od)){var i=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?zd("n",i,n):"("+zd("n",i,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var i=t.length-1;44===t.charCodeAt(i-1);)--i;return Hd(e,t.substr(0,i),n/Math.pow(10,3*(t.length-i)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var i=t.replace(Fd,""),r=t.length-i.length;return Hd(e,i,n*Math.pow(10,2*r))+bu("%",r)}(e,t,n);if(-1!==t.indexOf("E"))return jd(t,n);if(36===t.charCodeAt(0))return"$"+zd(e,t.substr(" "==t.charAt(1)?2:1),n);var r,a,s,o,c=Math.abs(n),l=n<0?"-":"";if(t.match(/^00+$/))return l+ld(c,t.length);if(t.match(/^[#?]+$/))return r=""+n,0===n&&(r=""),r.length>t.length?r:Pd(t.substr(0,t.length-r.length))+r;if(a=t.match(Rd))return function(e,t,n){return n+(0===t?"":""+t)+bu(" ",e[1].length+2+e[4].length)}(a,c,l);if(t.match(/^#+0+$/))return l+ld(c,t.length-t.indexOf("0"));if(a=t.match(Id))return r=(r=(""+n).replace(/^([^\.]+)$/,"$1."+Pd(a[1])).replace(/\.$/,"."+Pd(a[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+bu("0",Pd(a[1]).length-t.length)})),-1!==t.indexOf("0.")?r:r.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return l+Ud(""+c);if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+zd(e,t,-n):Ud(""+n)+"."+bu("0",a[1].length);if(a=t.match(/^#,#*,#0/))return zd(e,t.replace(/^#,#*,/,""),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return r=cd(zd(e,t.replace(/[\\-]/g,""),n)),s=0,cd(cd(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return s-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);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-1;);break;default:++t}return!1}var Xd=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function $d(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function qd(e,t){var n=function(e){for(var t=[],n=!1,i=0,r=0;i-1&&--i,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||r>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=r>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=r>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=r>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var a=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[i,a];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var s=n[0].match(Xd),o=n[1].match(Xd);return $d(t,s)?[i,n[0]]:$d(t,o)?[i,n[1]]:[i,n[null!=s&&null!=o?2:1]]}return[i,a]}function Yd(e,t,n){null==n&&(n={});var i="";switch(typeof e){case"string":i="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(i=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:bd)[e])&&(i=n.table&&n.table[vd[e]]||bd[vd[e]]),null==i&&(i=yd[e]||"General")}if(pd(i,0))return Sd(t,n);t instanceof Date&&(t=Ad(t,n.date1904));var r=qd(i,t);if(pd(r[1]))return Sd(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,n,i){for(var r,a,s,o=[],c="",l=0,h="",d="t",u="H";l=12?"P":"A"),g.t="T",u="h",l+=3):"AM/PM"===e.substr(l,5).toUpperCase()?(null!=r&&(g.v=r.H>=12?"PM":"AM"),g.t="T",l+=5,u="h"):"上午/下午"===e.substr(l,5).toUpperCase()?(null!=r&&(g.v=r.H>=12?"下午":"上午"),g.t="T",l+=5,u="h"):(g.t="t",++l),null==r&&"T"===g.t)return"";o[o.length]=g,d=h;break;case"[":for(c=h;"]"!==e.charAt(l++)&&l-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",Gd(e)||(o[o.length]={t:"t",v:c}));break; +/* Numbers */case".":if(null!=r){for(c=h;++l-1;)c+=h;o[o.length]={t:"n",v:c};break;case"?":for(c=h;e.charAt(++l)===h;)c+=h;o[o.length]={t:h,v:c},d=h;break;case"*":++l," "!=e.charAt(l)&&"*"!=e.charAt(l)||++l;break; +// ** +case"(":case")":o[o.length]={t:1===i?"t":h,v:h},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=h;l-1;)c+=e.charAt(l);o[o.length]={t:"D",v:c};break;case" ":o[o.length]={t:h,v:h},++l;break;case"$":o[o.length]={t:"t",v:"$"},++l;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(h))throw new Error("unrecognized character "+h+" in "+e);o[o.length]={t:"t",v:h},++l}var m,b=0,v=0;for(l=o.length-1,d="t";l>=0;--l)switch(o[l].t){case"h":case"H":o[l].t=u,d="h",b<1&&(b=1);break;case"s":(m=o[l].v.match(/\.0+$/))&&(v=Math.max(v,m[0].length-1)),b<3&&(b=3) +/* falls through */;case"d":case"y":case"M":case"e":d=o[l].t;break;case"m":"s"===d&&(o[l].t="M",b<2&&(b=2));break;case"X":break;case"Z":b<1&&o[l].v.match(/[Hh]/)&&(b=1),b<2&&o[l].v.match(/[Mm]/)&&(b=2),b<3&&o[l].v.match(/[Ss]/)&&(b=3)}switch(b){case 0:break;case 1:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M),r.M>=60&&(r.M=0,++r.H);break;case 2:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M)}var y,w="";for(l=0;l0){40==w.charCodeAt(0)?(x=t<0&&45===w.charCodeAt(0)?-t:t,_=Hd("n",w,x)):(_=Hd("n",w,x=t<0&&i>1?-t:t),x<0&&o[0]&&"t"==o[0].t&&(_=_.substr(1),o[0].v="-"+o[0].v)),y=_.length-1;var D=o.length;for(l=0;l-1){D=l;break}var A=o.length;if(D===o.length&&-1===_.indexOf("E")){for(l=o.length-1;l>=0;--l)null!=o[l]&&-1!=="n?".indexOf(o[l].t)&&(y>=o[l].v.length-1?(y-=o[l].v.length,o[l].v=_.substr(y+1,o[l].v.length)):y<0?o[l].v="":(o[l].v=_.substr(0,y+1),y=-1),o[l].t="t",A=l);y>=0&&A=0;--l)if(null!=o[l]&&-1!=="n?".indexOf(o[l].t)){for(a=o[l].v.indexOf(".")>-1&&l===D?o[l].v.indexOf(".")-1:o[l].v.length-1,T=o[l].v.substr(a+1);a>=0;--a)y>=0&&("0"===o[l].v.charAt(a)||"#"===o[l].v.charAt(a))&&(T=_.charAt(y--)+T);o[l].v=T,o[l].t="t",A=l}for(y>=0&&A-1&&l===D?o[l].v.indexOf(".")+1:0,T=o[l].v.substr(0,a);a-1&&(x=i>1&&t<0&&l>0&&"-"===o[l-1].v?-t:t,o[l].v=Hd(o[l].t,o[l].v,x),o[l].t="t");var E="";for(l=0;l!==o.length;++l)null!=o[l]&&(E+=o[l].v);return E}(r[1],t,n,r[0])}function Kd(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=bd[n]){if(bd[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return bd[t]=e,t}function Zd(){var e;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"秒 "',bd=e}var Jd={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Qd=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var eu=function(){var e={};e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();var n=function(e){var t=0,n=0,i=0,r="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(i=0;256!=i;++i)r[i]=e[i];for(i=0;256!=i;++i)for(n=e[i],t=256+i;t<4096;t+=256)n=r[t]=n>>>8^e[255&n];var a=[];for(i=1;16!=i;++i)a[i-1]="undefined"!=typeof Int32Array?r.subarray(256*i,256*i+256):r.slice(256*i,256*i+256);return a}(t),i=n[0],r=n[1],a=n[2],s=n[3],o=n[4],c=n[5],l=n[6],h=n[7],d=n[8],u=n[9],f=n[10],p=n[11],g=n[12],m=n[13],b=n[14];return e.table=t,e.bstr=function(e,n){for(var i=~n,r=0,a=e.length;r>>8^t[255&(i^e.charCodeAt(r++))];return~i},e.buf=function(e,n){for(var v=~n,y=e.length-15,w=0;w>8&255]^g[e[w++]^v>>16&255]^p[e[w++]^v>>>24]^f[e[w++]]^u[e[w++]]^d[e[w++]]^h[e[w++]]^l[e[w++]]^c[e[w++]]^o[e[w++]]^s[e[w++]]^a[e[w++]]^r[e[w++]]^i[e[w++]]^t[e[w++]];for(y+=15;w>>8^t[255&(v^e[w++])];return~v},e.str=function(e,n){for(var i=~n,r=0,a=e.length,s=0,o=0;r>>8^t[255&(i^s)]:s<2048?i=(i=i>>>8^t[255&(i^(192|s>>6&31))])>>>8^t[255&(i^(128|63&s))]:s>=55296&&s<57344?(s=64+(1023&s),o=1023&e.charCodeAt(r++),i=(i=(i=(i=i>>>8^t[255&(i^(240|s>>8&7))])>>>8^t[255&(i^(128|s>>2&63))])>>>8^t[255&(i^(128|o>>6&15|(3&s)<<4))])>>>8^t[255&(i^(128|63&o))]):i=(i=(i=i>>>8^t[255&(i^(224|s>>12&15))])>>>8^t[255&(i^(128|s>>6&63))])>>>8^t[255&(i^(128|63&s))];return~i},e}(),tu=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function i(e){if("/"==e.charAt(e.length-1))return i(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function r(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,n);var i=t.getFullYear()-1980;i=(i=i<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,i)}function a(e){Xf(e,0);for(var t= +/*::(*/{},n=0;e.l<=e.length-4;){var i=e.read_shift(2),r=e.read_shift(2),a=e.l+r,s={};if(21589===i)1&(n=e.read_shift(1))&&(s.mtime=e.read_shift(4)),r>5&&(2&n&&(s.atime=e.read_shift(4)),4&n&&(s.ctime=e.read_shift(4))),s.mtime&&(s.mt=new Date(1e3*s.mtime));e.l=a,t[i]=s}return t}function s(){return e||(e={})}function o(e,t){if(80==e[0]&&75==e[1])return re(e,t);if(109==(32|e[0])&&105==(32|e[1]))return function(e,t){if("mime-version:"!=_(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var n=t&&t.root||"",i=(Jh&&Buffer.isBuffer(e)?e.toString("binary"):_(e)).split("\r\n"),r=0,a="";for(r=0;r0&&(n=(n=n.slice(0,n.length-1)).slice(0,n.lastIndexOf("/")+1),a.slice(0,n.length)!=n););var s=(i[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var o="--"+(s[1]||""),c=[],l=[],h={FileIndex:c,FullPaths:l};u(h);var d,f=0;for(r=0;r=r&&(u-=r),!s[u]){c=[];var p=[];for(d=u;d>=0;){p[d]=!0,s[d]=!0,o[o.length]=d,c.push(e[d]);var g=n[Math.floor(4*d/i)];if(i<4+(f=4*d&l))throw new Error("FAT boundary crossed: "+d+" 4 "+i);if(!e[g])break;if(p[d=Lf(e[g],f)])break}a[u]={nodes:o,data:pf([c])}}return a}(D,a,p,f);A[a].name="!Directory",i>0&&s!==b&&(A[s].name="!MiniFAT"),A[p[0]].name="!FAT",A.fat_addrs=p,A.ssz=f;var E=[],k=[],S=[];!function(e,t,n,i,r,a,s,o){for(var l,u=0,f=i.length?2:0,p=t[e].data,g=0,m=0;g0&&u!==b&&(t[u].name="!StreamData")):y.size>=4096?(y.storage="fat",void 0===t[y.start]&&(t[y.start]=h(n,y.start,t.fat_addrs,t.ssz)),t[y.start].name=y.name,y.content=t[y.start].data.slice(0,y.size)):(y.storage="minifat",y.size<0?y.size=0:u!==b&&y.start!==b&&t[u]&&(y.content=c(y,t[u].data,(t[o]||{}).data))),y.content&&Xf(y.content,0),a[l]=y,s.push(y)}}(a,A,D,E,i,{},k,s),function(e,t,n){for(var i=0,r=0,a=0,s=0,o=0,c=n.length,l=[],h=[];i0&&s>=0;)a.push(t.slice(s*m,s*m+m)),r-=m,s=Lf(n,4*s);return 0===a.length?qf(0):ad(a).slice(0,e.size)}function l(e,t,n,i,r){var a=b;if(e===b){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var s=n[e],o=(i>>>2)-1;if(!s)return;for(var c=0;c=0;){r[c]=!0,a[a.length]=c,s.push(e[c]);var h=n[Math.floor(4*c/i)];if(i<4+(l=4*c&o))throw new Error("FAT boundary crossed: "+c+" 4 "+i);if(!e[h])break;c=Lf(e[h],l)}return{nodes:a,data:pf([s])}}function d(e,t){return new Date(1e3*(Pf(e,t+4)/1e7*Math.pow(2,32)+Pf(e,t)/1e7-11644473600))}function u(e,t){var n=t||{},i=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=i+"/",e.FileIndex[0]={name:i,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="Sh33tJ5";if(tu.find(e,"/"+t))return;var n=qf(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),f(e)}(e)}function f(e,t){u(e);for(var r=!1,a=!1,s=e.FullPaths.length-1;s>=0;--s){var o=e.FileIndex[s];switch(o.type){case 0:a?r=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:a=!0,isNaN(o.R*o.L*o.C)&&(r=!0),o.R>-1&&o.L>-1&&o.R==o.L&&(r=!0);break;default:r=!0}}if(r||t){var c=new Date(1987,1,19),l=0,h=Object.create?Object.create(null):{},d=[];for(s=0;s1?1:-1,p.size=0,p.type=5;else if("/"==g.slice(-1)){for(l=s+1;l=d.length?-1:l,l=s+1;l=d.length?-1:l,p.type=1}else n(e.FullPaths[s+1]||"")==n(g)&&(p.R=s+1),p.type=2}}}function p(e,t){var n=t||{};if("mad"==n.fileType)return function(e,t){for(var n=t||{},i=n.boundary||"SheetJS",r=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(i="------="+i).slice(2)+'"',"","",""],a=e.FullPaths[0],s=a,o=e.FileIndex[0],c=1;c=32&&f<128&&++d;var g=d>=4*u/5;r.push(i),r.push("Content-Location: "+(n.root||"file:///C:/SheetJS/")+s),r.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),r.push("Content-Type: "+oe(o,s)),r.push(""),r.push(g?le(h):ce(h))}return r.push(i+"--\r\n"),r.join("\r\n")}(e,n);if(f(e),"zip"===n.fileType)return function(e,t){var n=t||{},i=[],a=[],s=qf(1),o=n.compression?8:0,c=0,l=0,h=0,d=0,u=0,f=e.FullPaths[0],p=f,g=e.FileIndex[0],m=[],b=0;for(l=1;l0&&(a<4096?t+=a+63>>6:n+=a+511>>9)}}for(var s=e.FullPaths.length+3>>2,o=t+127>>7,c=(t+7>>3)+n+s+o,l=c+127>>7,h=l<=109?0:Math.ceil((l-109)/127);c+l+h+127>>7>l;)h=++l<=109?0:Math.ceil((l-109)/127);var d=[1,h,l,o,s,n,t,0];return e.FileIndex[0].size=t<<6,d[7]=(e.FileIndex[0].start=d[0]+d[1]+d[2]+d[3]+d[4]+d[5])+(d[6]+7>>3),d}(e),a=qf(i[7]<<9),s=0,o=0;for(s=0;s<8;++s)a.write_shift(1,y[s]);for(s=0;s<8;++s)a.write_shift(2,0);for(a.write_shift(2,62),a.write_shift(2,3),a.write_shift(2,65534),a.write_shift(2,9),a.write_shift(2,6),s=0;s<3;++s)a.write_shift(2,0);for(a.write_shift(4,0),a.write_shift(4,i[2]),a.write_shift(4,i[0]+i[1]+i[2]+i[3]-1),a.write_shift(4,0),a.write_shift(4,4096),a.write_shift(4,i[3]?i[0]+i[1]+i[2]-1:b),a.write_shift(4,i[3]),a.write_shift(-4,i[1]?i[0]-1:b),a.write_shift(4,i[1]),s=0;s<109;++s)a.write_shift(-4,s>9)));for(c(i[6]+7>>3);511&a.l;)a.write_shift(-4,x.ENDOFCHAIN);for(o=s=0,l=0;l=4096||(d.start=o,c(h+63>>6)));for(;511&a.l;)a.write_shift(-4,x.ENDOFCHAIN);for(s=0;s=4096)if(a.l=d.start+1<<9,Jh&&Buffer.isBuffer(d.content))d.content.copy(a,a.l,0,d.size),a.l+=d.size+511&-512;else{for(l=0;l0&&d.size<4096)if(Jh&&Buffer.isBuffer(d.content))d.content.copy(a,a.l,0,d.size),a.l+=d.size+63&-64;else{for(l=0;l>16|S>>8|S));function M(e,t){var n=U[255&e];return t<=8?n>>>8-t:(n=n<<8|U[e>>8&255],t<=16?n>>>16-t:(n=n<<8|U[e>>16&255])>>>24-t)}function R(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=6?0:e[i+1]<<8))>>>n&3}function I(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=5?0:e[i+1]<<8))>>>n&7}function O(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=3?0:e[i+1]<<8))>>>n&31}function N(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=1?0:e[i+1]<<8))>>>n&127}function P(e,t,n){var i=7&t,r=t>>>3,a=(1<>>i;return n<8-i?s&a:(s|=e[r+1]<<8-i,n<16-i?s&a:(s|=e[r+2]<<16-i,n<24-i?s&a:(s|=e[r+3]<<24-i)&a))}function L(e,t,n){var i=7&t,r=t>>>3;return i<=5?e[r]|=(7&n)<>8-i),t+3}function W(e,t,n){return n=(1&n)<<(7&t),e[t>>>3]|=n,t+1}function B(e,t,n){var i=t>>>3;return n<<=7&t,e[i]|=255&n,n>>>=8,e[i+1]=n,t+8}function j(e,t,n){var i=t>>>3;return n<<=7&t,e[i]|=255&n,n>>>=8,e[i+1]=255&n,e[i+2]=n>>>8,t+16}function z(e,t){var n=e.length,i=2*n>t?2*n:t+5,r=0;if(n>=t)return e;if(Jh){var a=td(i);if(e.copy)e.copy(a);else for(;r>i-d,s=(1<=0;--s)t[o|s<0;)t[t.l++]=e[n++]}return t.l}(t,n):function(t,n){for(var r=0,a=0,s=C?new Uint16Array(32768):[];a0;)n[n.l++]=t[a++];r=8*n.l}else{r=L(n,r,+!(a+o!=t.length)+2);for(var c=0;o-- >0;){var l=t[a],h=-1,d=0;if((h=s[c=32767&(c<<5^l)])&&((h|=-32768&a)>a&&(h-=32768),h2){(l=i[d])<=22?r=B(n,r,U[l+1]>>1)-1:(B(n,r,3),B(n,r+=5,U[l-23]>>5),r+=3);var u=l<8?0:l-4>>2;u>0&&(j(n,r,d-A[l]),r+=u),l=e[a-h],r=B(n,r,U[l]>>3),r-=3;var f=l<4?0:l-2>>1;f>0&&(j(n,r,a-h-E[l]),r+=f);for(var p=0;p>>3;return(e[i]|(n<=4?0:e[i+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var a=0,s=C?new Uint8Array(19):H(19),o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=C?new Uint8Array(8):H(8),h=C?new Uint8Array(8):H(8),d=s.length,u=0;u>8-p;for(var g=(1<<7-p)-1;g>=0;--g)J[f|g<>>=3){case 16:for(a=3+R(e,t),t+=2,f=m[m.length-1];a-- >0;)m.push(f);break;case 17:for(a=3+I(e,t),t+=3;a-- >0;)m.push(0);break;case 18:for(a=11+N(e,t),t+=7;a-- >0;)m.push(0);break;default:m.push(f),c>>0,o=0,c=0;!(1&i);)if(i=I(e,n),n+=3,i>>>1!=0)for(i>>1==1?(o=9,c=5):(n=te(e,n),o=Q,c=ee);;){!t&&s>>1==1?G[l]:K[l];if(n+=15&h,(h>>>=4)>>>8&255){if(256==h)break;var d=(h-=257)<8?0:h-4>>2;d>5&&(d=0);var u=a+A[h];d>0&&(u+=P(e,n,d),n+=d),l=P(e,n,c),n+=15&(h=i>>>1==1?X[l]:Z[l]);var f=(h>>>=4)<4?0:h-2>>1,p=E[h];for(f>0&&(p+=P(e,n,f),n+=f),!t&&s>>3]|e[1+(n>>>3)]<<8;if(n+=32,g>0)for(!t&&s0;)r[a++]=e[n>>>3],n+=8}return t?[r,n+7>>>3]:[r.slice(0,a),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function ie(e,t){if(!e)throw new Error(t)}function re(e,t){var n= +/*::(*/e;Xf(n,0);var i={FileIndex:[],FullPaths:[]};u(i,{root:t.root});for(var r=n.length-4;(80!=n[r]||75!=n[r+1]||5!=n[r+2]||6!=n[r+3])&&r>=0;)--r;n.l=r+4,n.l+=4;var s=n.read_shift(2);n.l+=6;var o=n.read_shift(4);for(n.l=o,r=0;r>>=5);n>>>=4,i.setMilliseconds(0),i.setFullYear(n+1980),i.setMonth(a-1),i.setDate(r);var s=31&t,o=63&(t>>>=5);return t>>>=6,i.setHours(t),i.setMinutes(o),i.setSeconds(s<<1),i}(e);if(8257&s)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var l=e.read_shift(4),h=e.read_shift(4),d=e.read_shift(2),u=e.read_shift(2),f="",p=0;p3&&(i=!0),r[a].slice(r[a].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+r[a].slice(r[a].length-1));case"D":n*=24; +/* falls through */case"H":n*=60; +/* falls through */case"M":if(!i)throw new Error("Unsupported ISO Duration Field: M");n*=60}t+=n*parseInt(r[a],10)}return t}var du=new Date("2017-02-19T19:06:09.000Z"),uu=isNaN(du.getFullYear())?new Date("2/19/17"):du,fu=2017==uu.getFullYear();function pu(e,t){var n=new Date(e);if(fu)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==uu.getFullYear()&&!isNaN(n.getFullYear())){var i=n.getFullYear();return e.indexOf(""+i)>-1||n.setFullYear(n.getFullYear()+100),n}var r=e.match(/\d+/g)||["2017","2","19","0","0","0"],a=new Date(+r[0],+r[1]-1,+r[2],+r[3]||0,+r[4]||0,+r[5]||0);return e.indexOf("Z")>-1&&(a=new Date(a.getTime()-60*a.getTimezoneOffset()*1e3)),a}function gu(e,t){if(Jh&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Qu(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Qu(Vh(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Qu(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Qu(new TextDecoder("utf-16be").decode(e.slice(2)))}var n={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return n[e]||e}))}catch(a){}for(var i=[],r=0;r!=e.length;++r)i.push(String.fromCharCode(e[r]));return i.join("")}function mu(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=mu(e[n]));return t}function bu(e,t){for(var n="";n.length3&&-1==yu.indexOf(s))return n}else if(s.match(/[a-z]/))return n;return i<0||i>8099?n:(r>0||a>1)&&101!=i?t:e.match(/[^-0-9:,\/\\]/)?n:t}var xu=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,n,i){if(e||"string"==typeof n)return t.split(n);for(var r=t.split(n),a=[r[0]],s=1;s>6&31,r[n++]=128|63&s;else if(s>=55296&&s<57344){s=64+(1023&s);var o=1023&e.charCodeAt(++a);r[n++]=240|s>>8&7,r[n++]=128|s>>2&63,r[n++]=128|o>>6&15|(3&s)<<4,r[n++]=128|63&o}else r[n++]=224|s>>12&15,r[n++]=128|s>>6&63,r[n++]=128|63&s;n>i&&(t.push(r.slice(0,n)),n=0,r=ed(65535),i=65530)}return t.push(r.slice(0,n)),ad(t)}(n),tu.utils.cfb_add(e,t,i);tu.utils.cfb_add(e,t,n)}else e.file(t,n)}function Uu(e,t){switch(t.type){case"base64":return tu.read(e,{type:"base64"});case"binary":return tu.read(e,{type:"binary"});case"buffer":case"array":return tu.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function Fu(e,t){if("/"==e.charAt(0))return e.slice(1);var n=t.split("/");"/"!=t.slice(-1)&&n.pop();for(var i=e.split("/");0!==i.length;){var r=i.shift();".."===r?n.pop():"."!==r&&n.push(r)}return n.join("/")}var Mu='\r\n',Ru=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Iu=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Ou=Mu.match(Iu)?Iu:/<[^>]*>/g,Nu=/<\w*:/,Pu=/<(\/?)\w+:/;function Lu(e,t,n){for(var i={},r=0,a=0;r!==e.length&&(32!==(a=e.charCodeAt(r))&&10!==a&&13!==a);++r);if(t||(i[0]=e.slice(0,r)),r===e.length)return i;var s=e.match(Ru),o=0,c="",l=0,h="",d="",u=1;if(s)for(l=0;l!=s.length;++l){for(d=s[l],a=0;a!=d.length&&61!==d.charCodeAt(a);++a);for(h=d.slice(0,a).trim();32==d.charCodeAt(a+1);)++a;for(u=34==(r=d.charCodeAt(a+1))||39==r?1:0,c=d.slice(a+1+u,d.length-u),o=0;o!=h.length&&58!==h.charCodeAt(o);++o);if(o===h.length)h.indexOf("_")>0&&(h=h.slice(0,h.indexOf("_"))),i[h]=c,i[h.toLowerCase()]=c;else{var f=(5===o&&"xmlns"===h.slice(0,5)?"xmlns":"")+h.slice(o+1);if(i[f]&&"ext"==h.slice(o-3,o))continue;i[f]=c,i[f.toLowerCase()]=c}}return i}function Wu(e){return e.replace(Pu,"<$1")}var Bu={""":'"',"'":"'",">":">","<":"<","&":"&"},ju=iu(Bu),zu=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(i){var r=i+"",a=r.indexOf("-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var s=r.indexOf("]]>");return n(r.slice(0,a))+r.slice(a+9,s)+n(r.slice(s+3))}}(),Hu=/[&<>'"]/g,Vu=/[\u0000-\u001f]/g;function Gu(e){return(e+"").replace(Hu,(function(e){return ju[e]})).replace(/\n/g,"
").replace(Vu,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Xu=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}();function $u(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0; +/* case '0': case 'false': case 'FALSE':*/default:return!1}}function qu(e){for(var t="",n=0,i=0,r=0,a=0,s=0,o=0;n191&&i<224?(s=(31&i)<<6,s|=63&r,t+=String.fromCharCode(s)):(a=e.charCodeAt(n++),i<240?t+=String.fromCharCode((15&i)<<12|(63&r)<<6|63&a):(o=((7&i)<<18|(63&r)<<12|(63&a)<<6|63&(s=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(1023&o)))));return t}function Yu(e){var t,n,i,r=ed(2*e.length),a=1,s=0,o=0;for(n=0;n>>10&1023),t=56320+(1023&t)),0!==o&&(r[s++]=255&o,r[s++]=o>>>8,o=0),r[s++]=t%256,r[s++]=t>>>8;return r.slice(0,s).toString("ucs2")}function Ku(e){return Qh(e,"binary").toString("utf8")}var Zu="foo bar baz☃🍣",Ju=Jh&&(Ku(Zu)==qu(Zu)&&Ku||Yu(Zu)==qu(Zu)&&Yu)||qu,Qu=Jh?function(e){return Qh(e,"utf8").toString("binary")}:function(e){for(var t=[],n=0,i=0,r=0;n>6))),t.push(String.fromCharCode(128+(63&i)));break;case i>=55296&&i<57344:i-=55296,r=e.charCodeAt(n++)-56320+(i<<10),t.push(String.fromCharCode(240+(r>>18&7))),t.push(String.fromCharCode(144+(r>>12&63))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)));break;default:t.push(String.fromCharCode(224+(i>>12))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)))}return t.join("")},ef=function(){var e={};return function(t,n){var i=t+"|"+(n||"");return e[i]?e[i]:e[i]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",n||"")}}(),tf=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),i=0;i([\\s\\S]*?)","g")}}(),rf=/<\/?(?:vt:)?variant>/g,af=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function lf(e){if(Jh&&/*::typeof Buffer !== "undefined" && d != null && d instanceof Buffer &&*/ +Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Ju(id(rd(e)));throw new Error("Bad input format: expected Buffer or string")}var hf=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/gm,df="http://schemas.openxmlformats.org/package/2006/content-types",uf=["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"];var ff=function(e){for(var t=[],n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:Qh(e)}))):ff(e)}:ff,gf=function(e,t,n){for(var i=[],r=t;r0?wf(e,t+4,t+4+n-1):""},_f=xf,Tf=function(e,t){var n=Pf(e,t);return n>0?wf(e,t+4,t+4+n-1):""},Df=Tf,Af=function(e,t){var n=2*Pf(e,t);return n>0?wf(e,t+4,t+4+n-1):""},Ef=Af,kf=function(e,t){var n=Pf(e,t);return n>0?mf(e,t+4,t+4+n):""},Sf=kf,Cf=function(e,t){var n=Pf(e,t);return n>0?wf(e,t+4,t+4+n):""},Uf=Cf,Ff=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),i=((127&e[t+7])<<4)+(e[t+6]>>>4&15),r=15&e[t+6],a=5;a>=0;--a)r=256*r+e[t+a];return 2047==i?0==r?n*(1/0):NaN:(0==i?i=-1022:(i-=1023,r+=Math.pow(2,52)),n*Math.pow(2,i-52)*r)}(e,t)},Mf=Ff,Rf=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};Jh&&(_f=function(e,t){if(!Buffer.isBuffer(e))return xf(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Df=function(e,t){if(!Buffer.isBuffer(e))return Tf(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Ef=function(e,t){if(!Buffer.isBuffer(e))return Af(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},Sf=function(e,t){if(!Buffer.isBuffer(e))return kf(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},Uf=function(e,t){if(!Buffer.isBuffer(e))return Cf(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},Mf=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):Ff(e,t)},Rf=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array});var If=function(e,t){return e[t]},Of=function(e,t){return 256*e[t+1]+e[t]},Nf=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Pf=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Lf=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Wf=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Bf(e,t){var n,i,r,a,s,o,c="",l=[];switch(t){case"dbcs":if(o=this.l,Jh&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(s=0;s0?Lf:Wf)(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return i=8==e?Mf(this,this.l):Mf([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,i; +/* falls through */e=8;case 16:c=vf(this,this.l,e)}}return this.l+=e,c}var jf=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},zf=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Hf=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Vf(e,t,n){var i=0,r=0;if("dbcs"===n){for(r=0;r!=t.length;++r)Hf(this,t.charCodeAt(r),this.l+2*r);i=2*t.length}else if("sbcs"===n){for(t=t.replace(/[^\x00-\x7F]/g,"_"),r=0;r!=t.length;++r)this[this.l+r]=255&t.charCodeAt(r);i=t.length}else{if("hex"===n){for(;r>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:i=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:i=4,jf(this,t,this.l);break;case 8:if(i=8,"f"===n){!function(e,t,n){var i=(t<0||1/t==-1/0?1:0)<<7,r=0,a=0,s=i?-t:t;isFinite(s)?0==s?r=a=0:(r=Math.floor(Math.log(s)/Math.LN2),a=s*Math.pow(2,52-r),r<=-1023&&(!isFinite(a)||a>4|i}(this,t,this.l);break} +/* falls through */case 16:break;case-4:i=4,zf(this,t,this.l)}}return this.l+=i,this}function Gf(e,t){var n=vf(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Xf(e,t){e.l=t,e.read_shift=/*::(*/ +Bf,e.chk=Gf,e.write_shift=Vf}function $f(e,t){e.l+=t}function qf(e){var t=ed(e);return Xf(t,0),t}function Yf(e,t,n){if(e){var i,r,a;Xf(e,e.l||0);for(var s=e.length,o=0,c=0;e.li.l&&((i=i.slice(0,i.l)).l=i.length),i.length>0&&e.push(i),i=null)},a=function(e){return i&&e=256;)i.c-=256;for(;i.r>=65536;)i.r-=65536}return i}function Jf(e,t,n){var i=mu(e);return i.s=Zf(i.s,t.s,n),i.e=Zf(i.e,t.s,n),i}function Qf(e,t){if(e.cRel&&e.c<0)for(e=mu(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=mu(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=sp(e);return e.cRel||null==e.cRel||(n=n.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(n=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(n)),n}function ep(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Qf(e.s,t.biff)+":"+Qf(e.e,t.biff):(e.s.rRel?"":"$")+np(e.s.r)+":"+(e.e.rRel?"":"$")+np(e.e.r):(e.s.cRel?"":"$")+rp(e.s.c)+":"+(e.e.cRel?"":"$")+rp(e.e.c)}function tp(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function np(e){return""+(e+1)}function ip(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),n=0,i=0;i!==t.length;++i)n=26*n+t.charCodeAt(i)-64;return n-1}function rp(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 ap(e){for(var t=0,n=0,i=0;i=48&&r<=57?t=10*t+(r-48):r>=65&&r<=90&&(n=26*n+(r-64))}return{c:n-1,r:t-1}}function sp(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function op(e){var t=e.indexOf(":");return-1==t?{s:ap(e),e:ap(e)}:{s:ap(e.slice(0,t)),e:ap(e.slice(t+1))}}function cp(e,t){return void 0===t||"number"==typeof t?cp(e.s,e.e):("string"!=typeof e&&(e=sp(e)),"string"!=typeof t&&(t=sp(t)),e==t?e:e+":"+t)}function lp(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,i=0,r=0,a=e.length;for(n=0;i26);++i)n=26*n+r;for(t.s.c=--n,n=0;i9);++i)n=10*n+r;if(t.s.r=--n,i===a||10!=r)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++i,n=0;i!=a&&!((r=e.charCodeAt(i)-64)<1||r>26);++i)n=26*n+r;for(t.e.c=--n,n=0;i!=a&&!((r=e.charCodeAt(i)-48)<0||r>9);++i)n=10*n+r;return t.e.r=--n,t}function hp(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Yd(e.z,n?au(t):t)}catch(i){}try{return e.w=Yd((e.XF||{}).numFmtId||(n?14:0),n?au(t):t)}catch(i){return""+t}}function dp(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?Lp[e.v]||e.v:hp(e,null==t?e.v:t))}function up(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",i={};return i[n]=e,{SheetNames:[n],Sheets:i}}function fp(e,t,n){var i=n||{},r=e?Array.isArray(e):i.dense,a=e||(r?[]:{}),s=0,o=0;if(a&&null!=i.origin){if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?ap(i.origin):i.origin;s=c.r,o=c.c}a["!ref"]||(a["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var h=lp(a["!ref"]);l.s.c=h.s.c,l.s.r=h.s.r,l.e.c=Math.max(l.e.c,h.e.c),l.e.r=Math.max(l.e.r,h.e.r),-1==s&&(l.e.r=s=h.e.r+1)}for(var d=0;d!=t.length;++d)if(t[d]){if(!Array.isArray(t[d]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[d].length;++u)if(void 0!==t[d][u]){var f={v:t[d][u]},p=s+d,g=o+u;if(l.s.r>p&&(l.s.r=p),l.s.c>g&&(l.s.c=g),l.e.r>2;return n?r/100:r}function Ep(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var kp=Ep;function Sp(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Cp(e,t){var n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var Up=80,Fp=[Up,81],Mp={ +/*::[*/ +1:{n:"CodePage",t:2}, +/*::[*/ +2:{n:"Category",t:Up}, +/*::[*/ +3:{n:"PresentationFormat",t:Up}, +/*::[*/ +4:{n:"ByteCount",t:3}, +/*::[*/ +5:{n:"LineCount",t:3}, +/*::[*/ +6:{n:"ParagraphCount",t:3}, +/*::[*/ +7:{n:"SlideCount",t:3}, +/*::[*/ +8:{n:"NoteCount",t:3}, +/*::[*/ +9:{n:"HiddenCount",t:3}, +/*::[*/ +10:{n:"MultimediaClipCount",t:3}, +/*::[*/ +11:{n:"ScaleCrop",t:11}, +/*::[*/ +12:{n:"HeadingPairs",t:4108 +/* VT_VECTOR | VT_VARIANT */}, +/*::[*/ +13:{n:"TitlesOfParts",t:4126 +/* VT_VECTOR | VT_LPSTR */}, +/*::[*/ +14:{n:"Manager",t:Up}, +/*::[*/ +15:{n:"Company",t:Up}, +/*::[*/ +16:{n:"LinksUpToDate",t:11}, +/*::[*/ +17:{n:"CharacterCount",t:3}, +/*::[*/ +19:{n:"SharedDoc",t:11}, +/*::[*/ +22:{n:"HyperlinksChanged",t:11}, +/*::[*/ +23:{n:"AppVersion",t:3,p:"version"}, +/*::[*/ +24:{n:"DigSig",t:65}, +/*::[*/ +26:{n:"ContentType",t:Up}, +/*::[*/ +27:{n:"ContentStatus",t:Up}, +/*::[*/ +28:{n:"Language",t:Up}, +/*::[*/ +29:{n:"Version",t:Up}, +/*::[*/ +255:{}, +/* [MS-OLEPS] 2.18 */ +/*::[*/ +2147483648:{n:"Locale",t:19}, +/*::[*/ +2147483651:{n:"Behavior",t:19}, +/*::[*/ +1919054434:{}},Rp={ +/*::[*/ +1:{n:"CodePage",t:2}, +/*::[*/ +2:{n:"Title",t:Up}, +/*::[*/ +3:{n:"Subject",t:Up}, +/*::[*/ +4:{n:"Author",t:Up}, +/*::[*/ +5:{n:"Keywords",t:Up}, +/*::[*/ +6:{n:"Comments",t:Up}, +/*::[*/ +7:{n:"Template",t:Up}, +/*::[*/ +8:{n:"LastAuthor",t:Up}, +/*::[*/ +9:{n:"RevNumber",t:Up}, +/*::[*/ +10:{n:"EditTime",t:64}, +/*::[*/ +11:{n:"LastPrinted",t:64}, +/*::[*/ +12:{n:"CreatedDate",t:64}, +/*::[*/ +13:{n:"ModifiedDate",t:64}, +/*::[*/ +14:{n:"PageCount",t:3}, +/*::[*/ +15:{n:"WordCount",t:3}, +/*::[*/ +16:{n:"CharCount",t:3}, +/*::[*/ +17:{n:"Thumbnail",t:71}, +/*::[*/ +18:{n:"Application",t:Up}, +/*::[*/ +19:{n:"DocSecurity",t:3}, +/*::[*/ +255:{}, +/* [MS-OLEPS] 2.18 */ +/*::[*/ +2147483648:{n:"Locale",t:19}, +/*::[*/ +2147483651:{n:"Behavior",t:19}, +/*::[*/ +1919054434:{}},Ip={ +/*::[*/ +1:"US", +// United States +/*::[*/ +2:"CA", +// Canada +/*::[*/ +3:"", +// Latin America (except Brazil) +/*::[*/ +7:"RU", +// Russia +/*::[*/ +20:"EG", +// Egypt +/*::[*/ +30:"GR", +// Greece +/*::[*/ +31:"NL", +// Netherlands +/*::[*/ +32:"BE", +// Belgium +/*::[*/ +33:"FR", +// France +/*::[*/ +34:"ES", +// Spain +/*::[*/ +36:"HU", +// Hungary +/*::[*/ +39:"IT", +// Italy +/*::[*/ +41:"CH", +// Switzerland +/*::[*/ +43:"AT", +// Austria +/*::[*/ +44:"GB", +// United Kingdom +/*::[*/ +45:"DK", +// Denmark +/*::[*/ +46:"SE", +// Sweden +/*::[*/ +47:"NO", +// Norway +/*::[*/ +48:"PL", +// Poland +/*::[*/ +49:"DE", +// Germany +/*::[*/ +52:"MX", +// Mexico +/*::[*/ +55:"BR", +// Brazil +/*::[*/ +61:"AU", +// Australia +/*::[*/ +64:"NZ", +// New Zealand +/*::[*/ +66:"TH", +// Thailand +/*::[*/ +81:"JP", +// Japan +/*::[*/ +82:"KR", +// Korea +/*::[*/ +84:"VN", +// Viet Nam +/*::[*/ +86:"CN", +// China +/*::[*/ +90:"TR", +// Turkey +/*::[*/ +105:"JS", +// Ramastan +/*::[*/ +213:"DZ", +// Algeria +/*::[*/ +216:"MA", +// Morocco +/*::[*/ +218:"LY", +// Libya +/*::[*/ +351:"PT", +// Portugal +/*::[*/ +354:"IS", +// Iceland +/*::[*/ +358:"FI", +// Finland +/*::[*/ +420:"CZ", +// Czech Republic +/*::[*/ +886:"TW", +// Taiwan +/*::[*/ +961:"LB", +// Lebanon +/*::[*/ +962:"JO", +// Jordan +/*::[*/ +963:"SY", +// Syria +/*::[*/ +964:"IQ", +// Iraq +/*::[*/ +965:"KW", +// Kuwait +/*::[*/ +966:"SA", +// Saudi Arabia +/*::[*/ +971:"AE", +// United Arab Emirates +/*::[*/ +972:"IL", +// Israel +/*::[*/ +974:"QA", +// Qatar +/*::[*/ +981:"IR", +// Iran +/*::[*/ +65535:"US"},Op=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Np(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var Pp=mu(Np([ +/* Color Constants */ +0,16777215,16711680,65280,255,16776960,16711935,65535, +/* Overridable Defaults */ +0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443, +/* Other entries to appease BIFF8/12 */ +16777215, +/* 0x40 icvForeground ?? */ +0, +/* 0x41 icvBackground ?? */ +0, +/* 0x42 icvFrame ?? */ +0, +/* 0x43 icv3D ?? */ +0, +/* 0x44 icv3DText ?? */ +0, +/* 0x45 icv3DHilite ?? */ +0, +/* 0x46 icv3DShadow ?? */ +0, +/* 0x47 icvHilite ?? */ +0, +/* 0x48 icvCtlText ?? */ +0, +/* 0x49 icvCtlScrl ?? */ +0, +/* 0x4A icvCtlInv ?? */ +0, +/* 0x4B icvCtlBody ?? */ +0, +/* 0x4C icvCtlFrame ?? */ +0, +/* 0x4D icvCtlFore ?? */ +0, +/* 0x4E icvCtlBack ?? */ +0, +/* 0x4F icvCtlNeutral */ +0, +/* 0x50 icvInfoBk ?? */ +0 +/* 0x51 icvInfoText ?? */])),Lp={ +/*::[*/ +0:"#NULL!", +/*::[*/ +7:"#DIV/0!", +/*::[*/ +15:"#VALUE!", +/*::[*/ +23:"#REF!", +/*::[*/ +29:"#NAME?", +/*::[*/ +36:"#NUM!", +/*::[*/ +42:"#N/A", +/*::[*/ +43:"#GETTING_DATA", +/*::[*/ +255:"#WTF?"},Wp={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Bp={ +/* Workbook */ +"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", +/* Worksheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO", +/* Binary Index */ +/* Chartsheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts", +/* Macrosheet */ +"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", +/* Binary Index */ +/* Dialogsheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs", +/* Shared Strings */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs", +/* Styles */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles", +/* File Properties */ +"application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops", +/* Custom Data Properties */ +"application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO", +/* Comments */ +"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", +/* Metadata (Stock/Geography and Dynamic Array) */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata", +/* PivotTable */ +"application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO", +/* Chart Objects */ +"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO", +/* Chart Colors */ +"application/vnd.ms-office.chartcolorstyle+xml":"TODO", +/* Chart Style */ +"application/vnd.ms-office.chartstyle+xml":"TODO", +/* Chart Advanced */ +"application/vnd.ms-office.chartex+xml":"TODO", +/* Calculation Chain */ +"application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains", +/* Printer Settings */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO", +/* ActiveX */ +"application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO", +/* Custom Toolbars */ +"application/vnd.ms-excel.attachedToolbars":"TODO", +/* External Data Connections */ +"application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO", +/* External Links */ +"application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links", +/* PivotCache */ +"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", +/* Query Table */ +"application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO", +/* Shared Workbook */ +"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", +/* Single Cell Table */ +"application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO", +/* Slicer */ +"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", +/* Sort Map */ +"application/vnd.ms-excel.wsSortMap":"TODO", +/* Table */ +"application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO", +/* Themes */ +"application/vnd.openxmlformats-officedocument.theme+xml":"themes", +/* Theme Override */ +"application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO", +/* Timeline */ +"application/vnd.ms-excel.Timeline+xml":"TODO", +/* verify */ +"application/vnd.ms-excel.TimelineCache+xml":"TODO", +/* verify */ +/* VBA */ +"application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO", +/* Volatile Dependencies */ +"application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO", +/* Control Properties */ +"application/vnd.ms-excel.controlproperties+xml":"TODO", +/* Data Model */ +"application/vnd.openxmlformats-officedocument.model+data":"TODO", +/* Survey */ +"application/vnd.ms-excel.Survey+xml":"TODO", +/* Drawing */ +"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", +/* VML */ +"application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO", +/* Image */ +"image/png":"TODO",sheet:"js"};var jp={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 zp(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Hp(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var i={};return(e.match(Ou)||[]).forEach((function(e){var r=Lu(e);if("]*>([\\s\\S]*?)")}return e}();function Xp(e){var t={};e=Ju(e);for(var n=0;n0&&(t[i[1]]=zu(r[1])),"date"===i[2]&&t[i[1]]&&(t[i[1]]=pu(t[i[1]]))}return t}var $p=[["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 qp(e,t,n,i){var r=[];if("string"==typeof e)r=sf(e,i);else for(var a=0;a0)for(var l=0;l!==r.length;l+=2){switch(c=+r[l+1].v,r[l].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=c,n.SheetNames=s.slice(o,o+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=c,n.DefinedNames=s.slice(o,o+c);break;case"Charts":case"Diagramme":n.Chartsheets=c,n.ChartNames=s.slice(o,o+c)}o+=c}}var Yp=/<[^>]+>[^<]*/g;var Kp,Zp={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName", +/* TotalTime: 'TotalTime', */ +LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved", +/* Pages */ +/* Words */ +/* Characters */ +Category:"Category", +/* PresentationFormat */ +Manager:"Manager",Company:"Company", +/* Guid */ +/* HyperlinkBase */ +/* Bytes */ +/* Lines */ +/* Paragraphs */ +/* CharactersWithSpaces */ +AppVersion:"Version",ContentStatus:"ContentStatus", +/* NOTE: missing from schema */ +Identifier:"Identifier", +/* NOTE: missing from schema */ +Language:"Language" +/* NOTE: missing from schema */};function Jp(e,t,n){Kp||(Kp=iu(Zp)),e[t=Kp[t]||t]=n}function Qp(e){var t=e.read_shift(4),n=e.read_shift(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function eg(e,t,n){var i=e.l,r=e.read_shift(0,"lpstr-cp");if(n)for(;e.l-i&3;)++e.l;return r}function tg(e,t,n){return e.read_shift(0,"lpwstr")}function ng(e,t,n){return 31===t?tg(e):eg(e,0,n)}function ig(e,t,n){return ng(e,t,!1===n?0:4)}function rg(e){var t=e.l,n=og(e,81);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[n,og(e,3)]}function ag(e,t){for(var n=e.read_shift(4),i={},r=0;r!=n;++r){var a=e.read_shift(4),s=e.read_shift(4);i[a]=e.read_shift(s,1200===t?"utf16le":"utf8").replace(sd,"").replace(od,"!"),1200===t&&s%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),i}function sg(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function og(e,t,n){var i,r=e.read_shift(2),a=n||{};if(e.l+=2,12!==t&&r!==t&&-1===Fp.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&r)))throw new Error("Expected type "+t+" saw "+r);switch(12===t?r:t){case 2:return i=e.read_shift(2,"i"),a.raw||(e.l+=2),i;case 3:return i=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return i=e.read_shift(4);case 30:return eg(e,0,4).replace(sd,"");case 31:return tg(e);case 64:return Qp(e);case 65:return sg(e);case 71:return function(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return ig(e,r,!a.raw).replace(sd,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return ng(e,t,0)}(e,r +/*, 4*/).replace(sd,"");case 4108:return function(e){for(var t=e.read_shift(4),n=[],i=0;i0&&t)switch(t[a[s-1][0]].t){case 2:e.l+2===a[s][1]&&(e.l+=2,f=!1);break;case 80:case 4108:e.l<=a[s][1]&&(e.l=a[s][1],f=!1)}if((!t||0==s)&&e.l<=a[s][1]&&(f=!1,e.l=a[s][1]),f)throw new Error("Read Error: Expected address "+a[s][1]+" at "+e.l+" :"+s)}if(t){var p=t[a[s][0]];if(u[p.n]=og(e,p.t,{raw:!0}),"version"===p.p&&(u[p.n]=String(u[p.n]>>16)+"."+("0000"+String(65535&u[p.n])).slice(-4)),"CodePage"==p.n)switch(u[p.n]){case 0:u[p.n]=1252; +/* falls through */case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:jh(o=u[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+u[p.n])}}else if(1===a[s][0]){if(o=u.CodePage=og(e,2),jh(o),-1!==c){var g=e.l;e.l=a[c][1],l=ag(e,o),e.l=g}}else if(0===a[s][0]){if(0===o){c=s,e.l=a[s+1][1];continue}l=ag(e,o)}else{var m,b=l[a[s][0]];switch(e[e.l]){case 65:e.l+=4,m=sg(e);break;case 30:case 31:e.l+=4,m=ig(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,m=e.read_shift(4,"i");break;case 19:e.l+=4,m=e.read_shift(4);break;case 5:e.l+=4,m=e.read_shift(8,"f");break;case 11:e.l+=4,m=dg(e,4);break;case 64:e.l+=4,m=pu(Qp(e));break;default:throw new Error("unparsed value: "+e[e.l])}u[b]=m}}return e.l=n+i,u}function lg(e,t,n){var i=e.content;if(!i)return{};Xf(i,0);var r,a,s,o,c=0;i.chk("feff","Byte Order: "),i.read_shift(2);var l=i.read_shift(4),h=i.read_shift(16);if(h!==tu.utils.consts.HEADER_CLSID&&h!==n)throw new Error("Bad PropertySet CLSID "+h);if(1!==(r=i.read_shift(4))&&2!==r)throw new Error("Unrecognized #Sets: "+r);if(a=i.read_shift(16),o=i.read_shift(4),1===r&&o!==i.l)throw new Error("Length mismatch: "+o+" !== "+i.l);2===r&&(s=i.read_shift(16),c=i.read_shift(4));var d,u=cg(i,t),f={SystemIdentifier:l};for(var p in u)f[p]=u[p];if(f.FMTID=a,1===r)return f;if(c-i.l==2&&(i.l+=2),i.l!==c)throw new Error("Length mismatch 2: "+i.l+" !== "+c);try{d=cg(i,null)}catch(g){}for(p in d)f[p]=d[p];return f.FMTID=[a,s],f}function hg(e,t){return e.read_shift(t),null}function dg(e,t){return 1===e.read_shift(t)}function ug(e){return e.read_shift(2,"u")}function fg(e,t){return function(e,t,n){for(var i=[],r=e.l+t;e.l=12?2:1),r="sbcs-cont";(n&&n.biff,n&&8!=n.biff)?12==n.biff&&(r="wstr"):e.read_shift(1)&&(r="dbcs-cont");return n.biff>=2&&n.biff<=5&&(r="cpstr"),i?e.read_shift(i,r):""}function gg(e){var t,n=e.read_shift(2),i=e.read_shift(1),r=4&i,a=8&i,s=1+(1&i),o=0,c={};a&&(o=e.read_shift(2)),r&&(t=e.read_shift(4));var l=2==s?"dbcs-cont":"sbcs-cont",h=0===n?"":e.read_shift(n,l);return a&&(e.l+=4*o),r&&(e.l+=t),c.t=h,a||(c.raw=""+c.t+"",c.r=c.t),c}function mg(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function bg(e,t,n){var i=e.read_shift(n&&2==n.biff?1:2);return 0===i?(e.l++,""):mg(e,i,n)}function vg(e,t,n){if(n.biff>5)return bg(e,0,n);var i=e.read_shift(1);return 0===i?(e.l++,""):e.read_shift(i,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function yg(e,t){var n=e.read_shift(16);switch(n){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e.read_shift(4),n=e.l,i=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(i=!0),e.l=n);var r=e.read_shift((i?t-24:t)>>1,"utf16le").replace(sd,"");return i&&(e.l+=24),r}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e.read_shift(2),n="";t-- >0;)n+="../";var i=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");if(0===e.read_shift(4))return n+i.replace(/\\/g,"/");var r=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return n+e.read_shift(r>>1,"utf16le").replace(sd,"")}(e);default:throw new Error("Unsupported Moniker "+n)}}function wg(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(sd,""):""}function xg(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function _g(e,t){var n=xg(e);return n[3]=0,n}function Tg(e){return{r:e.read_shift(2),c:e.read_shift(2),ixfe:e.read_shift(2)}}function Dg(e,t,n){var i=n.biff>8?4:2;return[e.read_shift(i),e.read_shift(i,"i"),e.read_shift(i,"i")]}function Ag(e){return[e.read_shift(2),Ap(e)]}function Eg(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:n}}}function kg(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r:n}}}var Sg=kg;function Cg(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2);return e.l+=12,[n,t,i]}function Ug(e){e.l+=2,e.l+=e.read_shift(2)}var Fg={ +/*::[*/ +0:Ug, +/* FtEnd */ +/*::[*/ +4:Ug, +/* FtMacro */ +/*::[*/ +5:Ug, +/* FtButton */ +/*::[*/ +6:Ug, +/* FtGmo */ +/*::[*/ +7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}}, +/* FtCf */ +/*::[*/ +8:Ug, +/* FtPioGrbit */ +/*::[*/ +9:Ug, +/* FtPictFmla */ +/*::[*/ +10:Ug, +/* FtCbls */ +/*::[*/ +11:Ug, +/* FtRbo */ +/*::[*/ +12:Ug, +/* FtSbs */ +/*::[*/ +13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}, +/* FtNts */ +/*::[*/ +14:Ug, +/* FtSbsFmla */ +/*::[*/ +15:Ug, +/* FtGboData */ +/*::[*/ +16:Ug, +/* FtEdoData */ +/*::[*/ +17:Ug, +/* FtRboData */ +/*::[*/ +18:Ug, +/* FtCblsData */ +/*::[*/ +19:Ug, +/* FtLbsData */ +/*::[*/ +20:Ug, +/* FtCblsFmla */ +/*::[*/ +21:Cg};function Mg(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e.read_shift(2),(t-=2)>=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536: +/* BIFF8 */case 1280: +/* BIFF5 */case 1024: +/* BIFF4 */case 768: +/* BIFF3 */case 512: +/* BIFF2 */case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e.read_shift(t),n}function Rg(e,t,n){var i=0;n&&2==n.biff||(i=e.read_shift(2));var r=e.read_shift(2);return n&&2==n.biff&&(i=1-(r>>15),r&=32767),[{Unsynced:1&i,DyZero:(2&i)>>1,ExAsc:(4&i)>>2,ExDsc:(8&i)>>3},r]}var Ig=vg;function Og(e,t,n){var i=e.l+t,r=8!=n.biff&&n.biff?2:4,a=e.read_shift(r),s=e.read_shift(r),o=e.read_shift(2),c=e.read_shift(2);return e.l=i,{s:{r:a,c:o},e:{r:s,c:c}}}function Ng(e,t,n){var i=Tg(e);2!=n.biff&&9!=t||++e.l;var r=function(e){var t=e.read_shift(1);return 1===e.read_shift(1)?t:1===t}(e);return i.val=r,i.t=!0===r||!1===r?"b":"e",i}var Pg=function(e,t,n){return 0===t?"":vg(e,0,n)};function Lg(e,t,n){var i,r=e.read_shift(2),a={fBuiltIn:1&r,fWantAdvise:r>>>1&1,fWantPict:r>>>2&1,fOle:r>>>3&1,fOleLink:r>>>4&1,cf:r>>>5&1023,fIcon:r>>>15&1};return 14849===n.sbcch&&(i=function(e,t,n){e.l+=4,t-=4;var i=e.l+t,r=pg(e,0,n),a=e.read_shift(2);if(a!==(i-=e.l))throw new Error("Malformed AddinUdf: padding = "+i+" != "+a);return e.l+=a,r}(e,t-2,n)),a.body=i||e.read_shift(t-2),"string"==typeof i&&(a.Name=i),a}var Wg=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Bg(e,t,n){var i=e.l+t,r=e.read_shift(2),a=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(n&&2==n.biff?1:2),c=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),c=e.read_shift(2),5==n.biff&&(e.l+=2),e.l+=4);var l=mg(e,s,n);32&r&&(l=Wg[l.charCodeAt(0)]);var h=i-e.l;n&&2==n.biff&&--h;var d=i!=e.l&&0!==o&&h>0?function(e,t,n,i){var r,a=e.l+t,s=kb(e,i,n);a!==e.l&&(r=Eb(e,a-e.l,s,n));return[s,r]}(e,h,n,o):[];return{chKey:a,Name:l,itab:c,rgce:d}}function jg(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var i=pg(e,0,n);return 3==i.charCodeAt(0)?i.slice(1):i}(e,0,n);for(var i=[],r=e.l+t,a=e.read_shift(n.biff>8?4:2);0!=a--;)i.push(Dg(e,n.biff,n));if(e.l!=r)throw new Error("Bad ExternSheet: "+e.l+" != "+r);return i}function zg(e,t,n){var i=Sg(e);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[i,Rb(e,t,n)]}var Hg={8:function(e,t){var n=e.l+t;e.l+=10;var i=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var r=e.read_shift(1);return e.l+=r,e.l=n,{fmt:i}}};function Vg(e,t,n){if(!n.cellStyles)return $f(e,t);var i=n&&n.biff>=12?4:2,r=e.read_shift(i),a=e.read_shift(i),s=e.read_shift(i),o=e.read_shift(i),c=e.read_shift(2);2==i&&(e.l+=2);var l={s:r,e:a,w:s,ixfe:o,flags:c};return(n.biff>=5||!n.biff)&&(l.level=c>>8&7),l}var Gg=Tg,Xg=fg,$g=bg;var qg=[2,3,48,49,131,139,140,245],Yg=function(){var e={ +/* Code Pages Supported by Visual FoxPro */ +/*::[*/ +1:437, +/*::[*/ +2:850, +/*::[*/ +3:1252, +/*::[*/ +4:1e4, +/*::[*/ +100:852, +/*::[*/ +101:866, +/*::[*/ +102:865, +/*::[*/ +103:861, +/*::[*/ +104:895, +/*::[*/ +105:620, +/*::[*/ +106:737, +/*::[*/ +107:857, +/*::[*/ +120:950, +/*::[*/ +121:949, +/*::[*/ +122:936, +/*::[*/ +123:932, +/*::[*/ +124:874, +/*::[*/ +125:1255, +/*::[*/ +126:1256, +/*::[*/ +150:10007, +/*::[*/ +151:10029, +/*::[*/ +152:10006, +/*::[*/ +200:1250, +/*::[*/ +201:1251, +/*::[*/ +202:1254, +/*::[*/ +203:1253, +/* shapefile DBF extension */ +/*::[*/ +0:20127, +/*::[*/ +8:865, +/*::[*/ +9:437, +/*::[*/ +10:850, +/*::[*/ +11:437, +/*::[*/ +13:437, +/*::[*/ +14:850, +/*::[*/ +15:437, +/*::[*/ +16:850, +/*::[*/ +17:437, +/*::[*/ +18:850, +/*::[*/ +19:932, +/*::[*/ +20:850, +/*::[*/ +21:437, +/*::[*/ +22:850, +/*::[*/ +23:865, +/*::[*/ +24:437, +/*::[*/ +25:437, +/*::[*/ +26:850, +/*::[*/ +27:437, +/*::[*/ +28:863, +/*::[*/ +29:850, +/*::[*/ +31:852, +/*::[*/ +34:852, +/*::[*/ +35:852, +/*::[*/ +36:860, +/*::[*/ +37:850, +/*::[*/ +38:866, +/*::[*/ +55:850, +/*::[*/ +64:852, +/*::[*/ +77:936, +/*::[*/ +78:949, +/*::[*/ +79:950, +/*::[*/ +80:874, +/*::[*/ +87:1252, +/*::[*/ +88:1252, +/*::[*/ +89:1252, +/*::[*/ +108:863, +/*::[*/ +134:737, +/*::[*/ +135:852, +/*::[*/ +136:857, +/*::[*/ +204:1257, +/*::[*/ +255:16969},t=iu({ +/*::[*/ +1:437, +/*::[*/ +2:850, +/*::[*/ +3:1252, +/*::[*/ +4:1e4, +/*::[*/ +100:852, +/*::[*/ +101:866, +/*::[*/ +102:865, +/*::[*/ +103:861, +/*::[*/ +104:895, +/*::[*/ +105:620, +/*::[*/ +106:737, +/*::[*/ +107:857, +/*::[*/ +120:950, +/*::[*/ +121:949, +/*::[*/ +122:936, +/*::[*/ +123:932, +/*::[*/ +124:874, +/*::[*/ +125:1255, +/*::[*/ +126:1256, +/*::[*/ +150:10007, +/*::[*/ +151:10029, +/*::[*/ +152:10006, +/*::[*/ +200:1250, +/*::[*/ +201:1251, +/*::[*/ +202:1254, +/*::[*/ +203:1253, +/*::[*/ +0:20127});function n(t,n){var i=n||{};i.dateNF||(i.dateNF="yyyymmdd");var r=pp(function(t,n){var i=[],r=ed(1);switch(n.type){case"base64":r=nd(Zh(t));break;case"binary":r=nd(t);break;case"buffer":case"array":r=t}Xf(r,0);var a=r.read_shift(1),s=!!(136&a),o=!1,c=!1;switch(a){case 2: +// dBASE II +case 3: +// dBASE III +// VFP with autoincrement +// 0x43 dBASE IV SQL table files +// 0x63 dBASE IV SQL system files +case 131: +// dBASE III with memo +case 139: +// dBASE IV with memo +// dBASE Level 7 with memo +// case 0xCB dBASE IV SQL table files with memo +case 245:break; +// FoxPro 2.x with memo +// case 0xFB FoxBASE +case 48: +// VFP +case 49:o=!0,s=!0;break;case 140:c=!0;break;default:throw new Error("DBF Unsupported Version: "+a.toString(16))}var l=0,h=521;2==a&&(l=r.read_shift(2)),r.l+=3,2!=a&&(l=r.read_shift(4)),l>1048576&&(l=1e6),2!=a&&(h=r.read_shift(2));var d=r.read_shift(2),u=n.codepage||1252;2!=a&&(r.l+=16,r.read_shift(1),0!==r[r.l]&&(u=e[r[r.l]]),r.l+=1,r.l+=2),c&&(r.l+=36);for(var f=[],p={},g=Math.min(r.length,2==a?521:h-10-(o?264:0)),m=c?32:11;r.l0;)if(42!==r[r.l])for(++r.l,i[++b]=[],v=0,v=0;v!=f.length;++v){var y=r.slice(r.l,r.l+f[v].len);r.l+=f[v].len,Xf(y,0);var w=Gh.utils.decode(u,y);switch(f[v].type){case"C":w.trim().length&&(i[b][v]=w.replace(/\s+$/,""));break;case"D":8===w.length?i[b][v]=new Date(+w.slice(0,4),+w.slice(4,6)-1,+w.slice(6,8)):i[b][v]=w;break;case"F":i[b][v]=parseFloat(w.trim());break;case"+":case"I":i[b][v]=c?2147483648^y.read_shift(-4,"i"):y.read_shift(4,"i");break;case"L":switch(w.trim().toUpperCase()){case"Y":case"T":i[b][v]=!0;break;case"N":case"F":i[b][v]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+w+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+a.toString(16));i[b][v]="##MEMO##"+(c?parseInt(w.trim(),10):y.read_shift(4));break;case"N":(w=w.replace(/\u0000/g,"").trim())&&"."!=w&&(i[b][v]=+w||0);break;case"@":i[b][v]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":i[b][v]=new Date(864e5*(y.read_shift(4)-2440588)+y.read_shift(4));break;case"Y":i[b][v]=y.read_shift(4,"i")/1e4+y.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":i[b][v]=-y.read_shift(-8,"f");break;case"B":if(o&&8==f[v].len){i[b][v]=y.read_shift(8,"f");break} +/* falls through */case"G":case"P":y.l+=f[v].len;break;case"0":if("_NullFlags"===f[v].name)break; +/* falls through */default:throw new Error("DBF Unsupported data type "+f[v].type)}}else r.l+=d;if(2!=a&&r.l=0&&jh(+r.codepage),"string"==r.type)throw new Error("Cannot write DBF to JS string");var a=Kf(),s=By(e,{header:1,raw:!0,cellDates:!0}),o=s[0],c=s.slice(1),l=e["!cols"]||[],h=0,d=0,u=0,f=1;for(h=0;h250&&(w=250),"C"==(y=((l[h]||{}).DBF||{}).type)&&l[h].DBF.len>w&&(w=l[h].DBF.len),"B"==v&&"N"==y&&(v="N",b[h]=l[h].DBF.dec,w=l[h].DBF.len),m[h]="C"==v||"N"==y?w:i[v]||0,f+=m[h],g[h]=v}else g[h]="?"}var _=a.next(32);for(_.write_shift(4,318902576),_.write_shift(4,c.length),_.write_shift(2,296+32*u),_.write_shift(2,f),h=0;h<4;++h)_.write_shift(4,0);for(_.write_shift(4,(+t[ +/*::String(*/ +Ph +/*::)*/]||3)<<8),h=0,d=0;h":190,"?":191,"{":223},t=new RegExp("N("+nu(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var i=e[n];return"number"==typeof i?qh(i):i},i=function(e,t,n){var i=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==i?e:qh(i)};function r(e,r){var a,s=e.split(/[\n\r]+/),o=-1,c=-1,l=0,h=0,d=[],u=[],f=null,p={},g=[],m=[],b=[],v=0;for(+r.codepage>=0&&jh(+r.codepage);l!==s.length;++l){v=0;var y,w=s[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(t,n),x=w.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),_=x[0];if(w.length>0)switch(_){case"ID": +/* header */case"E": +/* EOF */case"B": +/* dimensions */case"O": +/* options? */case"W":break; +/* window? */case"P":"P"==x[1].charAt(0)&&u.push(w.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,D=!1,A=!1,E=!1,k=-1,S=-1;for(h=1;h-1&&d[k][S];if(!U||!U[1])throw new Error("SYLK shared formula cannot find base");d[o][c][1]=rb(U[1],{r:o-k,c:c-S})}break;case"F":var F=0;for(h=1;h0?(g[o].hpt=v,g[o].hpx=Om(v)):0===v&&(g[o].hidden=!0);break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+w)}F<1&&(f=null);break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+w)}}return g.length>0&&(p["!rows"]=g),m.length>0&&(p["!cols"]=m),r&&r.sheetRows&&(d=d.slice(0,r.sheetRows)),[d,p]}function a(e,t){var n=function(e,t){switch(t.type){case"base64":return r(Zh(e),t);case"binary":return r(e,t);case"buffer":return r(Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e),t);case"array":return r(gu(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),i=n[0],a=n[1],s=pp(i,t);return nu(a).forEach((function(e){s[e]=a[e]})),s}function s(e,t,n,i){var r="C;Y"+(n+1)+";X"+(i+1)+";K";switch(e.t){case"n":r+=e.v||0,e.f&&!e.F&&(r+=";E"+ib(e.f,{r:n,c:i}));break;case"b":r+=e.v?"TRUE":"FALSE";break;case"e":r+=e.w||e.v;break;case"d":r+='"'+(e.w||e.v)+'"';break;case"s":r+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return r}return e["|"]=254,{to_workbook:function(e,t){return up(a(e,t),t)},to_sheet:a,from_sheet:function(e,t){var n,i,r=["ID;PWXL;N;E"],a=[],o=lp(e["!ref"]),c=Array.isArray(e),l="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&(i=r,e["!cols"].forEach((function(e,t){var n="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?n+="0":("number"!=typeof e.width||e.wpx||(e.wpx=km(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=Sm(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&i.push(n)}))),e["!rows"]&&function(e,t){t.forEach((function(t,n){var i="F;";t.hidden?i+="M0;":t.hpt?i+="M"+20*t.hpt+";":t.hpx&&(i+="M"+20*Im(t.hpx)+";"),i.length>2&&e.push(i+"R"+(n+1))}))}(r,e["!rows"]),r.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var h=o.s.r;h<=o.e.r;++h)for(var d=o.s.c;d<=o.e.c;++d){var u=sp({r:h,c:d});(n=c?(e[h]||[])[d]:e[u])&&(null!=n.v||n.f&&!n.F)&&a.push(s(n,0,h,d))}return r.join(l)+l+a.join(l)+l+"E"+l}}}(),Zg=function(){function e(e,t){for(var n=e.split("\n"),i=-1,r=-1,a=0,s=[];a!==n.length;++a)if("BOT"!==n[a].trim()){if(!(i<0)){for(var o=n[a].trim().split(","),c=o[0],l=o[1],h=n[++a]||"";1&(h.match(/["]/g)||[]).length&&a=0?o=l:r=l}})),c>=0&&-1==o&&r>=0&&(o=r,r=-1);var l=(""+(i>=0?i:(new Date).getFullYear())).slice(-4)+"-"+("00"+(r>=1?r:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var h=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==s&&-1==o&&-1==c?l:-1==i&&-1==r&&-1==a?h:l+"T"+h}(0,n.dateNF,t.match(v)||[]),r=1),n.cellDates?(i.t="d",i.v=pu(t,r)):(i.t="n",i.v=au(pu(t,r))),!1!==n.cellText&&(i.w=Yd(i.z,i.v instanceof Date?au(i.v):i.v)),n.cellNF||delete i.z}else i.t="s",i.v=t;else i.t="n",!1!==n.cellText&&(i.w=t),i.v=l;if("z"==i.t||(n.dense?(a[o]||(a[o]=[]),a[o][c]=i):a[sp({c:c,r:o})]=i),h=d+1,g=e.charCodeAt(h),s.e.c0&&y(),a["!ref"]=cp(s),a}function a(t,n){return n&&n.PRN?n.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?r(t,n):pp(function(t,n){var i=n||{},r=[];if(!t||0===t.length)return r;for(var a=t.split(/[\r\n]/),s=a.length-1;s>=0&&0===a[s].length;)--s;for(var o=10,c=0,l=0;l<=s;++l)-1==(c=a[l].indexOf(" "))?c=a[l].length:c++,o=Math.max(o,c);for(l=0;l<=s;++l){r[l]=[];var h=0;for(e(a[l].slice(0,o).trim(),r,l,h,i),h=1;h<=(a[l].length-o)/10+1;++h)e(a[l].slice(o+10*(h-1),o+10*h).trim(),r,l,h,i)}return i.sheetRows&&(r=r.slice(0,i.sheetRows)),r}(t,n),n):r(t,n)}function s(e,t){var n="",i="string"==t.type?[0,0,0,0]:Oy(e,t);switch(t.type){case"base64":n=Zh(e);break;case"binary":case"string":n=e;break;case"buffer":65001==t.codepage?n=e.toString("utf8"):(t.codepage,n=Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e));break;case"array":n=gu(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==i[0]&&187==i[1]&&191==i[2]?n=Ju(n.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?n=Ju(n):t.type,"socialcalc:version:"==n.slice(0,19)?Jg.to_sheet("string"==t.type?n:Ju(n),t):a(n,t)}return{to_workbook:function(e,t){return up(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,n=[],i=lp(e["!ref"]),r=Array.isArray(e),a=i.s.r;a<=i.e.r;++a){for(var s=[],o=i.s.c;o<=i.e.c;++o){var c=sp({r:a,c:o});if((t=r?(e[a]||[])[o]:e[c])&&null!=t.v){for(var l=(t.w||(dp(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";s.push(l+(0===o?" ":""))}else s.push(" ")}n.push(s.join(""))}return n.join("\n")}}}();var em=function(){function e(e,t,n){if(e){Xf(e,e.l||0);for(var i=n.Enum||b;e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])i.Enum=b,e(t,(function(e,t,n){switch(n){case 0:i.vers=e,e>=4096&&(i.qpro=!0);break;case 6:d=e;break; +/* RANGE */case 204:e&&(s=e);break; +/* SHEETNAMECS */case 222:s=e;break; +/* SHEETNAMELP */case 15: +/* LABEL */case 51:i.qpro||(e[1].v=e[1].v.slice(1)) +/* falls through */;case 13: +/* INTEGER */case 14: +/* NUMBER */case 16:14==n&&!(112&~e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=i.dateNF||bd[14],i.cellDates&&(e[1].t="d",e[1].v=lu(e[1].v))),i.qpro&&e[3]>o&&(r["!ref"]=cp(d),c[a]=r,l.push(a),r=i.dense?[]:{},d={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],a=s||"Sheet"+(o+1),s="");var h=i.dense?(r[e[0].r]||[])[e[0].c]:r[sp(e[0])];if(h){h.t=e[1].t,h.v=e[1].v,null!=e[1].z&&(h.z=e[1].z),null!=e[1].f&&(h.f=e[1].f);break}i.dense?(r[e[0].r]||(r[e[0].r]=[]),r[e[0].r][e[0].c]=e[1]):r[sp(e[0])]=e[1]}}),i);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);i.Enum=v,14==t[2]&&(i.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:a=e;break; +/* SHEETNAMECS */case 22:e[1].v=e[1].v.slice(1); +/* falls through */case 23: +/* NUMBER17 */case 24: +/* NUMBER18 */case 25: +/* FORMULA19 */case 37: +/* NUMBER25 */case 39: +/* NUMBER27 */case 40:if(e[3]>o&&(r["!ref"]=cp(d),c[a]=r,l.push(a),r=i.dense?[]:{},d={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],a="Sheet"+(o+1)),u>0&&e[0].r>=u)break;i.dense?(r[e[0].r]||(r[e[0].r]=[]),r[e[0].r][e[0].c]=e[1]):r[sp(e[0])]=e[1],d.e.c=128?95:a)}return i.write_shift(1,0),i}function a(e,t,n){var i=qf(7);return i.write_shift(1,255),i.write_shift(2,t),i.write_shift(2,e),i.write_shift(2,n,"i"),i}function s(e,t,n){var i=qf(13);return i.write_shift(1,255),i.write_shift(2,t),i.write_shift(2,e),i.write_shift(8,n,"f"),i}function o(e,t,n){var i=32768&t;return t=(i?e:0)+((t&=-32769)>=8192?t-16384:t),(i?"":"$")+(n?rp(t):np(t))}var c={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},l=["","","","","","","","", +// eslint-disable-line no-mixed-spaces-and-tabs +"","+","-","*","/","^","=","<>", +// eslint-disable-line no-mixed-spaces-and-tabs +"<=",">=","<",">","","","","", +// eslint-disable-line no-mixed-spaces-and-tabs +"&","","","","","","",""];function h(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function d(e,t,n,i){var r=qf(6+i.length);r.write_shift(2,e),r.write_shift(1,n),r.write_shift(1,t),r.write_shift(1,39);for(var a=0;a=128?95:s)}return r.write_shift(1,0),r}function u(e,t){var n=h(e),i=e.read_shift(4),r=e.read_shift(4),a=e.read_shift(2);if(65535==a)return 0===i&&3221225472===r?(n[1].t="e",n[1].v=15):0===i&&3489660928===r?(n[1].t="e",n[1].v=42):n[1].v=0,n;var s=32768&a;return a=(32767&a)-16446,n[1].v=(1-2*s)*(r*Math.pow(2,a+32)+i*Math.pow(2,a)),n}function f(e,t,n,i){var r=qf(14);if(r.write_shift(2,e),r.write_shift(1,n),r.write_shift(1,t),0==i)return r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,65535),r;var a,s=0,o=0,c=0;return i<0&&(s=1,i=-i),o=0|Math.log2(i),2147483648&(c=(i/=Math.pow(2,o-31))>>>0)||(++o,c=(i/=2)>>>0),i-=c,c|=2147483648,c>>>=0,a=(i*=Math.pow(2,32))>>>0,r.write_shift(4,a),r.write_shift(4,c),o+=16383+(s?32768:0),r.write_shift(2,o),r}function p(e,t){var n=h(e),i=e.read_shift(8,"f");return n[1].v=i,n}function g(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function m(e,t){var n=qf(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var i=0;i127?95:r}return n[n.l++]=0,n}var b={ +/*::[*/ +0:{n:"BOF",f:ug}, +/*::[*/ +1:{n:"EOF"}, +/*::[*/ +2:{n:"CALCMODE"}, +/*::[*/ +3:{n:"CALCORDER"}, +/*::[*/ +4:{n:"SPLIT"}, +/*::[*/ +5:{n:"SYNC"}, +/*::[*/ +6:{n:"RANGE",f:function(e,t,n){var i={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(i.s.c=e.read_shift(1),e.l++,i.s.r=e.read_shift(2),i.e.c=e.read_shift(1),e.l++,i.e.r=e.read_shift(2),i):(i.s.c=e.read_shift(2),i.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),i.e.c=e.read_shift(2),i.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==i.s.c&&(i.s.c=i.e.c=i.s.r=i.e.r=0),i)}}, +/*::[*/ +7:{n:"WINDOW1"}, +/*::[*/ +8:{n:"COLW1"}, +/*::[*/ +9:{n:"WINTWO"}, +/*::[*/ +10:{n:"COLW2"}, +/*::[*/ +11:{n:"NAME"}, +/*::[*/ +12:{n:"BLANK"}, +/*::[*/ +13:{n:"INTEGER",f:function(e,t,i){var r=n(e,0,i);return r[1].v=e.read_shift(2,"i"),r}}, +/*::[*/ +14:{n:"NUMBER",f:function(e,t,i){var r=n(e,0,i);return r[1].v=e.read_shift(8,"f"),r}}, +/*::[*/ +15:{n:"LABEL",f:i}, +/*::[*/ +16:{n:"FORMULA",f:function(e,t,i){var r=e.l+t,a=n(e,0,i);if(a[1].v=e.read_shift(8,"f"),i.qpro)e.l=r;else{var s=e.read_shift(2);!function(e,t){Xf(e,0);var n=[],i=0,r="",a="",s="",h="";for(;e.ln.length)return;var g=n.slice(-i);n.length-=i,n.push(c[d][0]+"("+g.join(",")+")")}}}1==n.length&&(t[1].f=""+n[0])}(e.slice(e.l,e.l+s),a),e.l+=s}return a}}, +/*::[*/ +24:{n:"TABLE"}, +/*::[*/ +25:{n:"ORANGE"}, +/*::[*/ +26:{n:"PRANGE"}, +/*::[*/ +27:{n:"SRANGE"}, +/*::[*/ +28:{n:"FRANGE"}, +/*::[*/ +29:{n:"KRANGE1"}, +/*::[*/ +32:{n:"HRANGE"}, +/*::[*/ +35:{n:"KRANGE2"}, +/*::[*/ +36:{n:"PROTEC"}, +/*::[*/ +37:{n:"FOOTER"}, +/*::[*/ +38:{n:"HEADER"}, +/*::[*/ +39:{n:"SETUP"}, +/*::[*/ +40:{n:"MARGINS"}, +/*::[*/ +41:{n:"LABELFMT"}, +/*::[*/ +42:{n:"TITLES"}, +/*::[*/ +43:{n:"SHEETJS"}, +/*::[*/ +45:{n:"GRAPH"}, +/*::[*/ +46:{n:"NGRAPH"}, +/*::[*/ +47:{n:"CALCCOUNT"}, +/*::[*/ +48:{n:"UNFORMATTED"}, +/*::[*/ +49:{n:"CURSORW12"}, +/*::[*/ +50:{n:"WINDOW"}, +/*::[*/ +51:{n:"STRING",f:i}, +/*::[*/ +55:{n:"PASSWORD"}, +/*::[*/ +56:{n:"LOCKED"}, +/*::[*/ +60:{n:"QUERY"}, +/*::[*/ +61:{n:"QUERYNAME"}, +/*::[*/ +62:{n:"PRINT"}, +/*::[*/ +63:{n:"PRINTNAME"}, +/*::[*/ +64:{n:"GRAPH2"}, +/*::[*/ +65:{n:"GRAPHNAME"}, +/*::[*/ +66:{n:"ZOOM"}, +/*::[*/ +67:{n:"SYMSPLIT"}, +/*::[*/ +68:{n:"NSROWS"}, +/*::[*/ +69:{n:"NSCOLS"}, +/*::[*/ +70:{n:"RULER"}, +/*::[*/ +71:{n:"NNAME"}, +/*::[*/ +72:{n:"ACOMM"}, +/*::[*/ +73:{n:"AMACRO"}, +/*::[*/ +74:{n:"PARSE"}, +/*::[*/ +102:{n:"PRANGES??"}, +/*::[*/ +103:{n:"RRANGES??"}, +/*::[*/ +104:{n:"FNAME??"}, +/*::[*/ +105:{n:"MRANGES??"}, +/*::[*/ +204:{n:"SHEETNAMECS",f:g}, +/*::[*/ +222:{n:"SHEETNAMELP",f:function(e,t){var n=e[e.l++];n>t-1&&(n=t-1);for(var i="";i.length>1;if(1&n[1].v)switch(7&i){case 0:i=5e3*(i>>3);break;case 1:i=500*(i>>3);break;case 2:i=(i>>3)/20;break;case 3:i=(i>>3)/200;break;case 4:i=(i>>3)/2e3;break;case 5:i=(i>>3)/2e4;break;case 6:i=(i>>3)/16;break;case 7:i=(i>>3)/64}return n[1].v=i,n}}, +/*::[*/ +25:{n:"FORMULA19",f:function(e,t){var n=u(e);return e.l+=t-14,n}}, +/*::[*/ +26:{n:"FORMULA1A"}, +/*::[*/ +27:{n:"XFORMAT",f:function(e,t){for(var n={},i=e.l+t;e.l>6,n}}, +/*::[*/ +38:{n:"??"}, +/*::[*/ +39:{n:"NUMBER27",f:p}, +/*::[*/ +40:{n:"FORMULA28",f:function(e,t){var n=p(e);return e.l+=t-10,n}}, +/*::[*/ +142:{n:"??"}, +/*::[*/ +147:{n:"??"}, +/*::[*/ +150:{n:"??"}, +/*::[*/ +151:{n:"??"}, +/*::[*/ +152:{n:"??"}, +/*::[*/ +153:{n:"??"}, +/*::[*/ +154:{n:"??"}, +/*::[*/ +155:{n:"??"}, +/*::[*/ +156:{n:"??"}, +/*::[*/ +163:{n:"??"}, +/*::[*/ +174:{n:"??"}, +/*::[*/ +175:{n:"??"}, +/*::[*/ +176:{n:"??"}, +/*::[*/ +177:{n:"??"}, +/*::[*/ +184:{n:"??"}, +/*::[*/ +185:{n:"??"}, +/*::[*/ +186:{n:"??"}, +/*::[*/ +187:{n:"??"}, +/*::[*/ +188:{n:"??"}, +/*::[*/ +195:{n:"??"}, +/*::[*/ +201:{n:"??"}, +/*::[*/ +204:{n:"SHEETNAMECS",f:g}, +/*::[*/ +205:{n:"??"}, +/*::[*/ +206:{n:"??"}, +/*::[*/ +207:{n:"??"}, +/*::[*/ +208:{n:"??"}, +/*::[*/ +256:{n:"??"}, +/*::[*/ +259:{n:"??"}, +/*::[*/ +260:{n:"??"}, +/*::[*/ +261:{n:"??"}, +/*::[*/ +262:{n:"??"}, +/*::[*/ +263:{n:"??"}, +/*::[*/ +265:{n:"??"}, +/*::[*/ +266:{n:"??"}, +/*::[*/ +267:{n:"??"}, +/*::[*/ +268:{n:"??"}, +/*::[*/ +270:{n:"??"}, +/*::[*/ +271:{n:"??"}, +/*::[*/ +384:{n:"??"}, +/*::[*/ +389:{n:"??"}, +/*::[*/ +390:{n:"??"}, +/*::[*/ +393:{n:"??"}, +/*::[*/ +396:{n:"??"}, +/*::[*/ +512:{n:"??"}, +/*::[*/ +514:{n:"??"}, +/*::[*/ +513:{n:"??"}, +/*::[*/ +516:{n:"??"}, +/*::[*/ +517:{n:"??"}, +/*::[*/ +640:{n:"??"}, +/*::[*/ +641:{n:"??"}, +/*::[*/ +642:{n:"??"}, +/*::[*/ +643:{n:"??"}, +/*::[*/ +644:{n:"??"}, +/*::[*/ +645:{n:"??"}, +/*::[*/ +646:{n:"??"}, +/*::[*/ +647:{n:"??"}, +/*::[*/ +648:{n:"??"}, +/*::[*/ +658:{n:"??"}, +/*::[*/ +659:{n:"??"}, +/*::[*/ +660:{n:"??"}, +/*::[*/ +661:{n:"??"}, +/*::[*/ +662:{n:"??"}, +/*::[*/ +665:{n:"??"}, +/*::[*/ +666:{n:"??"}, +/*::[*/ +768:{n:"??"}, +/*::[*/ +772:{n:"??"}, +/*::[*/ +1537:{n:"SHEETINFOQP",f:function(e,t,n){if(n.qpro&&!(t<21)){var i=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[i,e.read_shift(t-21,"cstr")]}}}, +/*::[*/ +1600:{n:"??"}, +/*::[*/ +1602:{n:"??"}, +/*::[*/ +1793:{n:"??"}, +/*::[*/ +1794:{n:"??"}, +/*::[*/ +1795:{n:"??"}, +/*::[*/ +1796:{n:"??"}, +/*::[*/ +1920:{n:"??"}, +/*::[*/ +2048:{n:"??"}, +/*::[*/ +2049:{n:"??"}, +/*::[*/ +2052:{n:"??"}, +/*::[*/ +2688:{n:"??"}, +/*::[*/ +10998:{n:"??"}, +/*::[*/ +12849:{n:"??"}, +/*::[*/ +28233:{n:"??"}, +/*::[*/ +28484:{n:"??"}, +/*::[*/ +65535:{n:""}};return{sheet_to_wk1:function(e,t){var n=t||{};if(+n.codepage>=0&&jh(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var i,o,c=Kf(),l=lp(e["!ref"]),h=Array.isArray(e),d=[];iy(c,0,(i=1030,(o=qf(2)).write_shift(2,i),o)),iy(c,6,function(e){var t=qf(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}(l));for(var u=Math.min(l.e.r,8191),f=l.s.r;f<=u;++f)for(var p=np(f),g=l.s.c;g<=l.e.c;++g){f===l.s.r&&(d[g]=rp(g));var m=d[g]+p,b=h?(e[f]||[])[g]:e[m];if(b&&"z"!=b.t)if("n"==b.t)(0|b.v)==b.v&&b.v>=-32768&&b.v<=32767?iy(c,13,a(f,g,b.v)):iy(c,14,s(f,g,b.v));else iy(c,15,r(f,g,dp(b).slice(0,239)))}return iy(c,1),c.end()},book_to_wk3:function(e,t){var n=t||{};if(+n.codepage>=0&&jh(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var i=Kf();iy(i,0,function(e){var t=qf(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,i=0,r=0,a=0;a8191&&(n=8191);return t.write_shift(2,n),t.write_shift(1,r),t.write_shift(1,i),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}(e));for(var r=0,a=0;r":case"":t.shadow=1;break;case"":break; +/* 18.4.1 charset CT_IntProperty TODO */case"":case"":t.outline=1;break;case"":break; +/* 18.4.5 rFont CT_FontName */case"":case"":t.strike=1;break;case"":break; +/* 18.4.13 u CT_UnderlineProperty */case"":case"":t.u=1;break;case"":break; +/* 18.8.2 b */case"":case"":t.b=1;break;case"":break; +/* 18.8.26 i */case"":case"":t.i=1;break;case"":break; +/* 18.3.1.15 color CT_Color TODO: tint, theme, auto, indexed */case"":case"":case"":break; +/* 18.8.18 family ST_FontFamily */case"":case"":case"":break; +/* 18.4.14 vertAlign CT_VerticalAlignFontProperty TODO */case"":case"":case"": +/* 18.8.35 scheme CT_FontScheme TODO */case"":case"":case"": +/* 18.2.10 extLst CT_ExtensionList ? */case"":case"":break;case"":r=!1;break;default:if(47!==a[0].charCodeAt(1)&&!r)throw new Error("Unrecognized rich format "+a[0])}}return t}(a[1])),r}var i=/<(?:\w+:)?r>/g,r=/<\/(?:\w+:)?r>/;return function(e){return e.replace(i,"").split(r).map(n).filter((function(e){return e.v}))}}(),nm=function(){var e=/(\r\n|\n)/g;function t(t){var n=[[],t.v,[]];return t.v?(t.s&&function(e,t,n){var i=[];e.u&&i.push("text-decoration: underline;"),e.uval&&i.push("text-underline-style:"+e.uval+";"),e.sz&&i.push("font-size:"+e.sz+"pt;"),e.outline&&i.push("text-effect: outline;"),e.shadow&&i.push("text-shadow: auto;"),t.push(''),e.b&&(t.push(""),n.push("")),e.i&&(t.push(""),n.push("")),e.strike&&(t.push(""),n.push(""));var r=e.valign||"";"superscript"==r||"super"==r?r="sup":"subscript"==r&&(r="sub"),""!=r&&(t.push("<"+r+">"),n.push("")),n.push("")}(t.s,n[0],n[2]),n[0].join("")+n[1].replace(e,"
")+n[2].join("")):""}return function(e){return e.map(t).join("")}}(),im=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,rm=/<(?:\w+:)?r>/,am=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function sm(e,t){var n=!t||t.cellHTML,i={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(i.t=zu(Ju(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),i.r=Ju(e),n&&(i.h=Gu(i.t))): +/*y = */ +e.match(rm)&&(i.r=Ju(e),i.t=zu(Ju((e.replace(am,"").match(im)||[]).join("").replace(Ou,""))),n&&(i.h=nm(tm(i.r)))),i):{t:""}}var om=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,cm=/<(?:\w+:)?(?:si|sstItem)>/g,lm=/<\/(?:\w+:)?(?:si|sstItem)>/;function hm(e){for(var t=[],n=e.split(""),i=0;i=4&&(e.l+=t-4),n}function um(e){for(var t=e.read_shift(4),n=e.l+t-4,i={},r=e.read_shift(4),a=[];r-- >0;)a.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(i.name=e.read_shift(0,"lpp4"),i.comps=a,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return i}function fm(e){var t=function(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=dm(e,4),t.U=dm(e,4),t.W=dm(e,4),t}(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function pm(e,t){var n=e.l+t,i={};i.Flags=63&e.read_shift(4),e.l+=4,i.AlgID=e.read_shift(4);var r=!1;switch(i.AlgID){case 26126:case 26127:case 26128:r=36==i.Flags;break;case 26625:r=4==i.Flags;break;case 0:r=16==i.Flags||4==i.Flags||36==i.Flags;break;default:throw"Unrecognized encryption algorithm: "+i.AlgID}if(!r)throw new Error("Encryption Flags/AlgID mismatch");return i.AlgIDHash=e.read_shift(4),i.KeySize=e.read_shift(4),i.ProviderType=e.read_shift(4),e.l+=8,i.CSPName=e.read_shift(n-e.l>>1,"utf16le"),e.l=n,i}function gm(e,t){var n={},i=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,i),e.l=i,n}function mm(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4);return{t:"Std",h:pm(e,t),v:gm(e,e.length-e.l)}}function bm(){throw new Error("File is password-protected: ECMA-376 Extensible")}function vm(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e.read_shift(e.length-e.l,"utf8"),i={};return n.replace(Ou,(function(e){var n=Lu(e);switch(Wu(n[0])){case"":case"":case"":break;case"":case"=0;--a)for(var s=e[a],o=0;7!=o;++o)64&s&&(i^=n[r]),s*=2,--r;return i}(c),h=c.length,d=ed(16),u=0;16!=u;++u)d[u]=0;for(1&~h||(a=l>>8,d[h]=i(e[0],a),--h,a=255&l,s=c[c.length-1],d[h]=i(s,a));h>0;)a=l>>8,d[--h]=i(c[h],a),a=255&l,d[--h]=i(c[h],a);for(h=15,o=15-c.length;o>0;)a=l>>8,d[h]=i(e[o],a),--o,a=255&l,d[--h]=i(c[h],a),--h,--o;return d}}(),wm=function(e){var t=0,n=ym(e);return function(e){var i=function(e,t,n,i,r){var a,s;for(r||(r=t),i||(i=ym(e)),a=0;a!=t.length;++a)s=t[a],s=255&((s^=i[n])>>5|s<<3),r[a]=s,++n;return[r,n,i]}("",e,t,n);return t=i[1],i[0]}};function xm(e,t,n,i){var r={key:ug(e),verificationBytes:ug(e)};return n.password&&(r.verifier=function(e){var t,n,i=0,r=hm(e),a=r.length+1;for((t=ed(a))[0]=r.length,n=1;n!=a;++n)t[n]=r[n-1];for(n=a-1;n>=0;--n)i=((16384&i?1:0)|i<<1&32767)^t[n];return 52811^i}(n.password)),i.valid=r.verificationBytes===r.verifier,i.valid&&(i.insitu=wm(n.password)),r}function _m(e,t,n){var i=n;return i.Info=e.read_shift(2),e.l-=2,1===i.Info?i.Data=function(e){var t={},n=t.EncryptionVersionInfo=dm(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}(e):i.Data=function(e,t){var n={},i=n.EncryptionVersionInfo=dm(e,4);if(t-=4,2!=i.Minor)throw new Error("unrecognized minor version code: "+i.Minor);if(i.Major>4||i.Major<2)throw new Error("unrecognized major version code: "+i.Major);n.Flags=e.read_shift(4),t-=4;var r=e.read_shift(4);return t-=4,n.EncryptionHeader=pm(e,r),t-=r,n.EncryptionVerifier=gm(e,t),n}(e,t),i}var Tm=function(){function e(e,n){switch(n.type){case"base64":return t(Zh(e),n);case"binary":return t(e,n);case"buffer":return t(Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e),n);case"array":return t(gu(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},i=e.match(/\\trowd.*?\\row\b/g);if(!i.length)throw new Error("RTF missing table");var r={s:{c:0,r:0},e:{c:0,r:i.length-1}};return i.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);for(var i,a=/\\\w+\b/g,s=0,o=-1;i=a.exec(e);){if("\\cell"===i[0]){var c=e.slice(s,a.lastIndex-i[0].length);if(" "==c[0]&&(c=c.slice(1)),++o,c.length){var l={v:c,t:"s"};Array.isArray(n)?n[t][o]=l:n[sp({r:t,c:o})]=l}}s=a.lastIndex}o>r.e.c&&(r.e.c=o)})),n["!ref"]=cp(r),n}return{to_workbook:function(t,n){return up(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],i=lp(e["!ref"]),r=Array.isArray(e),a=i.s.r;a<=i.e.r;++a){n.push("\\trowd\\trautofit1");for(var s=i.s.c;s<=i.e.c;++s)n.push("\\cellx"+(s+1));for(n.push("\\pard\\intbl"),s=i.s.c;s<=i.e.c;++s){var o=sp({r:a,c:s});(t=r?(e[a]||[])[s]:e[o])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(dp(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function Dm(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function Am(e,t){if(0===t)return e;var n,i,r=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(t,n,i),a=Math.min(t,n,i),s=r-a;if(0===s)return[0,0,t];var o,c=0,l=r+a;switch(o=s/(l>1?2-l:l),r){case t:c=((n-i)/s+6)%6;break;case n:c=(i-t)/s+2;break;case i:c=(t-n)/s+4}return[c/6,o,l/2]}((i=(n=e).slice("#"===n[0]?1:0).slice(0,6),[parseInt(i.slice(0,2),16),parseInt(i.slice(2,4),16),parseInt(i.slice(4,6),16)]));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),Dm(function(e){var t,n=e[0],i=e[1],r=e[2],a=2*i*(r<.5?r:1-r),s=r-a/2,o=[s,s,s],c=6*n;if(0!==i)switch(0|c){case 0:case 6:t=a*c,o[0]+=a,o[1]+=t;break;case 1:t=a*(2-c),o[0]+=t,o[1]+=a;break;case 2:t=a*(c-2),o[1]+=a,o[2]+=t;break;case 3:t=a*(4-c),o[1]+=t,o[2]+=a;break;case 4:t=a*(c-4),o[2]+=a,o[0]+=t;break;case 5:t=a*(6-c),o[2]+=t,o[0]+=a}for(var l=0;3!=l;++l)o[l]=Math.round(255*o[l]);return o}(r))}var Em=6;function km(e){return Math.floor((e+Math.round(128/Em)/256)*Em)}function Sm(e){return Math.floor((e-5)/Em*100+.5)/100}function Cm(e){return Math.round((e*Em+5)/Em*256)/256}function Um(e){return Cm(Sm(km(e)))}function Fm(e){var t=Math.abs(e-Um(e)),n=Em;if(t>.005)for(Em=1;Em<15;++Em)Math.abs(e-Um(e))<=t&&(t=Math.abs(e-Um(e)),n=Em);Em=n}function Mm(e){e.width?(e.wpx=km(e.width),e.wch=Sm(e.wpx),e.MDW=Em):e.wpx?(e.wch=Sm(e.wpx),e.width=Cm(e.wch),e.MDW=Em):"number"==typeof e.wch&&(e.width=Cm(e.wch),e.wpx=km(e.width),e.MDW=Em),e.customWidth&&delete e.customWidth}var Rm=96;function Im(e){return 96*e/Rm}function Om(e){return e*Rm/96}var Nm={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};var Pm=["numFmtId","fillId","fontId","borderId","xfId"],Lm=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Wm=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,i=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,r=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(a,s,o){var c,l={};return a?((c=(a=a.replace(//gm,"").replace(//gm,"")).match(e))&&function(e,t,n){t.NumberFmt=[];for(var i=nu(bd),r=0;r":case"":case"":case"":break;case"0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=o}Kd(o,c)}break;default:if(n.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}(c,l,o),(c=a.match(i))&&function(e,t,n,i){t.Fonts=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var s=Lu(e);switch(Wu(s[0])){case"":case"": +/* 18.8.22 font CT_Font */case"":case"":case"": +/* 18.8.2 b CT_BooleanProperty */case"":case"": +/* 18.4.14 vertAlign CT_VerticalAlignFontProperty */case"":case"": +/* 18.8.18 family CT_FontFamily */case"":case"": +/* 18.8.35 scheme CT_FontScheme */case"":case"": +/* 18.4.1 charset CT_IntProperty */case"":case"": +/* note: sometimes mc:AlternateContent appears bare */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"":case"":break;case"":case"":t.Fonts.push(r),r={};break; +/* 18.8.29 name CT_FontName */case"":r.bold=1;break; +/* 18.8.26 i CT_BooleanProperty */case"":r.italic=1;break; +/* 18.4.13 u CT_UnderlineProperty */case"":r.underline=1;break; +/* 18.4.10 strike CT_BooleanProperty */case"":r.strike=1;break; +/* 18.4.2 outline CT_BooleanProperty */case"":r.outline=1;break; +/* 18.8.36 shadow CT_BooleanProperty */case"":r.shadow=1;break; +/* 18.8.12 condense CT_BooleanProperty */case"":r.condense=1;break; +/* 18.8.17 extend CT_BooleanProperty */case"":r.extend=1;break; +/* 18.4.11 sz CT_FontSize */case"":case"":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+s[0]+" in fonts")}}))}(c,l,s,o),(c=a.match(n))&&function(e,t,n,i){t.Fills=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var n=Lu(e);switch(Wu(n[0])){case"":case"": +/* 18.8.20 fill CT_Fill */case"": +/* 18.8.24 gradientFill CT_GradientFill */case"":case"":case"": +/* 18.8.3 bgColor CT_Color */case"":case"": +/* 18.8.19 fgColor CT_Color */case"":case"": +/* 18.8.38 stop CT_GradientStop */case"":case"": +/* 18.8.? color CT_Color */case"":case"": +/* 18.2.10 extLst CT_ExtensionList ? */case"":case"":break;case"":case"":r={},t.Fills.push(r);break;case"":t.Fills.push(r),r={};break; +/* 18.8.32 patternFill CT_PatternFill */case"":n.patternType&&(r.patternType=n.patternType);break;case"":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+n[0]+" in fills")}}))}(c,l,0,o),(c=a.match(r))&&function(e,t,n,i){t.Borders=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var n=Lu(e);switch(Wu(n[0])){case"":case"": +/* 18.8.4 border CT_Border */case"": +/* note: not in spec, appears to be CT_BorderPr */case"":case"":case"": +/* note: not in spec, appears to be CT_BorderPr */case"":case"":case"": +/* 18.8.43 top CT_BorderPr */case"":case"":case"": +/* 18.8.6 bottom CT_BorderPr */case"":case"":case"": +/* 18.8.13 diagonal CT_BorderPr */case"":case"":case"": +/* 18.8.25 horizontal CT_BorderPr */case"":case"":case"": +/* 18.8.44 vertical CT_BorderPr */case"":case"":case"": +/* 18.8.37 start CT_BorderPr */case"":case"":case"": +/* 18.8.16 end CT_BorderPr */case"":case"":case"": +/* 18.8.? color CT_Color */case"":case"":case"": +/* 18.2.10 extLst CT_ExtensionList ? */case"":case"":break;case"":case"":r=/*::(*/ +{},n.diagonalUp&&(r.diagonalUp=$u(n.diagonalUp)),n.diagonalDown&&(r.diagonalDown=$u(n.diagonalDown)),t.Borders.push(r);break;case"":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+n[0]+" in borders")}}))}(c,l,0,o),(c=a.match(t))&&function(e,t,n){var i;t.CellXf=[];var r=!1;(e[0].match(Ou)||[]).forEach((function(e){var a=Lu(e),s=0;switch(Wu(a[0])){case"":case"":case"": +/* 18.8.45 xf CT_Xf */case"": +/* 18.8.1 alignment CT_CellAlignment */case"": +/* 18.8.33 protection CT_CellProtection */case"":case"": +/* note: sometimes mc:AlternateContent appears bare */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"":case"":break;case"":for(delete(i=a)[0],s=0;s392)for(s=392;s>60;--s)if(t.NumberFmt[i.numFmtId]==t.NumberFmt[s]){i.numFmtId=s;break}t.CellXf.push(i);break;case"":var o={};a.vertical&&(o.vertical=a.vertical),a.horizontal&&(o.horizontal=a.horizontal),null!=a.textRotation&&(o.textRotation=a.textRotation),a.indent&&(o.indent=a.indent),a.wrapText&&(o.wrapText=$u(a.wrapText)),i.alignment=o;break;case"":case"":r=!1;break;default:if(n&&n.WTF&&!r)throw new Error("unrecognized "+a[0]+" in cellXfs")}}))}(c,l,o),l):l}}();var Bm=$f;var jm=$f;var zm=["","","","","","","","","","","",""];function Hm(e,t,n){t.themeElements.clrScheme=[];var i={};(e[0].match(Ou)||[]).forEach((function(e){var r=Lu(e);switch(r[0]){ +/* 20.1.6.2 clrScheme (Color Scheme) CT_ColorScheme */ +case"":break; +/* 20.1.2.3.32 srgbClr CT_SRgbColor */case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":"/"===r[0].charAt(1)?(t.themeElements.clrScheme[zm.indexOf(r[0])]=i,i={}):i.name=r[0].slice(3,r[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+r[0]+" in clrScheme")}}))}function Vm(){}function Gm(){}var Xm=/]*)>[\s\S]*<\/a:clrScheme>/,$m=/]*)>[\s\S]*<\/a:fontScheme>/,qm=/]*)>[\s\S]*<\/a:fmtScheme>/;var Ym=/]*)>[\s\S]*<\/a:themeElements>/;function Km(e,t){var n,i;e&&0!==e.length||((n=[Mu])[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",e=n.join(""));var r={};if(!(i=e.match(Ym)))throw new Error("themeElements not found in theme");return function(e,t,n){var i;t.themeElements={},[ +/* clrScheme CT_ColorScheme */ +["clrScheme",Xm,Hm], +/* fontScheme CT_FontScheme */ +["fontScheme",$m,Vm], +/* fmtScheme CT_StyleMatrix */ +["fmtScheme",qm,Gm]].forEach((function(r){if(!(i=e.match(r[1])))throw new Error(r[0]+" not found in themeElements");r[2](i,t,n)}))}(i[0],r,t),r.raw=e,r}function Zm(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:case 4:e.l+=4;break;case 1:t.xclrValue=function(e,t){return $f(e,t)}(e,4);break;case 2:t.xclrValue=xg(e);break;case 3:t.xclrValue=function(e){return e.read_shift(4)}(e)}return e.l+=8,t}function Jm(e){var t=e.read_shift(2),n=e.read_shift(2)-4,i=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:i[1]=Zm(e);break;case 6:i[1]=function(e,t){return $f(e,t)}(e,n);break;case 14:case 15:i[1]=e.read_shift(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return i}function Qm(e,t,n,i){var r,a=Array.isArray(e);t.forEach((function(t){var s=ap(t.ref);if(a?(e[s.r]||(e[s.r]=[]),r=e[s.r][s.c]):r=e[t.ref],!r){r={t:"z"},a?e[s.r][s.c]=r:e[t.ref]=r;var o=lp(e["!ref"]||"BDWGO1000001:A1");o.s.r>s.r&&(o.s.r=s.r),o.e.rs.c&&(o.s.c=s.c),o.e.c=0;--h){if(!n&&r.c[h].T)return;n&&!r.c[h].T&&r.c.splice(h,1)}if(n&&i)for(h=0;h0?0|parseInt(i,10):0,c=r.length>0?0|parseInt(r,10):0;return a?c+=t.c:--c,s?o+=t.r:--o,n+(a?"":"$")+rp(c)+(s?"":"$")+np(o)}return function(i,r){return t=r,i.replace(e,n)}}(),nb=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ib=function(){return function(e,t){return e.replace(nb,(function(e,n,i,r,a,s){var o=ip(r)-(i?0:t.c),c=tp(s)-(a?0:t.r);return n+"R"+(0==c?"":a?c+1:"["+c+"]")+"C"+(0==o?"":i?o+1:"["+o+"]")}))}}();function rb(e,t){return e.replace(nb,(function(e,n,i,r,a,s){return n+("$"==i?i+r:rp(ip(r)+t.c))+("$"==a?a+s:np(tp(s)+t.r))}))}function ab(e,t,n){var i=op(t).s,r=ap(n);return rb(e,{r:r.r-i.r,c:r.c-i.c})}function sb(e){return e.replace(/_xlfn\./g,"")}function ob(e){e.l+=1}function cb(e,t){var n=e.read_shift(2);return[16383&n,n>>14&1,n>>15&1]}function lb(e,t,n){var i=2;if(n){if(n.biff>=2&&n.biff<=5)return hb(e);12==n.biff&&(i=4)}var r=e.read_shift(i),a=e.read_shift(i),s=cb(e),o=cb(e);return{s:{r:r,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:o[0],cRel:o[1],rRel:o[2]}}}function hb(e){var t=cb(e),n=cb(e),i=e.read_shift(1),r=e.read_shift(1);return{s:{r:t[0],c:i,cRel:t[1],rRel:t[2]},e:{r:n[0],c:r,cRel:n[1],rRel:n[2]}}}function db(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=cb(e),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var i=e.read_shift(n&&12==n.biff?4:2),r=cb(e);return{r:i,c:r[0],cRel:r[1],rRel:r[2]}}function ub(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function fb(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function pb(e){return[e.read_shift(1),e.read_shift(1)]}function gb(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break; +/* SerBool */case 4:n[0]=16;break; +/* SerErr */case 0:n[0]=1;break; +/* SerNum */case 1:n[0]=2}switch(n[0]){case 4:n[1]=dg(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37: +/* appears to be an alias */case 16:n[1]=Lp[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Sp(e);break;case 2:n[1]=vg(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function mb(e,t,n){for(var i=e.read_shift(12==n.biff?4:2),r=[],a=0;a!=i;++a)r.push((12==n.biff?kp:Eg)(e));return r}function bb(e,t,n){var i=0,r=0;12==n.biff?(i=e.read_shift(4),r=e.read_shift(4)):(r=1+e.read_shift(1),i=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--i,0==--r&&(r=256));for(var a=0,s=[];a!=i&&(s[a]=[]);++a)for(var o=0;o!=r;++o)s[a][o]=gb(e,n.biff);return s}function vb(e,t,n){return e.l+=2,[ub(e)]}function yb(e){return e.l+=6,[]}function wb(e){return e.l+=2,[ug(e),1&e.read_shift(2)]}var xb=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var _b={ +/*::[*/ +1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +2:{n:"PtgTbl",f:$f}, +/*::[*/ +3:{n:"PtgAdd",f:ob}, +/*::[*/ +4:{n:"PtgSub",f:ob}, +/*::[*/ +5:{n:"PtgMul",f:ob}, +/*::[*/ +6:{n:"PtgDiv",f:ob}, +/*::[*/ +7:{n:"PtgPower",f:ob}, +/*::[*/ +8:{n:"PtgConcat",f:ob}, +/*::[*/ +9:{n:"PtgLt",f:ob}, +/*::[*/ +10:{n:"PtgLe",f:ob}, +/*::[*/ +11:{n:"PtgEq",f:ob}, +/*::[*/ +12:{n:"PtgGe",f:ob}, +/*::[*/ +13:{n:"PtgGt",f:ob}, +/*::[*/ +14:{n:"PtgNe",f:ob}, +/*::[*/ +15:{n:"PtgIsect",f:ob}, +/*::[*/ +16:{n:"PtgUnion",f:ob}, +/*::[*/ +17:{n:"PtgRange",f:ob}, +/*::[*/ +18:{n:"PtgUplus",f:ob}, +/*::[*/ +19:{n:"PtgUminus",f:ob}, +/*::[*/ +20:{n:"PtgPercent",f:ob}, +/*::[*/ +21:{n:"PtgParen",f:ob}, +/*::[*/ +22:{n:"PtgMissArg",f:ob}, +/*::[*/ +23:{n:"PtgStr",f:function(e,t,n){return e.l++,pg(e,0,n)}}, +/*::[*/ +26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}}, +/*::[*/ +27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}}, +/*::[*/ +28:{n:"PtgErr",f:function(e){return e.l++,Lp[e.read_shift(1)]}}, +/*::[*/ +29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}}, +/*::[*/ +30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}}, +/*::[*/ +31:{n:"PtgNum",f:function(e){return e.l++,Sp(e)}}, +/*::[*/ +32:{n:"PtgArray",f:function(e,t,n){var i=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[i]}}, +/*::[*/ +33:{n:"PtgFunc",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=e.read_shift(n&&n.biff<=3?1:2);return[Hb[r],zb[r],i]}}, +/*::[*/ +34:{n:"PtgFuncVar",f:function(e,t,n){var i=e[e.l++],r=e.read_shift(1),a=n&&n.biff<=3?[88==i?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[r,(0===a[0]?zb:jb)[a[1]]]}}, +/*::[*/ +35:{n:"PtgName",f:function(e,t,n){var i=e.read_shift(1)>>>5&3,r=!n||n.biff>=8?4:2,a=e.read_shift(r);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[i,0,a]}}, +/*::[*/ +36:{n:"PtgRef",f:function(e,t,n){var i=(96&e[e.l])>>5;return e.l+=1,[i,db(e,0,n)]}}, +/*::[*/ +37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,lb(e,n.biff>=2&&n.biff,n)]}}, +/*::[*/ +38:{n:"PtgMemArea",f:function(e,t,n){var i=e.read_shift(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +39:{n:"PtgMemErr",f:$f}, +/*::[*/ +40:{n:"PtgMemNoMem",f:$f}, +/*::[*/ +41:{n:"PtgMemFunc",f:function(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +42:{n:"PtgRefErr",f:function(e,t,n){var i=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[i]}}, +/*::[*/ +43:{n:"PtgAreaErr",f:function(e,t,n){var i=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[i]}}, +/*::[*/ +44:{n:"PtgRefN",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=function(e,t,n){var i=n&&n.biff?n.biff:8;if(i>=2&&i<=5)return function(e){var t=e.read_shift(2),n=e.read_shift(1),i=(32768&t)>>15,r=(16384&t)>>14;return t&=16383,1==i&&t>=8192&&(t-=16384),1==r&&n>=128&&(n-=256),{r:t,c:n,cRel:r,rRel:i}}(e);var r=e.read_shift(i>=12?4:2),a=e.read_shift(2),s=(16384&a)>>14,o=(32768&a)>>15;if(a&=16383,1==o)for(;r>524287;)r-=1048576;if(1==s)for(;a>8191;)a-=16384;return{r:r,c:a,cRel:s,rRel:o}}(e,0,n);return[i,r]}}, +/*::[*/ +45:{n:"PtgAreaN",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=function(e,t,n){if(n.biff<8)return hb(e);var i=e.read_shift(12==n.biff?4:2),r=e.read_shift(12==n.biff?4:2),a=cb(e),s=cb(e);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:r,c:s[0],cRel:s[1],rRel:s[2]}}}(e,0,n);return[i,r]}}, +/*::[*/ +46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}}, +/*::[*/ +47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}}, +/*::[*/ +57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var i=e.read_shift(2);return e.l+=12,[t,n,i]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}}, +/*::[*/ +58:{n:"PtgRef3d",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=e.read_shift(2);return n&&5==n.biff&&(e.l+=12),[i,r,db(e,0,n)]}}, +/*::[*/ +59:{n:"PtgArea3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2,"i");if(n)switch(n.biff){case 5:e.l+=12;break;case 12:0}return[i,r,lb(e,0,n)]}}, +/*::[*/ +60:{n:"PtgRefErr3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2),a=4;if(n)switch(n.biff){case 5:a=15;break;case 12:a=6}return e.l+=a,[i,r]}}, +/*::[*/ +61:{n:"PtgAreaErr3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2),a=8;if(n)switch(n.biff){case 5:e.l+=12,a=6;break;case 12:a=12}return e.l+=a,[i,r]}}, +/*::[*/ +255:{}},Tb={ +/*::[*/ +64:32, +/*::[*/ +96:32, +/*::[*/ +65:33, +/*::[*/ +97:33, +/*::[*/ +66:34, +/*::[*/ +98:34, +/*::[*/ +67:35, +/*::[*/ +99:35, +/*::[*/ +68:36, +/*::[*/ +100:36, +/*::[*/ +69:37, +/*::[*/ +101:37, +/*::[*/ +70:38, +/*::[*/ +102:38, +/*::[*/ +71:39, +/*::[*/ +103:39, +/*::[*/ +72:40, +/*::[*/ +104:40, +/*::[*/ +73:41, +/*::[*/ +105:41, +/*::[*/ +74:42, +/*::[*/ +106:42, +/*::[*/ +75:43, +/*::[*/ +107:43, +/*::[*/ +76:44, +/*::[*/ +108:44, +/*::[*/ +77:45, +/*::[*/ +109:45, +/*::[*/ +78:46, +/*::[*/ +110:46, +/*::[*/ +79:47, +/*::[*/ +111:47, +/*::[*/ +88:34, +/*::[*/ +120:34, +/*::[*/ +89:57, +/*::[*/ +121:57, +/*::[*/ +90:58, +/*::[*/ +122:58, +/*::[*/ +91:59, +/*::[*/ +123:59, +/*::[*/ +92:60, +/*::[*/ +124:60, +/*::[*/ +93:61, +/*::[*/ +125:61},Db={ +/*::[*/ +1:{n:"PtgElfLel",f:wb}, +/*::[*/ +2:{n:"PtgElfRw",f:vb}, +/*::[*/ +3:{n:"PtgElfCol",f:vb}, +/*::[*/ +6:{n:"PtgElfRwV",f:vb}, +/*::[*/ +7:{n:"PtgElfColV",f:vb}, +/*::[*/ +10:{n:"PtgElfRadical",f:vb}, +/*::[*/ +11:{n:"PtgElfRadicalS",f:yb}, +/*::[*/ +13:{n:"PtgElfColS",f:yb}, +/*::[*/ +15:{n:"PtgElfColSV",f:yb}, +/*::[*/ +16:{n:"PtgElfRadicalLel",f:wb}, +/*::[*/ +25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(4),r=e.read_shift(2),a=e.read_shift(2);return{ixti:t,coltype:3&n,rt:xb[n>>2&31],idx:i,c:r,C:a}}}, +/*::[*/ +29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}}, +/*::[*/ +255:{}},Ab={ +/*::[*/ +0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}}, +/*::[*/ +1:{n:"PtgAttrSemi",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[i]}}, +/*::[*/ +2:{n:"PtgAttrIf",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=2,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var i=e.read_shift(n&&2==n.biff?1:2),r=[],a=0;a<=i;++a)r.push(e.read_shift(n&&2==n.biff?1:2));return r}}, +/*::[*/ +8:{n:"PtgAttrGoto",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=2,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}}, +/*::[*/ +32:{n:"PtgAttrBaxcel",f:fb}, +/*::[*/ +33:{n:"PtgAttrBaxcel",f:fb}, +/*::[*/ +64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),pb(e)}}, +/*::[*/ +65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),pb(e)}}, +/*::[*/ +128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}}, +/*::[*/ +255:{}};function Eb(e,t,n,i){if(i.biff<8)return $f(e,t);for(var r=e.l+t,a=[],s=0;s!==n.length;++s)switch(n[s][0]){case"PtgArray":n[s][1]=bb(e,0,i),a.push(n[s][1]);break;case"PtgMemArea":n[s][2]=mb(e,n[s][1],i),a.push(n[s][2]);break;case"PtgExp":i&&12==i.biff&&(n[s][1][1]=e.read_shift(4),a.push(n[s][1]));break;case"PtgList": +/* TODO: PtgList -> PtgExtraList */case"PtgElfRadicalS": +/* TODO: PtgElfRadicalS -> PtgExtraElf */case"PtgElfColS": +/* TODO: PtgElfColS -> PtgExtraElf */case"PtgElfColSV":throw"Unsupported "+n[s][0]}return 0!==(t=r-e.l)&&a.push($f(e,t)),a}function kb(e,t,n){for(var i,r,a=e.l+t,s=[];a!=e.l;)t=a-e.l,r=e[e.l],i=_b[r]||_b[Tb[r]],24!==r&&25!==r||(i=(24===r?Db:Ab)[e[e.l+1]]),i&&i.f?s.push([i.n,i.f(e,t,n)]):$f(e,t);return s}function Sb(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Ub(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var i=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!i)return"SH33TJSERR1";var r="";if(n.biff>8)switch(e[i[0]][0]){case 357:return r=-1==i[1]?"#REF":e.SheetNames[i[1]],i[1]==i[2]?r:r+":"+e.SheetNames[i[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[i[0]][0]; +/* 'BrtSupBookSrc' */ +/* falls through */ +default:return"SH33TJSSRC"+e[i[0]][0]}switch(e[i[0]][0][0]){case 1025:return r=-1==i[1]?"#REF":e.SheetNames[i[1]]||"SH33TJSERR3",i[1]==i[2]?r:r+":"+e.SheetNames[i[2]];case 14849:return e[i[0]].slice(1).map((function(e){return e.Name})).join(";;"); +//return "SH33TJSERR8"; +default:return e[i[0]][0][3]?(r=-1==i[1]?"#REF":e[i[0]][0][3][i[1]]||"SH33TJSERR4",i[1]==i[2]?r:r+":"+e[i[0]][0][3][i[2]]):"SH33TJSERR2"}}function Fb(e,t,n){var i=Ub(e,t,n);return"#REF"==i?i:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(i,n)}function Mb(e,t,n,i,r){var a,s,o,c,l=r&&r.biff||8,h= +/*range != null ? range :*/{s:{c:0,r:0},e:{c:0,r:0}},d=[],u=0,f=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",b=0,v=e[0].length;b=0){switch(e[0][g][1][0]){case 0:m=bu(" ",e[0][g][1][1]);break;case 1:m=bu("\r",e[0][g][1][1]);break;default:if(m="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}s+=m,g=-1}d.push(s+Cb[y[0]]+a);break;case"PtgIsect":a=d.pop(),s=d.pop(),d.push(s+" "+a);break;case"PtgUnion":a=d.pop(),s=d.pop(),d.push(s+","+a);break;case"PtgRange":a=d.pop(),s=d.pop(),d.push(s+":"+a);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel": +/* [MS-XLS] 2.5.198.33 */case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":o=Zf(y[1][1],h,r),d.push(Qf(o,l));break;case"PtgRefN":o=n?Zf(y[1][1],n,r):y[1][1],d.push(Qf(o,l));break;case"PtgRef3d":u=/*::Number(*/ +y[1][1],o=Zf(y[1][2],h,r),p=Fb(i,u,r),d.push(p+"!"+Qf(o,l));break;case"PtgFunc": +/* [MS-XLS] 2.5.198.62 */case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0);var _=0==(w&=127)?[]:d.slice(-w);d.length-=w,"User"===x&&(x=_.shift()),d.push(x+"("+_.join(",")+")");break;case"PtgBool":d.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":d.push( +/*::String(*/ +y[1] +/*::)*/);break;case"PtgNum":d.push(String(y[1]));break;case"PtgStr":d.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":c=Jf(y[1][1],n?{s:n}:h,r),d.push(ep(c,r));break;case"PtgArea":c=Jf(y[1][1],h,r),d.push(ep(c,r));break;case"PtgArea3d":u=/*::Number(*/ +y[1][1],c=y[1][2],p=Fb(i,u,r),d.push(p+"!"+ep(c,r));break;case"PtgAttrSum":d.push("SUM("+d.pop()+")");break;case"PtgName":f=y[1][2];var T=(i.names||[])[f-1]||(i[0]||[])[f],D=T?T.Name:"SH33TJSNAME"+String(f);D&&"_xlfn."==D.slice(0,6)&&!r.xlfn&&(D=D.slice(6)),d.push(D);break;case"PtgNameX":var A,E=y[1][1];if(f=y[1][2],!(r.biff<=5)){var k="";if(14849==((i[E]||[])[0]||[])[0]||(1025==((i[E]||[])[0]||[])[0]?i[E][f]&&i[E][f].itab>0&&(k=i.SheetNames[i[E][f].itab-1]+"!"):k=i.SheetNames[f-1]+"!"),i[E]&&i[E][f])k+=i[E][f].Name;else if(i[0]&&i[0][f])k+=i[0][f].Name;else{var S=(Ub(i,E,r)||"").split(";;");S[f-1]?k=S[f-1]:k+="SH33TJSERRX"}d.push(k);break}E<0&&(E=-E),i[E]&&(A=i[E][f]),A||(A={Name:"SH33TJSERRY"}),d.push(A.Name);break;case"PtgParen":var C="(",U=")";if(g>=0){switch(m="",e[0][g][1][0]){ +// $FlowIgnore +case 2:C=bu(" ",e[0][g][1][1])+C;break; +// $FlowIgnore +case 3:C=bu("\r",e[0][g][1][1])+C;break; +// $FlowIgnore +case 4:U=bu(" ",e[0][g][1][1])+U;break; +// $FlowIgnore +case 5:U=bu("\r",e[0][g][1][1])+U;break;default:if(r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}d.push(C+d.pop()+U);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":d.push("#REF!");break;case"PtgExp":o={c:y[1][1],r:y[1][0]};var F={c:n.c,r:n.r};if(i.sharedf[sp(o)]){var M=i.sharedf[sp(o)];d.push(Mb(M,h,F,i,r))}else{var R=!1;for(a=0;a!=i.arrayf.length;++a)if(s=i.arrayf[a],!(o.cs[0].e.c||o.rs[0].e.r)){d.push(Mb(s[1],h,F,i,r)),R=!0;break}R||d.push( +/*::String(*/ +y[1] +/*::)*/)}break;case"PtgArray":d.push("{"+Sb( +/*::(*/ +y[1] +/*:: :any)*/)+"}");break;case"PtgAttrSpace": +/* [MS-XLS] 2.5.198.38 */case"PtgAttrSpaceSemi":g=b;break;case"PtgMissArg":d.push("");break;case"PtgList":d.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgElfCol": +/* [MS-XLS] 2.5.198.46 */case"PtgElfColS": +/* [MS-XLS] 2.5.198.47 */case"PtgElfColSV": +/* [MS-XLS] 2.5.198.48 */case"PtgElfColV": +/* [MS-XLS] 2.5.198.49 */case"PtgElfLel": +/* [MS-XLS] 2.5.198.50 */case"PtgElfRadical": +/* [MS-XLS] 2.5.198.51 */case"PtgElfRadicalLel": +/* [MS-XLS] 2.5.198.52 */case"PtgElfRadicalS": +/* [MS-XLS] 2.5.198.53 */case"PtgElfRw": +/* [MS-XLS] 2.5.198.54 */case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=r.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][b][0])){var I=!0;switch((y=e[0][g])[1][0]){ +/* note: some bad XLSB files omit the PtgParen */ +case 4:I=!1; +/* falls through */case 0:m=bu(" ",y[1][1]);break;case 5:I=!1; +/* falls through */case 1:m=bu("\r",y[1][1]);break;default:if(m="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}d.push((I?m:"")+d.pop()+(I?"":m)),g=-1}}if(d.length>1&&r.WTF)throw new Error("bad formula stack");return d[0]}function Rb(e,t,n){var i,r=e.l+t,a=2==n.biff?1:2,s=e.read_shift(a);if(65535==s)return[[],$f(e,t-2)];var o=kb(e,s,n);return t!==s+a&&(i=Eb(e,t-s-a,o,n)),e.l=r,[o,i]}function Ib(e,t,n){var i,r=e.l+t,a=e.read_shift(2),s=kb(e,a,n);return 65535==a?[[],$f(e,t-2)]:(t!==a+2&&(i=Eb(e,r-a-2,s,n)),[s,i])}function Ob(e,t,n){var i=e.l+t,r=Tg(e);2==n.biff&&++e.l;var a=function(e){var t;if(65535!==Of(e,e.l+6))return[Sp(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),s=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var o=function(e,t,n){var i,r=e.l+t,a=2==n.biff?1:2,s=e.read_shift(a);if(65535==s)return[[],$f(e,t-2)];var o=kb(e,s,n);return t!==s+a&&(i=Eb(e,t-s-a,o,n)),e.l=r,[o,i]}(e,i-e.l,n);return{cell:r,val:a[0],formula:o,shared:s>>3&1,tt:a[1]}}function Nb(e,t,n){var i=e.read_shift(4),r=kb(e,i,n),a=e.read_shift(4);return[r,a>0?Eb(e,a,r,n):null]}var Pb=Nb,Lb=Nb,Wb=Nb,Bb=Nb,jb={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},zb={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Hb={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Vb(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")}))).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function Gb(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var Xb={},$b={};function qb(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function Yb(e,t,n,i,r,a){try{i.cellNF&&(e.z=bd[t])}catch(o){if(i.WTF)throw o}if("z"!==e.t||i.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=pu(e.v)),(!i||!1!==i.cellText)&&"z"!==e.t)try{if(null==bd[t]&&Kd(Jd[t]||"General",t),"e"===e.t)e.w=e.w||Lp[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=kd(e.v);else if("d"===e.t){var s=au(e.v);e.w=(0|s)===s?s.toString(10):kd(s)}else{if(void 0===e.v)return"";e.w=Sd(e.v,$b)}else"d"===e.t?e.w=Yd(t,au(e.v),$b):e.w=Yd(t,e.v,$b)}catch(o){if(i.WTF)throw o}if(i.cellStyles&&null!=n)try{e.s=a.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Am(r.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),i.WTF&&(e.s.fgColor.raw_rgb=r.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Am(r.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),i.WTF&&(e.s.bgColor.raw_rgb=r.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(o){if(i.WTF&&a.Fills)throw o}}}var Kb=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Zb=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Jb=/<(?:\w:)?hyperlink [^>]*>/gm,Qb=/"(\w*:\w*)"/,ev=/<(?:\w:)?col\b[^>]*[\/]?>/g,tv=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,nv=/<(?:\w:)?pageMargins[^>]*\/>/g,iv=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,rv=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,av=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function sv(e,t,n,i,r,a,s){if(!e)return e;i||(i={"!id":{}});var o=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",h="",d=e.match(Zb);d?(l=e.slice(0,d.index),h=e.slice(d.index+d[0].length)):l=h=e;var u=l.match(iv);u?ov(u[0],o,r,n):(u=l.match(rv))&&function(e,t,n,i,r){ov(e.slice(0,e.indexOf(">")),n,i,r)}(u[0],u[1],o,r,n);var f=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(f>0){var p=l.slice(f,f+50).match(Qb);p&&function(e,t){var n=lp(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=cp(n))}(o,p[1])}var g=l.match(av);g&&g[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(cv)||[]).forEach((function(e,n){var i=Lu(e);t.Views[n]||(t.Views[n]={}),+i.zoomScale&&(t.Views[n].zoom=+i.zoomScale),$u(i.rightToLeft)&&(t.Views[n].RTL=!0)}))}(g[1],r);var m=[];if(t.cellStyles){var b=l.match(ev);b&&function(e,t){for(var n=!1,i=0;i!=t.length;++i){var r=Lu(t[i],!0);r.hidden&&(r.hidden=$u(r.hidden));var a=parseInt(r.min,10)-1,s=parseInt(r.max,10)-1;for(r.outlineLevel&&(r.level=+r.outlineLevel||0),delete r.min,delete r.max,r.width=+r.width,!n&&r.width&&(n=!0,Fm(r.width)),Mm(r);a<=s;)e[a++]=mu(r)}}(m,b)}d&&lv(d[1],o,t,c,a,s);var v=h.match(tv);v&&(o["!autofilter"]=function(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}(v[0]));var y=[],w=h.match(Kb);if(w)for(f=0;f!=w.length;++f)y[f]=lp(w[f].slice(w[f].indexOf('"')+1));var x=h.match(Jb);x&&function(e,t,n){for(var i=Array.isArray(e),r=0;r!=t.length;++r){var a=Lu(Ju(t[r]),!0);if(!a.ref)return;var s=((n||{})["!id"]||[])[a.id];s?(a.Target=s.Target,a.location&&(a.Target+="#"+zu(a.location))):(a.Target="#"+zu(a.location),s={Target:a.Target,TargetMode:"Internal"}),a.Rel=s,a.tooltip&&(a.Tooltip=a.tooltip,delete a.tooltip);for(var o=lp(a.ref),c=o.s.r;c<=o.e.r;++c)for(var l=o.s.c;l<=o.e.c;++l){var h=sp({c:l,r:c});i?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=a):(e[h]||(e[h]={t:"z",v:void 0}),e[h].l=a)}}}(o,x,i);var _,T,D=h.match(nv);if(D&&(o["!margins"]=(_=Lu(D[0]),T={},["left","right","top","bottom","header","footer"].forEach((function(e){_[e]&&(T[e]=parseFloat(_[e]))})),T)),!o["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(o["!ref"]=cp(c)),t.sheetRows>0&&o["!ref"]){var A=lp(o["!ref"]);t.sheetRows<=+A.e.r&&(A.e.r=t.sheetRows-1,A.e.r>c.e.r&&(A.e.r=c.e.r),A.e.rc.e.c&&(A.e.c=c.e.c),A.e.c0&&(o["!cols"]=m),y.length>0&&(o["!merges"]=y),o}function ov(e,t,n,i){var r=Lu(e);n.Sheets[i]||(n.Sheets[i]={}),r.codeName&&(n.Sheets[i].CodeName=zu(Ju(r.codeName)))}var cv=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;var lv=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,i=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,r=/ref=["']([^"']*)["']/,a=ef("v"),s=ef("f");return function(o,c,l,h,d,u){for(var f,p,g,m,b,v=0,y="",w=[],x=[],_=0,T=0,D=0,A="",E=0,k=0,S=0,C=0,U=Array.isArray(u.CellXf),F=[],M=[],R=Array.isArray(c),I=[],O={},N=!1,P=!!l.sheetStubs,L=o.split(t),W=0,B=L.length;W!=B;++W){var j=(y=L[W].trim()).length;if(0!==j){var z=0;e:for(v=0;v":if( +/*x.charCodeAt(ri-1) != 47*/ +"/"!=y[v-1]){++v;break e}if(l&&l.cellStyles){if(E=null!=(p=Lu(y.slice(z,v),!0)).r?parseInt(p.r,10):E+1,k=-1,l.sheetRows&&l.sheetRows=v)break;if(E=null!=(p=Lu(y.slice(z,v),!0)).r?parseInt(p.r,10):E+1,k=-1,!(l.sheetRows&&l.sheetRowsE-1&&(h.s.r=E-1),h.e.r":"")+y,null!=x&&2===x.length){for(_=0,A=x[1],T=0;T!=A.length&&!((D=A.charCodeAt(T)-64)<1||D>26);++T)_=26*_+D;k=--_}else++k;for(T=0;T!=y.length&&62!==y.charCodeAt(T);++T);if(++T,(p=Lu(y.slice(0,T),!0)).r||(p.r=sp({r:E-1,c:k})),f={t:""},null!=(x=(A=y.slice(T)).match(a))&&/*::cref != null && */ +""!==x[1]&&(f.v=zu(x[1])),l.cellFormula){if(null!=(x=A.match(s))&&/*::cref != null && */ +""!==x[1]){if(f.f=zu(Ju(x[1])).replace(/\r\n/g,"\n"),l.xlfn||(f.f=sb(f.f)), +/*::cref != null && cref[0] != null && */ +x[0].indexOf('t="array"')>-1)f.F=(A.match(r)||[])[1],f.F.indexOf(":")>-1&&F.push([lp(f.F),f.F]);else if( +/*::cref != null && cref[0] != null && */ +x[0].indexOf('t="shared"')>-1){m=Lu(x[0]);var V=zu(Ju(x[1]));l.xlfn||(V=sb(V)),M[parseInt(m.si,10)]=[m,V,p.r]}}else(x=A.match(/]*\/>/))&&M[(m=Lu(x[0])).si]&&(f.f=ab(M[m.si][1],M[m.si][2],p.r));var G=ap(p.r);for(T=0;T=F[T][0].s.r&&G.r<=F[T][0].e.r&&G.c>=F[T][0].s.c&&G.c<=F[T][0].e.c&&(f.F=F[T][1])}if(null==p.t&&void 0===f.v)if(f.f||f.F)f.v=0,f.t="n";else{if(!P)continue;f.t="z"}else f.t=p.t||"n";switch(h.s.c>k&&(h.s.c=k),h.e.c0&&(c["!rows"]=I)}}();var hv=kp;function dv(e){return[wp(e),Sp(e),"n"]}var uv=kp;var fv=["left","right","top","bottom","header","footer"];function pv(e,t,n,i,r,a){var s=a||{"!type":"chart"};if(!e)return a;var o=0,c=0,l="A",h={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,n=[],i=e.match(/^/);(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=i?+t[2]:t[2])}));var r=zu((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[n,r,t]}(e);h.s.r=h.s.c=0,h.e.c=o,l=rp(o),t[0].forEach((function(e,n){s[l+np(n)]={t:"n",v:e,z:t[1]},c=n})),h.e.r0&&(s["!ref"]=cp(h)),s}var gv=[["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"]],mv=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],bv=[],vv=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function yv(e,t){for(var n=0;n!=e.length;++n)for(var i=e[n],r=0;r!=t.length;++r){var a=t[r];if(null==i[a[0]])i[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof i[a[0]]&&(i[a[0]]=$u(i[a[0]]));break;case"int":"string"==typeof i[a[0]]&&(i[a[0]]=parseInt(i[a[0]],10))}}}function wv(e,t){for(var n=0;n!=t.length;++n){var i=t[n];if(null==e[i[0]])e[i[0]]=i[1];else switch(i[2]){case"bool":"string"==typeof e[i[0]]&&(e[i[0]]=$u(e[i[0]]));break;case"int":"string"==typeof e[i[0]]&&(e[i[0]]=parseInt(e[i[0]],10))}}}function xv(e){wv(e.WBProps,gv),wv(e.CalcPr,vv),yv(e.WBView,mv),yv(e.Sheets,bv),$b.date1904=$u(e.WBProps.date1904)}var _v="][*?/\\".split("");var Tv=/<\w+:workbook/;function Dv(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function Av(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},i=[],r=!1;t||(t={}),t.biff=12;var a=[],s=[[]];return s.SheetNames=[],s.XTI=[],ty[16]={n:"BrtFRTArchID$",f:Dv},Yf(e,(function(e,o,c){switch(c){case 156:s.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Mb(e.Ptg,0,null,s,t),delete t.SID,delete e.Ptg,a.push(e);break;case 1036:case 361:case 2071: +/* 'BrtAbsPath15' */case 158: +/* 'BrtBookView' */case 143: +/* 'BrtBeginBundleShs' */case 664: +/* 'BrtBeginFnGroup' */case 353: +/* case 'BrtModelTimeGroupingCalcCol' */case 3072: +/* 'BrtUid' */case 3073: +/* 'BrtRevisionPtr' */case 534: +/* 'BrtBookProtection' */case 677: +/* 'BrtBookProtectionIso' */case 157: +/* 'BrtCalcProp' */case 610: +/* 'BrtCrashRecErr' */case 2050: +/* 'BrtDecoupledPivotCacheID' */case 155: +/* 'BrtFileRecover' */case 548: +/* 'BrtFileSharing' */case 676: +/* 'BrtFileSharingIso' */case 128: +/* 'BrtFileVersion' */case 665: +/* 'BrtFnGroup' */case 2128: +/* 'BrtModelRelationship' */case 2125: +/* 'BrtModelTable' */case 549: +/* 'BrtOleSize' */case 2053: +/* 'BrtPivotTableRef' */case 596: +/* 'BrtSmartTagType' */case 2076: +/* 'BrtTableSlicerCacheID' */case 2075: +/* 'BrtTableSlicerCacheIDs' */case 2082: +/* 'BrtTimelineCachePivotCacheID' */case 397: +/* 'BrtUserBookView' */case 154: +/* 'BrtWbFactoid' */case 1117: +/* 'BrtWbProp14' */case 553: +/* 'BrtWebOpt' */case 2091:case 16:break;case 357: +/* 'BrtSupSelf' */case 358: +/* 'BrtSupSame' */case 355: +/* 'BrtSupBookSrc' */case 667:s[0].length?s.push([c,e]):s[0]=[c,e],s[s.length-1].XTI=[];break;case 362:0===s.length&&(s[0]=[],s[0].XTI=[]),s[s.length-1].XTI=s[s.length-1].XTI.concat(e),s.XTI=s.XTI.concat(e);break;case 35:case 37:i.push(c),r=!0;break;case 36:case 38:i.pop(),r=!1;break;default:if(o.T);else if(!r||t.WTF&&37!=i[i.length-1]&&35!=i[i.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),t),xv(n),n.Names=a,n.supbooks=s,n}(e,n):function(e,t){if(!e)throw new Error("Could not find file");var n= +/*::(*/{AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},i=!1,r="xmlns",a={},s=0;if(e.replace(Ou,(function(o,c){var l=Lu(o);switch(Wu(l[0])){case"": +/* 18.2.13 fileVersion CT_FileVersion ? */case"":case"": +/* 18.2.12 fileSharing CT_FileSharing ? */case"": +/* 18.2.28 workbookPr CT_WorkbookPr ? */case"": +/* 18.2.29 workbookProtection CT_WorkbookProtection ? */case"": +/* 18.2.1 bookViews CT_BookViews ? */case"":case"": +/* 18.2.30 workbookView CT_BookView + */case"": +/* 18.2.20 sheets CT_Sheets 1 */case"":case"": +// aggregate sheet +/* 18.2.19 sheet CT_Sheet + */case"": +/* 18.2.15 functionGroups CT_FunctionGroups ? */case"": +/* 18.2.14 functionGroup CT_FunctionGroup + */case"":case"": +/* 18.2.8 externalReference CT_ExternalReference + */case"":case"": +/* 18.2.2 calcPr CT_CalcPr ? */case"": +/* 18.2.16 oleSize CT_OleSize ? (ref required) */case"":case"":case"": +/* 18.2.18 pivotCaches CT_PivotCaches ? */case"":case"":case"": +/* 18.2.23 smartTagTypes CT_SmartTagTypes ? */case"":case"": +/* 18.2.22 smartTagType CT_SmartTagType ? */case"": +/* 18.2.11 fileRecoveryPr CT_FileRecoveryPr ? */case"": +/* 18.2.26 webPublishObjects CT_WebPublishObjects ? */case"":case"": +/* 18.2.25 webPublishObject CT_WebPublishObject ? */case"":case"":case"": +/* 18.2.7 ext CT_Extension + */ +/* Others */ +case"":gv.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=$u(l[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:n.WBProps[e[0]]=l[e[0]]}})),l.codeName&&(n.WBProps.CodeName=Ju(l.codeName));break;case"":delete l[0],n.WBView.push(l);break;case"":case"":i=!0;break;case"": +/* 18.2.5 definedName CT_DefinedName + */case"":case"":i=!1;break;case"":a.Ref=zu(Ju(e.slice(s,c))),n.Names.push(a);break;case"":delete l[0],n.CalcPr=l;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return o})),-1===uf.indexOf(n.xmlns))throw new Error("Unknown Namespace: "+n.xmlns);return xv(n),n}(e,n)}function Ev(e,t,n,i,r,a,s,o){return".bin"===t.slice(-4)?function(e,t,n,i,r,a,s){if(!e)return e;var o=t||{};i||(i={"!id":{}});var c,l,h,d,u,f,p,g,m,b,v=o.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=!1,x=!1,_=[];o.biff=12,o["!row"]=0;var T=0,D=!1,A=[],E={},k=o.supbooks||/*::(*/ +r.supbooks||[[]];if(k.sharedf=E,k.arrayf=A,k.SheetNames=r.SheetNames||r.Sheets.map((function(e){return e.name})),!o.supbooks&&(o.supbooks=k,r.Names))for(var S=0;S=R[0].s.r&&l.r<=R[0].e.r&&f>=R[0].s.c&&f<=R[0].e.c&&(h.F=cp(R[0]),D=!0)}!D&&e.length>3&&(h.f=e[3])}if(y.s.r>l.r&&(y.s.r=l.r),y.s.c>f&&(y.s.c=f),y.e.rl.r&&(y.s.r=l.r),y.s.c>f&&(y.s.c=f),y.e.r=e.s;)U[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},M||(M=!0,Fm(e.w/256)),Mm(U[e.e+1]);break;case 161:v["!autofilter"]={ref:cp(e)};break;case 476:v["!margins"]=e;break;case 147:r.Sheets[n]||(r.Sheets[n]={}),e.name&&(r.Sheets[n].CodeName=e.name),(e.above||e.left)&&(v["!outline"]={above:e.above,left:e.left});break;case 137:r.Views||(r.Views=[{}]),r.Views[0]||(r.Views[0]={}),e.RTL&&(r.Views[0].RTL=!0);break;case 485:case 64: +/* 'BrtDVal' */case 1053:case 151:case 152: +/* 'BrtSel' */case 175: +/* 'BrtAFilterDateGroupItem' */case 644: +/* 'BrtActiveX' */case 625: +/* 'BrtBigName' */case 562: +/* 'BrtBkHim' */case 396: +/* 'BrtBrk' */case 1112: +/* 'BrtCFIcon' */case 1146: +/* 'BrtCFRuleExt' */case 471: +/* 'BrtCFVO' */case 1050: +/* 'BrtCFVO14' */case 649: +/* 'BrtCellIgnoreEC' */case 1105: +/* 'BrtCellIgnoreEC14' */case 589: +/* 'BrtCellSmartTagProperty' */case 607: +/* 'BrtCellWatch' */case 564: +/* 'BrtColor' */case 1055: +/* 'BrtColor14' */case 168: +/* 'BrtColorFilter' */case 174: +/* 'BrtCustomFilter' */case 1180: +/* 'BrtCustomFilter14' */case 499: +/* 'BrtDRef' */case 507: +/* 'BrtDXF' */case 550: +/* 'BrtDrawing' */case 171: +/* 'BrtDynamicFilter' */case 167: +/* 'BrtFilter' */case 1177: +/* 'BrtFilter14' */case 169: +/* 'BrtIconFilter' */case 1181: +/* 'BrtIconFilter14' */case 551: +/* 'BrtLegacyDrawing' */case 552: +/* 'BrtLegacyDrawingHF' */case 661: +/* 'BrtListPart' */case 639: +/* 'BrtOleObject' */case 478: +/* 'BrtPageSetup' */case 537: +/* 'BrtPhoneticInfo' */case 477: +/* 'BrtPrintOptions' */case 536: +/* 'BrtRangeProtection' */case 1103: +/* 'BrtRangeProtection14' */case 680: +/* 'BrtRangeProtectionIso' */case 1104: +/* 'BrtRangeProtectionIso14' */case 1024: +/* 'BrtRwDescent' */case 663: +/* 'BrtSheetCalcProp' */case 535: +/* 'BrtSheetProtection' */case 678: +/* 'BrtSheetProtectionIso' */case 504: +/* 'BrtSlc' */case 1043: +/* 'BrtSparkline' */case 428: +/* 'BrtTable' */case 170: +/* 'BrtTop10Filter' */case 3072: +/* 'BrtUid' */case 50: +/* 'BrtValueMeta' */case 2070: +/* 'BrtWebExtension' */case 1045:break;case 35:case 37:w=!0;break;case 36:case 38:w=!1;break;default:if(t.T);else if(!w||o.WTF)throw new Error("Unexpected record 0x"+S.toString(16))}}),o),delete o.supbooks,delete o["!row"],!v["!ref"]&&(y.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(v["!ref"]=cp(c||y)),o.sheetRows&&v["!ref"]){var R=lp(v["!ref"]);o.sheetRows<=+R.e.r&&(R.e.r=o.sheetRows-1,R.e.r>y.e.r&&(R.e.r=y.e.r),R.e.ry.e.c&&(R.e.c=y.e.c),R.e.c0&&(v["!merges"]=_),U.length>0&&(v["!cols"]=U),F.length>0&&(v["!rows"]=F),v}(e,i,n,r,a,s,o):sv(e,i,n,r,a,s,o)}function kv(e,t,n,i,r,a,s,o){return".bin"===t.slice(-4)?function(e,t,n,i,r){if(!e)return e;i||(i={"!id":{}});var a={"!type":"chart","!drawel":null,"!rel":""},s=!1;return Yf(e,(function(e,i,o){switch(o){case 550:a["!rel"]=e;break;case 651:r.Sheets[n]||(r.Sheets[n]={}),e.name&&(r.Sheets[n].CodeName=e.name);break;case 562: +/* 'BrtBkHim' */case 652: +/* 'BrtCsPageSetup' */case 669: +/* 'BrtCsProtection' */case 679: +/* 'BrtCsProtectionIso' */case 551: +/* 'BrtLegacyDrawing' */case 552: +/* 'BrtLegacyDrawingHF' */case 476: +/* 'BrtMargins' */case 3072:case 37:case 38:break;case 35:s=!0;break;case 36:s=!1;break;default:if(i.T>0);else if(i.T<0);else if(!s||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}),t),i["!id"][a["!rel"]]&&(a["!drawel"]=i["!id"][a["!rel"]]),a}(e,i,n,r,a):function(e,t,n,i,r){if(!e)return e;i||(i={"!id":{}});var a,s={"!type":"chart","!drawel":null,"!rel":""},o=e.match(iv);return o&&ov(o[0],0,r,n),(a=e.match(/drawing r:id="(.*?)"/))&&(s["!rel"]=a[1]),i["!id"][s["!rel"]]&&(s["!drawel"]=i["!id"][s["!rel"]]),s}(e,0,n,r,a)}function Sv(e,t,n,i){return".bin"===t.slice(-4)?function(e,t,n){var i={NumberFmt:[]};for(var r in bd)i.NumberFmt[r]=bd[r];i.CellXf=[],i.Fonts=[];var a=[],s=!1;return Yf(e,(function(e,r,o){switch(o){case 44:i.NumberFmt[e[0]]=e[1],Kd(e[1],e[0]);break;case 43:i.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Am(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:case 48: +/* BrtStyle */case 507: +/* BrtDXF */case 572: +/* BrtMRUColor */case 475:case 1171: +/* BrtDXF14 */case 2102: +/* BrtDXF15 */case 1130: +/* BrtSlicerStyleElement */case 512: +/* BrtTableStyleElement */case 2095: +/* BrtTimelineStyleElement */case 3072:break;case 47:617==a[a.length-1]&&i.CellXf.push(e);break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(o),s=!0;break;case 38:a.pop(),s=!1;break;default:if(r.T>0)a.push(o);else if(r.T<0)a.pop();else if(!s||n.WTF&&37!=a[a.length-1])throw new Error("Unexpected record 0x"+o.toString(16))}})),i}(e,n,i):Wm(e,n,i)}function Cv(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],i=!1;return Yf(e,(function(e,r,a){switch(a){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:i=!0;break;case 36:i=!1;break;default:if(r.T,!i||t.WTF)throw new Error("Unexpected record 0x"+a.toString(16))}})),n}(e,n):function(e,t){var n=[],i="";if(!e)return n;var r=e.match(om);if(r){i=r[2].replace(cm,"").split(lm);for(var a=0;a!=i.length;++a){var s=sm(i[a].trim(),t);null!=s&&(n[n.length]=s)}r=Lu(r[1]),n.Count=r.count,n.Unique=r.uniqueCount}return n}(e,n)}function Uv(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],i=[],r={},a=!1;return Yf(e,(function(e,s,o){switch(o){case 632:i.push(e);break;case 635:r=e;break;case 637:r.t=e.t,r.h=e.h,r.r=e.r;break;case 636:if(r.author=i[r.iauthor],delete r.iauthor,t.sheetRows&&r.rfx&&t.sheetRows<=r.rfx.r)break;r.t||(r.t=""),delete r.rfx,n.push(r);break;case 3072:case 37:case 38:break;case 35:a=!0;break;case 36:a=!1;break;default:if(s.T);else if(!a||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),n}(e,n):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],i=[],r=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);r&&r[1]&&r[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}}));var a=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return a&&a[1]&&a[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var r=e.match(/<(?:\w+:)?comment[^>]*>/);if(r){var a=Lu(r[0]),s={author:a.authorId&&n[a.authorId]||"sheetjsghost",ref:a.ref,guid:a.guid},o=ap(a.ref);if(!(t.sheetRows&&t.sheetRows<=o.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&sm(c[1])||{r:"",t:"",h:""};s.r=l.r,""==l.r&&(l.t=l.h=""),s.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(s.h=l.h),i.push(s)}}}})),i}(e,n)}function Fv(e,t,n){return".bin"===t.slice(-4)?function(e){var t=[];return Yf(e,(function(e,n,i){if(63===i)t.push(e);else if(!n.T)throw new Error("Unexpected record 0x"+i.toString(16))})),t}(e):function(e){var t=[];if(!e)return t;var n=1;return(e.match(Ou)||[]).forEach((function(e){var i=Lu(e);switch(i[0]){case"":case"":break; +/* 18.6.1 c CT_CalcCell 1 */case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":break;case"":case"":s=2;break;case"":a=!1;break;case"-1?zu(t||e).replace(/<.*?>/g,""):i.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),i.v=(pu(e)-new Date(Date.UTC(1899,11,30)))/864e5,i.v!=i.v?i.v=zu(e):i.v<60&&(i.v=i.v-1),h&&"General"!=h||(h="yyyy-mm-dd") +/* falls through */;case"Number":void 0===i.v&&(i.v=+e),i.t||(i.t="n");break;case"Error":i.t="e",i.v=Wp[e],!1!==l.cellText&&(i.w=e);break;default:""==e&&""==t?i.t="z":(i.t="s",i.v=Xu(t||e))}if(Bv(i,h,l),!1!==l.cellFormula)if(i.Formula){var g=zu(i.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),i.f=tb(g,r),delete i.Formula,"RC"==i.ArrayRange?i.F=tb("RC:RC",r):i.ArrayRange&&(i.F=tb(i.ArrayRange,r),c.push([lp(i.F),i.F]))}else for(p=0;p=c[p][0].s.r&&r.r<=c[p][0].e.r&&r.c>=c[p][0].s.c&&r.c<=c[p][0].e.c&&(i.F=c[p][1]);l.cellStyles&&(f.forEach((function(e){!u.patternType&&e.patternType&&(u.patternType=e.patternType)})),i.s=u),void 0!==i.StyleID&&(i.ixfe=i.StyleID)}function Hv(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Vv(e,t){var n=t||{};Zd();var i=Xh(lf(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(i=Ju(i));var r,a=i.slice(0,1024).toLowerCase(),s=!1;if((1023&(a=a.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&a.indexOf(","),1023&a.indexOf(";"))){var o=mu(n);return o.type="string",Qg.to_workbook(i,o)}if(-1==a.indexOf("=0&&(s=!0)})),s)return function(e,t){var n=e.match(/[\s\S]*?<\/table>/gi);if(!n||0==n.length)throw new Error("Invalid HTML: could not find ");if(1==n.length)return up(ry(n[0],t),t);var i={SheetNames:[],Sheets:{}};return n.forEach((function(e,n){$y(i,ry(e,t),"Sheet"+(n+1))})),i}(i,n);Iv={"General Number":"General","General Date":bd[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":bd[15],"Short Date":bd[14],"Long Time":bd[19],"Medium Time":bd[18],"Short Time":bd[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:bd[2],Standard:bd[4],Percent:bd[10],Scientific:bd[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var c,l,h=[],d={},u=[],f=n.dense?[]:{},p="",g={},m={},b=Pv(''),v=0,y=0,w=0,x={s:{r:2e6,c:2e6},e:{r:0,c:0}},_={},T={},D="",A=0,E=[],k={},S={},C=0,U=[],F=[],M={},R=[],I=!1,O=[],N=[],P={},L=0,W=0,B={Sheets:[],WBProps:{date1904:!1}},j={};hf.lastIndex=0,i=i.replace(//gm,"");for(var z="";r=hf.exec(i);)switch(r[3]=(z=r[3]).toLowerCase()){case"data":if("data"==z){if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break}if(h[h.length-1][1])break;"/"===r[1]?zv(i.slice(v,r.index),D,b,/*"Comment"*/ +"comment"==h[h.length-1][0]?M:g,{c:y,r:w},_,R[y],m,O,n):(D="",b=Pv(r[0]),v=r.index+r[0].length);break;case"cell":if("/"===r[1])if(F.length>0&&(g.c=F),(!n.sheetRows||n.sheetRows>w)&&void 0!==g.v&&(n.dense?(f[w]||(f[w]=[]),f[w][y]=g):f[rp(y)+np(w)]=g),g.HRef&&(g.l={Target:zu(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(L=y+(0|parseInt(g.MergeAcross,10)),W=w+(0|parseInt(g.MergeDown,10)),E.push({s:{c:y,r:w},e:{c:L,r:W}})),n.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var H=y;H<=L;++H)for(var V=w;V<=W;++V)(H>y||V>w)&&(n.dense?(f[V]||(f[V]=[]),f[V][H]={t:"z"}):f[rp(H)+np(V)]={t:"z"});y=L+1}else++y;else g.MergeAcross?y=L+1:++y;else(g=Lv(r[0])).Index&&(y=+g.Index-1),yx.e.c&&(x.e.c=y),"/>"===r[0].slice(-2)&&++y,F=[];break;case"row":"/"===r[1]||"/>"===r[0].slice(-2)?(wx.e.r&&(x.e.r=w),"/>"===r[0].slice(-2)&&(m=Pv(r[0])).Index&&(w=+m.Index-1),y=0,++w):((m=Pv(r[0])).Index&&(w=+m.Index-1),P={},("0"==m.AutoFitHeight||m.Height)&&(P.hpx=parseInt(m.Height,10),P.hpt=Im(P.hpx),N[w]=P),"1"==m.Hidden&&(P.hidden=!0,N[w]=P));break;case"worksheet":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"));u.push(p),x.s.r<=x.e.r&&x.s.c<=x.e.c&&(f["!ref"]=cp(x),n.sheetRows&&n.sheetRows<=x.e.r&&(f["!fullref"]=f["!ref"],x.e.r=n.sheetRows-1,f["!ref"]=cp(x))),E.length&&(f["!merges"]=E),R.length>0&&(f["!cols"]=R),N.length>0&&(f["!rows"]=N),d[p]=f}else x={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=y=0,h.push([r[3],!1]),c=Pv(r[0]),p=zu(c.Name),f=n.dense?[]:{},E=[],O=[],N=[],j={name:p,Hidden:0},B.Sheets.push(j);break;case"table":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else{if("/>"==r[0].slice(-2))break;h.push([r[3],!1]),R=[],I=!1}break;case"style":"/"===r[1]?jv(_,T,n):T=Pv(r[0]);break;case"numberformat":T.nf=zu(Pv(r[0]).Format||"General"),Iv[T.nf]&&(T.nf=Iv[T.nf]);for(var G=0;392!=G&&bd[G]!=T.nf;++G);if(392==G)for(G=57;392!=G;++G)if(null==bd[G]){Kd(T.nf,G);break}break;case"column":if(/*'Table'*/ +"table"!==h[h.length-1][0])break;if((l=Pv(r[0])).Hidden&&(l.hidden=!0,delete l.Hidden),l.Width&&(l.wpx=parseInt(l.Width,10)),!I&&l.wpx>10){I=!0,Em=6;for(var X=0;X0&&(Y.Sheet=B.Sheets.length-1),B.Names.push(Y);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if("/>"===r[0].slice(-2))break;"/"===r[1]?D+=i.slice(A,r.index):A=r.index+r[0].length;break;case"interior":if(!n.cellStyles)break;T.Interior=Pv(r[0]);break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===r[0].slice(-2))break;"/"===r[1]?Jp(k,z,i.slice(C,r.index)):C=r.index+r[0].length;break;case"styles":case"workbook":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else h.push([r[3],!1]);break;case"comment":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"));Hv(M),F.push(M)}else h.push([r[3],!1]),M={a:(c=Pv(r[0])).Author};break;case"autofilter":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else if("/"!==r[0].charAt(r[0].length-2)){var K=Pv(r[0]);f["!autofilter"]={ref:tb(K.Range).replace(/\$/g,"")},h.push([r[3],!0])}break;case"datavalidation":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema": +//case 'data' /*case 'data'*/: +case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break;default:if(0==h.length&&"document"==r[3])return uy(i,n);if(0==h.length&&"uof"==r[3])return uy(i,n);var Z=!0;switch(h[h.length-1][0]){ +/* OfficeDocumentSettings */ +case"officedocumentsettings":switch(r[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:Z=!1}break; +/* ComponentOptions */case"componentoptions":switch(r[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:Z=!1}break; +/* ExcelWorkbook */case"excelworkbook":switch(r[3]){case"date1904":B.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:Z=!1}break; +/* WorkbookOptions */case"workbookoptions":switch(r[3]){case"owcversion":case"height":case"width":break;default:Z=!1}break; +/* WorksheetOptions */case"worksheetoptions":switch(r[3]){case"visible":if("/>"===r[0].slice(-2));else if("/"===r[1])switch(i.slice(C,r.index)){case"SheetHidden":j.Hidden=1;break;case"SheetVeryHidden":j.Hidden=2}else C=r.index+r[0].length;break;case"header":f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+Lu(r[0]).Margin)||(f["!margins"].header=+Lu(r[0]).Margin);break;case"footer":f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+Lu(r[0]).Margin)||(f["!margins"].footer=+Lu(r[0]).Margin);break;case"pagemargins":var J=Lu(r[0]);f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+J.Top)||(f["!margins"].top=+J.Top),isNaN(+J.Left)||(f["!margins"].left=+J.Left),isNaN(+J.Right)||(f["!margins"].right=+J.Right),isNaN(+J.Bottom)||(f["!margins"].bottom=+J.Bottom);break;case"displayrighttoleft":B.Views||(B.Views=[]),B.Views[0]||(B.Views[0]={}),B.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].left=!0;break;default:Z=!1}break; +/* PivotTable */case"pivottable":case"pivotcache":switch(r[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:Z=!1}break; +/* PageBreaks */case"pagebreaks":switch(r[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:Z=!1}break; +/* AutoFilter */case"autofilter":switch(r[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:Z=!1}break; +/* QueryTable */case"querytable":switch(r[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:Z=!1}break;case"datavalidation":switch(r[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:Z=!1}break;case"sorting":case"conditionalformatting":switch(r[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:Z=!1}break; +/* MapInfo (schema) */case"mapinfo":case"schema":case"data":switch(r[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype": +/* These are from xsd (XML Schema Definition) */case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:Z=!1}break; +/* SmartTags (can be anything) */case"smarttags":break;default:Z=!1}if(Z)break;if(r[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+r[3]+"|"+h.join("|");if(/*'CustomDocumentProperties'*/ +"customdocumentproperties"===h[h.length-1][0]){if("/>"===r[0].slice(-2))break;"/"===r[1]?Wv(S,z,U,i.slice(C,r.index)):(U=r,C=r.index+r[0].length);break}if(n.WTF)throw"Unrecognized tag: "+r[3]+"|"+h.join("|")}var Q={};return n.bookSheets||n.bookProps||(Q.Sheets=d),Q.SheetNames=u,Q.Workbook=B,Q.SSF=mu(bd),Q.Props=k,Q.Custprops=S,Q}function Gv(e,t){switch(Uy(t=t||{}),t.type||"base64"){case"base64":return Vv(Zh(e),t);case"binary":case"buffer":case"file":return Vv(e,t);case"array":return Vv(id(e),t)}}function Xv(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return Cp(e,1)}(n),n.length-n.l<=4)return t;var i=n.read_shift(4);return 0==i||i>40?t:(n.l-=4,t.Reserved1=n.read_shift(0,"lpstr-ansi"),n.length-n.l<=4||1907505652!==(i=n.read_shift(4))?t:(t.UnicodeClipboardFormat=function(e){return Cp(e,2)}(n),0==(i=n.read_shift(4))||i>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr")))))}var $v=[60,1084,2066,2165,2175];function qv(e,t,n,i,r){var a=i,s=[],o=n.slice(n.l,n.l+a);if(r.enc&&r.enc.insitu&&o.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:r.enc.insitu(o)}s.push(o),n.l+=a;for(var c=Of(n,n.l),l=ny[c],h=0;null!=l&&$v.indexOf(c)>-1;)a=Of(n,n.l+2),h=n.l+4,2066==c?h+=4:2165!=c&&2175!=c||(h+=12),o=n.slice(h,n.l+4+a),s.push(o),n.l+=4+a,l=ny[c=Of(n,n.l)];var d=ad(s);Xf(d,0);var u=0;d.lens=[];for(var f=0;f1||i.sheetRows&&e.r>=i.sheetRows)){if(i.cellStyles&&t.XF&&t.XF.data&&function(e,t,n){var i,r=t.XF.data;r&&r.patternType&&n&&n.cellStyles&&(t.s={},t.s.patternType=r.patternType,(i=Dm(E(r.icvFore)))&&(t.s.fgColor={rgb:i}),(i=Dm(E(r.icvBack)))&&(t.s.bgColor={rgb:i}))}(0,t,i),delete t.ixfe,delete t.XF,n=e,y=sp(e),p&&p.s&&p.e||(p={s:{r:0,c:0},e:{r:0,c:0}}),e.rp.e.r&&(p.e.r=e.r+1),e.c+1>p.e.c&&(p.e.c=e.c+1),i.cellFormula&&t.f)for(var r=0;re.c||x[r][0].s.r>e.r||x[r][0].e.c>8)!==H)throw new Error("rt mismatch: "+X+"!="+H);12==G.r&&(e.l+=10,V-=10)}var $={};if($=10===H?/*::(*/ +G.f(e,V,S):/*::(*/ +qv(H,G,e,V,S),0==P&&-1===[9,521,1033,2057].indexOf(N))continue;switch(H){case 34:h.opts.Date1904=D.WBProps.date1904=$;break;case 134:h.opts.WriteProtect=!0;break;case 47:if(S.enc||(e.l=0),S.enc=$,!t.password)throw new Error("File is password-protected");if(null==$.valid)throw new Error("Encryption scheme unsupported");if(!$.valid)throw new Error("Password is incorrect");break;case 92:S.lastuser=$;break;case 66:var q=Number($);switch(q){case 21010:q=1200;break;case 32768:q=1e4;break;case 32769:q=1252}jh(S.codepage=q),j=!0;break;case 317:S.rrtabid=$;break;case 25:S.winlocked=$;break;case 439:h.opts.RefreshAll=$;break;case 12:h.opts.CalcCount=$;break;case 16:h.opts.CalcDelta=$;break;case 17:h.opts.CalcIter=$;break;case 13:h.opts.CalcMode=$;break;case 14:h.opts.CalcPrecision=$;break;case 95:h.opts.CalcSaveRecalc=$;break;case 15:S.CalcRefMode=$;break; +// TODO: implement R1C1 +case 2211:h.opts.FullCalc=$;break;case 129:$.fDialog&&(u["!type"]="dialog"),$.fBelow||((u["!outline"]||(u["!outline"]={})).above=!0),$.fRight||((u["!outline"]||(u["!outline"]={})).left=!0);break; +// TODO +case 224:_.push($);break;case 430:I.push([$]),I[I.length-1].XTI=[];break;case 35:case 547:I[I.length-1].push($);break;case 24:case 536:O={Name:$.Name,Ref:Mb($.rgce,0,null,I,S)},$.itab>0&&(O.Sheet=$.itab-1),I.names.push(O),I[0]||(I[0]=[],I[0].XTI=[]),I[I.length-1].push($),"_xlnm._FilterDatabase"==$.Name&&$.itab>0&&$.rgce&&$.rgce[0]&&$.rgce[0][0]&&"PtgArea3d"==$.rgce[0][0][0]&&(B[$.itab-1]={ref:cp($.rgce[0][0][1][2])});break;case 22:S.ExternCount=$;break;case 23:0==I.length&&(I[0]=[],I[0].XTI=[]),I[I.length-1].XTI=I[I.length-1].XTI.concat($),I.XTI=I.XTI.concat($);break;case 2196:if(S.biff<8)break;null!=O&&(O.Comment=$[1]);break;case 18:u["!protect"]=$;break; +/* for sheet or book */case 19:0!==$&&S.WTF;break;case 133:f[$.pos]=$,S.snames.push($.name);break;case 10:if(--P)break;if(p.e){if(p.e.r>0&&p.e.c>0){if(p.e.r--,p.e.c--,u["!ref"]=cp(p),t.sheetRows&&t.sheetRows<=p.e.r){var Y=p.e.r;p.e.r=t.sheetRows-1,u["!fullref"]=u["!ref"],u["!ref"]=cp(p),p.e.r=Y}p.e.r++,p.e.c++}C.length>0&&(u["!merges"]=C),U.length>0&&(u["!objects"]=U),F.length>0&&(u["!cols"]=F),M.length>0&&(u["!rows"]=M),D.Sheets.push(A)}""===b?v=u:d[b]=u,u=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===S.biff&&(S.biff={ +/*::[*/ +9:2, +/*::[*/ +521:3, +/*::[*/ +1033:4}[H]||{ +/*::[*/ +512:2, +/*::[*/ +768:3, +/*::[*/ +1024:4, +/*::[*/ +1280:5, +/*::[*/ +1536:8, +/*::[*/ +2:2, +/*::[*/ +7:2}[$.BIFFVer]||8),S.biffguess=0==$.BIFFVer,0==$.BIFFVer&&4096==$.dt&&(S.biff=5,j=!0,jh(S.codepage=28591)),8==S.biff&&0==$.BIFFVer&&16==$.dt&&(S.biff=2),P++)break;if(u=t.dense?[]:{},S.biff<8&&!j&&(j=!0,jh(S.codepage=t.codepage||1252)),S.biff<5||0==$.BIFFVer&&4096==$.dt){""===b&&(b="Sheet1"),p={s:{r:0,c:0},e:{r:0,c:0}};var K={pos:e.l-V,name:b};f[K.pos]=K,S.snames.push(b)}else b=(f[z]||{name:""}).name;32==$.dt&&(u["!type"]="chart"),64==$.dt&&(u["!type"]="macro"),C=[],U=[],S.arrayf=x=[],F=[],M=[],R=!1,A={Hidden:(f[z]||{hs:0}).hs,name:b};break;case 515:case 3:case 2:"chart"==u["!type"]&&(t.dense?(u[$.r]||[])[$.c]:u[sp({c:$.c,r:$.r})])&&++$.c,o={ixfe:$.ixfe,XF:_[$.ixfe]||{},v:$.val,t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 5:case 517:o={ixfe:$.ixfe,XF:_[$.ixfe],v:$.val,t:$.t},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 638:o={ixfe:$.ixfe,XF:_[$.ixfe],v:$.rknum,t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 189:for(var Z=$.c;Z<=$.C;++Z){var J=$.rkrec[Z-$.c][0];o={ixfe:J,XF:_[J],v:$.rkrec[Z-$.c][1],t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:Z,r:$.r},o,t)}break;case 6:case 518:case 1030:if("String"==$.val){g=$;break}if((o=Kv($.val,$.cell.ixfe,$.tt)).XF=_[o.ixfe],t.cellFormula){var Q=$.formula;if(Q&&Q[0]&&Q[0][0]&&"PtgExp"==Q[0][0][0]){var ee=Q[0][0][1][0],te=Q[0][0][1][1],ne=sp({r:ee,c:te});w[ne]?o.f=""+Mb($.formula,0,$.cell,I,S):o.F=((t.dense?(u[ee]||[])[te]:u[ne])||{}).F}else o.f=""+Mb($.formula,0,$.cell,I,S)}L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k($.cell,o,t),g=$;break;case 7:case 519:if(!g)throw new Error("String record expects Formula");g.val=$,(o=Kv($,g.cell.ixfe,"s")).XF=_[o.ixfe],t.cellFormula&&(o.f=""+Mb(g.formula,0,g.cell,I,S)),L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k(g.cell,o,t),g=null;break;case 33:case 545:x.push($);var ie=sp($[0].s);if(i=t.dense?(u[$[0].s.r]||[])[$[0].s.c]:u[ie],t.cellFormula&&i){if(!g)break;if(!ie||!i)break;i.f=""+Mb($[1],0,$[0],I,S),i.F=cp($[0])}break;case 1212:if(!t.cellFormula)break;if(y){if(!g)break;w[sp(g.cell)]=$[0],((i=t.dense?(u[g.cell.r]||[])[g.cell.c]:u[sp(g.cell)])||{}).f=""+Mb($[0],0,n,I,S)}break;case 253:o=Kv(m[$.isst].t,$.ixfe,"s"),m[$.isst].h&&(o.h=m[$.isst].h),o.XF=_[o.ixfe],L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 513:t.sheetStubs&&(o={ixfe:$.ixfe,XF:_[$.ixfe],t:"z"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t));break;case 190:if(t.sheetStubs)for(var re=$.c;re<=$.C;++re){var ae=$.ixfe[re-$.c];o={ixfe:ae,XF:_[ae],t:"z"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:re,r:$.r},o,t)}break;case 214:case 516:case 4:(o=Kv($.val,$.ixfe,"s")).XF=_[o.ixfe],L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 0:case 512:1===P&&(p=$);break;case 252:m=$;break;case 1054:if(4==S.biff){W[L++]=$[1];for(var se=0;se=163&&Kd($[1],L+163)}else Kd($[1],$[0]);break;case 30:W[L++]=$;for(var oe=0;oe=163&&Kd($,L+163);break;case 229:C=C.concat($);break;case 93:U[$.cmo[0]]=S.lastobj=$;break;case 438:S.lastobj.TxO=$;break;case 127:S.lastobj.ImData=$;break;case 440:for(s=$[0].s.r;s<=$[0].e.r;++s)for(a=$[0].s.c;a<=$[0].e.c;++a)(i=t.dense?(u[s]||[])[a]:u[sp({c:a,r:s})])&&(i.l=$[1]);break;case 2048:for(s=$[0].s.r;s<=$[0].e.r;++s)for(a=$[0].s.c;a<=$[0].e.c;++a)(i=t.dense?(u[s]||[])[a]:u[sp({c:a,r:s})])&&i.l&&(i.l.Tooltip=$[1]);break;case 28:if(S.biff<=5&&S.biff>=2)break;i=t.dense?(u[$[0].r]||[])[$[0].c]:u[sp($[0])];var ce=U[$[2]];i||(t.dense?(u[$[0].r]||(u[$[0].r]=[]),i=u[$[0].r][$[0].c]={t:"z"}):i=u[sp($[0])]={t:"z"},p.e.r=Math.max(p.e.r,$[0].r),p.s.r=Math.min(p.s.r,$[0].r),p.e.c=Math.max(p.e.c,$[0].c),p.s.c=Math.min(p.s.c,$[0].c)),i.c||(i.c=[]),r={a:$[1],t:ce.TxO.t},i.c.push(r);break;case 2173:_[$.ixfe],$.ext.forEach((function(e){e[0]}));break;case 125:if(!S.cellStyles)break;for(;$.e>=$.s;)F[$.e--]={width:$.w/256,level:$.level||0,hidden:!!(1&$.flags)},R||(R=!0,Fm($.w/256)),Mm(F[$.e+1]);break;case 520:var le={};null!=$.level&&(M[$.r]=le,le.level=$.level),$.hidden&&(M[$.r]=le,le.hidden=!0),$.hpt&&(M[$.r]=le,le.hpt=$.hpt,le.hpx=Om($.hpt));break;case 38:case 39:case 40:case 41:u["!margins"]||qb(u["!margins"]={}),u["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[H]]=$;break;case 161:u["!margins"]||qb(u["!margins"]={}),u["!margins"].header=$.header,u["!margins"].footer=$.footer;break;case 574:$.RTL&&(D.Views[0].RTL=!0);break;case 146:T=$;break;case 2198:l=$;break;case 140:c=$;break;case 442:b?A.CodeName=$||A.name:D.WBProps.CodeName=$||"ThisWorkbook"}}else e.l+=V}return h.SheetNames=nu(f).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return f[e].name})),t.bookSheets||(h.Sheets=d),!h.SheetNames.length&&v["!ref"]?(h.SheetNames.push("Sheet1"),h.Sheets&&(h.Sheets.Sheet1=v)):h.Preamble=v,h.Sheets&&B.forEach((function(e,t){h.Sheets[h.SheetNames[t]]["!autofilter"]=e})),h.Strings=m,h.SSF=mu(bd),S.enc&&(h.Encryption=S.enc),l&&(h.Themes=l),h.Metadata={},void 0!==c&&(h.Metadata.Country=c),I.names.length>0&&(D.Names=I.names),h.Workbook=D,h}var Jv="e0859ff2f94f6810ab9108002b27b3d9",Qv="02d5cdd59c2e1b10939708002b2cf9ae";function ey(e,t){var n,i,r,a;if(t||(t={}),Uy(t),zh(),t.codepage&&Bh(t.codepage),e.FullPaths){if(tu.find(e,"/encryption"))throw new Error("File is password-protected");n=tu.find(e,"!CompObj"),i=tu.find(e,"/Workbook")||tu.find(e,"/Book")}else{switch(t.type){case"base64":e=nd(Zh(e));break;case"binary":e=nd(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Xf(e,0),i={content:e}}if(n&&Xv(n),t.bookProps&&!t.bookSheets)r={};else{var s=Jh?"buffer":"array";if(i&&i.content)r=Zv(i.content,t);else if((a=tu.find(e,"PerfectOffice_MAIN"))&&a.content)r=em.to_workbook(a.content,(t.type=s,t));else{if(!(a=tu.find(e,"NativeContent_MAIN"))||!a.content)throw(a=tu.find(e,"MN0"))&&a.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");r=em.to_workbook(a.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&tu.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(r.vbaraw=function(e){var t=tu.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(n,i){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var r=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");tu.utils.cfb_add(t,r,e.FileIndex[i].content)}})),tu.write(t)}(e))}var o={};return e.FullPaths&&function(e,t,n){var i=tu.find(e,"/!DocumentSummaryInformation");if(i&&i.size>0)try{var r=lg(i,Mp,Qv);for(var a in r)t[a]=r[a]}catch(l){if(n.WTF)throw l}var s=tu.find(e,"/!SummaryInformation");if(s&&s.size>0)try{var o=lg(s,Rp,Jv);for(var c in o)null==t[c]&&(t[c]=o[c])}catch(l){if(n.WTF)throw l}t.HeadingPairs&&t.TitlesOfParts&&(qp(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}( +/*::((*/ +e,o,t),r.Props=r.Custprops=o,t.bookFiles&&(r.cfb=e),r}var ty={ +/*::[*/ +0:{ +/* n:"BrtRowHdr", */ +f:function(e,t){var n={},i=e.l+t;n.r=e.read_shift(4),e.l+=4;var r=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=i,7&a&&(n.level=7&a),16&a&&(n.hidden=!0),32&a&&(n.hpt=r/20),n}}, +/*::[*/ +1:{ +/* n:"BrtCellBlank", */ +f:function(e){return[yp(e)]}}, +/*::[*/ +2:{ +/* n:"BrtCellRk", */ +f:function(e){return[yp(e),Ap(e),"n"]}}, +/*::[*/ +3:{ +/* n:"BrtCellError", */ +f:function(e){return[yp(e),e.read_shift(1),"e"]}}, +/*::[*/ +4:{ +/* n:"BrtCellBool", */ +f:function(e){return[yp(e),e.read_shift(1),"b"]}}, +/*::[*/ +5:{ +/* n:"BrtCellReal", */ +f:function(e){return[yp(e),Sp(e),"n"]}}, +/*::[*/ +6:{ +/* n:"BrtCellSt", */ +f:function(e){return[yp(e),gp(e),"str"]}}, +/*::[*/ +7:{ +/* n:"BrtCellIsst", */ +f:function(e){return[yp(e),e.read_shift(4),"s"]}}, +/*::[*/ +8:{ +/* n:"BrtFmlaString", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,gp(e),"str"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +9:{ +/* n:"BrtFmlaNum", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,Sp(e),"n"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +10:{ +/* n:"BrtFmlaBool", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,e.read_shift(1),"b"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +11:{ +/* n:"BrtFmlaError", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,e.read_shift(1),"e"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +12:{ +/* n:"BrtShortBlank", */ +f:function(e){return[wp(e)]}}, +/*::[*/ +13:{ +/* n:"BrtShortRk", */ +f:function(e){return[wp(e),Ap(e),"n"]}}, +/*::[*/ +14:{ +/* n:"BrtShortError", */ +f:function(e){return[wp(e),e.read_shift(1),"e"]}}, +/*::[*/ +15:{ +/* n:"BrtShortBool", */ +f:function(e){return[wp(e),e.read_shift(1),"b"]}}, +/*::[*/ +16:{ +/* n:"BrtShortReal", */ +f:dv}, +/*::[*/ +17:{ +/* n:"BrtShortSt", */ +f:function(e){return[wp(e),gp(e),"str"]}}, +/*::[*/ +18:{ +/* n:"BrtShortIsst", */ +f:function(e){return[wp(e),e.read_shift(4),"s"]}}, +/*::[*/ +19:{ +/* n:"BrtSSTItem", */ +f:bp}, +/*::[*/ +20:{ +/* n:"BrtPCDIMissing" */}, +/*::[*/ +21:{ +/* n:"BrtPCDINumber" */}, +/*::[*/ +22:{ +/* n:"BrtPCDIBoolean" */}, +/*::[*/ +23:{ +/* n:"BrtPCDIError" */}, +/*::[*/ +24:{ +/* n:"BrtPCDIString" */}, +/*::[*/ +25:{ +/* n:"BrtPCDIDatetime" */}, +/*::[*/ +26:{ +/* n:"BrtPCDIIndex" */}, +/*::[*/ +27:{ +/* n:"BrtPCDIAMissing" */}, +/*::[*/ +28:{ +/* n:"BrtPCDIANumber" */}, +/*::[*/ +29:{ +/* n:"BrtPCDIABoolean" */}, +/*::[*/ +30:{ +/* n:"BrtPCDIAError" */}, +/*::[*/ +31:{ +/* n:"BrtPCDIAString" */}, +/*::[*/ +32:{ +/* n:"BrtPCDIADatetime" */}, +/*::[*/ +33:{ +/* n:"BrtPCRRecord" */}, +/*::[*/ +34:{ +/* n:"BrtPCRRecordDt" */}, +/*::[*/ +35:{ +/* n:"BrtFRTBegin", */ +T:1}, +/*::[*/ +36:{ +/* n:"BrtFRTEnd", */ +T:-1}, +/*::[*/ +37:{ +/* n:"BrtACBegin", */ +T:1}, +/*::[*/ +38:{ +/* n:"BrtACEnd", */ +T:-1}, +/*::[*/ +39:{ +/* n:"BrtName", */ +f:function(e,t,n){var i=e.l+t;e.l+=4,e.l+=1;var r=e.read_shift(4),a=Tp(e),s=Wb(e,0,n),o=_p(e);e.l=i;var c={Name:a,Ptg:s};return r<268435455&&(c.Sheet=r),o&&(c.Comment=o),c}}, +/*::[*/ +40:{ +/* n:"BrtIndexRowBlock" */}, +/*::[*/ +42:{ +/* n:"BrtIndexBlock" */}, +/*::[*/ +43:{ +/* n:"BrtFont", */ +f:function(e,t,n){var i={};i.sz=e.read_shift(2)/20;var r=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(r.fItalic&&(i.italic=1),r.fCondense&&(i.condense=1),r.fExtend&&(i.extend=1),r.fShadow&&(i.shadow=1),r.fOutline&&(i.outline=1),r.fStrikeout&&(i.strike=1),700===e.read_shift(2)&&(i.bold=1),e.read_shift(2)){ +/* case 0: out.vertAlign = "baseline"; break; */ +case 1:i.vertAlign="superscript";break;case 2:i.vertAlign="subscript"}var a=e.read_shift(1);0!=a&&(i.underline=a);var s=e.read_shift(1);s>0&&(i.family=s);var o=e.read_shift(1);switch(o>0&&(i.charset=o),e.l++,i.color=function(e){var t={},n=e.read_shift(1)>>>1,i=e.read_shift(1),r=e.read_shift(2,"i"),a=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=i;var c=Pp[i];c&&(t.rgb=Dm(c));break;case 2:t.rgb=Dm([a,s,o]);break;case 3:t.theme=i}return 0!=r&&(t.tint=r>0?r/32767:r/32768),t}(e),e.read_shift(1)){ +/* case 0: out.scheme = "none": break; */ +case 1:i.scheme="major";break;case 2:i.scheme="minor"}return i.name=gp(e),i}}, +/*::[*/ +44:{ +/* n:"BrtFmt", */ +f:function(e,t){return[e.read_shift(2),gp(e)]}}, +/*::[*/ +45:{ +/* n:"BrtFill", */ +f:Bm}, +/*::[*/ +46:{ +/* n:"BrtBorder", */ +f:jm}, +/*::[*/ +47:{ +/* n:"BrtXF", */ +f:function(e,t){var n=e.l+t,i=e.read_shift(2),r=e.read_shift(2);return e.l=n,{ixfe:i,numFmtId:r}}}, +/*::[*/ +48:{ +/* n:"BrtStyle" */}, +/*::[*/ +49:{ +/* n:"BrtCellMeta", */ +f:function(e){return e.read_shift(4,"i")}}, +/*::[*/ +50:{ +/* n:"BrtValueMeta" */}, +/*::[*/ +51:{ +/* n:"BrtMdb" */ +f:function(e){for(var t=[],n=e.read_shift(4);n-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}}, +/*::[*/ +52:{ +/* n:"BrtBeginFmd", */ +T:1}, +/*::[*/ +53:{ +/* n:"BrtEndFmd", */ +T:-1}, +/*::[*/ +54:{ +/* n:"BrtBeginMdx", */ +T:1}, +/*::[*/ +55:{ +/* n:"BrtEndMdx", */ +T:-1}, +/*::[*/ +56:{ +/* n:"BrtBeginMdxTuple", */ +T:1}, +/*::[*/ +57:{ +/* n:"BrtEndMdxTuple", */ +T:-1}, +/*::[*/ +58:{ +/* n:"BrtMdxMbrIstr" */}, +/*::[*/ +59:{ +/* n:"BrtStr" */}, +/*::[*/ +60:{ +/* n:"BrtColInfo", */ +f:Vg}, +/*::[*/ +62:{ +/* n:"BrtCellRString", */ +f:function(e){return[yp(e),bp(e),"is"]}}, +/*::[*/ +63:{ +/* n:"BrtCalcChainItem$", */ +f:function(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=sp(n);var i=e.read_shift(1);return 2&i&&(t.l="1"),8&i&&(t.a="1"),t}}, +/*::[*/ +64:{ +/* n:"BrtDVal", */ +f:function(){}}, +/*::[*/ +65:{ +/* n:"BrtSxvcellNum" */}, +/*::[*/ +66:{ +/* n:"BrtSxvcellStr" */}, +/*::[*/ +67:{ +/* n:"BrtSxvcellBool" */}, +/*::[*/ +68:{ +/* n:"BrtSxvcellErr" */}, +/*::[*/ +69:{ +/* n:"BrtSxvcellDate" */}, +/*::[*/ +70:{ +/* n:"BrtSxvcellNil" */}, +/*::[*/ +128:{ +/* n:"BrtFileVersion" */}, +/*::[*/ +129:{ +/* n:"BrtBeginSheet", */ +T:1}, +/*::[*/ +130:{ +/* n:"BrtEndSheet", */ +T:-1}, +/*::[*/ +131:{ +/* n:"BrtBeginBook", */ +T:1,f:$f,p:0}, +/*::[*/ +132:{ +/* n:"BrtEndBook", */ +T:-1}, +/*::[*/ +133:{ +/* n:"BrtBeginWsViews", */ +T:1}, +/*::[*/ +134:{ +/* n:"BrtEndWsViews", */ +T:-1}, +/*::[*/ +135:{ +/* n:"BrtBeginBookViews", */ +T:1}, +/*::[*/ +136:{ +/* n:"BrtEndBookViews", */ +T:-1}, +/*::[*/ +137:{ +/* n:"BrtBeginWsView", */ +T:1,f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}}, +/*::[*/ +138:{ +/* n:"BrtEndWsView", */ +T:-1}, +/*::[*/ +139:{ +/* n:"BrtBeginCsViews", */ +T:1}, +/*::[*/ +140:{ +/* n:"BrtEndCsViews", */ +T:-1}, +/*::[*/ +141:{ +/* n:"BrtBeginCsView", */ +T:1}, +/*::[*/ +142:{ +/* n:"BrtEndCsView", */ +T:-1}, +/*::[*/ +143:{ +/* n:"BrtBeginBundleShs", */ +T:1}, +/*::[*/ +144:{ +/* n:"BrtEndBundleShs", */ +T:-1}, +/*::[*/ +145:{ +/* n:"BrtBeginSheetData", */ +T:1}, +/*::[*/ +146:{ +/* n:"BrtEndSheetData", */ +T:-1}, +/*::[*/ +147:{ +/* n:"BrtWsProp", */ +f:function(e,t){var n={},i=e[e.l];return++e.l,n.above=!(64&i),n.left=!(128&i),e.l+=18,n.name=xp(e),n}}, +/*::[*/ +148:{ +/* n:"BrtWsDim", */ +f:hv,p:16}, +/*::[*/ +151:{ +/* n:"BrtPane", */ +f:function(){}}, +/*::[*/ +152:{ +/* n:"BrtSel" */}, +/*::[*/ +153:{ +/* n:"BrtWbProp", */ +f:function(e,t){var n={},i=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var r=t>8?gp(e):"";return r.length>0&&(n.CodeName=r),n.autoCompressPictures=!!(65536&i),n.backupFile=!!(64&i),n.checkCompatibility=!!(4096&i),n.date1904=!!(1&i),n.filterPrivacy=!!(8&i),n.hidePivotFieldList=!!(1024&i),n.promptedSolutions=!!(16&i),n.publishItems=!!(2048&i),n.refreshAllConnections=!!(262144&i),n.saveExternalLinkValues=!!(128&i),n.showBorderUnselectedTables=!!(4&i),n.showInkAnnotation=!!(32&i),n.showObjects=["all","placeholders","none"][i>>13&3],n.showPivotChartFilter=!!(32768&i),n.updateLinks=["userSet","never","always"][i>>8&3],n}}, +/*::[*/ +154:{ +/* n:"BrtWbFactoid" */}, +/*::[*/ +155:{ +/* n:"BrtFileRecover" */}, +/*::[*/ +156:{ +/* n:"BrtBundleSh", */ +f:function(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=Dp(e),n.name=gp(e),n}}, +/*::[*/ +157:{ +/* n:"BrtCalcProp" */}, +/*::[*/ +158:{ +/* n:"BrtBookView" */}, +/*::[*/ +159:{ +/* n:"BrtBeginSst", */ +T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}}, +/*::[*/ +160:{ +/* n:"BrtEndSst", */ +T:-1}, +/*::[*/ +161:{ +/* n:"BrtBeginAFilter", */ +T:1,f:kp}, +/*::[*/ +162:{ +/* n:"BrtEndAFilter", */ +T:-1}, +/*::[*/ +163:{ +/* n:"BrtBeginFilterColumn", */ +T:1}, +/*::[*/ +164:{ +/* n:"BrtEndFilterColumn", */ +T:-1}, +/*::[*/ +165:{ +/* n:"BrtBeginFilters", */ +T:1}, +/*::[*/ +166:{ +/* n:"BrtEndFilters", */ +T:-1}, +/*::[*/ +167:{ +/* n:"BrtFilter" */}, +/*::[*/ +168:{ +/* n:"BrtColorFilter" */}, +/*::[*/ +169:{ +/* n:"BrtIconFilter" */}, +/*::[*/ +170:{ +/* n:"BrtTop10Filter" */}, +/*::[*/ +171:{ +/* n:"BrtDynamicFilter" */}, +/*::[*/ +172:{ +/* n:"BrtBeginCustomFilters", */ +T:1}, +/*::[*/ +173:{ +/* n:"BrtEndCustomFilters", */ +T:-1}, +/*::[*/ +174:{ +/* n:"BrtCustomFilter" */}, +/*::[*/ +175:{ +/* n:"BrtAFilterDateGroupItem" */}, +/*::[*/ +176:{ +/* n:"BrtMergeCell", */ +f:uv}, +/*::[*/ +177:{ +/* n:"BrtBeginMergeCells", */ +T:1}, +/*::[*/ +178:{ +/* n:"BrtEndMergeCells", */ +T:-1}, +/*::[*/ +179:{ +/* n:"BrtBeginPivotCacheDef", */ +T:1}, +/*::[*/ +180:{ +/* n:"BrtEndPivotCacheDef", */ +T:-1}, +/*::[*/ +181:{ +/* n:"BrtBeginPCDFields", */ +T:1}, +/*::[*/ +182:{ +/* n:"BrtEndPCDFields", */ +T:-1}, +/*::[*/ +183:{ +/* n:"BrtBeginPCDField", */ +T:1}, +/*::[*/ +184:{ +/* n:"BrtEndPCDField", */ +T:-1}, +/*::[*/ +185:{ +/* n:"BrtBeginPCDSource", */ +T:1}, +/*::[*/ +186:{ +/* n:"BrtEndPCDSource", */ +T:-1}, +/*::[*/ +187:{ +/* n:"BrtBeginPCDSRange", */ +T:1}, +/*::[*/ +188:{ +/* n:"BrtEndPCDSRange", */ +T:-1}, +/*::[*/ +189:{ +/* n:"BrtBeginPCDFAtbl", */ +T:1}, +/*::[*/ +190:{ +/* n:"BrtEndPCDFAtbl", */ +T:-1}, +/*::[*/ +191:{ +/* n:"BrtBeginPCDIRun", */ +T:1}, +/*::[*/ +192:{ +/* n:"BrtEndPCDIRun", */ +T:-1}, +/*::[*/ +193:{ +/* n:"BrtBeginPivotCacheRecords", */ +T:1}, +/*::[*/ +194:{ +/* n:"BrtEndPivotCacheRecords", */ +T:-1}, +/*::[*/ +195:{ +/* n:"BrtBeginPCDHierarchies", */ +T:1}, +/*::[*/ +196:{ +/* n:"BrtEndPCDHierarchies", */ +T:-1}, +/*::[*/ +197:{ +/* n:"BrtBeginPCDHierarchy", */ +T:1}, +/*::[*/ +198:{ +/* n:"BrtEndPCDHierarchy", */ +T:-1}, +/*::[*/ +199:{ +/* n:"BrtBeginPCDHFieldsUsage", */ +T:1}, +/*::[*/ +200:{ +/* n:"BrtEndPCDHFieldsUsage", */ +T:-1}, +/*::[*/ +201:{ +/* n:"BrtBeginExtConnection", */ +T:1}, +/*::[*/ +202:{ +/* n:"BrtEndExtConnection", */ +T:-1}, +/*::[*/ +203:{ +/* n:"BrtBeginECDbProps", */ +T:1}, +/*::[*/ +204:{ +/* n:"BrtEndECDbProps", */ +T:-1}, +/*::[*/ +205:{ +/* n:"BrtBeginECOlapProps", */ +T:1}, +/*::[*/ +206:{ +/* n:"BrtEndECOlapProps", */ +T:-1}, +/*::[*/ +207:{ +/* n:"BrtBeginPCDSConsol", */ +T:1}, +/*::[*/ +208:{ +/* n:"BrtEndPCDSConsol", */ +T:-1}, +/*::[*/ +209:{ +/* n:"BrtBeginPCDSCPages", */ +T:1}, +/*::[*/ +210:{ +/* n:"BrtEndPCDSCPages", */ +T:-1}, +/*::[*/ +211:{ +/* n:"BrtBeginPCDSCPage", */ +T:1}, +/*::[*/ +212:{ +/* n:"BrtEndPCDSCPage", */ +T:-1}, +/*::[*/ +213:{ +/* n:"BrtBeginPCDSCPItem", */ +T:1}, +/*::[*/ +214:{ +/* n:"BrtEndPCDSCPItem", */ +T:-1}, +/*::[*/ +215:{ +/* n:"BrtBeginPCDSCSets", */ +T:1}, +/*::[*/ +216:{ +/* n:"BrtEndPCDSCSets", */ +T:-1}, +/*::[*/ +217:{ +/* n:"BrtBeginPCDSCSet", */ +T:1}, +/*::[*/ +218:{ +/* n:"BrtEndPCDSCSet", */ +T:-1}, +/*::[*/ +219:{ +/* n:"BrtBeginPCDFGroup", */ +T:1}, +/*::[*/ +220:{ +/* n:"BrtEndPCDFGroup", */ +T:-1}, +/*::[*/ +221:{ +/* n:"BrtBeginPCDFGItems", */ +T:1}, +/*::[*/ +222:{ +/* n:"BrtEndPCDFGItems", */ +T:-1}, +/*::[*/ +223:{ +/* n:"BrtBeginPCDFGRange", */ +T:1}, +/*::[*/ +224:{ +/* n:"BrtEndPCDFGRange", */ +T:-1}, +/*::[*/ +225:{ +/* n:"BrtBeginPCDFGDiscrete", */ +T:1}, +/*::[*/ +226:{ +/* n:"BrtEndPCDFGDiscrete", */ +T:-1}, +/*::[*/ +227:{ +/* n:"BrtBeginPCDSDTupleCache", */ +T:1}, +/*::[*/ +228:{ +/* n:"BrtEndPCDSDTupleCache", */ +T:-1}, +/*::[*/ +229:{ +/* n:"BrtBeginPCDSDTCEntries", */ +T:1}, +/*::[*/ +230:{ +/* n:"BrtEndPCDSDTCEntries", */ +T:-1}, +/*::[*/ +231:{ +/* n:"BrtBeginPCDSDTCEMembers", */ +T:1}, +/*::[*/ +232:{ +/* n:"BrtEndPCDSDTCEMembers", */ +T:-1}, +/*::[*/ +233:{ +/* n:"BrtBeginPCDSDTCEMember", */ +T:1}, +/*::[*/ +234:{ +/* n:"BrtEndPCDSDTCEMember", */ +T:-1}, +/*::[*/ +235:{ +/* n:"BrtBeginPCDSDTCQueries", */ +T:1}, +/*::[*/ +236:{ +/* n:"BrtEndPCDSDTCQueries", */ +T:-1}, +/*::[*/ +237:{ +/* n:"BrtBeginPCDSDTCQuery", */ +T:1}, +/*::[*/ +238:{ +/* n:"BrtEndPCDSDTCQuery", */ +T:-1}, +/*::[*/ +239:{ +/* n:"BrtBeginPCDSDTCSets", */ +T:1}, +/*::[*/ +240:{ +/* n:"BrtEndPCDSDTCSets", */ +T:-1}, +/*::[*/ +241:{ +/* n:"BrtBeginPCDSDTCSet", */ +T:1}, +/*::[*/ +242:{ +/* n:"BrtEndPCDSDTCSet", */ +T:-1}, +/*::[*/ +243:{ +/* n:"BrtBeginPCDCalcItems", */ +T:1}, +/*::[*/ +244:{ +/* n:"BrtEndPCDCalcItems", */ +T:-1}, +/*::[*/ +245:{ +/* n:"BrtBeginPCDCalcItem", */ +T:1}, +/*::[*/ +246:{ +/* n:"BrtEndPCDCalcItem", */ +T:-1}, +/*::[*/ +247:{ +/* n:"BrtBeginPRule", */ +T:1}, +/*::[*/ +248:{ +/* n:"BrtEndPRule", */ +T:-1}, +/*::[*/ +249:{ +/* n:"BrtBeginPRFilters", */ +T:1}, +/*::[*/ +250:{ +/* n:"BrtEndPRFilters", */ +T:-1}, +/*::[*/ +251:{ +/* n:"BrtBeginPRFilter", */ +T:1}, +/*::[*/ +252:{ +/* n:"BrtEndPRFilter", */ +T:-1}, +/*::[*/ +253:{ +/* n:"BrtBeginPNames", */ +T:1}, +/*::[*/ +254:{ +/* n:"BrtEndPNames", */ +T:-1}, +/*::[*/ +255:{ +/* n:"BrtBeginPName", */ +T:1}, +/*::[*/ +256:{ +/* n:"BrtEndPName", */ +T:-1}, +/*::[*/ +257:{ +/* n:"BrtBeginPNPairs", */ +T:1}, +/*::[*/ +258:{ +/* n:"BrtEndPNPairs", */ +T:-1}, +/*::[*/ +259:{ +/* n:"BrtBeginPNPair", */ +T:1}, +/*::[*/ +260:{ +/* n:"BrtEndPNPair", */ +T:-1}, +/*::[*/ +261:{ +/* n:"BrtBeginECWebProps", */ +T:1}, +/*::[*/ +262:{ +/* n:"BrtEndECWebProps", */ +T:-1}, +/*::[*/ +263:{ +/* n:"BrtBeginEcWpTables", */ +T:1}, +/*::[*/ +264:{ +/* n:"BrtEndECWPTables", */ +T:-1}, +/*::[*/ +265:{ +/* n:"BrtBeginECParams", */ +T:1}, +/*::[*/ +266:{ +/* n:"BrtEndECParams", */ +T:-1}, +/*::[*/ +267:{ +/* n:"BrtBeginECParam", */ +T:1}, +/*::[*/ +268:{ +/* n:"BrtEndECParam", */ +T:-1}, +/*::[*/ +269:{ +/* n:"BrtBeginPCDKPIs", */ +T:1}, +/*::[*/ +270:{ +/* n:"BrtEndPCDKPIs", */ +T:-1}, +/*::[*/ +271:{ +/* n:"BrtBeginPCDKPI", */ +T:1}, +/*::[*/ +272:{ +/* n:"BrtEndPCDKPI", */ +T:-1}, +/*::[*/ +273:{ +/* n:"BrtBeginDims", */ +T:1}, +/*::[*/ +274:{ +/* n:"BrtEndDims", */ +T:-1}, +/*::[*/ +275:{ +/* n:"BrtBeginDim", */ +T:1}, +/*::[*/ +276:{ +/* n:"BrtEndDim", */ +T:-1}, +/*::[*/ +277:{ +/* n:"BrtIndexPartEnd" */}, +/*::[*/ +278:{ +/* n:"BrtBeginStyleSheet", */ +T:1}, +/*::[*/ +279:{ +/* n:"BrtEndStyleSheet", */ +T:-1}, +/*::[*/ +280:{ +/* n:"BrtBeginSXView", */ +T:1}, +/*::[*/ +281:{ +/* n:"BrtEndSXVI", */ +T:-1}, +/*::[*/ +282:{ +/* n:"BrtBeginSXVI", */ +T:1}, +/*::[*/ +283:{ +/* n:"BrtBeginSXVIs", */ +T:1}, +/*::[*/ +284:{ +/* n:"BrtEndSXVIs", */ +T:-1}, +/*::[*/ +285:{ +/* n:"BrtBeginSXVD", */ +T:1}, +/*::[*/ +286:{ +/* n:"BrtEndSXVD", */ +T:-1}, +/*::[*/ +287:{ +/* n:"BrtBeginSXVDs", */ +T:1}, +/*::[*/ +288:{ +/* n:"BrtEndSXVDs", */ +T:-1}, +/*::[*/ +289:{ +/* n:"BrtBeginSXPI", */ +T:1}, +/*::[*/ +290:{ +/* n:"BrtEndSXPI", */ +T:-1}, +/*::[*/ +291:{ +/* n:"BrtBeginSXPIs", */ +T:1}, +/*::[*/ +292:{ +/* n:"BrtEndSXPIs", */ +T:-1}, +/*::[*/ +293:{ +/* n:"BrtBeginSXDI", */ +T:1}, +/*::[*/ +294:{ +/* n:"BrtEndSXDI", */ +T:-1}, +/*::[*/ +295:{ +/* n:"BrtBeginSXDIs", */ +T:1}, +/*::[*/ +296:{ +/* n:"BrtEndSXDIs", */ +T:-1}, +/*::[*/ +297:{ +/* n:"BrtBeginSXLI", */ +T:1}, +/*::[*/ +298:{ +/* n:"BrtEndSXLI", */ +T:-1}, +/*::[*/ +299:{ +/* n:"BrtBeginSXLIRws", */ +T:1}, +/*::[*/ +300:{ +/* n:"BrtEndSXLIRws", */ +T:-1}, +/*::[*/ +301:{ +/* n:"BrtBeginSXLICols", */ +T:1}, +/*::[*/ +302:{ +/* n:"BrtEndSXLICols", */ +T:-1}, +/*::[*/ +303:{ +/* n:"BrtBeginSXFormat", */ +T:1}, +/*::[*/ +304:{ +/* n:"BrtEndSXFormat", */ +T:-1}, +/*::[*/ +305:{ +/* n:"BrtBeginSXFormats", */ +T:1}, +/*::[*/ +306:{ +/* n:"BrtEndSxFormats", */ +T:-1}, +/*::[*/ +307:{ +/* n:"BrtBeginSxSelect", */ +T:1}, +/*::[*/ +308:{ +/* n:"BrtEndSxSelect", */ +T:-1}, +/*::[*/ +309:{ +/* n:"BrtBeginISXVDRws", */ +T:1}, +/*::[*/ +310:{ +/* n:"BrtEndISXVDRws", */ +T:-1}, +/*::[*/ +311:{ +/* n:"BrtBeginISXVDCols", */ +T:1}, +/*::[*/ +312:{ +/* n:"BrtEndISXVDCols", */ +T:-1}, +/*::[*/ +313:{ +/* n:"BrtEndSXLocation", */ +T:-1}, +/*::[*/ +314:{ +/* n:"BrtBeginSXLocation", */ +T:1}, +/*::[*/ +315:{ +/* n:"BrtEndSXView", */ +T:-1}, +/*::[*/ +316:{ +/* n:"BrtBeginSXTHs", */ +T:1}, +/*::[*/ +317:{ +/* n:"BrtEndSXTHs", */ +T:-1}, +/*::[*/ +318:{ +/* n:"BrtBeginSXTH", */ +T:1}, +/*::[*/ +319:{ +/* n:"BrtEndSXTH", */ +T:-1}, +/*::[*/ +320:{ +/* n:"BrtBeginISXTHRws", */ +T:1}, +/*::[*/ +321:{ +/* n:"BrtEndISXTHRws", */ +T:-1}, +/*::[*/ +322:{ +/* n:"BrtBeginISXTHCols", */ +T:1}, +/*::[*/ +323:{ +/* n:"BrtEndISXTHCols", */ +T:-1}, +/*::[*/ +324:{ +/* n:"BrtBeginSXTDMPS", */ +T:1}, +/*::[*/ +325:{ +/* n:"BrtEndSXTDMPs", */ +T:-1}, +/*::[*/ +326:{ +/* n:"BrtBeginSXTDMP", */ +T:1}, +/*::[*/ +327:{ +/* n:"BrtEndSXTDMP", */ +T:-1}, +/*::[*/ +328:{ +/* n:"BrtBeginSXTHItems", */ +T:1}, +/*::[*/ +329:{ +/* n:"BrtEndSXTHItems", */ +T:-1}, +/*::[*/ +330:{ +/* n:"BrtBeginSXTHItem", */ +T:1}, +/*::[*/ +331:{ +/* n:"BrtEndSXTHItem", */ +T:-1}, +/*::[*/ +332:{ +/* n:"BrtBeginMetadata", */ +T:1}, +/*::[*/ +333:{ +/* n:"BrtEndMetadata", */ +T:-1}, +/*::[*/ +334:{ +/* n:"BrtBeginEsmdtinfo", */ +T:1}, +/*::[*/ +335:{ +/* n:"BrtMdtinfo", */ +f:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:gp(e)}}}, +/*::[*/ +336:{ +/* n:"BrtEndEsmdtinfo", */ +T:-1}, +/*::[*/ +337:{ +/* n:"BrtBeginEsmdb", */ +f:function(e){return e.l+=4,0!=e.read_shift(4)},T:1}, +/*::[*/ +338:{ +/* n:"BrtEndEsmdb", */ +T:-1}, +/*::[*/ +339:{ +/* n:"BrtBeginEsfmd", */ +T:1}, +/*::[*/ +340:{ +/* n:"BrtEndEsfmd", */ +T:-1}, +/*::[*/ +341:{ +/* n:"BrtBeginSingleCells", */ +T:1}, +/*::[*/ +342:{ +/* n:"BrtEndSingleCells", */ +T:-1}, +/*::[*/ +343:{ +/* n:"BrtBeginList", */ +T:1}, +/*::[*/ +344:{ +/* n:"BrtEndList", */ +T:-1}, +/*::[*/ +345:{ +/* n:"BrtBeginListCols", */ +T:1}, +/*::[*/ +346:{ +/* n:"BrtEndListCols", */ +T:-1}, +/*::[*/ +347:{ +/* n:"BrtBeginListCol", */ +T:1}, +/*::[*/ +348:{ +/* n:"BrtEndListCol", */ +T:-1}, +/*::[*/ +349:{ +/* n:"BrtBeginListXmlCPr", */ +T:1}, +/*::[*/ +350:{ +/* n:"BrtEndListXmlCPr", */ +T:-1}, +/*::[*/ +351:{ +/* n:"BrtListCCFmla" */}, +/*::[*/ +352:{ +/* n:"BrtListTrFmla" */}, +/*::[*/ +353:{ +/* n:"BrtBeginExternals", */ +T:1}, +/*::[*/ +354:{ +/* n:"BrtEndExternals", */ +T:-1}, +/*::[*/ +355:{ +/* n:"BrtSupBookSrc", */ +f:Dp}, +/*::[*/ +357:{ +/* n:"BrtSupSelf" */}, +/*::[*/ +358:{ +/* n:"BrtSupSame" */}, +/*::[*/ +359:{ +/* n:"BrtSupTabs" */}, +/*::[*/ +360:{ +/* n:"BrtBeginSupBook", */ +T:1}, +/*::[*/ +361:{ +/* n:"BrtPlaceholderName" */}, +/*::[*/ +362:{ +/* n:"BrtExternSheet", */ +f:jg}, +/*::[*/ +363:{ +/* n:"BrtExternTableStart" */}, +/*::[*/ +364:{ +/* n:"BrtExternTableEnd" */}, +/*::[*/ +366:{ +/* n:"BrtExternRowHdr" */}, +/*::[*/ +367:{ +/* n:"BrtExternCellBlank" */}, +/*::[*/ +368:{ +/* n:"BrtExternCellReal" */}, +/*::[*/ +369:{ +/* n:"BrtExternCellBool" */}, +/*::[*/ +370:{ +/* n:"BrtExternCellError" */}, +/*::[*/ +371:{ +/* n:"BrtExternCellString" */}, +/*::[*/ +372:{ +/* n:"BrtBeginEsmdx", */ +T:1}, +/*::[*/ +373:{ +/* n:"BrtEndEsmdx", */ +T:-1}, +/*::[*/ +374:{ +/* n:"BrtBeginMdxSet", */ +T:1}, +/*::[*/ +375:{ +/* n:"BrtEndMdxSet", */ +T:-1}, +/*::[*/ +376:{ +/* n:"BrtBeginMdxMbrProp", */ +T:1}, +/*::[*/ +377:{ +/* n:"BrtEndMdxMbrProp", */ +T:-1}, +/*::[*/ +378:{ +/* n:"BrtBeginMdxKPI", */ +T:1}, +/*::[*/ +379:{ +/* n:"BrtEndMdxKPI", */ +T:-1}, +/*::[*/ +380:{ +/* n:"BrtBeginEsstr", */ +T:1}, +/*::[*/ +381:{ +/* n:"BrtEndEsstr", */ +T:-1}, +/*::[*/ +382:{ +/* n:"BrtBeginPRFItem", */ +T:1}, +/*::[*/ +383:{ +/* n:"BrtEndPRFItem", */ +T:-1}, +/*::[*/ +384:{ +/* n:"BrtBeginPivotCacheIDs", */ +T:1}, +/*::[*/ +385:{ +/* n:"BrtEndPivotCacheIDs", */ +T:-1}, +/*::[*/ +386:{ +/* n:"BrtBeginPivotCacheID", */ +T:1}, +/*::[*/ +387:{ +/* n:"BrtEndPivotCacheID", */ +T:-1}, +/*::[*/ +388:{ +/* n:"BrtBeginISXVIs", */ +T:1}, +/*::[*/ +389:{ +/* n:"BrtEndISXVIs", */ +T:-1}, +/*::[*/ +390:{ +/* n:"BrtBeginColInfos", */ +T:1}, +/*::[*/ +391:{ +/* n:"BrtEndColInfos", */ +T:-1}, +/*::[*/ +392:{ +/* n:"BrtBeginRwBrk", */ +T:1}, +/*::[*/ +393:{ +/* n:"BrtEndRwBrk", */ +T:-1}, +/*::[*/ +394:{ +/* n:"BrtBeginColBrk", */ +T:1}, +/*::[*/ +395:{ +/* n:"BrtEndColBrk", */ +T:-1}, +/*::[*/ +396:{ +/* n:"BrtBrk" */}, +/*::[*/ +397:{ +/* n:"BrtUserBookView" */}, +/*::[*/ +398:{ +/* n:"BrtInfo" */}, +/*::[*/ +399:{ +/* n:"BrtCUsr" */}, +/*::[*/ +400:{ +/* n:"BrtUsr" */}, +/*::[*/ +401:{ +/* n:"BrtBeginUsers", */ +T:1}, +/*::[*/ +403:{ +/* n:"BrtEOF" */}, +/*::[*/ +404:{ +/* n:"BrtUCR" */}, +/*::[*/ +405:{ +/* n:"BrtRRInsDel" */}, +/*::[*/ +406:{ +/* n:"BrtRREndInsDel" */}, +/*::[*/ +407:{ +/* n:"BrtRRMove" */}, +/*::[*/ +408:{ +/* n:"BrtRREndMove" */}, +/*::[*/ +409:{ +/* n:"BrtRRChgCell" */}, +/*::[*/ +410:{ +/* n:"BrtRREndChgCell" */}, +/*::[*/ +411:{ +/* n:"BrtRRHeader" */}, +/*::[*/ +412:{ +/* n:"BrtRRUserView" */}, +/*::[*/ +413:{ +/* n:"BrtRRRenSheet" */}, +/*::[*/ +414:{ +/* n:"BrtRRInsertSh" */}, +/*::[*/ +415:{ +/* n:"BrtRRDefName" */}, +/*::[*/ +416:{ +/* n:"BrtRRNote" */}, +/*::[*/ +417:{ +/* n:"BrtRRConflict" */}, +/*::[*/ +418:{ +/* n:"BrtRRTQSIF" */}, +/*::[*/ +419:{ +/* n:"BrtRRFormat" */}, +/*::[*/ +420:{ +/* n:"BrtRREndFormat" */}, +/*::[*/ +421:{ +/* n:"BrtRRAutoFmt" */}, +/*::[*/ +422:{ +/* n:"BrtBeginUserShViews", */ +T:1}, +/*::[*/ +423:{ +/* n:"BrtBeginUserShView", */ +T:1}, +/*::[*/ +424:{ +/* n:"BrtEndUserShView", */ +T:-1}, +/*::[*/ +425:{ +/* n:"BrtEndUserShViews", */ +T:-1}, +/*::[*/ +426:{ +/* n:"BrtArrFmla", */ +f:function(e,t,n){var i=e.l+t,r=Ep(e),a=e.read_shift(1),s=[r];if(s[2]=a,n.cellFormula){var o=Pb(e,i-e.l,n);s[1]=o}else e.l=i;return s}}, +/*::[*/ +427:{ +/* n:"BrtShrFmla", */ +f:function(e,t,n){var i=e.l+t,r=[kp(e)];if(n.cellFormula){var a=Bb(e,i-e.l,n);r[1]=a,e.l=i}else e.l=i;return r}}, +/*::[*/ +428:{ +/* n:"BrtTable" */}, +/*::[*/ +429:{ +/* n:"BrtBeginExtConnections", */ +T:1}, +/*::[*/ +430:{ +/* n:"BrtEndExtConnections", */ +T:-1}, +/*::[*/ +431:{ +/* n:"BrtBeginPCDCalcMems", */ +T:1}, +/*::[*/ +432:{ +/* n:"BrtEndPCDCalcMems", */ +T:-1}, +/*::[*/ +433:{ +/* n:"BrtBeginPCDCalcMem", */ +T:1}, +/*::[*/ +434:{ +/* n:"BrtEndPCDCalcMem", */ +T:-1}, +/*::[*/ +435:{ +/* n:"BrtBeginPCDHGLevels", */ +T:1}, +/*::[*/ +436:{ +/* n:"BrtEndPCDHGLevels", */ +T:-1}, +/*::[*/ +437:{ +/* n:"BrtBeginPCDHGLevel", */ +T:1}, +/*::[*/ +438:{ +/* n:"BrtEndPCDHGLevel", */ +T:-1}, +/*::[*/ +439:{ +/* n:"BrtBeginPCDHGLGroups", */ +T:1}, +/*::[*/ +440:{ +/* n:"BrtEndPCDHGLGroups", */ +T:-1}, +/*::[*/ +441:{ +/* n:"BrtBeginPCDHGLGroup", */ +T:1}, +/*::[*/ +442:{ +/* n:"BrtEndPCDHGLGroup", */ +T:-1}, +/*::[*/ +443:{ +/* n:"BrtBeginPCDHGLGMembers", */ +T:1}, +/*::[*/ +444:{ +/* n:"BrtEndPCDHGLGMembers", */ +T:-1}, +/*::[*/ +445:{ +/* n:"BrtBeginPCDHGLGMember", */ +T:1}, +/*::[*/ +446:{ +/* n:"BrtEndPCDHGLGMember", */ +T:-1}, +/*::[*/ +447:{ +/* n:"BrtBeginQSI", */ +T:1}, +/*::[*/ +448:{ +/* n:"BrtEndQSI", */ +T:-1}, +/*::[*/ +449:{ +/* n:"BrtBeginQSIR", */ +T:1}, +/*::[*/ +450:{ +/* n:"BrtEndQSIR", */ +T:-1}, +/*::[*/ +451:{ +/* n:"BrtBeginDeletedNames", */ +T:1}, +/*::[*/ +452:{ +/* n:"BrtEndDeletedNames", */ +T:-1}, +/*::[*/ +453:{ +/* n:"BrtBeginDeletedName", */ +T:1}, +/*::[*/ +454:{ +/* n:"BrtEndDeletedName", */ +T:-1}, +/*::[*/ +455:{ +/* n:"BrtBeginQSIFs", */ +T:1}, +/*::[*/ +456:{ +/* n:"BrtEndQSIFs", */ +T:-1}, +/*::[*/ +457:{ +/* n:"BrtBeginQSIF", */ +T:1}, +/*::[*/ +458:{ +/* n:"BrtEndQSIF", */ +T:-1}, +/*::[*/ +459:{ +/* n:"BrtBeginAutoSortScope", */ +T:1}, +/*::[*/ +460:{ +/* n:"BrtEndAutoSortScope", */ +T:-1}, +/*::[*/ +461:{ +/* n:"BrtBeginConditionalFormatting", */ +T:1}, +/*::[*/ +462:{ +/* n:"BrtEndConditionalFormatting", */ +T:-1}, +/*::[*/ +463:{ +/* n:"BrtBeginCFRule", */ +T:1}, +/*::[*/ +464:{ +/* n:"BrtEndCFRule", */ +T:-1}, +/*::[*/ +465:{ +/* n:"BrtBeginIconSet", */ +T:1}, +/*::[*/ +466:{ +/* n:"BrtEndIconSet", */ +T:-1}, +/*::[*/ +467:{ +/* n:"BrtBeginDatabar", */ +T:1}, +/*::[*/ +468:{ +/* n:"BrtEndDatabar", */ +T:-1}, +/*::[*/ +469:{ +/* n:"BrtBeginColorScale", */ +T:1}, +/*::[*/ +470:{ +/* n:"BrtEndColorScale", */ +T:-1}, +/*::[*/ +471:{ +/* n:"BrtCFVO" */}, +/*::[*/ +472:{ +/* n:"BrtExternValueMeta" */}, +/*::[*/ +473:{ +/* n:"BrtBeginColorPalette", */ +T:1}, +/*::[*/ +474:{ +/* n:"BrtEndColorPalette", */ +T:-1}, +/*::[*/ +475:{ +/* n:"BrtIndexedColor" */}, +/*::[*/ +476:{ +/* n:"BrtMargins", */ +f:function(e){var t={};return fv.forEach((function(n){t[n]=Sp(e)})),t}}, +/*::[*/ +477:{ +/* n:"BrtPrintOptions" */}, +/*::[*/ +478:{ +/* n:"BrtPageSetup" */}, +/*::[*/ +479:{ +/* n:"BrtBeginHeaderFooter", */ +T:1}, +/*::[*/ +480:{ +/* n:"BrtEndHeaderFooter", */ +T:-1}, +/*::[*/ +481:{ +/* n:"BrtBeginSXCrtFormat", */ +T:1}, +/*::[*/ +482:{ +/* n:"BrtEndSXCrtFormat", */ +T:-1}, +/*::[*/ +483:{ +/* n:"BrtBeginSXCrtFormats", */ +T:1}, +/*::[*/ +484:{ +/* n:"BrtEndSXCrtFormats", */ +T:-1}, +/*::[*/ +485:{ +/* n:"BrtWsFmtInfo", */ +f:function(){}}, +/*::[*/ +486:{ +/* n:"BrtBeginMgs", */ +T:1}, +/*::[*/ +487:{ +/* n:"BrtEndMGs", */ +T:-1}, +/*::[*/ +488:{ +/* n:"BrtBeginMGMaps", */ +T:1}, +/*::[*/ +489:{ +/* n:"BrtEndMGMaps", */ +T:-1}, +/*::[*/ +490:{ +/* n:"BrtBeginMG", */ +T:1}, +/*::[*/ +491:{ +/* n:"BrtEndMG", */ +T:-1}, +/*::[*/ +492:{ +/* n:"BrtBeginMap", */ +T:1}, +/*::[*/ +493:{ +/* n:"BrtEndMap", */ +T:-1}, +/*::[*/ +494:{ +/* n:"BrtHLink", */ +f:function(e,t){var n=e.l+t,i=kp(e),r=_p(e),a=gp(e),s=gp(e),o=gp(e);e.l=n;var c={rfx:i,relId:r,loc:a,display:o};return s&&(c.Tooltip=s),c}}, +/*::[*/ +495:{ +/* n:"BrtBeginDCon", */ +T:1}, +/*::[*/ +496:{ +/* n:"BrtEndDCon", */ +T:-1}, +/*::[*/ +497:{ +/* n:"BrtBeginDRefs", */ +T:1}, +/*::[*/ +498:{ +/* n:"BrtEndDRefs", */ +T:-1}, +/*::[*/ +499:{ +/* n:"BrtDRef" */}, +/*::[*/ +500:{ +/* n:"BrtBeginScenMan", */ +T:1}, +/*::[*/ +501:{ +/* n:"BrtEndScenMan", */ +T:-1}, +/*::[*/ +502:{ +/* n:"BrtBeginSct", */ +T:1}, +/*::[*/ +503:{ +/* n:"BrtEndSct", */ +T:-1}, +/*::[*/ +504:{ +/* n:"BrtSlc" */}, +/*::[*/ +505:{ +/* n:"BrtBeginDXFs", */ +T:1}, +/*::[*/ +506:{ +/* n:"BrtEndDXFs", */ +T:-1}, +/*::[*/ +507:{ +/* n:"BrtDXF" */}, +/*::[*/ +508:{ +/* n:"BrtBeginTableStyles", */ +T:1}, +/*::[*/ +509:{ +/* n:"BrtEndTableStyles", */ +T:-1}, +/*::[*/ +510:{ +/* n:"BrtBeginTableStyle", */ +T:1}, +/*::[*/ +511:{ +/* n:"BrtEndTableStyle", */ +T:-1}, +/*::[*/ +512:{ +/* n:"BrtTableStyleElement" */}, +/*::[*/ +513:{ +/* n:"BrtTableStyleClient" */}, +/*::[*/ +514:{ +/* n:"BrtBeginVolDeps", */ +T:1}, +/*::[*/ +515:{ +/* n:"BrtEndVolDeps", */ +T:-1}, +/*::[*/ +516:{ +/* n:"BrtBeginVolType", */ +T:1}, +/*::[*/ +517:{ +/* n:"BrtEndVolType", */ +T:-1}, +/*::[*/ +518:{ +/* n:"BrtBeginVolMain", */ +T:1}, +/*::[*/ +519:{ +/* n:"BrtEndVolMain", */ +T:-1}, +/*::[*/ +520:{ +/* n:"BrtBeginVolTopic", */ +T:1}, +/*::[*/ +521:{ +/* n:"BrtEndVolTopic", */ +T:-1}, +/*::[*/ +522:{ +/* n:"BrtVolSubtopic" */}, +/*::[*/ +523:{ +/* n:"BrtVolRef" */}, +/*::[*/ +524:{ +/* n:"BrtVolNum" */}, +/*::[*/ +525:{ +/* n:"BrtVolErr" */}, +/*::[*/ +526:{ +/* n:"BrtVolStr" */}, +/*::[*/ +527:{ +/* n:"BrtVolBool" */}, +/*::[*/ +528:{ +/* n:"BrtBeginCalcChain$", */ +T:1}, +/*::[*/ +529:{ +/* n:"BrtEndCalcChain$", */ +T:-1}, +/*::[*/ +530:{ +/* n:"BrtBeginSortState", */ +T:1}, +/*::[*/ +531:{ +/* n:"BrtEndSortState", */ +T:-1}, +/*::[*/ +532:{ +/* n:"BrtBeginSortCond", */ +T:1}, +/*::[*/ +533:{ +/* n:"BrtEndSortCond", */ +T:-1}, +/*::[*/ +534:{ +/* n:"BrtBookProtection" */}, +/*::[*/ +535:{ +/* n:"BrtSheetProtection" */}, +/*::[*/ +536:{ +/* n:"BrtRangeProtection" */}, +/*::[*/ +537:{ +/* n:"BrtPhoneticInfo" */}, +/*::[*/ +538:{ +/* n:"BrtBeginECTxtWiz", */ +T:1}, +/*::[*/ +539:{ +/* n:"BrtEndECTxtWiz", */ +T:-1}, +/*::[*/ +540:{ +/* n:"BrtBeginECTWFldInfoLst", */ +T:1}, +/*::[*/ +541:{ +/* n:"BrtEndECTWFldInfoLst", */ +T:-1}, +/*::[*/ +542:{ +/* n:"BrtBeginECTwFldInfo", */ +T:1}, +/*::[*/ +548:{ +/* n:"BrtFileSharing" */}, +/*::[*/ +549:{ +/* n:"BrtOleSize" */}, +/*::[*/ +550:{ +/* n:"BrtDrawing", */ +f:Dp}, +/*::[*/ +551:{ +/* n:"BrtLegacyDrawing" */}, +/*::[*/ +552:{ +/* n:"BrtLegacyDrawingHF" */}, +/*::[*/ +553:{ +/* n:"BrtWebOpt" */}, +/*::[*/ +554:{ +/* n:"BrtBeginWebPubItems", */ +T:1}, +/*::[*/ +555:{ +/* n:"BrtEndWebPubItems", */ +T:-1}, +/*::[*/ +556:{ +/* n:"BrtBeginWebPubItem", */ +T:1}, +/*::[*/ +557:{ +/* n:"BrtEndWebPubItem", */ +T:-1}, +/*::[*/ +558:{ +/* n:"BrtBeginSXCondFmt", */ +T:1}, +/*::[*/ +559:{ +/* n:"BrtEndSXCondFmt", */ +T:-1}, +/*::[*/ +560:{ +/* n:"BrtBeginSXCondFmts", */ +T:1}, +/*::[*/ +561:{ +/* n:"BrtEndSXCondFmts", */ +T:-1}, +/*::[*/ +562:{ +/* n:"BrtBkHim" */}, +/*::[*/ +564:{ +/* n:"BrtColor" */}, +/*::[*/ +565:{ +/* n:"BrtBeginIndexedColors", */ +T:1}, +/*::[*/ +566:{ +/* n:"BrtEndIndexedColors", */ +T:-1}, +/*::[*/ +569:{ +/* n:"BrtBeginMRUColors", */ +T:1}, +/*::[*/ +570:{ +/* n:"BrtEndMRUColors", */ +T:-1}, +/*::[*/ +572:{ +/* n:"BrtMRUColor" */}, +/*::[*/ +573:{ +/* n:"BrtBeginDVals", */ +T:1}, +/*::[*/ +574:{ +/* n:"BrtEndDVals", */ +T:-1}, +/*::[*/ +577:{ +/* n:"BrtSupNameStart" */}, +/*::[*/ +578:{ +/* n:"BrtSupNameValueStart" */}, +/*::[*/ +579:{ +/* n:"BrtSupNameValueEnd" */}, +/*::[*/ +580:{ +/* n:"BrtSupNameNum" */}, +/*::[*/ +581:{ +/* n:"BrtSupNameErr" */}, +/*::[*/ +582:{ +/* n:"BrtSupNameSt" */}, +/*::[*/ +583:{ +/* n:"BrtSupNameNil" */}, +/*::[*/ +584:{ +/* n:"BrtSupNameBool" */}, +/*::[*/ +585:{ +/* n:"BrtSupNameFmla" */}, +/*::[*/ +586:{ +/* n:"BrtSupNameBits" */}, +/*::[*/ +587:{ +/* n:"BrtSupNameEnd" */}, +/*::[*/ +588:{ +/* n:"BrtEndSupBook", */ +T:-1}, +/*::[*/ +589:{ +/* n:"BrtCellSmartTagProperty" */}, +/*::[*/ +590:{ +/* n:"BrtBeginCellSmartTag", */ +T:1}, +/*::[*/ +591:{ +/* n:"BrtEndCellSmartTag", */ +T:-1}, +/*::[*/ +592:{ +/* n:"BrtBeginCellSmartTags", */ +T:1}, +/*::[*/ +593:{ +/* n:"BrtEndCellSmartTags", */ +T:-1}, +/*::[*/ +594:{ +/* n:"BrtBeginSmartTags", */ +T:1}, +/*::[*/ +595:{ +/* n:"BrtEndSmartTags", */ +T:-1}, +/*::[*/ +596:{ +/* n:"BrtSmartTagType" */}, +/*::[*/ +597:{ +/* n:"BrtBeginSmartTagTypes", */ +T:1}, +/*::[*/ +598:{ +/* n:"BrtEndSmartTagTypes", */ +T:-1}, +/*::[*/ +599:{ +/* n:"BrtBeginSXFilters", */ +T:1}, +/*::[*/ +600:{ +/* n:"BrtEndSXFilters", */ +T:-1}, +/*::[*/ +601:{ +/* n:"BrtBeginSXFILTER", */ +T:1}, +/*::[*/ +602:{ +/* n:"BrtEndSXFilter", */ +T:-1}, +/*::[*/ +603:{ +/* n:"BrtBeginFills", */ +T:1}, +/*::[*/ +604:{ +/* n:"BrtEndFills", */ +T:-1}, +/*::[*/ +605:{ +/* n:"BrtBeginCellWatches", */ +T:1}, +/*::[*/ +606:{ +/* n:"BrtEndCellWatches", */ +T:-1}, +/*::[*/ +607:{ +/* n:"BrtCellWatch" */}, +/*::[*/ +608:{ +/* n:"BrtBeginCRErrs", */ +T:1}, +/*::[*/ +609:{ +/* n:"BrtEndCRErrs", */ +T:-1}, +/*::[*/ +610:{ +/* n:"BrtCrashRecErr" */}, +/*::[*/ +611:{ +/* n:"BrtBeginFonts", */ +T:1}, +/*::[*/ +612:{ +/* n:"BrtEndFonts", */ +T:-1}, +/*::[*/ +613:{ +/* n:"BrtBeginBorders", */ +T:1}, +/*::[*/ +614:{ +/* n:"BrtEndBorders", */ +T:-1}, +/*::[*/ +615:{ +/* n:"BrtBeginFmts", */ +T:1}, +/*::[*/ +616:{ +/* n:"BrtEndFmts", */ +T:-1}, +/*::[*/ +617:{ +/* n:"BrtBeginCellXFs", */ +T:1}, +/*::[*/ +618:{ +/* n:"BrtEndCellXFs", */ +T:-1}, +/*::[*/ +619:{ +/* n:"BrtBeginStyles", */ +T:1}, +/*::[*/ +620:{ +/* n:"BrtEndStyles", */ +T:-1}, +/*::[*/ +625:{ +/* n:"BrtBigName" */}, +/*::[*/ +626:{ +/* n:"BrtBeginCellStyleXFs", */ +T:1}, +/*::[*/ +627:{ +/* n:"BrtEndCellStyleXFs", */ +T:-1}, +/*::[*/ +628:{ +/* n:"BrtBeginComments", */ +T:1}, +/*::[*/ +629:{ +/* n:"BrtEndComments", */ +T:-1}, +/*::[*/ +630:{ +/* n:"BrtBeginCommentAuthors", */ +T:1}, +/*::[*/ +631:{ +/* n:"BrtEndCommentAuthors", */ +T:-1}, +/*::[*/ +632:{ +/* n:"BrtCommentAuthor", */ +f:eb}, +/*::[*/ +633:{ +/* n:"BrtBeginCommentList", */ +T:1}, +/*::[*/ +634:{ +/* n:"BrtEndCommentList", */ +T:-1}, +/*::[*/ +635:{ +/* n:"BrtBeginComment", */ +T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var n=kp(e);return t.rfx=n.s,t.ref=sp(n.s),e.l+=16,t}}, +/*::[*/ +636:{ +/* n:"BrtEndComment", */ +T:-1}, +/*::[*/ +637:{ +/* n:"BrtCommentText", */ +f:vp}, +/*::[*/ +638:{ +/* n:"BrtBeginOleObjects", */ +T:1}, +/*::[*/ +639:{ +/* n:"BrtOleObject" */}, +/*::[*/ +640:{ +/* n:"BrtEndOleObjects", */ +T:-1}, +/*::[*/ +641:{ +/* n:"BrtBeginSxrules", */ +T:1}, +/*::[*/ +642:{ +/* n:"BrtEndSxRules", */ +T:-1}, +/*::[*/ +643:{ +/* n:"BrtBeginActiveXControls", */ +T:1}, +/*::[*/ +644:{ +/* n:"BrtActiveX" */}, +/*::[*/ +645:{ +/* n:"BrtEndActiveXControls", */ +T:-1}, +/*::[*/ +646:{ +/* n:"BrtBeginPCDSDTCEMembersSortBy", */ +T:1}, +/*::[*/ +648:{ +/* n:"BrtBeginCellIgnoreECs", */ +T:1}, +/*::[*/ +649:{ +/* n:"BrtCellIgnoreEC" */}, +/*::[*/ +650:{ +/* n:"BrtEndCellIgnoreECs", */ +T:-1}, +/*::[*/ +651:{ +/* n:"BrtCsProp", */ +f:function(e,t){return e.l+=10,{name:gp(e)}}}, +/*::[*/ +652:{ +/* n:"BrtCsPageSetup" */}, +/*::[*/ +653:{ +/* n:"BrtBeginUserCsViews", */ +T:1}, +/*::[*/ +654:{ +/* n:"BrtEndUserCsViews", */ +T:-1}, +/*::[*/ +655:{ +/* n:"BrtBeginUserCsView", */ +T:1}, +/*::[*/ +656:{ +/* n:"BrtEndUserCsView", */ +T:-1}, +/*::[*/ +657:{ +/* n:"BrtBeginPcdSFCIEntries", */ +T:1}, +/*::[*/ +658:{ +/* n:"BrtEndPCDSFCIEntries", */ +T:-1}, +/*::[*/ +659:{ +/* n:"BrtPCDSFCIEntry" */}, +/*::[*/ +660:{ +/* n:"BrtBeginListParts", */ +T:1}, +/*::[*/ +661:{ +/* n:"BrtListPart" */}, +/*::[*/ +662:{ +/* n:"BrtEndListParts", */ +T:-1}, +/*::[*/ +663:{ +/* n:"BrtSheetCalcProp" */}, +/*::[*/ +664:{ +/* n:"BrtBeginFnGroup", */ +T:1}, +/*::[*/ +665:{ +/* n:"BrtFnGroup" */}, +/*::[*/ +666:{ +/* n:"BrtEndFnGroup", */ +T:-1}, +/*::[*/ +667:{ +/* n:"BrtSupAddin" */}, +/*::[*/ +668:{ +/* n:"BrtSXTDMPOrder" */}, +/*::[*/ +669:{ +/* n:"BrtCsProtection" */}, +/*::[*/ +671:{ +/* n:"BrtBeginWsSortMap", */ +T:1}, +/*::[*/ +672:{ +/* n:"BrtEndWsSortMap", */ +T:-1}, +/*::[*/ +673:{ +/* n:"BrtBeginRRSort", */ +T:1}, +/*::[*/ +674:{ +/* n:"BrtEndRRSort", */ +T:-1}, +/*::[*/ +675:{ +/* n:"BrtRRSortItem" */}, +/*::[*/ +676:{ +/* n:"BrtFileSharingIso" */}, +/*::[*/ +677:{ +/* n:"BrtBookProtectionIso" */}, +/*::[*/ +678:{ +/* n:"BrtSheetProtectionIso" */}, +/*::[*/ +679:{ +/* n:"BrtCsProtectionIso" */}, +/*::[*/ +680:{ +/* n:"BrtRangeProtectionIso" */}, +/*::[*/ +681:{ +/* n:"BrtDValList" */}, +/*::[*/ +1024:{ +/* n:"BrtRwDescent" */}, +/*::[*/ +1025:{ +/* n:"BrtKnownFonts" */}, +/*::[*/ +1026:{ +/* n:"BrtBeginSXTupleSet", */ +T:1}, +/*::[*/ +1027:{ +/* n:"BrtEndSXTupleSet", */ +T:-1}, +/*::[*/ +1028:{ +/* n:"BrtBeginSXTupleSetHeader", */ +T:1}, +/*::[*/ +1029:{ +/* n:"BrtEndSXTupleSetHeader", */ +T:-1}, +/*::[*/ +1030:{ +/* n:"BrtSXTupleSetHeaderItem" */}, +/*::[*/ +1031:{ +/* n:"BrtBeginSXTupleSetData", */ +T:1}, +/*::[*/ +1032:{ +/* n:"BrtEndSXTupleSetData", */ +T:-1}, +/*::[*/ +1033:{ +/* n:"BrtBeginSXTupleSetRow", */ +T:1}, +/*::[*/ +1034:{ +/* n:"BrtEndSXTupleSetRow", */ +T:-1}, +/*::[*/ +1035:{ +/* n:"BrtSXTupleSetRowItem" */}, +/*::[*/ +1036:{ +/* n:"BrtNameExt" */}, +/*::[*/ +1037:{ +/* n:"BrtPCDH14" */}, +/*::[*/ +1038:{ +/* n:"BrtBeginPCDCalcMem14", */ +T:1}, +/*::[*/ +1039:{ +/* n:"BrtEndPCDCalcMem14", */ +T:-1}, +/*::[*/ +1040:{ +/* n:"BrtSXTH14" */}, +/*::[*/ +1041:{ +/* n:"BrtBeginSparklineGroup", */ +T:1}, +/*::[*/ +1042:{ +/* n:"BrtEndSparklineGroup", */ +T:-1}, +/*::[*/ +1043:{ +/* n:"BrtSparkline" */}, +/*::[*/ +1044:{ +/* n:"BrtSXDI14" */}, +/*::[*/ +1045:{ +/* n:"BrtWsFmtInfoEx14" */}, +/*::[*/ +1046:{ +/* n:"BrtBeginConditionalFormatting14", */ +T:1}, +/*::[*/ +1047:{ +/* n:"BrtEndConditionalFormatting14", */ +T:-1}, +/*::[*/ +1048:{ +/* n:"BrtBeginCFRule14", */ +T:1}, +/*::[*/ +1049:{ +/* n:"BrtEndCFRule14", */ +T:-1}, +/*::[*/ +1050:{ +/* n:"BrtCFVO14" */}, +/*::[*/ +1051:{ +/* n:"BrtBeginDatabar14", */ +T:1}, +/*::[*/ +1052:{ +/* n:"BrtBeginIconSet14", */ +T:1}, +/*::[*/ +1053:{ +/* n:"BrtDVal14", */ +f:function(){}}, +/*::[*/ +1054:{ +/* n:"BrtBeginDVals14", */ +T:1}, +/*::[*/ +1055:{ +/* n:"BrtColor14" */}, +/*::[*/ +1056:{ +/* n:"BrtBeginSparklines", */ +T:1}, +/*::[*/ +1057:{ +/* n:"BrtEndSparklines", */ +T:-1}, +/*::[*/ +1058:{ +/* n:"BrtBeginSparklineGroups", */ +T:1}, +/*::[*/ +1059:{ +/* n:"BrtEndSparklineGroups", */ +T:-1}, +/*::[*/ +1061:{ +/* n:"BrtSXVD14" */}, +/*::[*/ +1062:{ +/* n:"BrtBeginSXView14", */ +T:1}, +/*::[*/ +1063:{ +/* n:"BrtEndSXView14", */ +T:-1}, +/*::[*/ +1064:{ +/* n:"BrtBeginSXView16", */ +T:1}, +/*::[*/ +1065:{ +/* n:"BrtEndSXView16", */ +T:-1}, +/*::[*/ +1066:{ +/* n:"BrtBeginPCD14", */ +T:1}, +/*::[*/ +1067:{ +/* n:"BrtEndPCD14", */ +T:-1}, +/*::[*/ +1068:{ +/* n:"BrtBeginExtConn14", */ +T:1}, +/*::[*/ +1069:{ +/* n:"BrtEndExtConn14", */ +T:-1}, +/*::[*/ +1070:{ +/* n:"BrtBeginSlicerCacheIDs", */ +T:1}, +/*::[*/ +1071:{ +/* n:"BrtEndSlicerCacheIDs", */ +T:-1}, +/*::[*/ +1072:{ +/* n:"BrtBeginSlicerCacheID", */ +T:1}, +/*::[*/ +1073:{ +/* n:"BrtEndSlicerCacheID", */ +T:-1}, +/*::[*/ +1075:{ +/* n:"BrtBeginSlicerCache", */ +T:1}, +/*::[*/ +1076:{ +/* n:"BrtEndSlicerCache", */ +T:-1}, +/*::[*/ +1077:{ +/* n:"BrtBeginSlicerCacheDef", */ +T:1}, +/*::[*/ +1078:{ +/* n:"BrtEndSlicerCacheDef", */ +T:-1}, +/*::[*/ +1079:{ +/* n:"BrtBeginSlicersEx", */ +T:1}, +/*::[*/ +1080:{ +/* n:"BrtEndSlicersEx", */ +T:-1}, +/*::[*/ +1081:{ +/* n:"BrtBeginSlicerEx", */ +T:1}, +/*::[*/ +1082:{ +/* n:"BrtEndSlicerEx", */ +T:-1}, +/*::[*/ +1083:{ +/* n:"BrtBeginSlicer", */ +T:1}, +/*::[*/ +1084:{ +/* n:"BrtEndSlicer", */ +T:-1}, +/*::[*/ +1085:{ +/* n:"BrtSlicerCachePivotTables" */}, +/*::[*/ +1086:{ +/* n:"BrtBeginSlicerCacheOlapImpl", */ +T:1}, +/*::[*/ +1087:{ +/* n:"BrtEndSlicerCacheOlapImpl", */ +T:-1}, +/*::[*/ +1088:{ +/* n:"BrtBeginSlicerCacheLevelsData", */ +T:1}, +/*::[*/ +1089:{ +/* n:"BrtEndSlicerCacheLevelsData", */ +T:-1}, +/*::[*/ +1090:{ +/* n:"BrtBeginSlicerCacheLevelData", */ +T:1}, +/*::[*/ +1091:{ +/* n:"BrtEndSlicerCacheLevelData", */ +T:-1}, +/*::[*/ +1092:{ +/* n:"BrtBeginSlicerCacheSiRanges", */ +T:1}, +/*::[*/ +1093:{ +/* n:"BrtEndSlicerCacheSiRanges", */ +T:-1}, +/*::[*/ +1094:{ +/* n:"BrtBeginSlicerCacheSiRange", */ +T:1}, +/*::[*/ +1095:{ +/* n:"BrtEndSlicerCacheSiRange", */ +T:-1}, +/*::[*/ +1096:{ +/* n:"BrtSlicerCacheOlapItem" */}, +/*::[*/ +1097:{ +/* n:"BrtBeginSlicerCacheSelections", */ +T:1}, +/*::[*/ +1098:{ +/* n:"BrtSlicerCacheSelection" */}, +/*::[*/ +1099:{ +/* n:"BrtEndSlicerCacheSelections", */ +T:-1}, +/*::[*/ +1100:{ +/* n:"BrtBeginSlicerCacheNative", */ +T:1}, +/*::[*/ +1101:{ +/* n:"BrtEndSlicerCacheNative", */ +T:-1}, +/*::[*/ +1102:{ +/* n:"BrtSlicerCacheNativeItem" */}, +/*::[*/ +1103:{ +/* n:"BrtRangeProtection14" */}, +/*::[*/ +1104:{ +/* n:"BrtRangeProtectionIso14" */}, +/*::[*/ +1105:{ +/* n:"BrtCellIgnoreEC14" */}, +/*::[*/ +1111:{ +/* n:"BrtList14" */}, +/*::[*/ +1112:{ +/* n:"BrtCFIcon" */}, +/*::[*/ +1113:{ +/* n:"BrtBeginSlicerCachesPivotCacheIDs", */ +T:1}, +/*::[*/ +1114:{ +/* n:"BrtEndSlicerCachesPivotCacheIDs", */ +T:-1}, +/*::[*/ +1115:{ +/* n:"BrtBeginSlicers", */ +T:1}, +/*::[*/ +1116:{ +/* n:"BrtEndSlicers", */ +T:-1}, +/*::[*/ +1117:{ +/* n:"BrtWbProp14" */}, +/*::[*/ +1118:{ +/* n:"BrtBeginSXEdit", */ +T:1}, +/*::[*/ +1119:{ +/* n:"BrtEndSXEdit", */ +T:-1}, +/*::[*/ +1120:{ +/* n:"BrtBeginSXEdits", */ +T:1}, +/*::[*/ +1121:{ +/* n:"BrtEndSXEdits", */ +T:-1}, +/*::[*/ +1122:{ +/* n:"BrtBeginSXChange", */ +T:1}, +/*::[*/ +1123:{ +/* n:"BrtEndSXChange", */ +T:-1}, +/*::[*/ +1124:{ +/* n:"BrtBeginSXChanges", */ +T:1}, +/*::[*/ +1125:{ +/* n:"BrtEndSXChanges", */ +T:-1}, +/*::[*/ +1126:{ +/* n:"BrtSXTupleItems" */}, +/*::[*/ +1128:{ +/* n:"BrtBeginSlicerStyle", */ +T:1}, +/*::[*/ +1129:{ +/* n:"BrtEndSlicerStyle", */ +T:-1}, +/*::[*/ +1130:{ +/* n:"BrtSlicerStyleElement" */}, +/*::[*/ +1131:{ +/* n:"BrtBeginStyleSheetExt14", */ +T:1}, +/*::[*/ +1132:{ +/* n:"BrtEndStyleSheetExt14", */ +T:-1}, +/*::[*/ +1133:{ +/* n:"BrtBeginSlicerCachesPivotCacheID", */ +T:1}, +/*::[*/ +1134:{ +/* n:"BrtEndSlicerCachesPivotCacheID", */ +T:-1}, +/*::[*/ +1135:{ +/* n:"BrtBeginConditionalFormattings", */ +T:1}, +/*::[*/ +1136:{ +/* n:"BrtEndConditionalFormattings", */ +T:-1}, +/*::[*/ +1137:{ +/* n:"BrtBeginPCDCalcMemExt", */ +T:1}, +/*::[*/ +1138:{ +/* n:"BrtEndPCDCalcMemExt", */ +T:-1}, +/*::[*/ +1139:{ +/* n:"BrtBeginPCDCalcMemsExt", */ +T:1}, +/*::[*/ +1140:{ +/* n:"BrtEndPCDCalcMemsExt", */ +T:-1}, +/*::[*/ +1141:{ +/* n:"BrtPCDField14" */}, +/*::[*/ +1142:{ +/* n:"BrtBeginSlicerStyles", */ +T:1}, +/*::[*/ +1143:{ +/* n:"BrtEndSlicerStyles", */ +T:-1}, +/*::[*/ +1144:{ +/* n:"BrtBeginSlicerStyleElements", */ +T:1}, +/*::[*/ +1145:{ +/* n:"BrtEndSlicerStyleElements", */ +T:-1}, +/*::[*/ +1146:{ +/* n:"BrtCFRuleExt" */}, +/*::[*/ +1147:{ +/* n:"BrtBeginSXCondFmt14", */ +T:1}, +/*::[*/ +1148:{ +/* n:"BrtEndSXCondFmt14", */ +T:-1}, +/*::[*/ +1149:{ +/* n:"BrtBeginSXCondFmts14", */ +T:1}, +/*::[*/ +1150:{ +/* n:"BrtEndSXCondFmts14", */ +T:-1}, +/*::[*/ +1152:{ +/* n:"BrtBeginSortCond14", */ +T:1}, +/*::[*/ +1153:{ +/* n:"BrtEndSortCond14", */ +T:-1}, +/*::[*/ +1154:{ +/* n:"BrtEndDVals14", */ +T:-1}, +/*::[*/ +1155:{ +/* n:"BrtEndIconSet14", */ +T:-1}, +/*::[*/ +1156:{ +/* n:"BrtEndDatabar14", */ +T:-1}, +/*::[*/ +1157:{ +/* n:"BrtBeginColorScale14", */ +T:1}, +/*::[*/ +1158:{ +/* n:"BrtEndColorScale14", */ +T:-1}, +/*::[*/ +1159:{ +/* n:"BrtBeginSxrules14", */ +T:1}, +/*::[*/ +1160:{ +/* n:"BrtEndSxrules14", */ +T:-1}, +/*::[*/ +1161:{ +/* n:"BrtBeginPRule14", */ +T:1}, +/*::[*/ +1162:{ +/* n:"BrtEndPRule14", */ +T:-1}, +/*::[*/ +1163:{ +/* n:"BrtBeginPRFilters14", */ +T:1}, +/*::[*/ +1164:{ +/* n:"BrtEndPRFilters14", */ +T:-1}, +/*::[*/ +1165:{ +/* n:"BrtBeginPRFilter14", */ +T:1}, +/*::[*/ +1166:{ +/* n:"BrtEndPRFilter14", */ +T:-1}, +/*::[*/ +1167:{ +/* n:"BrtBeginPRFItem14", */ +T:1}, +/*::[*/ +1168:{ +/* n:"BrtEndPRFItem14", */ +T:-1}, +/*::[*/ +1169:{ +/* n:"BrtBeginCellIgnoreECs14", */ +T:1}, +/*::[*/ +1170:{ +/* n:"BrtEndCellIgnoreECs14", */ +T:-1}, +/*::[*/ +1171:{ +/* n:"BrtDxf14" */}, +/*::[*/ +1172:{ +/* n:"BrtBeginDxF14s", */ +T:1}, +/*::[*/ +1173:{ +/* n:"BrtEndDxf14s", */ +T:-1}, +/*::[*/ +1177:{ +/* n:"BrtFilter14" */}, +/*::[*/ +1178:{ +/* n:"BrtBeginCustomFilters14", */ +T:1}, +/*::[*/ +1180:{ +/* n:"BrtCustomFilter14" */}, +/*::[*/ +1181:{ +/* n:"BrtIconFilter14" */}, +/*::[*/ +1182:{ +/* n:"BrtPivotCacheConnectionName" */}, +/*::[*/ +2048:{ +/* n:"BrtBeginDecoupledPivotCacheIDs", */ +T:1}, +/*::[*/ +2049:{ +/* n:"BrtEndDecoupledPivotCacheIDs", */ +T:-1}, +/*::[*/ +2050:{ +/* n:"BrtDecoupledPivotCacheID" */}, +/*::[*/ +2051:{ +/* n:"BrtBeginPivotTableRefs", */ +T:1}, +/*::[*/ +2052:{ +/* n:"BrtEndPivotTableRefs", */ +T:-1}, +/*::[*/ +2053:{ +/* n:"BrtPivotTableRef" */}, +/*::[*/ +2054:{ +/* n:"BrtSlicerCacheBookPivotTables" */}, +/*::[*/ +2055:{ +/* n:"BrtBeginSxvcells", */ +T:1}, +/*::[*/ +2056:{ +/* n:"BrtEndSxvcells", */ +T:-1}, +/*::[*/ +2057:{ +/* n:"BrtBeginSxRow", */ +T:1}, +/*::[*/ +2058:{ +/* n:"BrtEndSxRow", */ +T:-1}, +/*::[*/ +2060:{ +/* n:"BrtPcdCalcMem15" */}, +/*::[*/ +2067:{ +/* n:"BrtQsi15" */}, +/*::[*/ +2068:{ +/* n:"BrtBeginWebExtensions", */ +T:1}, +/*::[*/ +2069:{ +/* n:"BrtEndWebExtensions", */ +T:-1}, +/*::[*/ +2070:{ +/* n:"BrtWebExtension" */}, +/*::[*/ +2071:{ +/* n:"BrtAbsPath15" */}, +/*::[*/ +2072:{ +/* n:"BrtBeginPivotTableUISettings", */ +T:1}, +/*::[*/ +2073:{ +/* n:"BrtEndPivotTableUISettings", */ +T:-1}, +/*::[*/ +2075:{ +/* n:"BrtTableSlicerCacheIDs" */}, +/*::[*/ +2076:{ +/* n:"BrtTableSlicerCacheID" */}, +/*::[*/ +2077:{ +/* n:"BrtBeginTableSlicerCache", */ +T:1}, +/*::[*/ +2078:{ +/* n:"BrtEndTableSlicerCache", */ +T:-1}, +/*::[*/ +2079:{ +/* n:"BrtSxFilter15" */}, +/*::[*/ +2080:{ +/* n:"BrtBeginTimelineCachePivotCacheIDs", */ +T:1}, +/*::[*/ +2081:{ +/* n:"BrtEndTimelineCachePivotCacheIDs", */ +T:-1}, +/*::[*/ +2082:{ +/* n:"BrtTimelineCachePivotCacheID" */}, +/*::[*/ +2083:{ +/* n:"BrtBeginTimelineCacheIDs", */ +T:1}, +/*::[*/ +2084:{ +/* n:"BrtEndTimelineCacheIDs", */ +T:-1}, +/*::[*/ +2085:{ +/* n:"BrtBeginTimelineCacheID", */ +T:1}, +/*::[*/ +2086:{ +/* n:"BrtEndTimelineCacheID", */ +T:-1}, +/*::[*/ +2087:{ +/* n:"BrtBeginTimelinesEx", */ +T:1}, +/*::[*/ +2088:{ +/* n:"BrtEndTimelinesEx", */ +T:-1}, +/*::[*/ +2089:{ +/* n:"BrtBeginTimelineEx", */ +T:1}, +/*::[*/ +2090:{ +/* n:"BrtEndTimelineEx", */ +T:-1}, +/*::[*/ +2091:{ +/* n:"BrtWorkBookPr15" */}, +/*::[*/ +2092:{ +/* n:"BrtPCDH15" */}, +/*::[*/ +2093:{ +/* n:"BrtBeginTimelineStyle", */ +T:1}, +/*::[*/ +2094:{ +/* n:"BrtEndTimelineStyle", */ +T:-1}, +/*::[*/ +2095:{ +/* n:"BrtTimelineStyleElement" */}, +/*::[*/ +2096:{ +/* n:"BrtBeginTimelineStylesheetExt15", */ +T:1}, +/*::[*/ +2097:{ +/* n:"BrtEndTimelineStylesheetExt15", */ +T:-1}, +/*::[*/ +2098:{ +/* n:"BrtBeginTimelineStyles", */ +T:1}, +/*::[*/ +2099:{ +/* n:"BrtEndTimelineStyles", */ +T:-1}, +/*::[*/ +2100:{ +/* n:"BrtBeginTimelineStyleElements", */ +T:1}, +/*::[*/ +2101:{ +/* n:"BrtEndTimelineStyleElements", */ +T:-1}, +/*::[*/ +2102:{ +/* n:"BrtDxf15" */}, +/*::[*/ +2103:{ +/* n:"BrtBeginDxfs15", */ +T:1}, +/*::[*/ +2104:{ +/* n:"BrtEndDxfs15", */ +T:-1}, +/*::[*/ +2105:{ +/* n:"BrtSlicerCacheHideItemsWithNoData" */}, +/*::[*/ +2106:{ +/* n:"BrtBeginItemUniqueNames", */ +T:1}, +/*::[*/ +2107:{ +/* n:"BrtEndItemUniqueNames", */ +T:-1}, +/*::[*/ +2108:{ +/* n:"BrtItemUniqueName" */}, +/*::[*/ +2109:{ +/* n:"BrtBeginExtConn15", */ +T:1}, +/*::[*/ +2110:{ +/* n:"BrtEndExtConn15", */ +T:-1}, +/*::[*/ +2111:{ +/* n:"BrtBeginOledbPr15", */ +T:1}, +/*::[*/ +2112:{ +/* n:"BrtEndOledbPr15", */ +T:-1}, +/*::[*/ +2113:{ +/* n:"BrtBeginDataFeedPr15", */ +T:1}, +/*::[*/ +2114:{ +/* n:"BrtEndDataFeedPr15", */ +T:-1}, +/*::[*/ +2115:{ +/* n:"BrtTextPr15" */}, +/*::[*/ +2116:{ +/* n:"BrtRangePr15" */}, +/*::[*/ +2117:{ +/* n:"BrtDbCommand15" */}, +/*::[*/ +2118:{ +/* n:"BrtBeginDbTables15", */ +T:1}, +/*::[*/ +2119:{ +/* n:"BrtEndDbTables15", */ +T:-1}, +/*::[*/ +2120:{ +/* n:"BrtDbTable15" */}, +/*::[*/ +2121:{ +/* n:"BrtBeginDataModel", */ +T:1}, +/*::[*/ +2122:{ +/* n:"BrtEndDataModel", */ +T:-1}, +/*::[*/ +2123:{ +/* n:"BrtBeginModelTables", */ +T:1}, +/*::[*/ +2124:{ +/* n:"BrtEndModelTables", */ +T:-1}, +/*::[*/ +2125:{ +/* n:"BrtModelTable" */}, +/*::[*/ +2126:{ +/* n:"BrtBeginModelRelationships", */ +T:1}, +/*::[*/ +2127:{ +/* n:"BrtEndModelRelationships", */ +T:-1}, +/*::[*/ +2128:{ +/* n:"BrtModelRelationship" */}, +/*::[*/ +2129:{ +/* n:"BrtBeginECTxtWiz15", */ +T:1}, +/*::[*/ +2130:{ +/* n:"BrtEndECTxtWiz15", */ +T:-1}, +/*::[*/ +2131:{ +/* n:"BrtBeginECTWFldInfoLst15", */ +T:1}, +/*::[*/ +2132:{ +/* n:"BrtEndECTWFldInfoLst15", */ +T:-1}, +/*::[*/ +2133:{ +/* n:"BrtBeginECTWFldInfo15", */ +T:1}, +/*::[*/ +2134:{ +/* n:"BrtFieldListActiveItem" */}, +/*::[*/ +2135:{ +/* n:"BrtPivotCacheIdVersion" */}, +/*::[*/ +2136:{ +/* n:"BrtSXDI15" */}, +/*::[*/ +2137:{ +/* n:"BrtBeginModelTimeGroupings", */ +T:1}, +/*::[*/ +2138:{ +/* n:"BrtEndModelTimeGroupings", */ +T:-1}, +/*::[*/ +2139:{ +/* n:"BrtBeginModelTimeGrouping", */ +T:1}, +/*::[*/ +2140:{ +/* n:"BrtEndModelTimeGrouping", */ +T:-1}, +/*::[*/ +2141:{ +/* n:"BrtModelTimeGroupingCalcCol" */}, +/*::[*/ +3072:{ +/* n:"BrtUid" */}, +/*::[*/ +3073:{ +/* n:"BrtRevisionPtr" */}, +/*::[*/ +4096:{ +/* n:"BrtBeginDynamicArrayPr", */ +T:1}, +/*::[*/ +4097:{ +/* n:"BrtEndDynamicArrayPr", */ +T:-1}, +/*::[*/ +5002:{ +/* n:"BrtBeginRichValueBlock", */ +T:1}, +/*::[*/ +5003:{ +/* n:"BrtEndRichValueBlock", */ +T:-1}, +/*::[*/ +5081:{ +/* n:"BrtBeginRichFilters", */ +T:1}, +/*::[*/ +5082:{ +/* n:"BrtEndRichFilters", */ +T:-1}, +/*::[*/ +5083:{ +/* n:"BrtRichFilter" */}, +/*::[*/ +5084:{ +/* n:"BrtBeginRichFilterColumn", */ +T:1}, +/*::[*/ +5085:{ +/* n:"BrtEndRichFilterColumn", */ +T:-1}, +/*::[*/ +5086:{ +/* n:"BrtBeginCustomRichFilters", */ +T:1}, +/*::[*/ +5087:{ +/* n:"BrtEndCustomRichFilters", */ +T:-1}, +/*::[*/ +5088:{ +/* n:"BrtCustomRichFilter" */}, +/*::[*/ +5089:{ +/* n:"BrtTop10RichFilter" */}, +/*::[*/ +5090:{ +/* n:"BrtDynamicRichFilter" */}, +/*::[*/ +5092:{ +/* n:"BrtBeginRichSortCondition", */ +T:1}, +/*::[*/ +5093:{ +/* n:"BrtEndRichSortCondition", */ +T:-1}, +/*::[*/ +5094:{ +/* n:"BrtRichFilterDateGroupItem" */}, +/*::[*/ +5095:{ +/* n:"BrtBeginCalcFeatures", */ +T:1}, +/*::[*/ +5096:{ +/* n:"BrtEndCalcFeatures", */ +T:-1}, +/*::[*/ +5097:{ +/* n:"BrtCalcFeature" */}, +/*::[*/ +5099:{ +/* n:"BrtExternalLinksPr" */}, +/*::[*/ +65535:{n:""}},ny={ +/* [MS-XLS] 2.3 Record Enumeration 2021-08-17 */ +/*::[*/ +6:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +10:{ +/* n:"EOF", */ +f:hg}, +/*::[*/ +12:{ +/* n:"CalcCount", */ +f:ug}, +/*::[*/ +13:{ +/* n:"CalcMode", */ +f:ug}, +/*::[*/ +14:{ +/* n:"CalcPrecision", */ +f:dg}, +/*::[*/ +15:{ +/* n:"CalcRefMode", */ +f:dg}, +/*::[*/ +16:{ +/* n:"CalcDelta", */ +f:Sp}, +/*::[*/ +17:{ +/* n:"CalcIter", */ +f:dg}, +/*::[*/ +18:{ +/* n:"Protect", */ +f:dg}, +/*::[*/ +19:{ +/* n:"Password", */ +f:ug}, +/*::[*/ +20:{ +/* n:"Header", */ +f:Pg}, +/*::[*/ +21:{ +/* n:"Footer", */ +f:Pg}, +/*::[*/ +23:{ +/* n:"ExternSheet", */ +f:jg}, +/*::[*/ +24:{ +/* n:"Lbl", */ +f:Bg}, +/*::[*/ +25:{ +/* n:"WinProtect", */ +f:dg}, +/*::[*/ +26:{ +/* n:"VerticalPageBreaks", */}, +/*::[*/ +27:{ +/* n:"HorizontalPageBreaks", */}, +/*::[*/ +28:{ +/* n:"Note", */ +f:function(e,t,n){return function(e,t,n){if(!(n.biff<8)){var i=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),o=vg(e,0,n);return n.biff<8&&e.read_shift(1),[{r:i,c:r},o,s,a]}}(e,0,n)}}, +/*::[*/ +29:{ +/* n:"Selection", */}, +/*::[*/ +34:{ +/* n:"Date1904", */ +f:dg}, +/*::[*/ +35:{ +/* n:"ExternName", */ +f:Lg}, +/*::[*/ +38:{ +/* n:"LeftMargin", */ +f:Sp}, +// * +/*::[*/ +39:{ +/* n:"RightMargin", */ +f:Sp}, +// * +/*::[*/ +40:{ +/* n:"TopMargin", */ +f:Sp}, +// * +/*::[*/ +41:{ +/* n:"BottomMargin", */ +f:Sp}, +// * +/*::[*/ +42:{ +/* n:"PrintRowCol", */ +f:dg}, +/*::[*/ +43:{ +/* n:"PrintGrid", */ +f:dg}, +/*::[*/ +47:{ +/* n:"FilePass", */ +f:function(e,t,n){var i={Type:n.biff>=8?e.read_shift(2):0};return i.Type?_m(e,t-2,i):xm(e,n.biff,n,i),i}}, +/*::[*/ +49:{ +/* n:"Font", */ +f:function(e,t,n){var i={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return i.name=pg(e,0,n),i}}, +/*::[*/ +51:{ +/* n:"PrintSize", */ +f:ug}, +/*::[*/ +60:{ +/* n:"Continue", */}, +/*::[*/ +61:{ +/* n:"Window1", */ +f:function(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}}, +/*::[*/ +64:{ +/* n:"Backup", */ +f:dg}, +/*::[*/ +65:{ +/* n:"Pane", */ +f:function(){}}, +/*::[*/ +66:{ +/* n:"CodePage", */ +f:ug}, +/*::[*/ +77:{ +/* n:"Pls", */}, +/*::[*/ +80:{ +/* n:"DCon", */}, +/*::[*/ +81:{ +/* n:"DConRef", */}, +/*::[*/ +82:{ +/* n:"DConName", */}, +/*::[*/ +85:{ +/* n:"DefColWidth", */ +f:ug}, +/*::[*/ +89:{ +/* n:"XCT", */}, +/*::[*/ +90:{ +/* n:"CRN", */}, +/*::[*/ +91:{ +/* n:"FileSharing", */}, +/*::[*/ +92:{ +/* n:"WriteAccess", */ +f:function(e,t,n){if(n.enc)return e.l+=t,"";var i=e.l,r=vg(e,0,n);return e.read_shift(t+i-e.l),r}}, +/*::[*/ +93:{ +/* n:"Obj", */ +f:function(e,t,n){if(n&&n.biff<8)return function(e,t,n){e.l+=4;var i=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var s=[];return s.push((Hg[i]||$f)(e,t,n)),{cmo:[r,i,a],ft:s}}(e,t,n);var i=Cg(e),r=function(e,t){for(var n=e.l+t,i=[];e.l7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}}, +/*::[*/ +129:{ +/* n:"WsBool", */ +f:function(e,t,n){var i=n&&8==n.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&i,fBelow:64&i,fRight:128&i}}}, +/*::[*/ +130:{ +/* n:"GridSet", */ +f:ug}, +/*::[*/ +131:{ +/* n:"HCenter", */ +f:dg}, +/*::[*/ +132:{ +/* n:"VCenter", */ +f:dg}, +/*::[*/ +133:{ +/* n:"BoundSheet8", */ +f:function(e,t,n){var i=e.read_shift(4),r=3&e.read_shift(1),a=e.read_shift(1);switch(a){case 0:a="Worksheet";break;case 1:a="Macrosheet";break;case 2:a="Chartsheet";break;case 6:a="VBAModule"}var s=pg(e,0,n);return 0===s.length&&(s="Sheet1"),{pos:i,hs:r,dt:a,name:s}}}, +/*::[*/ +134:{ +/* n:"WriteProtect", */}, +/*::[*/ +140:{ +/* n:"Country", */ +f:function(e){var t,n=[0,0];return t=e.read_shift(2),n[0]=Ip[t]||t,t=e.read_shift(2),n[1]=Ip[t]||t,n}}, +/*::[*/ +141:{ +/* n:"HideObj", */ +f:ug}, +/*::[*/ +144:{ +/* n:"Sort", */}, +/*::[*/ +146:{ +/* n:"Palette", */ +f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(_g(e));return n}}, +/*::[*/ +151:{ +/* n:"Sync", */}, +/*::[*/ +152:{ +/* n:"LPr", */}, +/*::[*/ +153:{ +/* n:"DxGCol", */}, +/*::[*/ +154:{ +/* n:"FnGroupName", */}, +/*::[*/ +155:{ +/* n:"FilterMode", */}, +/*::[*/ +156:{ +/* n:"BuiltInFnGroupCount", */ +f:ug}, +/*::[*/ +157:{ +/* n:"AutoFilterInfo", */}, +/*::[*/ +158:{ +/* n:"AutoFilter", */}, +/*::[*/ +160:{ +/* n:"Scl", */ +f:Xg}, +/*::[*/ +161:{ +/* n:"Setup", */ +f:function(e,t){var n={};return t<32||(e.l+=16,n.header=Sp(e),n.footer=Sp(e),e.l+=2),n}}, +/*::[*/ +174:{ +/* n:"ScenMan", */}, +/*::[*/ +175:{ +/* n:"SCENARIO", */}, +/*::[*/ +176:{ +/* n:"SxView", */}, +/*::[*/ +177:{ +/* n:"Sxvd", */}, +/*::[*/ +178:{ +/* n:"SXVI", */}, +/*::[*/ +180:{ +/* n:"SxIvd", */}, +/*::[*/ +181:{ +/* n:"SXLI", */}, +/*::[*/ +182:{ +/* n:"SXPI", */}, +/*::[*/ +184:{ +/* n:"DocRoute", */}, +/*::[*/ +185:{ +/* n:"RecipName", */}, +/*::[*/ +189:{ +/* n:"MulRk", */ +f:function(e,t){for(var n=e.l+t-2,i=e.read_shift(2),r=e.read_shift(2),a=[];e.l>2&1,i.data=function(e,t,n,i){var r={},a=e.read_shift(4),s=e.read_shift(4),o=e.read_shift(4),c=e.read_shift(2);return r.patternType=Op[o>>26],i.cellStyles?(r.alc=7&a,r.fWrap=a>>3&1,r.alcV=a>>4&7,r.fJustLast=a>>7&1,r.trot=a>>8&255,r.cIndent=a>>16&15,r.fShrinkToFit=a>>20&1,r.iReadOrder=a>>22&2,r.fAtrNum=a>>26&1,r.fAtrFnt=a>>27&1,r.fAtrAlc=a>>28&1,r.fAtrBdr=a>>29&1,r.fAtrPat=a>>30&1,r.fAtrProt=a>>31&1,r.dgLeft=15&s,r.dgRight=s>>4&15,r.dgTop=s>>8&15,r.dgBottom=s>>12&15,r.icvLeft=s>>16&127,r.icvRight=s>>23&127,r.grbitDiag=s>>30&3,r.icvTop=127&o,r.icvBottom=o>>7&127,r.icvDiag=o>>14&127,r.dgDiag=o>>21&15,r.icvFore=127&c,r.icvBack=c>>7&127,r.fsxButton=c>>14&1,r):r}(e,0,i.fStyle,n),i}}, +/*::[*/ +225:{ +/* n:"InterfaceHdr", */ +f:function(e,t){return 0===t||e.read_shift(2),1200}}, +/*::[*/ +226:{ +/* n:"InterfaceEnd", */ +f:hg}, +/*::[*/ +227:{ +/* n:"SXVS", */}, +/*::[*/ +229:{ +/* n:"MergeCells", */ +f:function(e,t){for(var n=[],i=e.read_shift(2);i--;)n.push(Eg(e));return n}}, +/*::[*/ +233:{ +/* n:"BkHim", */}, +/*::[*/ +235:{ +/* n:"MsoDrawingGroup", */}, +/*::[*/ +236:{ +/* n:"MsoDrawing", */}, +/*::[*/ +237:{ +/* n:"MsoDrawingSelection", */}, +/*::[*/ +239:{ +/* n:"PhoneticInfo", */}, +/*::[*/ +240:{ +/* n:"SxRule", */}, +/*::[*/ +241:{ +/* n:"SXEx", */}, +/*::[*/ +242:{ +/* n:"SxFilt", */}, +/*::[*/ +244:{ +/* n:"SxDXF", */}, +/*::[*/ +245:{ +/* n:"SxItm", */}, +/*::[*/ +246:{ +/* n:"SxName", */}, +/*::[*/ +247:{ +/* n:"SxSelect", */}, +/*::[*/ +248:{ +/* n:"SXPair", */}, +/*::[*/ +249:{ +/* n:"SxFmla", */}, +/*::[*/ +251:{ +/* n:"SxFormat", */}, +/*::[*/ +252:{ +/* n:"SST", */ +f:function(e,t){for(var n=e.l+t,i=e.read_shift(4),r=e.read_shift(4),a=[],s=0;s!=r&&e.l255)throw new Error("Unexpected SupBook type: "+a);for(var s=mg(e,a),o=[];i>e.l;)o.push(bg(e));return[a,r,s,o]}}, +/*::[*/ +431:{ +/* n:"Prot4Rev", */ +f:dg}, +/*::[*/ +432:{ +/* n:"CondFmt", */}, +/*::[*/ +433:{ +/* n:"CF", */}, +/*::[*/ +434:{ +/* n:"DVal", */}, +/*::[*/ +437:{ +/* n:"DConBin", */}, +/*::[*/ +438:{ +/* n:"TxO", */ +f:function(e,t,n){var i=e.l,r="";try{e.l+=4;var a=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(a)?e.l+=6:function(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);return e.l+=2,[t,n]}(e);var s=e.read_shift(2);e.read_shift(2),ug(e);var o=e.read_shift(2);e.l+=o;for(var c=1;c=(l?s:2*s))break}if(r.length!==s&&r.length!==2*s)throw new Error("cchText: "+s+" != "+r.length);return e.l=i+t,{t:r}}catch(h){return e.l=i+t,{t:r}}}}, +/*::[*/ +439:{ +/* n:"RefreshAll", */ +f:dg}, +/*::[*/ +440:{ +/* n:"HLink", */ +f:function(e,t){var n=Eg(e);e.l+=16;var i=function(e,t){var n=e.l+t,i=e.read_shift(4);if(2!==i)throw new Error("Unrecognized streamVersion: "+i);var r=e.read_shift(2);e.l+=2;var a,s,o,c,l,h,d="";16&r&&(a=wg(e,e.l)),128&r&&(s=wg(e,e.l)),257&~r||(o=wg(e,e.l)),1==(257&r)&&(c=yg(e,e.l)),8&r&&(d=wg(e,e.l)),32&r&&(l=e.read_shift(16)),64&r&&(h=Qp(e +/*, 8*/)),e.l=n;var u=s||o||c||"";u&&d&&(u+="#"+d),u||(u="#"+d),2&r&&"/"==u.charAt(0)&&"/"!=u.charAt(1)&&(u="file://"+u);var f={Target:u};return l&&(f.guid=l),h&&(f.time=h),a&&(f.Tooltip=a),f}(e,t-24);return[n,i]}}, +/*::[*/ +441:{ +/* n:"Lel", */}, +/*::[*/ +442:{ +/* n:"CodeName", */ +f:bg}, +/*::[*/ +443:{ +/* n:"SXFDBType", */}, +/*::[*/ +444:{ +/* n:"Prot4RevPass", */ +f:ug}, +/*::[*/ +445:{ +/* n:"ObNoMacros", */}, +/*::[*/ +446:{ +/* n:"Dv", */}, +/*::[*/ +448:{ +/* n:"Excel9File", */ +f:hg}, +/*::[*/ +449:{ +/* n:"RecalcId", */ +f:function(e){return e.read_shift(2),e.read_shift(4)},r:2}, +/*::[*/ +450:{ +/* n:"EntExU2", */ +f:hg}, +/*::[*/ +512:{ +/* n:"Dimensions", */ +f:Og}, +/*::[*/ +513:{ +/* n:"Blank", */ +f:Gg}, +/*::[*/ +515:{ +/* n:"Number", */ +f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var i=Tg(e),r=Sp(e);return i.val=r,i}}, +/*::[*/ +516:{ +/* n:"Label", */ +f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5),e.l;var i=Tg(e);2==n.biff&&e.l++;var r=bg(e,e.l,n);return i.val=r,i}}, +/*::[*/ +517:{ +/* n:"BoolErr", */ +f:Ng}, +/*::[*/ +519:{ +/* n:"String", */ +f:$g}, +/*::[*/ +520:{ +/* n:"Row", */ +f:function(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var n=e.read_shift(2);e.l+=4;var i=e.read_shift(1);return e.l+=3,7&i&&(t.level=7&i),32&i&&(t.hidden=!0),64&i&&(t.hpt=n/20),t}}, +/*::[*/ +523:{ +/* n:"Index", */}, +/*::[*/ +545:{ +/* n:"Array", */ +f:zg}, +/*::[*/ +549:{ +/* n:"DefaultRowHeight", */ +f:Rg}, +/*::[*/ +566:{ +/* n:"Table", */}, +/*::[*/ +574:{ +/* n:"Window2", */ +f:function(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:64&e.read_shift(2)}}}, +/*::[*/ +638:{ +/* n:"RK", */ +f:function(e){var t=e.read_shift(2),n=e.read_shift(2),i=Ag(e);return{r:t,c:n,ixfe:i[0],rknum:i[1]}}}, +/*::[*/ +659:{ +/* n:"Style", */}, +/*::[*/ +1048:{ +/* n:"BigName", */}, +/*::[*/ +1054:{ +/* n:"Format", */ +f:function(e,t,n){return[e.read_shift(2),vg(e,0,n)]}}, +/*::[*/ +1084:{ +/* n:"ContinueBigName", */}, +/*::[*/ +1212:{ +/* n:"ShrFmla", */ +f:function(e,t,n){var i=kg(e);e.l++;var r=e.read_shift(1);return[Ib(e,t-=8,n),r,i]}}, +/*::[*/ +2048:{ +/* n:"HLinkTooltip", */ +f:function(e,t){e.read_shift(2);var n=Eg(e),i=e.read_shift((t-10)/2,"dbcs-cont");return[n,i=i.replace(sd,"")]}}, +/*::[*/ +2049:{ +/* n:"WebPub", */}, +/*::[*/ +2050:{ +/* n:"QsiSXTag", */}, +/*::[*/ +2051:{ +/* n:"DBQueryExt", */}, +/*::[*/ +2052:{ +/* n:"ExtString", */}, +/*::[*/ +2053:{ +/* n:"TxtQry", */}, +/*::[*/ +2054:{ +/* n:"Qsir", */}, +/*::[*/ +2055:{ +/* n:"Qsif", */}, +/*::[*/ +2056:{ +/* n:"RRDTQSIF", */}, +/*::[*/ +2057:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +2058:{ +/* n:"OleDbConn", */}, +/*::[*/ +2059:{ +/* n:"WOpt", */}, +/*::[*/ +2060:{ +/* n:"SXViewEx", */}, +/*::[*/ +2061:{ +/* n:"SXTH", */}, +/*::[*/ +2062:{ +/* n:"SXPIEx", */}, +/*::[*/ +2063:{ +/* n:"SXVDTEx", */}, +/*::[*/ +2064:{ +/* n:"SXViewEx9", */}, +/*::[*/ +2066:{ +/* n:"ContinueFrt", */}, +/*::[*/ +2067:{ +/* n:"RealTimeData", */}, +/*::[*/ +2128:{ +/* n:"ChartFrtInfo", */}, +/*::[*/ +2129:{ +/* n:"FrtWrapper", */}, +/*::[*/ +2130:{ +/* n:"StartBlock", */}, +/*::[*/ +2131:{ +/* n:"EndBlock", */}, +/*::[*/ +2132:{ +/* n:"StartObject", */}, +/*::[*/ +2133:{ +/* n:"EndObject", */}, +/*::[*/ +2134:{ +/* n:"CatLab", */}, +/*::[*/ +2135:{ +/* n:"YMult", */}, +/*::[*/ +2136:{ +/* n:"SXViewLink", */}, +/*::[*/ +2137:{ +/* n:"PivotChartBits", */}, +/*::[*/ +2138:{ +/* n:"FrtFontList", */}, +/*::[*/ +2146:{ +/* n:"SheetExt", */}, +/*::[*/ +2147:{ +/* n:"BookExt", */ +r:12}, +/*::[*/ +2148:{ +/* n:"SXAddl", */}, +/*::[*/ +2149:{ +/* n:"CrErr", */}, +/*::[*/ +2150:{ +/* n:"HFPicture", */}, +/*::[*/ +2151:{ +/* n:"FeatHdr", */ +f:hg}, +/*::[*/ +2152:{ +/* n:"Feat", */}, +/*::[*/ +2154:{ +/* n:"DataLabExt", */}, +/*::[*/ +2155:{ +/* n:"DataLabExtContents", */}, +/*::[*/ +2156:{ +/* n:"CellWatch", */}, +/*::[*/ +2161:{ +/* n:"FeatHdr11", */}, +/*::[*/ +2162:{ +/* n:"Feature11", */}, +/*::[*/ +2164:{ +/* n:"DropDownObjIds", */}, +/*::[*/ +2165:{ +/* n:"ContinueFrt11", */}, +/*::[*/ +2166:{ +/* n:"DConn", */}, +/*::[*/ +2167:{ +/* n:"List12", */}, +/*::[*/ +2168:{ +/* n:"Feature12", */}, +/*::[*/ +2169:{ +/* n:"CondFmt12", */}, +/*::[*/ +2170:{ +/* n:"CF12", */}, +/*::[*/ +2171:{ +/* n:"CFEx", */}, +/*::[*/ +2172:{ +/* n:"XFCRC", */ +f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12}, +/*::[*/ +2173:{ +/* n:"XFExt", */ +f:function(e,t){e.l,e.l+=2;var n=e.read_shift(2);e.l+=2;for(var i=e.read_shift(2),r=[];i-- >0;)r.push(Jm(e,e.l));return{ixfe:n,ext:r}},r:12}, +/*::[*/ +2174:{ +/* n:"AutoFilter12", */}, +/*::[*/ +2175:{ +/* n:"ContinueFrt12", */}, +/*::[*/ +2180:{ +/* n:"MDTInfo", */}, +/*::[*/ +2181:{ +/* n:"MDXStr", */}, +/*::[*/ +2182:{ +/* n:"MDXTuple", */}, +/*::[*/ +2183:{ +/* n:"MDXSet", */}, +/*::[*/ +2184:{ +/* n:"MDXProp", */}, +/*::[*/ +2185:{ +/* n:"MDXKPI", */}, +/*::[*/ +2186:{ +/* n:"MDB", */}, +/*::[*/ +2187:{ +/* n:"PLV", */}, +/*::[*/ +2188:{ +/* n:"Compat12", */ +f:dg,r:12}, +/*::[*/ +2189:{ +/* n:"DXF", */}, +/*::[*/ +2190:{ +/* n:"TableStyles", */ +r:12}, +/*::[*/ +2191:{ +/* n:"TableStyle", */}, +/*::[*/ +2192:{ +/* n:"TableStyleElement", */}, +/*::[*/ +2194:{ +/* n:"StyleExt", */}, +/*::[*/ +2195:{ +/* n:"NamePublish", */}, +/*::[*/ +2196:{ +/* n:"NameCmt", */ +f:function(e,t,n){if(!(n.biff<8)){var i=e.read_shift(2),r=e.read_shift(2);return[mg(e,i,n),mg(e,r,n)]}e.l+=t},r:12}, +/*::[*/ +2197:{ +/* n:"SortData", */}, +/*::[*/ +2198:{ +/* n:"Theme", */ +f:function(e,t,n){var i=e.l+t;if(124226!==e.read_shift(4))if(n.cellStyles){var r,a=e.slice(e.l);e.l=i;try{r=Uu(a,{type:"array"})}catch(o){return}var s=ku(r,"theme/theme/theme1.xml",!0);if(s)return Km(s,n)}else e.l=i},r:12}, +/*::[*/ +2199:{ +/* n:"GUIDTypeLib", */}, +/*::[*/ +2200:{ +/* n:"FnGrp12", */}, +/*::[*/ +2201:{ +/* n:"NameFnGrp12", */}, +/*::[*/ +2202:{ +/* n:"MTRSettings", */ +f:function(e){return[0!==e.read_shift(4),0!==e.read_shift(4),e.read_shift(4)]},r:12}, +/*::[*/ +2203:{ +/* n:"CompressPictures", */ +f:hg}, +/*::[*/ +2204:{ +/* n:"HeaderFooter", */}, +/*::[*/ +2205:{ +/* n:"CrtLayout12", */}, +/*::[*/ +2206:{ +/* n:"CrtMlFrt", */}, +/*::[*/ +2207:{ +/* n:"CrtMlFrtContinue", */}, +/*::[*/ +2211:{ +/* n:"ForceFullCalculation", */ +f:function(e){var t=function(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e.read_shift(4)}}, +/*::[*/ +2212:{ +/* n:"ShapePropsStream", */}, +/*::[*/ +2213:{ +/* n:"TextPropsStream", */}, +/*::[*/ +2214:{ +/* n:"RichTextStream", */}, +/*::[*/ +2215:{ +/* n:"CrtLayout12A", */}, +/*::[*/ +4097:{ +/* n:"Units", */}, +/*::[*/ +4098:{ +/* n:"Chart", */}, +/*::[*/ +4099:{ +/* n:"Series", */}, +/*::[*/ +4102:{ +/* n:"DataFormat", */}, +/*::[*/ +4103:{ +/* n:"LineFormat", */}, +/*::[*/ +4105:{ +/* n:"MarkerFormat", */}, +/*::[*/ +4106:{ +/* n:"AreaFormat", */}, +/*::[*/ +4107:{ +/* n:"PieFormat", */}, +/*::[*/ +4108:{ +/* n:"AttachedLabel", */}, +/*::[*/ +4109:{ +/* n:"SeriesText", */}, +/*::[*/ +4116:{ +/* n:"ChartFormat", */}, +/*::[*/ +4117:{ +/* n:"Legend", */}, +/*::[*/ +4118:{ +/* n:"SeriesList", */}, +/*::[*/ +4119:{ +/* n:"Bar", */}, +/*::[*/ +4120:{ +/* n:"Line", */}, +/*::[*/ +4121:{ +/* n:"Pie", */}, +/*::[*/ +4122:{ +/* n:"Area", */}, +/*::[*/ +4123:{ +/* n:"Scatter", */}, +/*::[*/ +4124:{ +/* n:"CrtLine", */}, +/*::[*/ +4125:{ +/* n:"Axis", */}, +/*::[*/ +4126:{ +/* n:"Tick", */}, +/*::[*/ +4127:{ +/* n:"ValueRange", */}, +/*::[*/ +4128:{ +/* n:"CatSerRange", */}, +/*::[*/ +4129:{ +/* n:"AxisLine", */}, +/*::[*/ +4130:{ +/* n:"CrtLink", */}, +/*::[*/ +4132:{ +/* n:"DefaultText", */}, +/*::[*/ +4133:{ +/* n:"Text", */}, +/*::[*/ +4134:{ +/* n:"FontX", */ +f:ug}, +/*::[*/ +4135:{ +/* n:"ObjectLink", */}, +/*::[*/ +4146:{ +/* n:"Frame", */}, +/*::[*/ +4147:{ +/* n:"Begin", */}, +/*::[*/ +4148:{ +/* n:"End", */}, +/*::[*/ +4149:{ +/* n:"PlotArea", */}, +/*::[*/ +4154:{ +/* n:"Chart3d", */}, +/*::[*/ +4156:{ +/* n:"PicF", */}, +/*::[*/ +4157:{ +/* n:"DropBar", */}, +/*::[*/ +4158:{ +/* n:"Radar", */}, +/*::[*/ +4159:{ +/* n:"Surf", */}, +/*::[*/ +4160:{ +/* n:"RadarArea", */}, +/*::[*/ +4161:{ +/* n:"AxisParent", */}, +/*::[*/ +4163:{ +/* n:"LegendException", */}, +/*::[*/ +4164:{ +/* n:"ShtProps", */ +f:function(e,t,n){var i={area:!1};if(5!=n.biff)return e.l+=t,i;var r=e.read_shift(1);return e.l+=3,16&r&&(i.area=!0),i}}, +/*::[*/ +4165:{ +/* n:"SerToCrt", */}, +/*::[*/ +4166:{ +/* n:"AxesUsed", */}, +/*::[*/ +4168:{ +/* n:"SBaseRef", */}, +/*::[*/ +4170:{ +/* n:"SerParent", */}, +/*::[*/ +4171:{ +/* n:"SerAuxTrend", */}, +/*::[*/ +4174:{ +/* n:"IFmtRecord", */}, +/*::[*/ +4175:{ +/* n:"Pos", */}, +/*::[*/ +4176:{ +/* n:"AlRuns", */}, +/*::[*/ +4177:{ +/* n:"BRAI", */}, +/*::[*/ +4187:{ +/* n:"SerAuxErrBar", */}, +/*::[*/ +4188:{ +/* n:"ClrtClient", */ +f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(_g(e));return n}}, +/*::[*/ +4189:{ +/* n:"SerFmt", */}, +/*::[*/ +4191:{ +/* n:"Chart3DBarShape", */}, +/*::[*/ +4192:{ +/* n:"Fbi", */}, +/*::[*/ +4193:{ +/* n:"BopPop", */}, +/*::[*/ +4194:{ +/* n:"AxcExt", */}, +/*::[*/ +4195:{ +/* n:"Dat", */}, +/*::[*/ +4196:{ +/* n:"PlotGrowth", */}, +/*::[*/ +4197:{ +/* n:"SIIndex", */}, +/*::[*/ +4198:{ +/* n:"GelFrame", */}, +/*::[*/ +4199:{ +/* n:"BopPopCustom", */}, +/*::[*/ +4200:{ +/* n:"Fbi2", */}, +/*::[*/ +0:{ +/* n:"Dimensions", */ +f:Og}, +/*::[*/ +1:{ +/* n:"BIFF2BLANK", */}, +/*::[*/ +2:{ +/* n:"BIFF2INT", */ +f:function(e){var t=Tg(e);++e.l;var n=e.read_shift(2);return t.t="n",t.val=n,t}}, +/*::[*/ +3:{ +/* n:"BIFF2NUM", */ +f:function(e){var t=Tg(e);++e.l;var n=Sp(e);return t.t="n",t.val=n,t}}, +/*::[*/ +4:{ +/* n:"BIFF2STR", */ +f:function(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var i=Tg(e);++e.l;var r=vg(e,0,n);return i.t="str",i.val=r,i}}, +/*::[*/ +5:{ +/* n:"BoolErr", */ +f:Ng}, +/*::[*/ +7:{ +/* n:"String", */ +f:function(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}}, +/*::[*/ +8:{ +/* n:"BIFF2ROW", */}, +/*::[*/ +9:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +11:{ +/* n:"Index", */}, +/*::[*/ +22:{ +/* n:"ExternCount", */ +f:ug}, +/*::[*/ +30:{ +/* n:"BIFF2FORMAT", */ +f:Ig}, +/*::[*/ +31:{ +/* n:"BIFF2FMTCNT", */}, +/* 16-bit cnt of BIFF2FORMAT records */ +/*::[*/ +32:{ +/* n:"BIFF2COLINFO", */}, +/*::[*/ +33:{ +/* n:"Array", */ +f:zg}, +/*::[*/ +36:{ +/* n:"COLWIDTH", */}, +/*::[*/ +37:{ +/* n:"DefaultRowHeight", */ +f:Rg}, +// 0x2c ?? +// 0x2d ?? +// 0x2e ?? +// 0x30 FONTCOUNT: number of fonts +/*::[*/ +50:{ +/* n:"BIFF2FONTXTRA", */ +f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}}, +// 0x35: INFOOPTS +// 0x36: TABLE (BIFF2 only) +// 0x37: TABLE2 (BIFF2 only) +// 0x38: WNDESK +// 0x39 ?? +// 0x3a: BEGINPREF +// 0x3b: ENDPREF +/*::[*/ +62:{ +/* n:"BIFF2WINDOW2", */}, +// 0x3f ?? +// 0x46: SHOWSCROLL +// 0x47: SHOWFORMULA +// 0x48: STATUSBAR +// 0x49: SHORTMENUS +// 0x4A: +// 0x4B: +// 0x4C: +// 0x4E: +// 0x4F: +// 0x58: TOOLBAR (BIFF3) +/* - - - */ +/*::[*/ +52:{ +/* n:"DDEObjName", */}, +/*::[*/ +67:{ +/* n:"BIFF2XF", */}, +/*::[*/ +68:{ +/* n:"BIFF2XFINDEX", */ +f:ug}, +/*::[*/ +69:{ +/* n:"BIFF2FONTCLR", */}, +/*::[*/ +86:{ +/* n:"BIFF4FMTCNT", */}, +/* 16-bit cnt, similar to BIFF2 */ +/*::[*/ +126:{ +/* n:"RK", */}, +/* Not necessarily same as 0x027e */ +/*::[*/ +127:{ +/* n:"ImData", */ +f:function(e){var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(4),r={fmt:t,env:n,len:i,data:e.slice(e.l,e.l+i)};return e.l+=i,r}}, +/*::[*/ +135:{ +/* n:"Addin", */}, +/*::[*/ +136:{ +/* n:"Edg", */}, +/*::[*/ +137:{ +/* n:"Pub", */}, +// 0x8A +// 0x8B LH: alternate menu key flag (BIFF3/4) +// 0x8E +// 0x8F +/*::[*/ +145:{ +/* n:"Sub", */}, +// 0x93 STYLE +/*::[*/ +148:{ +/* n:"LHRecord", */}, +/*::[*/ +149:{ +/* n:"LHNGraph", */}, +/*::[*/ +150:{ +/* n:"Sound", */}, +// 0xA2 FNPROTO: function prototypes (BIFF4) +// 0xA3 +// 0xA8 +/*::[*/ +169:{ +/* n:"CoordList", */}, +/*::[*/ +171:{ +/* n:"GCW", */}, +/*::[*/ +188:{ +/* n:"ShrFmla", */}, +/* Not necessarily same as 0x04bc */ +/*::[*/ +191:{ +/* n:"ToolbarHdr", */}, +/*::[*/ +192:{ +/* n:"ToolbarEnd", */}, +/*::[*/ +194:{ +/* n:"AddMenu", */}, +/*::[*/ +195:{ +/* n:"DelMenu", */}, +/*::[*/ +214:{ +/* n:"RString", */ +f:function(e,t,n){var i=e.l+t,r=Tg(e),a=e.read_shift(2),s=mg(e,a,n);return e.l=i,r.t="str",r.val=s,r}}, +/*::[*/ +223:{ +/* n:"UDDesc", */}, +/*::[*/ +234:{ +/* n:"TabIdConf", */}, +/*::[*/ +354:{ +/* n:"XL5Modify", */}, +/*::[*/ +421:{ +/* n:"FileSharing2", */}, +/*::[*/ +518:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +521:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +536:{ +/* n:"Lbl", */ +f:Bg}, +/*::[*/ +547:{ +/* n:"ExternName", */ +f:Lg}, +/*::[*/ +561:{ +/* n:"Font", */}, +/*::[*/ +579:{ +/* n:"BIFF3XF", */}, +/*::[*/ +1030:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +1033:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +1091:{ +/* n:"BIFF4XF", */}, +/*::[*/ +2157:{ +/* n:"FeatInfo", */}, +/*::[*/ +2163:{ +/* n:"FeatInfo11", */}, +/*::[*/ +2177:{ +/* n:"SXAddl12", */}, +/*::[*/ +2240:{ +/* n:"AutoWebPub", */}, +/*::[*/ +2241:{ +/* n:"ListObj", */}, +/*::[*/ +2242:{ +/* n:"ListField", */}, +/*::[*/ +2243:{ +/* n:"ListDV", */}, +/*::[*/ +2244:{ +/* n:"ListCondFmt", */}, +/*::[*/ +2245:{ +/* n:"ListCF", */}, +/*::[*/ +2246:{ +/* n:"FMQry", */}, +/*::[*/ +2247:{ +/* n:"FMSQry", */}, +/*::[*/ +2248:{ +/* n:"PLV", */}, +/*::[*/ +2249:{ +/* n:"LnExt", */}, +/*::[*/ +2250:{ +/* n:"MkrExt", */}, +/*::[*/ +2251:{ +/* n:"CrtCoopt", */}, +/*::[*/ +2262:{ +/* n:"FRTArchId$", */ +r:12}, +/*::[*/ +29282:{}};function iy(e,t,n,i){var r=t;if(!isNaN(r)){var a=(n||[]).length||0,s=e.next(4);s.write_shift(2,r),s.write_shift(2,a), +/*:: len != null &&*/ +a>0&&Rf(n)&&e.push(n)}}function ry(e,t){var n=t,i=n.dense?[]:{},r=(e=e.replace(//g,"")).match(/
");var a=e.match(/<\/table/i),s=r.index,o=a&&a.index||e.length,c=xu(e.slice(s,o),/(:?]*>)/i,""),l=-1,h=0,d=0,u=0,f={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(s=0;s/i);for(o=0;o"))>-1;)y=y.slice(w+1);for(var x=0;x")));u=T.colspan?+T.colspan:1,((d=+T.rowspan)>1||u>1)&&p.push({s:{r:l,c:h},e:{r:l+(d||1)-1,c:h+u-1}});var D=T.t||T["data-t"]||"";if(y.length)if(y=tf(y),f.s.r>l&&(f.s.r=l),f.e.rh&&(f.s.c=h),f.e.cn||r[l].s.c>s||r[l].e.r1&&(f.rowspan=o),c>1&&(f.colspan=c),i.editable?u=''+u+"":d&&(f["data-t"]=d&&d.t||"z",null!=d.v&&(f["data-v"]=d.v),null!=d.z&&(f["data-z"]=d.z),d.l&&"#"!=(d.l.Target||"#").charAt(0)&&(u=''+u+"")),f.id=(i.id||"sjs")+"-"+h,a.push(cf("td",u,f))}}return""+a.join("")+""}function sy(e,t,n){var i=n||{},r=0,a=0;if(null!=i.origin)if("number"==typeof i.origin)r=i.origin;else{var s="string"==typeof i.origin?ap(i.origin):i.origin;r=s.r,a=s.c}var o=t.getElementsByTagName("tr"),c=Math.min(i.sheetRows||1e7,o.length),l={s:{r:0,c:0},e:{r:r,c:a}};if(e["!ref"]){var h=op(e["!ref"]);l.s.r=Math.min(l.s.r,h.s.r),l.s.c=Math.min(l.s.c,h.s.c),l.e.r=Math.max(l.e.r,h.e.r),l.e.c=Math.max(l.e.c,h.e.c),-1==r&&(l.e.r=r=h.e.r+1)}var d=[],u=0,f=e["!rows"]||(e["!rows"]=[]),p=0,g=0,m=0,b=0,v=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p1||y>1)&&d.push({s:{r:g+r,c:b+a},e:{r:g+r+(v||1)-1,c:b+a+(y||1)-1}});var E={t:"s",v:T},k=_.getAttribute("data-t")||_.getAttribute("t")||"";null!=T&&(0==T.length?E.t=k||"z":i.raw||0==T.trim().length||"s"==k||("TRUE"===T?E={t:"b",v:!0}:"FALSE"===T?E={t:"b",v:!1}:isNaN(vu(T))?isNaN(wu(T).getDate())||(E={t:"d",v:pu(T)},i.cellDates||(E={t:"n",v:au(E.v)}),E.z=i.dateNF||bd[14]):E={t:"n",v:vu(T)})),void 0===E.z&&null!=D&&(E.z=D);var S="",C=_.getElementsByTagName("A");if(C&&C.length)for(var U=0;U=c&&(e["!fullref"]=cp((l.e.r=o.length-p+g-1+r,l))),e}function oy(e,t){return sy((t||{}).dense?[]:{},e,t)}function cy(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}var ly={ +/* ods name: [short ssf fmt, long ssf fmt] */ +day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"], +/* there is no native representation of LO "Q" format */ +quarter:["\\Qm",'m\\"th quarter"']};function hy(e,t){var n,i,r,a,s,o,c,l,h=t||{},d=lf(e),u=[],f={name:""},p="",g=0,m={},b=[],v=h.dense?[]:{},y={value:""},w="",x=0,_=[],T=-1,D=-1,A={s:{r:1e6,c:1e7},e:{r:0,c:0}},E=0,k={},S=[],C={},U=[],F=1,M=1,R=[],I={Names:[]},O={},N=["",""],P=[],L={},W="",B=0,j=!1,z=!1,H=0;for(hf.lastIndex=0,d=d.replace(//gm,"").replace(//gm,"");s=hf.exec(d);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(A.e.c>=A.s.c&&A.e.r>=A.s.r?v["!ref"]=cp(A):v["!ref"]="A1:A1",h.sheetRows>0&&h.sheetRows<=A.e.r&&(v["!fullref"]=v["!ref"],A.e.r=h.sheetRows-1,v["!ref"]=cp(A)),S.length&&(v["!merges"]=S),U.length&&(v["!rows"]=U),r.name=r["名称"]||r.name,"undefined"!=typeof JSON&&JSON.stringify(r),b.push(r.name),m[r.name]=v,z=!1):"/"!==s[0].charAt(s[0].length-2)&&(r=Lu(s[0],!1),T=D=-1,A.s.r=A.s.c=1e7,A.e.r=A.e.c=0,v=h.dense?[]:{},S=[],U=[],z=!0);break;case"table-row-group":"/"===s[1]?--E:++E;break;case"table-row":case"行":if("/"===s[1]){T+=F,F=1;break}if((a=Lu(s[0],!1))["行号"]?T=a["行号"]-1:-1==T&&(T=0),(F=+a["number-rows-repeated"]||1)<10)for(H=0;H0&&(U[T+H]={level:E});D=-1;break;case"covered-table-cell":"/"!==s[1]&&++D,h.sheetStubs&&(h.dense?(v[T]||(v[T]=[]),v[T][D]={t:"z"}):v[sp({r:T,c:D})]={t:"z"}),w="",_=[];break; +/* stub */case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++D,y=Lu(s[0],!1),M=parseInt(y["number-columns-repeated"]||"1",10),o={t:"z",v:null +/*:: , z:null, w:"",c:[]*/},y.formula&&0!=h.cellFormula&&(o.f=Vb(zu(y.formula))),"string"==(y["数据类型"]||y["value-type"])&&(o.t="s",o.v=zu(y["string-value"]||""),h.dense?(v[T]||(v[T]=[]),v[T][D]=o):v[sp({r:T,c:D})]=o),D+=M-1;else if("/"!==s[1]){w="",x=0,_=[],M=1;var V=F?T+F-1:T;if(++D>A.e.c&&(A.e.c=D),DA.e.r&&(A.e.r=V),P=[],L={},o={t:(y=Lu(s[0],!1))["数据类型"]||y["value-type"],v:null +/*:: , z:null, w:"",c:[]*/},h.cellFormula)if(y.formula&&(y.formula=zu(y.formula)),y["number-matrix-columns-spanned"]&&y["number-matrix-rows-spanned"]&&(C={s:{r:T,c:D},e:{r:T+(parseInt(y["number-matrix-rows-spanned"],10)||0)-1,c:D+(parseInt(y["number-matrix-columns-spanned"],10)||0)-1}},o.F=cp(C),R.push([C,o.F])),y.formula)o.f=Vb(y.formula);else for(H=0;H=R[H][0].s.r&&T<=R[H][0].e.r&&D>=R[H][0].s.c&&D<=R[H][0].e.c&&(o.F=R[H][1]);switch((y["number-columns-spanned"]||y["number-rows-spanned"])&&(C={s:{r:T,c:D},e:{r:T+(parseInt(y["number-rows-spanned"],10)||0)-1,c:D+(parseInt(y["number-columns-spanned"],10)||0)-1}},S.push(C)),y["number-columns-repeated"]&&(M=parseInt(y["number-columns-repeated"],10)),o.t){case"boolean":o.t="b",o.v=$u(y["boolean-value"]);break;case"float":case"percentage":case"currency":o.t="n",o.v=parseFloat(y.value);break;case"date":o.t="d",o.v=pu(y["date-value"]),h.cellDates||(o.t="n",o.v=au(o.v)),o.z="m/d/yy";break;case"time":o.t="n",o.v=hu(y["time-value"])/86400,h.cellDates&&(o.t="d",o.v=lu(o.v)),o.z="HH:MM:SS";break;case"number":o.t="n",o.v=parseFloat(y["数据数值"]);break;default:if("string"!==o.t&&"text"!==o.t&&o.t)throw new Error("Unsupported value type "+o.t);o.t="s",null!=y["string-value"]&&(w=zu(y["string-value"]),_=[])}}else{if(j=!1,"s"===o.t&&(o.v=w||"",_.length&&(o.R=_),j=0==x),O.Target&&(o.l=O),P.length>0&&(o.c=P,P=[]),w&&!1!==h.cellText&&(o.w=w),j&&(o.t="z",delete o.v),(!j||h.sheetStubs)&&!(h.sheetRows&&h.sheetRows<=T))for(var G=0;G0;)v[T+G][D+M]=mu(o);else for(v[sp({r:T+G,c:D})]=o;--M>0;)v[sp({r:T+G,c:D+M})]=mu(o);A.e.c<=D&&(A.e.c=D)}D+=(M=parseInt(y["number-columns-repeated"]||"1",10))-1,M=0,o={ +/*:: t:"", v:null, z:null, w:"",c:[]*/},w="",_=[]}O={};break; +// 9.1.4 +/* pure state */case"document": +// TODO: is the root for FODS +case"document-content":case"电子表格文档": +// 3.1.3.2 +case"spreadsheet":case"主体": +// 3.7 +case"scripts": +// 3.12 +case"styles": +// TODO +case"font-face-decls": +// 3.14 +case"master-styles":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n;L.t=w,_.length&&(L.R=_),L.a=W,P.push(L)}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);W="",B=0,w="",x=0,_=[];break;case"creator":"/"===s[1]?W=d.slice(B,s.index):B=s.index+s[0].length;break; +/* ignore state */case"meta":case"元数据": +// TODO: FODS/UOF +case"settings": +// TODO: +case"config-item-set": +// TODO: +case"config-item-map-indexed": +// TODO: +case"config-item-map-entry": +// TODO: +case"config-item-map-named": +// TODO: +case"shapes": +// 9.2.8 +case"frame": +// 10.4.2 +case"text-box": +// 10.4.3 +case"image": +// 10.4.4 +case"data-pilot-tables": +// 9.6.2 +case"list-style": +// 16.30 +case"form": +// 13.13 +case"dde-links": +// 9.8 +case"event-listeners": +// TODO +case"chart":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);w="",x=0,_=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script": +// 3.13 +case"libraries": +// TODO: +case"automatic-styles": +// 3.15.3 +case"default-style": +// TODO: +case"page-layout": +// TODO: +case"style":case"map": +// 16.3 +case"font-face": +// 16.21 +case"paragraph-properties": +// 17.6 +case"table-properties": +// 17.15 +case"table-column-properties": +// 17.16 +case"table-row-properties": +// 17.17 +case"table-cell-properties": +// 17.18 +case"fraction": +// TODO 16.27.6 +case"boolean-style": +// 16.27.23 +case"boolean": +// 16.27.24 +case"text-style": +// 16.27.25 +case"text-content": +// 16.27.27 +case"text-properties": +// 16.27.27 +case"embedded-text": +// 16.27.4 +case"body":case"电子表格": +// 3.3 16.9.6 19.726.3 +case"forms": +// 12.25.2 13.2 +case"table-column": +// 9.1.6 +case"table-header-rows": +// 9.1.7 +case"table-rows": +// 9.1.12 +/* TODO: outline levels */case"table-column-group": +// 9.1.10 +case"table-header-columns": +// 9.1.11 +case"table-columns": +// 9.1.12 +case"null-date": +// 9.4.2 TODO: date1904 +case"graphic-properties": +// 17.21 +case"calculation-settings": +// 9.4.1 +case"named-expressions": +// 9.4.11 +case"label-range": +// 9.4.9 +case"label-ranges": +// 9.4.10 +case"named-expression": +// 9.4.13 +case"sort": +// 9.4.19 +case"sort-by": +// 9.4.20 +case"sort-groups": +// 9.4.22 +case"tab": +// 6.1.4 +case"line-break": +// 6.1.5 +case"span": +// 6.1.7 +// +case"s": +// +case"date": +// <*:date> +case"object": +// 10.4.6.2 +case"title":case"标题": +// <*:title> OR +case"desc": +// <*:desc> +case"binary-data": +// 10.4.5 TODO: b64 blob +/* 9.2 Advanced Tables */case"table-source": +// 9.2.6 +case"scenario": +// 9.2.6 +case"iteration": +// 9.4.3 +case"content-validations": +// 9.4.4 +case"filter": +// 9.5.2 +case"filter-and": +// 9.5.3 +case"filter-or": +// 9.5.4 +case"filter-condition": +// 9.5.5 +case"list-level-style-bullet": +// 16.31 +case"page-count": +// TODO +case"time": +// TODO +/* 9.3 Advanced Table Cells */case"cell-range-source": +// 9.3.1 +case"property": +// 13.8 +/* non-standard */ +case"table-protection":case"data-pilot-grand-total": +// +case"percentage-style": +// 16.27.9 +case"date-style": +// 16.27.10 +case"time-style":if("/"===s[1]){if(k[f.name]=p,(n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(p="",f=Lu(s[0],!1),u.push([s[3],!0]));break;case"number":case"day": +// 16.27.11 +case"month": +// 16.27.12 +case"year": +// 16.27.13 +case"era": +// 16.27.14 +case"day-of-week": +// 16.27.15 +case"week-of-year": +// 16.27.16 +case"quarter": +// 16.27.17 +case"hours": +// 16.27.19 +case"minutes": +// 16.27.20 +case"seconds": +// 16.27.21 +case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":i=Lu(s[0],!1),p+=ly[s[3]]["long"===i.style?1:0]}break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":p+=d.slice(g,s.index)}else g=s.index+s[0].length;break;case"named-range":N=Gb((i=Lu(s[0],!1))["cell-range-address"]);var X={Name:i.name,Ref:N[0]+"!"+N[1]};z&&(X.Sheet=b.length),I.Names.push(X);break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==s[1]||y&&y["string-value"])Lu(s[0],!1),x=s.index+s[0].length;else{var $=(c=d.slice(x,s.index),l=void 0,l=c.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/]*\/>/g,"\t").replace(//g,"\n"),[zu(l.replace(/<[^>]*>/g,""))]);w=(w.length>0?w+"\n":"")+$[0]}break;case"database-range":if("/"===s[1])break;try{m[(N=Gb(Lu(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:N[1]}}catch(Y){}break;case"a":if("/"!==s[1]){if(!(O=Lu(s[0],!1)).href)break;O.Target=zu(O.href),delete O.href,"#"==O.Target.charAt(0)&&O.Target.indexOf(".")>-1?(N=Gb(O.Target.slice(1)),O.Target="#"+N[0]+"!"+N[1]):O.Target.match(/^\.\.[\\\/]/)&&(O.Target=O.Target.slice(3))}break;default:switch(s[2]){case"dc:": +// TODO: properties +case"calcext:": +// ignore undocumented extensions +case"loext:": +// ignore undocumented extensions +case"ooo:": +// ignore undocumented extensions +case"chartooo:": +// ignore undocumented extensions +case"draw:": +// TODO: drawing +case"style:": +// TODO: styles +case"chart:": +// TODO: charts +case"form:": +// TODO: forms +case"uof:": +// TODO: uof +case"表:": +// TODO: uof +case"字:":break;default:if(h.WTF)throw new Error(s)}}var q={Sheets:m,SheetNames:b,Workbook:I};return h.bookSheets&&delete/*::(*/ +q.Sheets,q}function dy(e,t){t=t||{},Du(e,"META-INF/manifest.xml")&&function(e,t){for(var n,i,r=lf(e);n=hf.exec(r);)switch(n[3]){case"manifest":break; +// 4.2 +case"file-entry":if("/"==(i=Lu(n[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==i.type)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data": +// 4.4 +case"algorithm": +// 4.5 +case"start-key-generation": +// 4.6 +case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}(Eu(e,"META-INF/manifest.xml"),t);var n=ku(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=hy(Ju(n),t);return Du(e,"meta.xml")&&(i.Props=Xp(Eu(e,"meta.xml"))),i}function uy(e,t){return hy(e,t)} +/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function fy(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function py(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Ju(id(e))}function gy(e){var t=e.reduce((function(e,t){return e+t.length}),0),n=new Uint8Array(t),i=0;return e.forEach((function(e){n.set(e,i),i+=e.length})),n}function my(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function by(e,t){var n=t?t[0]:0,i=127&e[n];e:if(e[n++]>=128){if(i|=(127&e[n])<<7,e[n++]<128)break e;if(i|=(127&e[n])<<14,e[n++]<128)break e;if(i|=(127&e[n])<<21,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),i}function vy(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function yy(e){for(var t=[],n=[0];n[0]=128;);i=e.slice(c,n[0]);break;case 5:o=4,i=e.slice(n[0],n[0]+o),n[0]+=o;break;case 1:o=8,i=e.slice(n[0],n[0]+o),n[0]+=o;break;case 2:o=by(e,n),i=e.slice(n[0],n[0]+o),n[0]+=o;break;default:throw new Error("PB Type ".concat(s," for Field ").concat(a," at offset ").concat(r))}var l={data:i,type:s};null==t[a]?t[a]=[l]:t[a].push(l)}return t}function wy(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function xy(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var n=[0],i=by(t,n),r=[];n[0]>2&7),s=(224&t[n[0]++])<<3,s|=t[n[0]++]):(o=1+(t[n[0]++]>>2),2==a?(s=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(s=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),r=[gy(r)],0==s)throw new Error("Invalid offset 0");if(s>r[0].length)throw new Error("Invalid offset beyond length");if(o>=s)for(r.push(r[0].slice(-s)),o-=s;o>=r[r.length-1].length;)r.push(r[r.length-1]),o-=r[r.length-1].length;r.push(r[0].slice(-s,-s+o))}else{var c=t[n[0]++]>>2;if(c<60)++c;else{var l=c-59;c=t[n[0]],l>1&&(c|=t[n[0]+1]<<8),l>2&&(c|=t[n[0]+2]<<16),l>3&&(c|=t[n[0]+3]<<24),c>>>=0,c++,n[0]+=l}r.push(t.slice(n[0],n[0]+c)),n[0]+=c}}var h=gy(r);if(h.length!=i)throw new Error("Unexpected length: ".concat(h.length," != ").concat(i));return h}function _y(e,t,n){var i,r=fy(e),a=r.getUint32(8,!0),s=12,o=-1,c=-1,l=NaN,h=NaN,d=new Date(2001,0,1);switch(1&a&&(l=function(e,t){for(var n=(127&e[t+15])<<7|e[t+14]>>1,i=1&e[t+14],r=t+13;r>=t;--r)i=256*i+e[r];return(128&e[t+15]?-i:i)*Math.pow(10,n-6176)}(e,s),s+=16),2&a&&(h=r.getFloat64(s,!0),s+=8),4&a&&(d.setTime(d.getTime()+1e3*r.getFloat64(s,!0)),s+=8),8&a&&(c=r.getUint32(s,!0),s+=4),16&a&&(o=r.getUint32(s,!0),s+=4),e[1]){case 0:break;case 2:case 10:i={t:"n",v:l};break;case 3:i={t:"s",v:t[c]};break;case 5:i={t:"d",v:d};break;case 6:i={t:"b",v:h>0};break;case 7:i={t:"n",v:h/86400};break;case 8:i={t:"e",v:0};break;case 9:if(!(o>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&a," : ").concat(e.slice(0,4)));i={t:"s",v:n[o]};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&a," : ").concat(e.slice(0,4)))}return i}function Ty(e,t,n){switch(e[0]){case 0:case 1:case 2:case 3:return function(e,t,n,i){var r,a=fy(e),s=a.getUint32(4,!0),o=(i>1?12:8)+4*my(s&(i>1?3470:398)),c=-1,l=-1,h=NaN,d=new Date(2001,0,1);switch(512&s&&(c=a.getUint32(o,!0),o+=4),o+=4*my(s&(i>1?12288:4096)),16&s&&(l=a.getUint32(o,!0),o+=4),32&s&&(h=a.getFloat64(o,!0),o+=8),64&s&&(d.setTime(d.getTime()+1e3*a.getFloat64(o,!0)),o+=8),e[2]){case 0:break;case 2:r={t:"n",v:h};break;case 3:r={t:"s",v:t[l]};break;case 5:r={t:"d",v:d};break;case 6:r={t:"b",v:h>0};break;case 7:r={t:"n",v:h/86400};break;case 8:r={t:"e",v:0};break;case 9:if(c>-1)r={t:"s",v:n[c]};else if(l>-1)r={t:"s",v:t[l]};else{if(isNaN(h))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));r={t:"n",v:h}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return r}(e,t,n,e[0]);case 5:return _y(e,t,n);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Dy(e){return by(yy(e)[1][0].data)}function Ay(e,t){var n=yy(t.data),i=vy(n[1][0].data),r=n[3],a=[];return(r||[]).forEach((function(t){var n=yy(t.data),r=vy(n[1][0].data)>>>0;switch(i){case 1:a[r]=py(n[3][0].data);break;case 8:var s=yy(e[Dy(n[9][0].data)][0].data),o=e[Dy(s[1][0].data)][0],c=vy(o.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var l=yy(o.data);a[r]=l[3].map((function(e){return py(e.data)})).join("")}})),a}function Ey(e,t){var n,i=yy(t.data),r=(null==(n=null==i?void 0:i[7])?void 0:n[0])?vy(i[7][0].data)>>>0>0?1:0:-1,a=wy(i[5],(function(e){return function(e,t){var n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v=yy(e),y=vy(v[1][0].data)>>>0,w=vy(v[2][0].data)>>>0,x=(null==(i=null==(n=v[8])?void 0:n[0])?void 0:i.data)&&vy(v[8][0].data)>0||!1;if((null==(a=null==(r=v[7])?void 0:r[0])?void 0:a.data)&&0!=t)m=null==(o=null==(s=v[7])?void 0:s[0])?void 0:o.data,b=null==(l=null==(c=v[6])?void 0:c[0])?void 0:l.data;else{if(!(null==(d=null==(h=v[4])?void 0:h[0])?void 0:d.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");m=null==(f=null==(u=v[4])?void 0:u[0])?void 0:f.data,b=null==(g=null==(p=v[3])?void 0:p[0])?void 0:g.data}for(var _=x?4:1,T=fy(m),D=[],A=0;A=1&&(k[D[D.length-1][0]]=b.subarray(D[D.length-1][1]*_)),{R:y,cells:k}}(e,r)}));return{nrows:vy(i[4][0].data)>>>0,data:a.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(n,i){if(e[t.R][i])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(i));e[t.R][i]=n})),e}),[])}}function ky(e,t){var n={"!ref":"A1"},i=e[Dy(yy(t.data)[2][0].data)],r=vy(i[0].meta[1][0].data);if(6001!=r)throw new Error("6000 unexpected reference to ".concat(r));return function(e,t,n){var i,r=yy(t.data),a={s:{r:0,c:0},e:{r:0,c:0}};if(a.e.r=(vy(r[6][0].data)>>>0)-1,a.e.r<0)throw new Error("Invalid row varint ".concat(r[6][0].data));if(a.e.c=(vy(r[7][0].data)>>>0)-1,a.e.c<0)throw new Error("Invalid col varint ".concat(r[7][0].data));n["!ref"]=cp(a);var s=yy(r[4][0].data),o=Ay(e,e[Dy(s[4][0].data)][0]),c=(null==(i=s[17])?void 0:i[0])?Ay(e,e[Dy(s[17][0].data)][0]):[],l=yy(s[3][0].data),h=0;l[1].forEach((function(t){var i=yy(t.data),r=e[Dy(i[2][0].data)][0],a=vy(r.meta[1][0].data);if(6002!=a)throw new Error("6001 unexpected reference to ".concat(a));var s=Ey(0,r);s.data.forEach((function(e,t){e.forEach((function(e,i){var r=sp({r:h+t,c:i}),a=Ty(e,o,c);a&&(n[r]=a)}))})),h+=s.nrows}))}(e,i[0],n),n}function Sy(e,t){var n={SheetNames:[],Sheets:{}};if(wy(yy(t.data)[1],Dy).forEach((function(t){e[t].forEach((function(t){if(2==vy(t.meta[1][0].data)){var i=function(e,t){var n,i=yy(t.data),r={name:(null==(n=i[1])?void 0:n[0])?py(i[1][0].data):"",sheets:[]};return wy(i[2],Dy).forEach((function(t){e[t].forEach((function(t){6e3==vy(t.meta[1][0].data)&&r.sheets.push(ky(e,t))}))})),r}(e,t);i.sheets.forEach((function(e,t){$y(n,e,0==t?i.name:i.name+"_"+t,!0)}))}}))})),0==n.SheetNames.length)throw new Error("Empty NUMBERS file");return n}function Cy(e){var t,n,i,r,a={},s=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,n;try{t=function(e){for(var t=[],n=0;n>>0>0),n.push(s)}return n}(t)}catch(i){return}n.forEach((function(e){a[e.id]=e.messages,s.push(e.id)}))}})),!s.length)throw new Error("File has no messages");var o=(null==(r=null==(i=null==(n=null==(t=null==a?void 0:a[1])?void 0:t[0])?void 0:n.meta)?void 0:i[1])?void 0:r[0].data)&&1==vy(a[1][0].meta[1][0].data)&&a[1][0];if(o||s.forEach((function(e){a[e].forEach((function(e){if(1==vy(e.meta[1][0].data)>>>0){if(o)throw new Error("Document has multiple roots");o=e}}))})),!o)throw new Error("Cannot find Document root");return Sy(a,o)}function Uy(e){var t;(t=[["cellNF",!1], +/* emit cell number format string as .z */ +["cellHTML",!0], +/* emit html string as .h */ +["cellFormula",!0], +/* emit formulae as .f */ +["cellStyles",!1], +/* emits style/theme as .s */ +["cellText",!0], +/* emit formatted text as .w */ +["cellDates",!1], +/* emit date cells with type `d` */ +["sheetStubs",!1], +/* emit empty cells */ +["sheetRows",0,"n"], +/* read n rows (0 = read all rows) */ +["bookDeps",!1], +/* parse calculation chains */ +["bookSheets",!1], +/* only try to get sheet names (no Sheets) */ +["bookProps",!1], +/* only try to get properties (no Sheets) */ +["bookFiles",!1], +/* include raw file structure (keys, files, cfb) */ +["bookVBA",!1], +/* include vba raw data (vbaraw) */ +["password",""], +/* password */ +["WTF",!1] +/* WTF mode (throws errors) */],function(e){for(var n=0;n!=t.length;++n){var i=t[n];void 0===e[i[0]]&&(e[i[0]]=i[1]),"n"===i[2]&&(e[i[0]]=Number(e[i[0]]))}})(e)}function Fy(e,t,n,i,r,a,s,o,c,l,h,d){try{a[i]=Hp(ku(e,n,!0),t);var u,f=Eu(e,t);switch(o){case"sheet":u=Ev(f,t,r,c,a[i],l,h,d);break;case"chart":if(!(u=kv(f,t,r,c,a[i],l))||!u["!drawel"])break;var p=Fu(u["!drawel"].Target,t),g=zp(p),m=function(e,t){if(!e)return"??";var n=(e.match(/]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}(ku(e,p,!0),Hp(ku(e,g,!0),p)),b=Fu(m,p),v=zp(b);u=pv(ku(e,b,!0),0,0,Hp(ku(e,v,!0),b),0,u);break;case"macro":w=t,a[i],w.slice(-4),u={"!type":"macro"};break;case"dialog":u=function(e,t){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,a[i]);break;default:throw new Error("Unrecognized sheet type "+o)}s[i]=u;var y=[];a&&a[i]&&nu(a[i]).forEach((function(n){var r="";if(a[i][n].Type==jp.CMNT){r=Fu(a[i][n].Target,t);var s=Uv(Eu(e,r,!0),r,c);if(!s||!s.length)return;Qm(u,s,!1)}a[i][n].Type==jp.TCMNT&&(r=Fu(a[i][n].Target,t),y=y.concat(function(e,t){var n=[],i=!1,r={},a=0;return e.replace(Ou,(function(s,o){var c=Lu(s);switch(Wu(c[0])){case"": +/* 2.6.205 threadedComment CT_ThreadedComment */ +/* 2.6.202 mention CT_Mention TODO */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"":case"":case"":break; +/* 18.2.7 ext CT_Extension + */case"":null!=r.t&&n.push(r);break;case"":case"":r.t=e.slice(a,o).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break; +/* 2.6.206 mentions CT_ThreadedCommentMentions TODO */case"":case"":case"":i=!1;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return s})),n}(Eu(e,r,!0),c)))})),y&&y.length&&Qm(u,y,!0,c.people||[])}catch(x){if(c.WTF)throw x}var w}function My(e){return"/"==e.charAt(0)?e.slice(1):e}function Ry(e,t){if(Zd(),Uy(t=t||{}),Du(e,"META-INF/manifest.xml"))return dy(e,t);if(Du(e,"objectdata.xml"))return dy(e,t);if(Du(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(void 0!==Cy){if(e.FileIndex)return Cy(e);var n=tu.utils.cfb_new();return Su(e).forEach((function(t){Cu(n,t,function(e,t){return Tu(Au(e,t))}(e,t))})),Cy(n)}throw new Error("Unsupported NUMBERS file")}if(!Du(e,"[Content_Types].xml")){if(Du(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Du(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var i,r,a=Su(e),s=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var n={};if((e.match(Ou)||[]).forEach((function(e){var i=Lu(e);switch(i[0].replace(Nu,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}(ku(e,"[Content_Types].xml")),o=!1;if(0===s.workbooks.length&&Eu(e,r="xl/workbook.xml",!0)&&s.workbooks.push(r),0===s.workbooks.length){if(!Eu(e,r="xl/workbook.bin",!0))throw new Error("Could not find workbook");s.workbooks.push(r),o=!0}"bin"==s.workbooks[0].slice(-3)&&(o=!0);var c={},l={};if(!t.bookSheets&&!t.bookProps){if(Xb=[],s.sst)try{Xb=Cv(Eu(e,My(s.sst)),s.sst,t)}catch(U){if(t.WTF)throw U}t.cellStyles&&s.themes.length&&(c=function(e,t,n){return Km(e,n)}(ku(e,s.themes[0].replace(/^\//,""),!0)||"",s.themes[0],t)),s.style&&(l=Sv(Eu(e,My(s.style)),s.style,c,t))}s.links.map((function(n){try{Hp(ku(e,zp(My(n))),n);return Mv(Eu(e,My(n)),0,n,t)}catch(U){}}));var h=Av(Eu(e,My(s.workbooks[0])),s.workbooks[0],t),d={},u="";s.coreprops.length&&((u=Eu(e,My(s.coreprops[0]),!0))&&(d=Xp(u)),0!==s.extprops.length&&(u=Eu(e,My(s.extprops[0]),!0))&&function(e,t,n){var i={};t||(t={}),e=Ju(e),$p.forEach((function(n){var r=(e.match(ef(n[0]))||[])[1];switch(n[2]){case"string":r&&(t[n[1]]=zu(r));break;case"bool":t[n[1]]="true"===r;break;case"raw":var a=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)"));a&&a.length>0&&(i[n[1]]=a[1])}})),i.HeadingPairs&&i.TitlesOfParts&&qp(i.HeadingPairs,i.TitlesOfParts,t,n)}(u,d,t));var f={};t.bookSheets&&!t.bookProps||0!==s.custprops.length&&(u=ku(e,My(s.custprops[0]),!0))&&(f=function(e,t){var n={},i="",r=e.match(Yp);if(r)for(var a=0;a!=r.length;++a){var s=r[a],o=Lu(s);switch(o[0]){case"":i=null;break;default:if(0===s.indexOf(""),l=c[0].slice(4),h=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":n[i]=zu(h);break;case"bool":n[i]=$u(h);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[i]=parseInt(h,10);break;case"r4":case"r8":case"decimal":n[i]=parseFloat(h);break;case"filetime":case"date":n[i]=pu(h);break;default:if("/"==l.slice(-1))break;t.WTF}}else if("0&&(i=d.SheetNames),t.bookProps&&(p.Props=d,p.Custprops=f),t.bookSheets&&void 0!==i&&(p.SheetNames=i),t.bookSheets?p.SheetNames:t.bookProps))return p;i={};var g={};t.bookDeps&&s.calcchain&&(g=Fv(Eu(e,My(s.calcchain)),s.calcchain));var m,b,v=0,y={},w=h.Sheets;d.Worksheets=w.length,d.SheetNames=[];for(var x=0;x!=w.length;++x)d.SheetNames[x]=w[x].name;var _=o?"bin":"xml",T=s.workbooks[0].lastIndexOf("/"),D=(s.workbooks[0].slice(0,T+1)+"_rels/"+s.workbooks[0].slice(T+1)+".rels").replace(/^\//,"");Du(e,D)||(D="xl/_rels/workbook."+_+".rels");var A=Hp(ku(e,D,!0),D.replace(/_rels.*/,"s5s"));(s.metadata||[]).length>=1&&(t.xlmeta=Rv(Eu(e,My(s.metadata[0])),s.metadata[0],t)),(s.people||[]).length>=1&&(t.people=function(e,t){var n=[],i=!1;return e.replace(Ou,(function(e){var r=Lu(e);switch(Wu(r[0])){case"": +/* 2.6.203 person CT_Person TODO: providers */case"": +/* 18.2.10 extLst CT_ExtensionList ? */case"":case"":case"":break; +/* 18.2.7 ext CT_Extension + */case"":i=!1;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+r[0]+" in threaded comments")}return e})),n}(Eu(e,My(s.people[0])),t)),A&&(A=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,(n=e["!id"][t.id].Type,jp.WS.indexOf(n)>-1?"sheet":n==jp.CS?"chart":n==jp.DS?"dialog":n==jp.MS?"macro":n&&n.length?n:"sheet")];var n}))}catch(U){return null}return e&&0!==e.length?e:null}(A,h.Sheets));var E=Eu(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=d.Worksheets;++v){var k="sheet";if(A&&A[v]?(m="xl/"+A[v][1].replace(/[\/]?xl\//,""),Du(e,m)||(m=A[v][1]),Du(e,m)||(m=D.replace(/_rels\/.*$/,"")+A[v][1]),k=A[v][2]):m=(m="xl/worksheets/sheet"+(v+1-E)+"."+_).replace(/sheet0\./,"sheet."),b=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(d.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var S=!1,C=0;C!=t.sheets.length;++C)"number"==typeof t.sheets[C]&&t.sheets[C]==v&&(S=1),"string"==typeof t.sheets[C]&&t.sheets[C].toLowerCase()==d.SheetNames[v].toLowerCase()&&(S=1);if(!S)continue e}}Fy(e,m,b,d.SheetNames[v],v,y,i,k,t,h,c,l)}return p={Directory:s,Workbook:h,Props:d,Custprops:f,Deps:g,Sheets:i,SheetNames:d.SheetNames,Strings:Xb,Styles:l,Themes:c,SSF:mu(bd)},t&&t.bookFiles&&(e.files?(p.keys=a,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(s.vba.length>0?p.vbaraw=Eu(e,My(s.vba[0]),!0):s.defaults&&"application/vnd.ms-office.vbaProject"===s.defaults.bin&&(p.vbaraw=Eu(e,"xl/vbaProject.bin",!0))),p}function Iy(e,t){var n,i,r=t||{},a="Workbook",s=tu.find(e,a);try{if(a="/!DataSpaces/Version",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(n=s.content,(i={}).id=n.read_shift(0,"lpp4"),i.R=dm(n,4),i.U=dm(n,4),i.W=dm(n,4),a="/!DataSpaces/DataSpaceMap",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(um(e));return t}(s.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var c=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(e.read_shift(0,"lpp4"));return t}(s.content);if(1!=c.length||"StrongEncryptionTransform"!=c[0])throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);fm(s.content)}catch(h){}if(a="/EncryptionInfo",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=function(e){var t=dm(e);switch(t.Minor){case 2:return[t.Minor,mm(e)];case 3:return[t.Minor,bm()];case 4:return[t.Minor,vm(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(s.content);if(a="/EncryptedPackage",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(4==l[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(l[1],s.content,r.password||"",r);if(2==l[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(l[1],s.content,r.password||"",r);throw new Error("File is password-protected")}function Oy(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=Zh(e.slice(0,12));break;case"binary":n=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function Ny(e,t){var n=0;e:for(;n=2&&0===i[3])return em.to_workbook(r,n);if(0===i[2]&&(8===i[3]||9===i[3]))return em.to_workbook(r,n)}break;case 3:case 131:case 139:case 140:return Yg.to_workbook(r,n);case 123:if(92===i[1]&&114===i[2]&&116===i[3])return Tm.to_workbook(r,n);break;case 10:case 13:case 32:return function(e,t){var n="",i=Oy(e,t);switch(t.type){case"base64":n=Zh(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=gu(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==i[0]&&187==i[1]&&191==i[2]&&(n=Ju(n)),t.type="binary",Ny(n,t)}(r,n);case 137:if(80===i[1]&&78===i[2]&&71===i[3])throw new Error("PNG Image File is not a spreadsheet")}return qg.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?Yg.to_workbook(r,n):Py(e,r,n,a)}function Wy(e,t,n,i,r,a,s,o){var c=np(n),l=o.defval,h=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),d=!0,u=1===r?[]:{};if(1!==r)if(Object.defineProperty)try{Object.defineProperty(u,"__rowNum__",{value:n,enumerable:!1})}catch(m){u.__rowNum__=n}else u.__rowNum__=n;if(!s||e[n])for(var f=t.s.c;f<=t.e.c;++f){var p=s?e[n][f]:e[i[f]+c];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=a[f]){if(null==g)if("e"==p.t&&null===g)u[a[f]]=null;else if(void 0!==l)u[a[f]]=l;else{if(!h||null!==g)continue;u[a[f]]=null}else u[a[f]]=h&&("n"!==p.t||"n"===p.t&&!1!==o.rawNumbers)?g:dp(p,g,o);null!=g&&(d=!1)}}else{if(void 0===l)continue;null!=a[f]&&(u[a[f]]=l)}}return{row:u,isempty:d}}function By(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},i=0,r=1,a=[],s=0,o="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},h=null!=l.range?l.range:e["!ref"];switch(1===l.header?i=1:"A"===l.header?i=2:Array.isArray(l.header)?i=3:null==l.header&&(i=0),typeof h){case"string":c=lp(h);break;case"number":(c=lp(e["!ref"])).s.r=h;break;default:c=h}i>0&&(r=0);var d=np(c.s.r),u=[],f=[],p=0,g=0,m=Array.isArray(e),b=c.s.r,v=0,y={};m&&!e[b]&&(e[b]=[]);var w=l.skipHidden&&e["!cols"]||[],x=l.skipHidden&&e["!rows"]||[];for(v=c.s.c;v<=c.e.c;++v)if(!(w[v]||{}).hidden)switch(u[v]=rp(v),n=m?e[b][v]:e[u[v]+d],i){case 1:a[v]=v-c.s.c;break;case 2:a[v]=u[v];break;case 3:a[v]=l.header[v-c.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),o=s=dp(n,null,l),g=y[s]||0){do{o=s+"_"+g++}while(y[o]);y[s]=g,y[o]=1}else y[s]=1;a[v]=o}for(b=c.s.r+r;b<=c.e.r;++b)if(!(x[b]||{}).hidden){var _=Wy(e,c,b,u,i,a,m,l);(!1===_.isempty||(1===i?!1!==l.blankrows:l.blankrows))&&(f[p++]=_.row)}return f.length=p,f}var jy=/"/g;function zy(e,t,n,i,r,a,s,o){for(var c=!0,l=[],h="",d=np(n),u=t.s.c;u<=t.e.c;++u)if(i[u]){var f=o.dense?(e[n]||[])[u]:e[i[u]+d];if(null==f)h="";else if(null!=f.v){c=!1,h=""+(o.rawNumbers&&"n"==f.t?f.v:dp(f,null,o));for(var p=0,g=0;p!==h.length;++p)if((g=h.charCodeAt(p))===r||g===a||34===g||o.forceQuotes){h='"'+h.replace(jy,'""')+'"';break}"ID"==h&&(h='"ID"')}else null==f.f||f.F?h="":(c=!1,(h="="+f.f).indexOf(",")>=0&&(h='"'+h.replace(jy,'""')+'"'));l.push(h)}return!1===o.blankrows&&c?null:l.join(s)}function Hy(e,t){var n=[],i=null==t?{}:t;if(null==e||null==e["!ref"])return"";var r=lp(e["!ref"]),a=void 0!==i.FS?i.FS:",",s=a.charCodeAt(0),o=void 0!==i.RS?i.RS:"\n",c=o.charCodeAt(0),l=new RegExp(("|"==a?"\\|":a)+"+$"),h="",d=[];i.dense=Array.isArray(e);for(var u=i.skipHidden&&e["!cols"]||[],f=i.skipHidden&&e["!rows"]||[],p=r.s.c;p<=r.e.c;++p)(u[p]||{}).hidden||(d[p]=rp(p));for(var g=0,m=r.s.r;m<=r.e.r;++m)(f[m]||{}).hidden||null!=(h=zy(e,r,m,d,s,c,a,i))&&(i.strip&&(h=h.replace(l,"")),(h||!1!==i.blankrows)&&n.push((g++?o:"")+h));return delete i.dense,n.join("")}function Vy(e,t,n){var i,r=n||{},a=+!r.skipHeader,s=e||{},o=0,c=0;if(null!=r.origin)if("number"==typeof r.origin)o=r.origin;else{var l="string"==typeof r.origin?ap(r.origin):r.origin;o=l.r,c=l.c}var h={s:{c:0,r:0},e:{c:c,r:o+t.length-1+a}};if(s["!ref"]){var d=lp(s["!ref"]);h.e.c=Math.max(h.e.c,d.e.c),h.e.r=Math.max(h.e.r,d.e.r),-1==o&&(o=d.e.r+1,h.e.r=o+t.length-1+a)}else-1==o&&(o=0,h.e.r=t.length-1+a);var u=r.header||[],f=0;t.forEach((function(e,t){nu(e).forEach((function(n){-1==(f=u.indexOf(n))&&(u[f=u.length]=n);var l=e[n],h="z",d="",p=sp({c:c+f,r:o+t+a});i=Gy(s,p),!l||"object"!=typeof l||l instanceof Date?("number"==typeof l?h="n":"boolean"==typeof l?h="b":"string"==typeof l?h="s":l instanceof Date?(h="d",r.cellDates||(h="n",l=au(l)),d=r.dateNF||bd[14]):null===l&&r.nullError&&(h="e",l=0),i?(i.t=h,i.v=l,delete i.w,delete i.R,d&&(i.z=d)):s[p]=i={t:h,v:l},d&&(i.z=d)):s[p]=l}))})),h.e.c=Math.max(h.e.c,c+u.length-1);var p=np(o);if(a)for(f=0;f=65535)throw new Error("Too many worksheets");if(i&&e.SheetNames.indexOf(n)>=0){var a=n.match(/(^.*?)(\d+)$/);r=a&&+a[2]||0;var s=a&&a[1]||n;for(++r;r<=65535&&-1!=e.SheetNames.indexOf(n=s+r);++r);}if(function(e){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");_v.forEach((function(t){if(-1!=e.indexOf(t))throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}))}(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n}function qy(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}var Yy={encode_col:rp,encode_row:np,encode_cell:sp,encode_range:cp,decode_col:ip,decode_row:tp,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:ap,decode_range:op,format_cell:dp,sheet_add_aoa:fp,sheet_add_json:Vy,sheet_add_dom:sy,aoa_to_sheet:pp,json_to_sheet:function(e,t){return Vy(null,e,t)},table_to_sheet:oy,table_to_book:function(e,t){return up(oy(e,t),t)},sheet_to_csv:Hy,sheet_to_txt:function(e,t){return t||(t={}),t.FS="\t",t.RS="\n",Hy(e,t)},sheet_to_json:By,sheet_to_html:function(e,t){var n=t||{},i=null!=n.header?n.header:'SheetJS Table Export',r=null!=n.footer?n.footer:"",a=[i],s=op(e["!ref"]);n.dense=Array.isArray(e),a.push(function(e,t,n){return[].join("")+""}(0,0,n));for(var o=s.s.r;o<=s.e.r;++o)a.push(ay(e,s,o,n));return a.push("
"+r),a.join("")},sheet_to_formulae:function(e){var t,n="",i="";if(null==e||null==e["!ref"])return[];var r,a=lp(e["!ref"]),s="",o=[],c=[],l=Array.isArray(e);for(r=a.s.c;r<=a.e.c;++r)o[r]=rp(r);for(var h=a.s.r;h<=a.e.r;++h)for(s=np(h),r=a.s.c;r<=a.e.c;++r)if(n=o[r]+s,i="",void 0!==(t=l?(e[h]||[])[r]:e[n])){if(null!=t.F){if(n=t.F,!t.f)continue;i=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)i=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)i=""+t.v;else if("b"==t.t)i=t.v?"TRUE":"FALSE";else if(void 0!==t.w)i="'"+t.w;else{if(void 0===t.v)continue;i="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=n+"="+i}return c},sheet_to_row_object_array:By,sheet_get_cell:Gy,book_new:Xy,book_append_sheet:$y,book_set_sheet_visibility:function(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var i=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[i]||(e.Workbook.Sheets[i]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[i].Hidden=n},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:qy,cell_set_internal_link:function(e,t,n){return qy(e,"#"+t,n)},cell_add_comment:function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},sheet_set_array_formula:function(e,t,n,i){for(var r="string"!=typeof t?t:lp(t),a="string"==typeof t?t:cp(t),s=r.s.r;s<=r.e.r;++s)for(var o=r.s.c;o<=r.e.c;++o){var c=Gy(e,s,o);c.t="n",c.F=a,delete c.v,s==r.s.r&&o==r.s.c&&(c.f=n,i&&(c.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}},Ky={d:(e,t)=>{for(var n in t)Ky.o(t,n)&&!Ky.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},Zy=globalThis.pdfjsLib={};Ky.d(Zy,{AbortException:()=> +/* reexport */cx,AnnotationEditorLayer:()=> +/* reexport */yA,AnnotationEditorParamsType:()=> +/* reexport */uw,AnnotationEditorType:()=> +/* reexport */dw,AnnotationEditorUIManager:()=> +/* reexport */Jx,AnnotationLayer:()=> +/* reexport */XD,AnnotationMode:()=> +/* reexport */hw,ColorPicker:()=> +/* reexport */aA,DOMSVGFactory:()=> +/* reexport */pD,DrawLayer:()=> +/* reexport */xA,FeatureTest:()=> +/* reexport */ux,GlobalWorkerOptions:()=> +/* reexport */hT,ImageKind:()=> +/* reexport */ww,InvalidPDFException:()=> +/* reexport */rx,MissingPDFException:()=> +/* reexport */ax,OPS:()=> +/* reexport */Gw,OutputScale:()=> +/* reexport */Wx,PDFDataRangeTransport:()=> +/* reexport */KT,PDFDateString:()=> +/* reexport */Rx,PDFWorker:()=> +/* reexport */tD,PasswordResponses:()=> +/* reexport */Xw,PermissionFlag:()=> +/* reexport */fw,PixelsPerInch:()=> +/* reexport */xx,RenderingCancelledException:()=> +/* reexport */Dx,TextLayer:()=> +/* reexport */WT,TouchManager:()=> +/* reexport */n_,UnexpectedResponseException:()=> +/* reexport */sx,Util:()=> +/* reexport */px,VerbosityLevel:()=> +/* reexport */Vw,XfaLayer:()=> +/* reexport */gD,build:()=> +/* reexport */lD,createValidAbsoluteUrl:()=> +/* reexport */Qw,fetchData:()=> +/* reexport */_x,getDocument:()=> +/* reexport */XT,getFilenameFromUrl:()=> +/* reexport */kx,getPdfFilenameFromUrl:()=> +/* reexport */Sx,getXfaPageViewport:()=> +/* reexport */Ix,isDataScheme:()=> +/* reexport */Ax,isPdfFile:()=> +/* reexport */Ex,noContextMenu:()=> +/* reexport */Fx,normalizeUnicode:()=> +/* reexport */bx,setLayerDimensions:()=> +/* reexport */Lx,shadow:()=> +/* reexport */ex,stopEvent:()=> +/* reexport */Mx,version:()=> +/* reexport */cD});const Jy=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),Qy=[1,0,0,1,0,0],ew=[.001,0,0,.001,0,0],tw=1.35,nw=1,iw=2,rw=4,aw=16,sw=32,ow=64,cw=128,lw=256,hw={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},dw={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},uw={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35,DRAW_STEP:41},fw={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},pw=0,gw=1,mw=2,bw=3,vw=3,yw=4,ww={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},xw=1,_w=2,Tw=3,Dw=4,Aw=5,Ew=6,kw=7,Sw=8,Cw=9,Uw=10,Fw=11,Mw=12,Rw=13,Iw=14,Ow=15,Nw=16,Pw=17,Lw=20,Ww=1,Bw=2,jw=3,zw=4,Hw=5,Vw={ERRORS:0,WARNINGS:1,INFOS:5},Gw={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},Xw={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let $w=Vw.WARNINGS;function qw(){return $w}function Yw(e){Vw.INFOS}function Kw(e){Vw.WARNINGS}function Zw(e){throw new Error(e)}function Jw(e,t){e||Zw(t)}function Qw(e,t=null,n=null){if(!e)return null;try{if(n&&"string"==typeof e){if(n.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);(null==t?void 0:t.length)>=2&&(e=`http://${e}`)}if(n.tryConvertEncoding)try{e=decodeURIComponent(escape(e))}catch{}}const i=t?new URL(e,t):new URL(e);if(function(e){switch(null==e?void 0:e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(i))return i}catch{}return null}function ex(e,t,n,i=!1){return Object.defineProperty(e,t,{value:n,enumerable:!i,configurable:!0,writable:!1}),n}const tx=function(){function e(e,t){this.message=e,this.name=t}return e.prototype=new Error,e.constructor=e,e}();class nx extends tx{constructor(e,t){super(e,"PasswordException"),this.code=t}}class ix extends tx{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}}class rx extends tx{constructor(e){super(e,"InvalidPDFException")}}class ax extends tx{constructor(e){super(e,"MissingPDFException")}}class sx extends tx{constructor(e,t){super(e,"UnexpectedResponseException"),this.status=t}}class ox extends tx{constructor(e){super(e,"FormatError")}}class cx extends tx{constructor(e){super(e,"AbortException")}}function lx(e){"object"==typeof e&&void 0!==(null==e?void 0:e.length)||Zw("Invalid argument for bytesToString");const t=e.length,n=8192;if(te.toString(16).padStart(2,"0")));class px{static makeHexColor(e,t,n){return`#${fx[e]}${fx[t]}${fx[n]}`}static scaleMinMax(e,t){let n;e[0]?(e[0]<0&&(n=t[0],t[0]=t[2],t[2]=n),t[0]*=e[0],t[2]*=e[0],e[3]<0&&(n=t[1],t[1]=t[3],t[3]=n),t[1]*=e[3],t[3]*=e[3]):(n=t[0],t[0]=t[1],t[1]=n,n=t[2],t[2]=t[3],t[3]=n,e[1]<0&&(n=t[1],t[1]=t[3],t[3]=n),t[1]*=e[1],t[3]*=e[1],e[2]<0&&(n=t[0],t[0]=t[2],t[2]=n),t[0]*=e[2],t[2]*=e[2]),t[0]+=e[4],t[1]+=e[5],t[2]+=e[4],t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){const n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}static getAxialAlignedBoundingBox(e,t){const n=this.applyTransform(e,t),i=this.applyTransform(e.slice(2,4),t),r=this.applyTransform([e[0],e[3]],t),a=this.applyTransform([e[2],e[1]],t);return[Math.min(n[0],i[0],r[0],a[0]),Math.min(n[1],i[1],r[1],a[1]),Math.max(n[0],i[0],r[0],a[0]),Math.max(n[1],i[1],r[1],a[1])]}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e){const t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],i=e[0]*t[1]+e[1]*t[3],r=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],s=(n+a)/2,o=Math.sqrt((n+a)**2-4*(n*a-r*i))/2,c=s+o||1,l=s-o||1;return[Math.sqrt(c),Math.sqrt(l)]}static normalizeRect(e){const t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){const n=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),i=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(n>i)return null;const r=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),a=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return r>a?null:[n,r,i,a]}static bezierBoundingBox(t,i,r,a,s,o,c,l,h){return h?(h[0]=Math.min(h[0],t,c),h[1]=Math.min(h[1],i,l),h[2]=Math.max(h[2],t,c),h[3]=Math.max(h[3],i,l)):h=[Math.min(t,c),Math.min(i,l),Math.max(t,c),Math.max(i,l)],Fl(this,e,n).call(this,t,r,s,c,i,a,o,l,3*(3*(r-s)-t+c),6*(t-2*r+s),3*(r-t),h),Fl(this,e,n).call(this,t,r,s,c,i,a,o,l,3*(3*(a-o)-i+l),6*(i-2*a+o),3*(a-i),h),h}}e=new WeakSet,t=function(e,t,n,i,r,a,s,o,c,l){if(c<=0||c>=1)return;const h=1-c,d=c*c,u=d*c,f=h*(h*(h*e+3*c*t)+3*d*n)+u*i,p=h*(h*(h*r+3*c*a)+3*d*s)+u*o;l[0]=Math.min(l[0],f),l[1]=Math.min(l[1],p),l[2]=Math.max(l[2],f),l[3]=Math.max(l[3],p)},n=function(n,i,r,a,s,o,c,l,h,d,u,f){if(Math.abs(h)<1e-12)return void(Math.abs(d)>=1e-12&&Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,-u/d,f));const p=d**2-4*u*h;if(p<0)return;const g=Math.sqrt(p),m=2*h;Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,(-d+g)/m,f),Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,(-d-g)/m,f)},Cl(px,e);let gx=null,mx=null;function bx(e){return gx||(gx=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,mx=new Map([["ſt","ſt"]])),e.replaceAll(gx,((e,t,n)=>t?t.normalize("NFKC"):mx.get(n)))}const vx="pdfjs_internal_id_";"function"!=typeof Promise.try&&(Promise.try=function(e,...t){return new Promise((n=>{n(e(...t))}))});const yx="http://www.w3.org/2000/svg",wx=class{};El(wx,"CSS",96),El(wx,"PDF",72),El(wx,"PDF_TO_CSS_UNITS",wx.CSS/wx.PDF);let xx=wx;async function _x(e,t="text"){if(Ux(e,document.baseURI)){const n=await fetch(e);if(!n.ok)throw new Error(n.statusText);switch(t){case"arraybuffer":return n.arrayBuffer();case"blob":return n.blob();case"json":return n.json()}return n.text()}return new Promise(((n,i)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType=t,r.onreadystatechange=()=>{if(r.readyState===XMLHttpRequest.DONE)if(200!==r.status&&0!==r.status)i(new Error(r.statusText));else{switch(t){case"arraybuffer":case"blob":case"json":return void n(r.response)}n(r.responseText)}},r.send(null)}))}class Tx{constructor({viewBox:e,userUnit:t,scale:n,rotation:i,offsetX:r=0,offsetY:a=0,dontFlip:s=!1}){this.viewBox=e,this.userUnit=t,this.scale=n,this.rotation=i,this.offsetX=r,this.offsetY=a,n*=t;const o=(e[2]+e[0])/2,c=(e[3]+e[1])/2;let l,h,d,u,f,p,g,m;switch((i%=360)<0&&(i+=360),i){case 180:l=-1,h=0,d=0,u=1;break;case 90:l=0,h=1,d=1,u=0;break;case 270:l=0,h=-1,d=-1,u=0;break;case 0:l=1,h=0,d=0,u=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}s&&(d=-d,u=-u),0===l?(f=Math.abs(c-e[1])*n+r,p=Math.abs(o-e[0])*n+a,g=(e[3]-e[1])*n,m=(e[2]-e[0])*n):(f=Math.abs(o-e[0])*n+r,p=Math.abs(c-e[1])*n+a,g=(e[2]-e[0])*n,m=(e[3]-e[1])*n),this.transform=[l*n,h*n,d*n,u*n,f-l*n*o-d*n*c,p-h*n*o-u*n*c],this.width=g,this.height=m}get rawDims(){const{userUnit:e,viewBox:t}=this,n=t.map((t=>t*e));return ex(this,"rawDims",{pageWidth:n[2]-n[0],pageHeight:n[3]-n[1],pageX:n[0],pageY:n[1]})}clone({scale:e=this.scale,rotation:t=this.rotation,offsetX:n=this.offsetX,offsetY:i=this.offsetY,dontFlip:r=!1}={}){return new Tx({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:e,rotation:t,offsetX:n,offsetY:i,dontFlip:r})}convertToViewportPoint(e,t){return px.applyTransform([e,t],this.transform)}convertToViewportRectangle(e){const t=px.applyTransform([e[0],e[1]],this.transform),n=px.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}convertToPdfPoint(e,t){return px.applyInverseTransform([e,t],this.transform)}}class Dx extends tx{constructor(e,t=0){super(e,"RenderingCancelledException"),this.extraDelay=t}}function Ax(e){const t=e.length;let n=0;for(;n=1&&r<=12?r-1:0;let a=parseInt(t[3],10);a=a>=1&&a<=31?a:1;let s=parseInt(t[4],10);s=s>=0&&s<=23?s:0;let o=parseInt(t[5],10);o=o>=0&&o<=59?o:0;let c=parseInt(t[6],10);c=c>=0&&c<=59?c:0;const l=t[7]||"Z";let h=parseInt(t[8],10);h=h>=0&&h<=23?h:0;let d=parseInt(t[9],10)||0;return d=d>=0&&d<=59?d:0,"-"===l?(s+=h,o+=d):"+"===l&&(s-=h,o-=d),new Date(Date.UTC(n,r,a,s,o,c))}}function Ix(e,{scale:t=1,rotation:n=0}){const{width:i,height:r}=e.attributes.style,a=[0,0,parseInt(i),parseInt(r)];return new Tx({viewBox:a,userUnit:1,scale:t,rotation:n})}function Ox(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(16711680&t)>>16,(65280&t)>>8,255&t]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map((e=>parseInt(e))):e.startsWith("rgba(")?e.slice(5,-1).split(",").map((e=>parseInt(e))).slice(0,3):(Kw(),[0,0,0])}function Nx(e){const{a:t,b:n,c:i,d:r,e:a,f:s}=e.getTransform();return[t,n,i,r,a,s]}function Px(e){const{a:t,b:n,c:i,d:r,e:a,f:s}=e.getTransform().invertSelf();return[t,n,i,r,a,s]}function Lx(e,t,n=!1,i=!0){if(t instanceof Tx){const{pageWidth:i,pageHeight:r}=t.rawDims,{style:a}=e,s=ux.isCSSRoundSupported,o=`var(--scale-factor) * ${i}px`,c=`var(--scale-factor) * ${r}px`,l=s?`round(down, ${o}, var(--scale-round-x, 1px))`:`calc(${o})`,h=s?`round(down, ${c}, var(--scale-round-y, 1px))`:`calc(${c})`;n&&t.rotation%180!=0?(a.width=h,a.height=l):(a.width=l,a.height=h)}i&&e.setAttribute("data-main-rotation",t.rotation)}i=new WeakMap,Cl(Rx,i);class Wx{constructor(){const e=window.devicePixelRatio||1;this.sx=e,this.sy=e}get scaled(){return 1!==this.sx||1!==this.sy}get symmetric(){return this.sx===this.sy}}const Bx=class e{constructor(t){Cl(this,u),Cl(this,r,null),Cl(this,a,null),Cl(this,s),Cl(this,o,null),Cl(this,c,null),Ul(this,s,t),Sl(e,l)||Ul(e,l,Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"}))}render(){const t=Ul(this,r,document.createElement("div"));t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");const n=Sl(this,s)._uiManager._signal;t.addEventListener("contextmenu",Fx,{signal:n}),t.addEventListener("pointerdown",Fl(e,h,d),{signal:n});const i=Ul(this,o,document.createElement("div"));i.className="buttons",t.append(i);const a=Sl(this,s).toolbarPosition;if(a){const{style:e}=t,n="ltr"===Sl(this,s)._uiManager.direction?1-a[0]:a[0];e.insetInlineEnd=100*n+"%",e.top=`calc(${100*a[1]}% + var(--editor-toolbar-vert-offset))`}return Fl(this,u,m).call(this),t}get div(){return Sl(this,r)}hide(){var e;Sl(this,r).classList.add("hidden"),null==(e=Sl(this,a))||e.hideDropdown()}show(){var e;Sl(this,r).classList.remove("hidden"),null==(e=Sl(this,c))||e.shown()}async addAltText(e){const t=await e.render();Fl(this,u,g).call(this,t),Sl(this,o).prepend(t,Sl(this,u,b)),Ul(this,c,e)}addColorPicker(e){Ul(this,a,e);const t=e.renderButton();Fl(this,u,g).call(this,t),Sl(this,o).prepend(t,Sl(this,u,b))}remove(){var e;Sl(this,r).remove(),null==(e=Sl(this,a))||e.destroy(),Ul(this,a,null)}};r=new WeakMap,a=new WeakMap,s=new WeakMap,o=new WeakMap,c=new WeakMap,l=new WeakMap,h=new WeakSet,d=function(e){e.stopPropagation()},u=new WeakSet,f=function(e){Sl(this,s)._focusEventsAllowed=!1,Mx(e)},p=function(e){Sl(this,s)._focusEventsAllowed=!0,Mx(e)},g=function(e){const t=Sl(this,s)._uiManager._signal;e.addEventListener("focusin",Fl(this,u,f).bind(this),{capture:!0,signal:t}),e.addEventListener("focusout",Fl(this,u,p).bind(this),{capture:!0,signal:t}),e.addEventListener("contextmenu",Fx,{signal:t})},m=function(){const{editorType:e,_uiManager:t}=Sl(this,s),n=document.createElement("button");n.className="delete",n.tabIndex=0,n.setAttribute("data-l10n-id",Sl(Bx,l)[e]),Fl(this,u,g).call(this,n),n.addEventListener("click",(e=>{t.delete()}),{signal:t._signal}),Sl(this,o).append(n)},b=function(){const e=document.createElement("div");return e.className="divider",e},Cl(Bx,h),Cl(Bx,l,null);let jx=Bx;class zx{constructor(e){Cl(this,x),Cl(this,v,null),Cl(this,y,null),Cl(this,w),Ul(this,w,e)}show(e,t,n){const[i,r]=Fl(this,x,T).call(this,t,n),{style:a}=Sl(this,y)||Ul(this,y,Fl(this,x,_).call(this));e.append(Sl(this,y)),a.insetInlineEnd=100*i+"%",a.top=`calc(${100*r}% + var(--editor-toolbar-vert-offset))`}hide(){Sl(this,y).remove()}}function Hx(e,t,n){for(const i of n)t.addEventListener(i,e[i].bind(e))}v=new WeakMap,y=new WeakMap,w=new WeakMap,x=new WeakSet,_=function(){const e=Ul(this,y,document.createElement("div"));e.className="editToolbar",e.setAttribute("role","toolbar"),e.addEventListener("contextmenu",Fx,{signal:Sl(this,w)._signal});const t=Ul(this,v,document.createElement("div"));return t.className="buttons",e.append(t),Fl(this,x,D).call(this),e},T=function(e,t){let n=0,i=0;for(const r of e){const e=r.y+r.height;if(en?(i=a,n=e):t?a>i&&(i=a):a{Sl(this,w).highlightSelection("floating_button")}),{signal:n}),Sl(this,v).append(e)};class Vx{constructor(){Cl(this,A,0)}get id(){return"pdfjs_internal_editor_"+Ml(this,A)._++}}A=new WeakMap;const Gx=class{constructor(){Cl(this,C),Cl(this,E,function(){if("function"==typeof crypto.randomUUID)return crypto.randomUUID();const e=new Uint8Array(32);return crypto.getRandomValues(e),lx(e)}()),Cl(this,k,0),Cl(this,S,null)}static get _isSVGFittingCanvas(){const e=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),t=new Image;t.src='data:image/svg+xml;charset=UTF-8,';return ex(this,"_isSVGFittingCanvas",t.decode().then((()=>(e.drawImage(t,0,0,1,1,0,0,1,3),0===new Uint32Array(e.getImageData(0,0,1,1).data.buffer)[0]))))}async getFromFile(e){const{lastModified:t,name:n,size:i,type:r}=e;return Fl(this,C,U).call(this,`${t}_${n}_${i}_${r}`,e)}async getFromUrl(e){return Fl(this,C,U).call(this,e,e)}async getFromBlob(e,t){const n=await t;return Fl(this,C,U).call(this,e,n)}async getFromId(e){Sl(this,S)||Ul(this,S,new Map);const t=Sl(this,S).get(e);if(!t)return null;if(t.bitmap)return t.refCounter+=1,t;if(t.file)return this.getFromFile(t.file);if(t.blobPromise){const{blobPromise:e}=t;return delete t.blobPromise,this.getFromBlob(t.id,e)}return this.getFromUrl(t.url)}getFromCanvas(e,t){Sl(this,S)||Ul(this,S,new Map);let n=Sl(this,S).get(e);if(null==n?void 0:n.bitmap)return n.refCounter+=1,n;const i=new OffscreenCanvas(t.width,t.height);return i.getContext("2d").drawImage(t,0,0),n={bitmap:i.transferToImageBitmap(),id:`image_${Sl(this,E)}_${Ml(this,k)._++}`,refCounter:1,isSvg:!1},Sl(this,S).set(e,n),Sl(this,S).set(n.id,n),n}getSvgUrl(e){const t=Sl(this,S).get(e);return(null==t?void 0:t.isSvg)?t.svgUrl:null}deleteId(e){var t;Sl(this,S)||Ul(this,S,new Map);const n=Sl(this,S).get(e);if(!n)return;if(n.refCounter-=1,0!==n.refCounter)return;const{bitmap:i}=n;if(!n.url&&!n.file){const e=new OffscreenCanvas(i.width,i.height);e.getContext("bitmaprenderer").transferFromImageBitmap(i),n.blobPromise=e.convertToBlob()}null==(t=i.close)||t.call(i),n.bitmap=null}isValidId(e){return e.startsWith(`image_${Sl(this,E)}_`)}};E=new WeakMap,k=new WeakMap,S=new WeakMap,C=new WeakSet,U=async function(e,t){Sl(this,S)||Ul(this,S,new Map);let n=Sl(this,S).get(e);if(null===n)return null;if(null==n?void 0:n.bitmap)return n.refCounter+=1,n;try{let e;if(n||(n={bitmap:null,id:`image_${Sl(this,E)}_${Ml(this,k)._++}`,refCounter:0,isSvg:!1}),"string"==typeof t?(n.url=t,e=await _x(t,"blob")):t instanceof File?e=n.file=t:t instanceof Blob&&(e=t),"image/svg+xml"===e.type){const t=Gx._isSVGFittingCanvas,i=new FileReader,r=new Image,a=new Promise(((e,a)=>{r.onload=()=>{n.bitmap=r,n.isSvg=!0,e()},i.onload=async()=>{const e=n.svgUrl=i.result;r.src=await t?`${e}#svgView(preserveAspectRatio(none))`:e},r.onerror=i.onerror=a}));i.readAsDataURL(e),await a}else n.bitmap=await createImageBitmap(e);n.refCounter=1}catch(i){Kw(),n=null}return Sl(this,S).set(e,n),n&&Sl(this,S).set(n.id,n),n};let Xx=Gx;class $x{constructor(e=128){Cl(this,F,[]),Cl(this,M,!1),Cl(this,R),Cl(this,I,-1),Ul(this,R,e)}add({cmd:e,undo:t,post:n,mustExec:i,type:r=NaN,overwriteIfSameType:a=!1,keepUndo:s=!1}){if(i&&e(),Sl(this,M))return;const o={cmd:e,undo:t,post:n,type:r};if(-1===Sl(this,I))return Sl(this,F).length>0&&(Sl(this,F).length=0),Ul(this,I,0),void Sl(this,F).push(o);if(a&&Sl(this,F)[Sl(this,I)].type===r)return s&&(o.undo=Sl(this,F)[Sl(this,I)].undo),void(Sl(this,F)[Sl(this,I)]=o);const c=Sl(this,I)+1;c===Sl(this,R)?Sl(this,F).splice(0,1):(Ul(this,I,c),c=0;t--)if(Sl(this,F)[t].type!==e)return Sl(this,F).splice(t+1,Sl(this,I)-t),void Ul(this,I,t);Sl(this,F).length=0,Ul(this,I,-1)}}destroy(){Ul(this,F,null)}}F=new WeakMap,M=new WeakMap,R=new WeakMap,I=new WeakMap;class qx{constructor(e){Cl(this,O),this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:t}=ux.platform;for(const[n,i,r={}]of e)for(const e of n){const n=e.startsWith("mac+");t&&n?(this.callbacks.set(e.slice(4),{callback:i,options:r}),this.allKeys.add(e.split("+").at(-1))):t||n||(this.callbacks.set(e,{callback:i,options:r}),this.allKeys.add(e.split("+").at(-1)))}}exec(e,t){if(!this.allKeys.has(t.key))return;const n=this.callbacks.get(Fl(this,O,N).call(this,t));if(!n)return;const{callback:i,options:{bubbles:r=!1,args:a=[],checker:s=null}}=n;s&&!s(e,t)||(i.bind(e,...a,t)(),r||Mx(t))}}O=new WeakSet,N=function(e){e.altKey&&this.buffer.push("alt"),e.ctrlKey&&this.buffer.push("ctrl"),e.metaKey&&this.buffer.push("meta"),e.shiftKey&&this.buffer.push("shift"),this.buffer.push(e.key);const t=this.buffer.join("+");return this.buffer.length=0,t};const Yx=class e{get _colors(){const e=new Map([["CanvasText",null],["Canvas",null]]);return function(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const n of e.keys()){t.style.color=n;const i=window.getComputedStyle(t).color;e.set(n,Ox(i))}t.remove()}(e),ex(this,"_colors",e)}convert(t){const n=Ox(t);if(!window.matchMedia("(forced-colors: active)").matches)return n;for(const[i,r]of this._colors)if(r.every(((e,t)=>e===n[t])))return e._colorsMapping.get(i);return n}getHexCode(e){const t=this._colors.get(e);return t?px.makeHexColor(...t):e}};El(Yx,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));let Kx=Yx;const Zx=class e{constructor(e,t,n,i,r,a,s,o,c,l,h,d,u){Cl(this,Ee),Cl(this,P,new AbortController),Cl(this,L,null),Cl(this,W,new Map),Cl(this,B,new Map),Cl(this,j,null),Cl(this,z,null),Cl(this,H,null),Cl(this,V,new $x),Cl(this,G,null),Cl(this,X,null),Cl(this,q,0),Cl(this,Y,new Set),Cl(this,K,null),Cl(this,Z,null),Cl(this,J,new Set),El(this,"_editorUndoBar",null),Cl(this,Q,!1),Cl(this,ee,!1),Cl(this,te,!1),Cl(this,ne,null),Cl(this,ie,null),Cl(this,re,null),Cl(this,ae,null),Cl(this,se,!1),Cl(this,oe,null),Cl(this,ce,new Vx),Cl(this,le,!1),Cl(this,he,!1),Cl(this,de,null),Cl(this,ue,null),Cl(this,fe,null),Cl(this,pe,null),Cl(this,ge,dw.NONE),Cl(this,me,new Set),Cl(this,be,null),Cl(this,ve,null),Cl(this,ye,null),Cl(this,we,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1}),Cl(this,xe,[0,0]),Cl(this,_e,null),Cl(this,Te,null),Cl(this,De,null),Cl(this,Ae,null);const f=this._signal=Sl(this,P).signal;Ul(this,Te,e),Ul(this,De,t),Ul(this,j,n),this._eventBus=i,i._on("editingaction",this.onEditingAction.bind(this),{signal:f}),i._on("pagechanging",this.onPageChanging.bind(this),{signal:f}),i._on("scalechanging",this.onScaleChanging.bind(this),{signal:f}),i._on("rotationchanging",this.onRotationChanging.bind(this),{signal:f}),i._on("setpreference",this.onSetPreference.bind(this),{signal:f}),i._on("switchannotationeditorparams",(e=>this.updateParams(e.type,e.value)),{signal:f}),Fl(this,Ee,Me).call(this),Fl(this,Ee,We).call(this),Fl(this,Ee,Oe).call(this),Ul(this,z,r.annotationStorage),Ul(this,ne,r.filterFactory),Ul(this,ve,a),Ul(this,ae,s||null),Ul(this,Q,o),Ul(this,ee,c),Ul(this,te,l),Ul(this,pe,h||null),this.viewParameters={realScale:xx.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=d||null,this._supportsPinchToZoom=!1!==u}static get _keyboardManager(){const t=e.prototype,n=e=>Sl(e,Te).contains(document.activeElement)&&"BUTTON"!==document.activeElement.tagName&&e.hasSomethingToControl(),i=(e,{target:t})=>{if(t instanceof HTMLInputElement){const{type:e}=t;return"text"!==e&&"number"!==e}return!0},r=this.TRANSLATE_SMALL,a=this.TRANSLATE_BIG;return ex(this,"_keyboardManager",new qx([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:i}],[["ctrl+z","mac+meta+z"],t.undo,{checker:i}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:i}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:i}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(e,{target:t})=>!(t instanceof HTMLButtonElement)&&Sl(e,Te).contains(t)&&!e.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(e,{target:t})=>!(t instanceof HTMLButtonElement)&&Sl(e,Te).contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-r,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-a,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[r,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[a,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-r],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-a],checker:n}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,r],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,a],checker:n}]]))}destroy(){var e,t,n,i,r;null==(e=Sl(this,Ae))||e.resolve(),Ul(this,Ae,null),null==(t=Sl(this,P))||t.abort(),Ul(this,P,null),this._signal=null;for(const a of Sl(this,B).values())a.destroy();Sl(this,B).clear(),Sl(this,W).clear(),Sl(this,J).clear(),Ul(this,L,null),Sl(this,me).clear(),Sl(this,V).destroy(),null==(n=Sl(this,j))||n.destroy(),null==(i=Sl(this,oe))||i.hide(),Ul(this,oe,null),Sl(this,ie)&&(clearTimeout(Sl(this,ie)),Ul(this,ie,null)),Sl(this,_e)&&(clearTimeout(Sl(this,_e)),Ul(this,_e,null)),null==(r=this._editorUndoBar)||r.destroy()}combinedSignal(e){return AbortSignal.any([this._signal,e.signal])}get mlManager(){return Sl(this,pe)}get useNewAltTextFlow(){return Sl(this,ee)}get useNewAltTextWhenAddingImage(){return Sl(this,te)}get hcmFilter(){return ex(this,"hcmFilter",Sl(this,ve)?Sl(this,ne).addHCMFilter(Sl(this,ve).foreground,Sl(this,ve).background):"none")}get direction(){return ex(this,"direction",getComputedStyle(Sl(this,Te)).direction)}get highlightColors(){return ex(this,"highlightColors",Sl(this,ae)?new Map(Sl(this,ae).split(",").map((e=>e.split("=").map((e=>e.trim()))))):null)}get highlightColorNames(){return ex(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,(e=>e.reverse()))):null)}setCurrentDrawingSession(e){e?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),Ul(this,X,e)}setMainHighlightColorPicker(e){Ul(this,fe,e)}editAltText(e,t=!1){var n;null==(n=Sl(this,j))||n.editAltText(this,e,t)}switchToMode(e,t){this._eventBus.on("annotationeditormodechanged",t,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:e})}setPreference(e,t){this._eventBus.dispatch("setpreference",{source:this,name:e,value:t})}onSetPreference({name:e,value:t}){if("enableNewAltTextWhenAddingImage"===e)Ul(this,te,t)}onPageChanging({pageNumber:e}){Ul(this,q,e-1)}focusMainContainer(){Sl(this,Te).focus()}findParent(e,t){for(const n of Sl(this,B).values()){const{x:i,y:r,width:a,height:s}=n.div.getBoundingClientRect();if(e>=i&&e<=i+a&&t>=r&&t<=r+s)return n}return null}disableUserSelect(e=!1){Sl(this,De).classList.toggle("noUserSelect",e)}addShouldRescale(e){Sl(this,J).add(e)}removeShouldRescale(e){Sl(this,J).delete(e)}onScaleChanging({scale:e}){var t;this.commitOrRemove(),this.viewParameters.realScale=e*xx.PDF_TO_CSS_UNITS;for(const n of Sl(this,J))n.onScaleChanging();null==(t=Sl(this,X))||t.onScaleChanging()}onRotationChanging({pagesRotation:e}){this.commitOrRemove(),this.viewParameters.rotation=e}highlightSelection(e=""){const t=document.getSelection();if(!t||t.isCollapsed)return;const{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:a}=t,s=t.toString(),o=Fl(this,Ee,ke).call(this,t).closest(".textLayer"),c=this.getSelectionBoxes(o);if(!c)return;t.empty();const l=Fl(this,Ee,Se).call(this,o),h=Sl(this,ge)===dw.NONE,d=()=>{null==l||l.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:e,boxes:c,anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:a,text:s}),h&&this.showAllEditors("highlight",!0,!0)};h?this.switchToMode(dw.HIGHLIGHT,d):d()}addToAnnotationStorage(e){e.isEmpty()||!Sl(this,z)||Sl(this,z).has(e.id)||Sl(this,z).setValue(e.id,e)}blur(){if(this.isShiftKeyDown=!1,Sl(this,se)&&(Ul(this,se,!1),Fl(this,Ee,Fe).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:e}=document;for(const t of Sl(this,me))if(t.div.contains(e)){Ul(this,ue,[t,e]),t._focusEventsAllowed=!1;break}}focus(){if(!Sl(this,ue))return;const[e,t]=Sl(this,ue);Ul(this,ue,null),t.addEventListener("focusin",(()=>{e._focusEventsAllowed=!0}),{once:!0,signal:this._signal}),t.focus()}addEditListeners(){Fl(this,Ee,Oe).call(this),Fl(this,Ee,Pe).call(this)}removeEditListeners(){Fl(this,Ee,Ne).call(this),Fl(this,Ee,Le).call(this)}dragOver(e){for(const{type:t}of e.dataTransfer.items)for(const n of Sl(this,Z))if(n.isHandlingMimeForPasting(t))return e.dataTransfer.dropEffect="copy",void e.preventDefault()}drop(e){for(const t of e.dataTransfer.items)for(const n of Sl(this,Z))if(n.isHandlingMimeForPasting(t.type))return n.paste(t,this.currentLayer),void e.preventDefault()}copy(e){var t;if(e.preventDefault(),null==(t=Sl(this,L))||t.commitOrRemove(),!this.hasSelection)return;const n=[];for(const i of Sl(this,me)){const e=i.serialize(!0);e&&n.push(e)}0!==n.length&&e.clipboardData.setData("application/pdfjs",JSON.stringify(n))}cut(e){this.copy(e),this.delete()}async paste(e){e.preventDefault();const{clipboardData:t}=e;for(const a of t.items)for(const e of Sl(this,Z))if(e.isHandlingMimeForPasting(a.type))return void e.paste(a,this.currentLayer);let n=t.getData("application/pdfjs");if(!n)return;try{n=JSON.parse(n)}catch(r){return void Kw(r.message)}if(!Array.isArray(n))return;this.unselectAll();const i=this.currentLayer;try{const e=[];for(const a of n){const t=await i.deserialize(a);if(!t)return;e.push(t)}const t=()=>{for(const t of e)Fl(this,Ee,Ve).call(this,t);Fl(this,Ee,$e).call(this,e)},r=()=>{for(const t of e)t.remove()};this.addCommands({cmd:t,undo:r,mustExec:!0})}catch(r){Kw(r.message)}}keydown(t){this.isShiftKeyDown||"Shift"!==t.key||(this.isShiftKeyDown=!0),Sl(this,ge)===dw.NONE||this.isEditorHandlingKeyboard||e._keyboardManager.exec(this,t)}keyup(e){this.isShiftKeyDown&&"Shift"===e.key&&(this.isShiftKeyDown=!1,Sl(this,se)&&(Ul(this,se,!1),Fl(this,Ee,Fe).call(this,"main_toolbar")))}onEditingAction({name:e}){switch(e){case"undo":case"redo":case"delete":case"selectAll":this[e]();break;case"highlightSelection":this.highlightSelection("context_menu")}}setEditingState(e){e?(Fl(this,Ee,Re).call(this),Fl(this,Ee,Pe).call(this),Fl(this,Ee,Be).call(this,{isEditing:Sl(this,ge)!==dw.NONE,isEmpty:Fl(this,Ee,Xe).call(this),hasSomethingToUndo:Sl(this,V).hasSomethingToUndo(),hasSomethingToRedo:Sl(this,V).hasSomethingToRedo(),hasSelectedEditor:!1})):(Fl(this,Ee,Ie).call(this),Fl(this,Ee,Le).call(this),Fl(this,Ee,Be).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(e){if(!Sl(this,Z)){Ul(this,Z,e);for(const e of Sl(this,Z))Fl(this,Ee,je).call(this,e.defaultPropertiesToUpdate)}}getId(){return Sl(this,ce).id}get currentLayer(){return Sl(this,B).get(Sl(this,q))}getLayer(e){return Sl(this,B).get(e)}get currentPageIndex(){return Sl(this,q)}addLayer(e){Sl(this,B).set(e.pageIndex,e),Sl(this,le)?e.enable():e.disable()}removeLayer(e){Sl(this,B).delete(e.pageIndex)}async updateMode(e,t=null,n=!1){var i;if(Sl(this,ge)!==e&&(!Sl(this,Ae)||(await Sl(this,Ae).promise,Sl(this,Ae)))){if(Ul(this,Ae,Promise.withResolvers()),Ul(this,ge,e),e===dw.NONE)return this.setEditingState(!1),Fl(this,Ee,He).call(this),null==(i=this._editorUndoBar)||i.hide(),void Sl(this,Ae).resolve();this.setEditingState(!0),await Fl(this,Ee,ze).call(this),this.unselectAll();for(const t of Sl(this,B).values())t.updateMode(e);if(!t)return n&&this.addNewEditorFromKeyboard(),void Sl(this,Ae).resolve();for(const e of Sl(this,W).values())e.annotationElementId===t?(this.setSelected(e),e.enterInEditMode()):e.unselect();Sl(this,Ae).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(e){e!==Sl(this,ge)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:e})}updateParams(e,t){var n;if(Sl(this,Z)){switch(e){case uw.CREATE:return void this.currentLayer.addNewEditor();case uw.HIGHLIGHT_DEFAULT_COLOR:null==(n=Sl(this,fe))||n.updateColor(t);break;case uw.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(Sl(this,ye)||Ul(this,ye,new Map)).set(e,t),this.showAllEditors("highlight",t)}for(const n of Sl(this,me))n.updateParams(e,t);for(const n of Sl(this,Z))n.updateDefaultParams(e,t)}}showAllEditors(e,t,n=!1){var i;for(const r of Sl(this,W).values())r.editorType===e&&r.show(t);((null==(i=Sl(this,ye))?void 0:i.get(uw.HIGHLIGHT_SHOW_ALL))??!0)!==t&&Fl(this,Ee,je).call(this,[[uw.HIGHLIGHT_SHOW_ALL,t]])}enableWaiting(e=!1){if(Sl(this,he)!==e){Ul(this,he,e);for(const t of Sl(this,B).values())e?t.disableClick():t.enableClick(),t.div.classList.toggle("waiting",e)}}getEditors(e){const t=[];for(const n of Sl(this,W).values())n.pageIndex===e&&t.push(n);return t}getEditor(e){return Sl(this,W).get(e)}addEditor(e){Sl(this,W).set(e.id,e)}removeEditor(e){var t;e.div.contains(document.activeElement)&&(Sl(this,ie)&&clearTimeout(Sl(this,ie)),Ul(this,ie,setTimeout((()=>{this.focusMainContainer(),Ul(this,ie,null)}),0))),Sl(this,W).delete(e.id),this.unselect(e),e.annotationElementId&&Sl(this,Y).has(e.annotationElementId)||null==(t=Sl(this,z))||t.remove(e.id)}addDeletedAnnotationElement(e){Sl(this,Y).add(e.annotationElementId),this.addChangedExistingAnnotation(e),e.deleted=!0}isDeletedAnnotationElement(e){return Sl(this,Y).has(e)}removeDeletedAnnotationElement(e){Sl(this,Y).delete(e.annotationElementId),this.removeChangedExistingAnnotation(e),e.deleted=!1}setActiveEditor(e){Sl(this,L)!==e&&(Ul(this,L,e),e&&Fl(this,Ee,je).call(this,e.propertiesToUpdate))}updateUI(e){Sl(this,Ee,Ge)===e&&Fl(this,Ee,je).call(this,e.propertiesToUpdate)}updateUIForDefaultProperties(e){Fl(this,Ee,je).call(this,e.defaultPropertiesToUpdate)}toggleSelected(e){if(Sl(this,me).has(e))return Sl(this,me).delete(e),e.unselect(),void Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection});Sl(this,me).add(e),e.select(),Fl(this,Ee,je).call(this,e.propertiesToUpdate),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!0})}setSelected(e){var t;null==(t=Sl(this,X))||t.commitOrRemove();for(const n of Sl(this,me))n!==e&&n.unselect();Sl(this,me).clear(),Sl(this,me).add(e),e.select(),Fl(this,Ee,je).call(this,e.propertiesToUpdate),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!0})}isSelected(e){return Sl(this,me).has(e)}get firstSelectedEditor(){return Sl(this,me).values().next().value}unselect(e){e.unselect(),Sl(this,me).delete(e),Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==Sl(this,me).size}get isEnterHandled(){return 1===Sl(this,me).size&&this.firstSelectedEditor.isEnterHandled}undo(){var e;Sl(this,V).undo(),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:Sl(this,V).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:Fl(this,Ee,Xe).call(this)}),null==(e=this._editorUndoBar)||e.hide()}redo(){Sl(this,V).redo(),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:Sl(this,V).hasSomethingToRedo(),isEmpty:Fl(this,Ee,Xe).call(this)})}addCommands(e){Sl(this,V).add(e),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:Fl(this,Ee,Xe).call(this)})}cleanUndoStack(e){Sl(this,V).cleanType(e)}delete(){var e;this.commitOrRemove();const t=null==(e=this.currentLayer)?void 0:e.endDrawingSession(!0);if(!this.hasSelection&&!t)return;const n=t?[t]:[...Sl(this,me)],i=()=>{for(const e of n)Fl(this,Ee,Ve).call(this,e)};this.addCommands({cmd:()=>{var e;null==(e=this._editorUndoBar)||e.show(i,1===n.length?n[0].editorType:n.length);for(const t of n)t.remove()},undo:i,mustExec:!0})}commitOrRemove(){var e;null==(e=Sl(this,L))||e.commitOrRemove()}hasSomethingToControl(){return Sl(this,L)||this.hasSelection}selectAll(){for(const e of Sl(this,me))e.commit();Fl(this,Ee,$e).call(this,Sl(this,W).values())}unselectAll(){var e;if((!Sl(this,L)||(Sl(this,L).commitOrRemove(),Sl(this,ge)===dw.NONE))&&!(null==(e=Sl(this,X))?void 0:e.commitOrRemove())&&this.hasSelection){for(const e of Sl(this,me))e.unselect();Sl(this,me).clear(),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(e,t,n=!1){if(n||this.commitOrRemove(),!this.hasSelection)return;Sl(this,xe)[0]+=e,Sl(this,xe)[1]+=t;const[i,r]=Sl(this,xe),a=[...Sl(this,me)];Sl(this,_e)&&clearTimeout(Sl(this,_e)),Ul(this,_e,setTimeout((()=>{Ul(this,_e,null),Sl(this,xe)[0]=Sl(this,xe)[1]=0,this.addCommands({cmd:()=>{for(const e of a)Sl(this,W).has(e.id)&&e.translateInPage(i,r)},undo:()=>{for(const e of a)Sl(this,W).has(e.id)&&e.translateInPage(-i,-r)},mustExec:!1})}),1e3));for(const s of a)s.translateInPage(e,t)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),Ul(this,K,new Map);for(const e of Sl(this,me))Sl(this,K).set(e,{savedX:e.x,savedY:e.y,savedPageIndex:e.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!Sl(this,K))return!1;this.disableUserSelect(!1);const e=Sl(this,K);Ul(this,K,null);let t=!1;for(const[{x:i,y:r,pageIndex:a},s]of e)s.newX=i,s.newY=r,s.newPageIndex=a,t||(t=i!==s.savedX||r!==s.savedY||a!==s.savedPageIndex);if(!t)return!1;const n=(e,t,n,i)=>{if(Sl(this,W).has(e.id)){const r=Sl(this,B).get(i);r?e._setParentAndPosition(r,t,n):(e.pageIndex=i,e.x=t,e.y=n)}};return this.addCommands({cmd:()=>{for(const[t,{newX:i,newY:r,newPageIndex:a}]of e)n(t,i,r,a)},undo:()=>{for(const[t,{savedX:i,savedY:r,savedPageIndex:a}]of e)n(t,i,r,a)},mustExec:!0}),!0}dragSelectedEditors(e,t){if(Sl(this,K))for(const n of Sl(this,K).keys())n.drag(e,t)}rebuild(e){if(null===e.parent){const t=this.getLayer(e.pageIndex);t?(t.changeParent(e),t.addOrRebuild(e)):(this.addEditor(e),this.addToAnnotationStorage(e),e.rebuild())}else e.parent.addOrRebuild(e)}get isEditorHandlingKeyboard(){var e;return(null==(e=this.getActive())?void 0:e.shouldGetKeyboardEvents())||1===Sl(this,me).size&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(e){return Sl(this,L)===e}getActive(){return Sl(this,L)}getMode(){return Sl(this,ge)}get imageManager(){return ex(this,"imageManager",new Xx)}getSelectionBoxes(e){if(!e)return null;const t=document.getSelection();for(let c=0,l=t.rangeCount;c({x:(t-i)/a,y:1-(e+s-n)/r,width:o/a,height:s/r});break;case"180":s=(e,t,s,o)=>({x:1-(e+s-n)/r,y:1-(t+o-i)/a,width:s/r,height:o/a});break;case"270":s=(e,t,s,o)=>({x:1-(t+o-i)/a,y:(e-n)/r,width:o/a,height:s/r});break;default:s=(e,t,s,o)=>({x:(e-n)/r,y:(t-i)/a,width:s/r,height:o/a})}const o=[];for(let c=0,l=t.rangeCount;c{"pointerup"===n.type&&0!==n.button||(t.abort(),null==e||e.toggleDrawing(!0),"pointerup"===n.type&&Fl(this,Ee,Fe).call(this,"main_toolbar"))};window.addEventListener("pointerup",i,{signal:n}),window.addEventListener("blur",i,{signal:n})}}else Sl(this,be)&&(null==(t=Sl(this,oe))||t.hide(),Ul(this,be,null),Fl(this,Ee,Be).call(this,{hasSelectedText:!1}))},Fe=function(e=""){Sl(this,ge)===dw.HIGHLIGHT?this.highlightSelection(e):Sl(this,Q)&&Fl(this,Ee,Ce).call(this)},Me=function(){document.addEventListener("selectionchange",Fl(this,Ee,Ue).bind(this),{signal:this._signal})},Re=function(){if(Sl(this,re))return;Ul(this,re,new AbortController);const e=this.combinedSignal(Sl(this,re));window.addEventListener("focus",this.focus.bind(this),{signal:e}),window.addEventListener("blur",this.blur.bind(this),{signal:e})},Ie=function(){var e;null==(e=Sl(this,re))||e.abort(),Ul(this,re,null)},Oe=function(){if(Sl(this,de))return;Ul(this,de,new AbortController);const e=this.combinedSignal(Sl(this,de));window.addEventListener("keydown",this.keydown.bind(this),{signal:e}),window.addEventListener("keyup",this.keyup.bind(this),{signal:e})},Ne=function(){var e;null==(e=Sl(this,de))||e.abort(),Ul(this,de,null)},Pe=function(){if(Sl(this,G))return;Ul(this,G,new AbortController);const e=this.combinedSignal(Sl(this,G));document.addEventListener("copy",this.copy.bind(this),{signal:e}),document.addEventListener("cut",this.cut.bind(this),{signal:e}),document.addEventListener("paste",this.paste.bind(this),{signal:e})},Le=function(){var e;null==(e=Sl(this,G))||e.abort(),Ul(this,G,null)},We=function(){const e=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:e}),document.addEventListener("drop",this.drop.bind(this),{signal:e})},Be=function(e){Object.entries(e).some((([e,t])=>Sl(this,we)[e]!==t))&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(Sl(this,we),e)}),Sl(this,ge)===dw.HIGHLIGHT&&!1===e.hasSelectedEditor&&Fl(this,Ee,je).call(this,[[uw.HIGHLIGHT_FREE,!0]]))},je=function(e){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:e})},ze=async function(){if(!Sl(this,le)){Ul(this,le,!0);const e=[];for(const t of Sl(this,B).values())e.push(t.enable());await Promise.all(e);for(const t of Sl(this,W).values())t.enable()}},He=function(){if(this.unselectAll(),Sl(this,le)){Ul(this,le,!1);for(const e of Sl(this,B).values())e.disable();for(const e of Sl(this,W).values())e.disable()}},Ve=function(e){const t=Sl(this,B).get(e.pageIndex);t?t.addOrRebuild(e):(this.addEditor(e),this.addToAnnotationStorage(e))},Ge=function(){let e=null;for(e of Sl(this,me));return e},Xe=function(){if(0===Sl(this,W).size)return!0;if(1===Sl(this,W).size)for(const e of Sl(this,W).values())return e.isEmpty();return!1},$e=function(e){for(const t of Sl(this,me))t.unselect();Sl(this,me).clear();for(const t of e)t.isEmpty()||(Sl(this,me).add(t),t.select());Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection})},El(Zx,"TRANSLATE_SMALL",1),El(Zx,"TRANSLATE_BIG",10);let Jx=Zx;const Qx=class e{constructor(t){Cl(this,ot),Cl(this,qe,null),Cl(this,Ye,!1),Cl(this,Ke,null),Cl(this,Ze,null),Cl(this,Je,null),Cl(this,Qe,null),Cl(this,et,!1),Cl(this,tt,null),Cl(this,nt,null),Cl(this,it,null),Cl(this,rt,null),Cl(this,at,!1),Ul(this,nt,t),Ul(this,at,t._uiManager.useNewAltTextFlow),Sl(e,st)||Ul(e,st,Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"}))}static initialize(t){e._l10n??(e._l10n=t)}async render(){const t=Ul(this,Ke,document.createElement("button"));t.className="altText",t.tabIndex="0";const n=Ul(this,Ze,document.createElement("span"));t.append(n),Sl(this,at)?(t.classList.add("new"),t.setAttribute("data-l10n-id",Sl(e,st).missing),n.setAttribute("data-l10n-id",Sl(e,st)["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const i=Sl(this,nt)._uiManager._signal;t.addEventListener("contextmenu",Fx,{signal:i}),t.addEventListener("pointerdown",(e=>e.stopPropagation()),{signal:i});const r=e=>{e.preventDefault(),Sl(this,nt)._uiManager.editAltText(Sl(this,nt)),Sl(this,at)&&Sl(this,nt)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:Sl(this,ot,ct)}})};return t.addEventListener("click",r,{capture:!0,signal:i}),t.addEventListener("keydown",(e=>{e.target===t&&"Enter"===e.key&&(Ul(this,et,!0),r(e))}),{signal:i}),await Fl(this,ot,lt).call(this),t}finish(){Sl(this,Ke)&&(Sl(this,Ke).focus({focusVisible:Sl(this,et)}),Ul(this,et,!1))}isEmpty(){return Sl(this,at)?null===Sl(this,qe):!Sl(this,qe)&&!Sl(this,Ye)}hasData(){return Sl(this,at)?null!==Sl(this,qe)||!!Sl(this,it):this.isEmpty()}get guessedText(){return Sl(this,it)}async setGuessedText(t){null===Sl(this,qe)&&(Ul(this,it,t),Ul(this,rt,await e._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t})),Fl(this,ot,lt).call(this))}toggleAltTextBadge(e=!1){var t;if(!Sl(this,at)||Sl(this,qe))return null==(t=Sl(this,tt))||t.remove(),void Ul(this,tt,null);if(!Sl(this,tt)){const e=Ul(this,tt,document.createElement("div"));e.className="noAltTextBadge",Sl(this,nt).div.append(e)}Sl(this,tt).classList.toggle("hidden",!e)}serialize(e){let t=Sl(this,qe);return e||Sl(this,it)!==t||(t=Sl(this,rt)),{altText:t,decorative:Sl(this,Ye),guessedText:Sl(this,it),textWithDisclaimer:Sl(this,rt)}}get data(){return{altText:Sl(this,qe),decorative:Sl(this,Ye)}}set data({altText:e,decorative:t,guessedText:n,textWithDisclaimer:i,cancel:r=!1}){n&&(Ul(this,it,n),Ul(this,rt,i)),Sl(this,qe)===e&&Sl(this,Ye)===t||(r||(Ul(this,qe,e),Ul(this,Ye,t)),Fl(this,ot,lt).call(this))}toggle(e=!1){Sl(this,Ke)&&(!e&&Sl(this,Qe)&&(clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)),Sl(this,Ke).disabled=!e)}shown(){Sl(this,nt)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:Sl(this,ot,ct)}})}destroy(){var e,t;null==(e=Sl(this,Ke))||e.remove(),Ul(this,Ke,null),Ul(this,Ze,null),Ul(this,Je,null),null==(t=Sl(this,tt))||t.remove(),Ul(this,tt,null)}};qe=new WeakMap,Ye=new WeakMap,Ke=new WeakMap,Ze=new WeakMap,Je=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakMap,it=new WeakMap,rt=new WeakMap,at=new WeakMap,st=new WeakMap,ot=new WeakSet,ct=function(){return(Sl(this,qe)?"added":null===Sl(this,qe)&&this.guessedText&&"review")||"missing"},lt=async function(){var e,t,n;const i=Sl(this,Ke);if(!i)return;if(Sl(this,at)){if(i.classList.toggle("done",!!Sl(this,qe)),i.setAttribute("data-l10n-id",Sl(Qx,st)[Sl(this,ot,ct)]),null==(e=Sl(this,Ze))||e.setAttribute("data-l10n-id",Sl(Qx,st)[`${Sl(this,ot,ct)}-label`]),!Sl(this,qe))return void(null==(t=Sl(this,Je))||t.remove())}else{if(!Sl(this,qe)&&!Sl(this,Ye))return i.classList.remove("done"),void(null==(n=Sl(this,Je))||n.remove());i.classList.add("done"),i.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let r=Sl(this,Je);if(!r){Ul(this,Je,r=document.createElement("span")),r.className="tooltip",r.setAttribute("role","tooltip"),r.id=`alt-text-tooltip-${Sl(this,nt).id}`;const e=100,t=Sl(this,nt)._uiManager._signal;t.addEventListener("abort",(()=>{clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)}),{once:!0}),i.addEventListener("mouseenter",(()=>{Ul(this,Qe,setTimeout((()=>{Ul(this,Qe,null),Sl(this,Je).classList.add("show"),Sl(this,nt)._reportTelemetry({action:"alt_text_tooltip"})}),e))}),{signal:t}),i.addEventListener("mouseleave",(()=>{var e;Sl(this,Qe)&&(clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)),null==(e=Sl(this,Je))||e.classList.remove("show")}),{signal:t})}Sl(this,Ye)?r.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(r.removeAttribute("data-l10n-id"),r.textContent=Sl(this,qe)),r.parentNode||i.append(r);const a=Sl(this,nt).getImageForAltText();null==a||a.setAttribute("aria-describedby",r.id)},Cl(Qx,st,null),El(Qx,"_l10n",null);let e_=Qx;const t_=class{constructor({container:e,isPinchingDisabled:t=null,isPinchingStopped:n=null,onPinchStart:i=null,onPinching:r=null,onPinchEnd:a=null,signal:s}){Cl(this,xt),Cl(this,ht),Cl(this,dt,!1),Cl(this,ut,null),Cl(this,ft),Cl(this,pt),Cl(this,gt),Cl(this,mt),Cl(this,bt),Cl(this,vt,null),Cl(this,yt),Cl(this,wt,null),Ul(this,ht,e),Ul(this,ut,n),Ul(this,ft,t),Ul(this,pt,i),Ul(this,gt,r),Ul(this,mt,a),Ul(this,yt,new AbortController),Ul(this,bt,AbortSignal.any([s,Sl(this,yt).signal])),e.addEventListener("touchstart",Fl(this,xt,_t).bind(this),{passive:!1,signal:Sl(this,bt)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return ex(this,"MIN_TOUCH_DISTANCE_TO_PINCH",35/(window.devicePixelRatio||1))}destroy(){var e;null==(e=Sl(this,yt))||e.abort(),Ul(this,yt,null)}};ht=new WeakMap,dt=new WeakMap,ut=new WeakMap,ft=new WeakMap,pt=new WeakMap,gt=new WeakMap,mt=new WeakMap,bt=new WeakMap,vt=new WeakMap,yt=new WeakMap,wt=new WeakMap,xt=new WeakSet,_t=function(e){var t,n,i;if((null==(t=Sl(this,ft))?void 0:t.call(this))||e.touches.length<2)return;if(!Sl(this,wt)){Ul(this,wt,new AbortController);const e=AbortSignal.any([Sl(this,bt),Sl(this,wt).signal]),t=Sl(this,ht),i={signal:e,passive:!1};t.addEventListener("touchmove",Fl(this,xt,Tt).bind(this),i),t.addEventListener("touchend",Fl(this,xt,Dt).bind(this),i),t.addEventListener("touchcancel",Fl(this,xt,Dt).bind(this),i),null==(n=Sl(this,pt))||n.call(this)}if(Mx(e),2!==e.touches.length||(null==(i=Sl(this,ut))?void 0:i.call(this)))return void Ul(this,vt,null);let[r,a]=e.touches;r.identifier>a.identifier&&([r,a]=[a,r]),Ul(this,vt,{touch0X:r.screenX,touch0Y:r.screenY,touch1X:a.screenX,touch1Y:a.screenY})},Tt=function(e){var t;if(!Sl(this,vt)||2!==e.touches.length)return;let[n,i]=e.touches;n.identifier>i.identifier&&([n,i]=[i,n]);const{screenX:r,screenY:a}=n,{screenX:s,screenY:o}=i,c=Sl(this,vt),{touch0X:l,touch0Y:h,touch1X:d,touch1Y:u}=c,f=d-l,p=u-h,g=s-r,m=o-a,b=Math.hypot(g,m)||1,v=Math.hypot(f,p)||1;if(!Sl(this,dt)&&Math.abs(v-b)<=t_.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(c.touch0X=r,c.touch0Y=a,c.touch1X=s,c.touch1Y=o,e.preventDefault(),!Sl(this,dt))return void Ul(this,dt,!0);const y=[(r+s)/2,(a+o)/2];null==(t=Sl(this,gt))||t.call(this,y,v,b)},Dt=function(e){var t;Sl(this,wt).abort(),Ul(this,wt,null),null==(t=Sl(this,mt))||t.call(this),Sl(this,vt)&&(e.preventDefault(),Ul(this,vt,null),Ul(this,dt,!1))};let n_=t_;const i_=class e{constructor(t){Cl(this,Yt),Cl(this,At,null),Cl(this,Et,null),Cl(this,kt,null),Cl(this,St,!1),Cl(this,Ct,null),Cl(this,Ut,""),Cl(this,Ft,!1),Cl(this,Mt,null),Cl(this,Rt,null),Cl(this,It,null),Cl(this,Ot,null),Cl(this,Nt,""),Cl(this,Pt,!1),Cl(this,Lt,null),Cl(this,Wt,!1),Cl(this,Bt,!1),Cl(this,jt,!1),Cl(this,zt,null),Cl(this,Ht,0),Cl(this,Vt,0),Cl(this,Gt,null),Cl(this,Xt,null),El(this,"_editToolbar",null),El(this,"_initialOptions",Object.create(null)),El(this,"_initialData",null),El(this,"_isVisible",!0),El(this,"_uiManager",null),El(this,"_focusEventsAllowed",!0),Cl(this,$t,!1),Cl(this,qt,e._zIndex++),this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:n,rawDims:{pageWidth:i,pageHeight:r,pageX:a,pageY:s}}=this.parent.viewport;this.rotation=n,this.pageRotation=(360+n-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[i,r],this.pageTranslation=[a,s];const[o,c]=this.parentDimensions;this.x=t.x/o,this.y=t.y/c,this.isAttachedToDOM=!1,this.deleted=!1}static get _resizerKeyboardManager(){const t=e.prototype._resizeWithKeyboard,n=Jx.TRANSLATE_SMALL,i=Jx.TRANSLATE_BIG;return ex(this,"_resizerKeyboardManager",new qx([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-n,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-i,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[n,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[i,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-n]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-i]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,n]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,i]}],[["Escape","mac+Escape"],e.prototype._stopResizingWithKeyboard]]))}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get isDrawer(){return!1}static get _defaultLineColor(){return ex(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(e){const t=new a_({id:e.parent.getNextId(),parent:e.parent,uiManager:e._uiManager});t.annotationElementId=e.annotationElementId,t.deleted=!0,t._uiManager.addToAnnotationStorage(t)}static initialize(t,n){if(e._l10n??(e._l10n=t),e._l10nResizer||(e._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),-1!==e._borderLineWidth)return;const i=getComputedStyle(document.documentElement);e._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(e,t){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(e){return!1}static paste(e,t){Zw("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return Sl(this,$t)}set _isDraggable(e){var t;Ul(this,$t,e),null==(t=this.div)||t.classList.toggle("draggable",e)}get isEnterHandled(){return!0}center(){const[e,t]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*t/(2*e),this.y+=this.width*e/(2*t);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*t/(2*e),this.y-=this.width*e/(2*t);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}addCommands(e){this._uiManager.addCommands(e)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=Sl(this,qt)}setParent(e){null!==e?(this.pageIndex=e.pageIndex,this.pageDimensions=e.pageDimensions):Fl(this,Yt,mn).call(this),this.parent=e}focusin(e){this._focusEventsAllowed&&(Sl(this,Pt)?Ul(this,Pt,!1):this.parent.setSelected(this))}focusout(e){var t;if(!this._focusEventsAllowed)return;if(!this.isAttachedToDOM)return;const n=e.relatedTarget;(null==n?void 0:n.closest(`#${this.id}`))||(e.preventDefault(),(null==(t=this.parent)?void 0:t.isMultipleSelection)||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(e,t,n,i){const[r,a]=this.parentDimensions;[n,i]=this.screenToPageTranslation(n,i),this.x=(e+n)/r,this.y=(t+i)/a,this.fixAndSetPosition()}translate(e,t){Fl(this,Yt,Kt).call(this,this.parentDimensions,e,t)}translateInPage(e,t){Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]),Fl(this,Yt,Kt).call(this,this.pageDimensions,e,t),this.div.scrollIntoView({block:"nearest"})}drag(e,t){Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]);const{div:n,parentDimensions:[i,r]}=this;if(this.x+=e/i,this.y+=t/r,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:e,y:t}=this.div.getBoundingClientRect();this.parent.findNewParent(this,e,t)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:a,y:s}=this;const[o,c]=this.getBaseTranslation();a+=o,s+=c;const{style:l}=n;l.left=`${(100*a).toFixed(2)}%`,l.top=`${(100*s).toFixed(2)}%`,this._onTranslating(a,s),n.scrollIntoView({block:"nearest"})}_onTranslating(e,t){}_onTranslated(e,t){}get _hasBeenMoved(){return!!Sl(this,Lt)&&(Sl(this,Lt)[0]!==this.x||Sl(this,Lt)[1]!==this.y)}get _hasBeenResized(){return!!Sl(this,Lt)&&(Sl(this,Lt)[2]!==this.width||Sl(this,Lt)[3]!==this.height)}getBaseTranslation(){const[t,n]=this.parentDimensions,{_borderLineWidth:i}=e,r=i/t,a=i/n;switch(this.rotation){case 90:return[-r,a];case 180:return[r,a];case 270:return[r,-a];default:return[-r,-a]}}get _mustFixPosition(){return!0}fixAndSetPosition(e=this.rotation){const{div:{style:t},pageDimensions:[n,i]}=this;let{x:r,y:a,width:s,height:o}=this;if(s*=n,o*=i,r*=n,a*=i,this._mustFixPosition)switch(e){case 0:r=Math.max(0,Math.min(n-s,r)),a=Math.max(0,Math.min(i-o,a));break;case 90:r=Math.max(0,Math.min(n-o,r)),a=Math.min(i,Math.max(s,a));break;case 180:r=Math.min(n,Math.max(s,r)),a=Math.min(i,Math.max(o,a));break;case 270:r=Math.min(n,Math.max(o,r)),a=Math.max(0,Math.min(i-s,a))}this.x=r/=n,this.y=a/=i;const[c,l]=this.getBaseTranslation();r+=c,a+=l,t.left=`${(100*r).toFixed(2)}%`,t.top=`${(100*a).toFixed(2)}%`,this.moveInDOM()}screenToPageTranslation(t,n){var i;return Fl(i=e,Zt,Jt).call(i,t,n,this.parentRotation)}pageTranslationToScreen(t,n){var i;return Fl(i=e,Zt,Jt).call(i,t,n,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:e,pageDimensions:[t,n]}=this;return[t*e,n*e]}setDims(e,t){const[n,i]=this.parentDimensions,{style:r}=this.div;r.width=`${(100*e/n).toFixed(2)}%`,Sl(this,Ft)||(r.height=`${(100*t/i).toFixed(2)}%`)}fixDims(){const{style:e}=this.div,{height:t,width:n}=e,i=n.endsWith("%"),r=!Sl(this,Ft)&&t.endsWith("%");if(i&&r)return;const[a,s]=this.parentDimensions;i||(e.width=`${(100*parseFloat(n)/a).toFixed(2)}%`),Sl(this,Ft)||r||(e.height=`${(100*parseFloat(t)/s).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}_onResized(){}static _round(e){return Math.round(1e4*e)/1e4}_onResizing(){}altTextFinish(){var e;null==(e=Sl(this,kt))||e.finish()}async addEditToolbar(){return this._editToolbar||Sl(this,Bt)||(this._editToolbar=new jx(this),this.div.append(this._editToolbar.render()),Sl(this,kt)&&await this._editToolbar.addAltText(Sl(this,kt))),this._editToolbar}removeEditToolbar(){var e;this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,null==(e=Sl(this,kt))||e.destroy())}addContainer(e){var t;const n=null==(t=this._editToolbar)?void 0:t.div;n?n.before(e):this.div.append(e)}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){Sl(this,kt)||(e_.initialize(e._l10n),Ul(this,kt,new e_(this)),Sl(this,At)&&(Sl(this,kt).data=Sl(this,At),Ul(this,At,null)),await this.addEditToolbar())}get altTextData(){var e;return null==(e=Sl(this,kt))?void 0:e.data}set altTextData(e){Sl(this,kt)&&(Sl(this,kt).data=e)}get guessedAltText(){var e;return null==(e=Sl(this,kt))?void 0:e.guessedText}async setGuessedAltText(e){var t;await(null==(t=Sl(this,kt))?void 0:t.setGuessedText(e))}serializeAltText(e){var t;return null==(t=Sl(this,kt))?void 0:t.serialize(e)}hasAltText(){return!!Sl(this,kt)&&!Sl(this,kt).isEmpty()}hasAltTextData(){var e;return(null==(e=Sl(this,kt))?void 0:e.hasData())??!1}render(){var e;this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=Sl(this,St)?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),Fl(this,Yt,dn).call(this);const[t,n]=this.parentDimensions;this.parentRotation%180!=0&&(this.div.style.maxWidth=`${(100*n/t).toFixed(2)}%`,this.div.style.maxHeight=`${(100*t/n).toFixed(2)}%`);const[i,r]=this.getInitialTranslation();return this.translate(i,r),Hx(this,this.div,["pointerdown"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(Sl(this,Xt)||Ul(this,Xt,new n_({container:this.div,isPinchingDisabled:()=>!this.isSelected,onPinchStart:Fl(this,Yt,sn).bind(this),onPinching:Fl(this,Yt,on).bind(this),onPinchEnd:Fl(this,Yt,cn).bind(this),signal:this._uiManager._signal}))),null==(e=this._uiManager._editorUndoBar)||e.hide(),this.div}pointerdown(e){const{isMac:t}=ux.platform;0!==e.button||e.ctrlKey&&t?e.preventDefault():(Ul(this,Pt,!0),this._isDraggable?Fl(this,Yt,hn).call(this,e):Fl(this,Yt,ln).call(this,e))}get isSelected(){return this._uiManager.isSelected(this)}_onStartDragging(){}_onStopDragging(){}moveInDOM(){Sl(this,zt)&&clearTimeout(Sl(this,zt)),Ul(this,zt,setTimeout((()=>{var e;Ul(this,zt,null),null==(e=this.parent)||e.moveEditorInDOM(this)}),0))}_setParentAndPosition(e,t,n){e.changeParent(this),this.x=t,this.y=n,this.fixAndSetPosition(),this._onTranslated()}getRect(e,t,n=this.rotation){const i=this.parentScale,[r,a]=this.pageDimensions,[s,o]=this.pageTranslation,c=e/i,l=t/i,h=this.x*r,d=this.y*a,u=this.width*r,f=this.height*a;switch(n){case 0:return[h+c+s,a-d-l-f+o,h+c+u+s,a-d-l+o];case 90:return[h+l+s,a-d+c+o,h+l+f+s,a-d+c+u+o];case 180:return[h-c-u+s,a-d+l+o,h-c+s,a-d+l+f+o];case 270:return[h-l-f+s,a-d-c-u+o,h-l+s,a-d-c+o];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(e,t){const[n,i,r,a]=e,s=r-n,o=a-i;switch(this.rotation){case 0:return[n,t-a,s,o];case 90:return[n,t-i,o,s];case 180:return[r,t-i,s,o];case 270:return[r,t-a,o,s];default:throw new Error("Invalid rotation")}}onceAdded(e){}isEmpty(){return!1}enableEditMode(){Ul(this,Bt,!0)}disableEditMode(){Ul(this,Bt,!1)}isInEditMode(){return Sl(this,Bt)}shouldGetKeyboardEvents(){return Sl(this,jt)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:e,left:t,bottom:n,right:i}=this.getClientDimensions(),{innerHeight:r,innerWidth:a}=window;return t0&&e0}rebuild(){Fl(this,Yt,dn).call(this)}rotate(e){}resize(){}serializeDeleted(){var e;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:(null==(e=this._initialData)?void 0:e.popupRef)||""}}serialize(e=!1,t=null){Zw("An editor must be serializable")}static async deserialize(e,t,n){const i=new this.prototype.constructor({parent:t,id:t.getNextId(),uiManager:n});i.rotation=e.rotation,Ul(i,At,e.accessibilityData);const[r,a]=i.pageDimensions,[s,o,c,l]=i.getRectInCurrentCoords(e.rect,a);return i.x=s/r,i.y=o/a,i.width=c/r,i.height=l/a,i}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||null!==this.serialize())}remove(){var e,t;if(null==(e=Sl(this,Ot))||e.abort(),Ul(this,Ot,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),Sl(this,zt)&&(clearTimeout(Sl(this,zt)),Ul(this,zt,null)),Fl(this,Yt,mn).call(this),this.removeEditToolbar(),Sl(this,Gt)){for(const e of Sl(this,Gt).values())clearTimeout(e);Ul(this,Gt,null)}this.parent=null,null==(t=Sl(this,Xt))||t.destroy(),Ul(this,Xt,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(Fl(this,Yt,en).call(this),Sl(this,Mt).classList.remove("hidden"),Hx(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||"Enter"!==t.key)return;this._uiManager.setSelected(this),Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const n=Sl(this,Mt).children;if(!Sl(this,Et)){Ul(this,Et,Array.from(n));const t=Fl(this,Yt,un).bind(this),i=Fl(this,Yt,fn).bind(this),r=this._uiManager._signal;for(const n of Sl(this,Et)){const a=n.getAttribute("data-resizer-name");n.setAttribute("role","spinbutton"),n.addEventListener("keydown",t,{signal:r}),n.addEventListener("blur",i,{signal:r}),n.addEventListener("focus",Fl(this,Yt,pn).bind(this,a),{signal:r}),n.setAttribute("data-l10n-id",e._l10nResizer[a])}}const i=Sl(this,Et)[0];let r=0;for(const e of n){if(e===i)break;r++}const a=(360-this.rotation+this.parentRotation)%360/90*(Sl(this,Et).length/4);if(a!==r){if(ar)for(let e=0;e{var e,t;(null==(e=this.div)?void 0:e.classList.contains("selectedEditor"))&&(null==(t=this._editToolbar)||t.show())}))}unselect(){var e,t,n,i,r;null==(e=Sl(this,Mt))||e.classList.add("hidden"),null==(t=this.div)||t.classList.remove("selectedEditor"),(null==(n=this.div)?void 0:n.contains(document.activeElement))&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),null==(i=this._editToolbar)||i.hide(),null==(r=Sl(this,kt))||r.toggleAltTextBadge(!0)}updateParams(e,t){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return Sl(this,Wt)}set isEditing(e){Ul(this,Wt,e),this.parent&&(e?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(e,t){Ul(this,Ft,!0);const n=e/t,{style:i}=this.div;i.aspectRatio=n,i.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,n=!1){if(n){Sl(this,Gt)||Ul(this,Gt,new Map);const{action:n}=t;let i=Sl(this,Gt).get(n);return i&&clearTimeout(i),i=setTimeout((()=>{this._reportTelemetry(t),Sl(this,Gt).delete(n),0===Sl(this,Gt).size&&Ul(this,Gt,null)}),e._telemetryTimeout),void Sl(this,Gt).set(n,i)}t.type||(t.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(e=this._isVisible){this.div.classList.toggle("hidden",!e),this._isVisible=e}enable(){this.div&&(this.div.tabIndex=0),Ul(this,St,!1)}disable(){this.div&&(this.div.tabIndex=-1),Ul(this,St,!0)}renderAnnotationElement(e){let t=e.container.querySelector(".annotationContent");if(t){if("CANVAS"===t.nodeName){const e=t;t=document.createElement("div"),t.classList.add("annotationContent",this.editorType),e.before(t)}}else t=document.createElement("div"),t.classList.add("annotationContent",this.editorType),e.container.prepend(t);return t}resetAnnotationElement(e){const{firstChild:t}=e.container;"DIV"===(null==t?void 0:t.nodeName)&&t.classList.contains("annotationContent")&&t.remove()}};At=new WeakMap,Et=new WeakMap,kt=new WeakMap,St=new WeakMap,Ct=new WeakMap,Ut=new WeakMap,Ft=new WeakMap,Mt=new WeakMap,Rt=new WeakMap,It=new WeakMap,Ot=new WeakMap,Nt=new WeakMap,Pt=new WeakMap,Lt=new WeakMap,Wt=new WeakMap,Bt=new WeakMap,jt=new WeakMap,zt=new WeakMap,Ht=new WeakMap,Vt=new WeakMap,Gt=new WeakMap,Xt=new WeakMap,$t=new WeakMap,qt=new WeakMap,Yt=new WeakSet,Kt=function([e,t],n,i){[n,i]=this.screenToPageTranslation(n,i),this.x+=n/e,this.y+=i/t,this._onTranslating(this.x,this.y),this.fixAndSetPosition()},Zt=new WeakSet,Jt=function(e,t,n){switch(n){case 90:return[t,-e];case 180:return[-e,-t];case 270:return[-t,e];default:return[e,t]}},Qt=function(e){switch(e){case 90:{const[e,t]=this.pageDimensions;return[0,-e/t,t/e,0]}case 180:return[-1,0,0,-1];case 270:{const[e,t]=this.pageDimensions;return[0,e/t,-t/e,0]}default:return[1,0,0,1]}},en=function(){if(Sl(this,Mt))return;Ul(this,Mt,document.createElement("div")),Sl(this,Mt).classList.add("resizers");const e=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],t=this._uiManager._signal;for(const n of e){const e=document.createElement("div");Sl(this,Mt).append(e),e.classList.add("resizer",n),e.setAttribute("data-resizer-name",n),e.addEventListener("pointerdown",Fl(this,Yt,tn).bind(this,n),{signal:t}),e.addEventListener("contextmenu",Fx,{signal:t}),e.tabIndex=-1}this.div.prepend(Sl(this,Mt))},tn=function(e,t){var n;t.preventDefault();const{isMac:i}=ux.platform;if(0!==t.button||t.ctrlKey&&i)return;null==(n=Sl(this,kt))||n.toggle(!1);const r=this._isDraggable;this._isDraggable=!1,Ul(this,Rt,[t.screenX,t.screenY]);const a=new AbortController,s=this._uiManager.combinedSignal(a);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",Fl(this,Yt,an).bind(this,e),{passive:!0,capture:!0,signal:s}),window.addEventListener("touchmove",Mx,{passive:!1,signal:s}),window.addEventListener("contextmenu",Fx,{signal:s}),Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const o=this.parent.div.style.cursor,c=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(t.target).cursor;const l=()=>{var e;a.abort(),this.parent.togglePointerEvents(!0),null==(e=Sl(this,kt))||e.toggle(!0),this._isDraggable=r,this.parent.div.style.cursor=o,this.div.style.cursor=c,Fl(this,Yt,rn).call(this)};window.addEventListener("pointerup",l,{signal:s}),window.addEventListener("blur",l,{signal:s})},nn=function(e,t,n,i){this.width=n,this.height=i,this.x=e,this.y=t;const[r,a]=this.parentDimensions;this.setDims(r*n,a*i),this.fixAndSetPosition(),this._onResized()},rn=function(){if(!Sl(this,It))return;const{savedX:e,savedY:t,savedWidth:n,savedHeight:i}=Sl(this,It);Ul(this,It,null);const r=this.x,a=this.y,s=this.width,o=this.height;r===e&&a===t&&s===n&&o===i||this.addCommands({cmd:Fl(this,Yt,nn).bind(this,r,a,s,o),undo:Fl(this,Yt,nn).bind(this,e,t,n,i),mustExec:!0})},an=function(e,t){const[n,i]=this.parentDimensions,r=this.x,a=this.y,s=this.width,o=this.height,c=i_.MIN_SIZE/n,l=i_.MIN_SIZE/i,h=Fl(this,Yt,Qt).call(this,this.rotation),d=(e,t)=>[h[0]*e+h[2]*t,h[1]*e+h[3]*t],u=Fl(this,Yt,Qt).call(this,360-this.rotation);let f,p,g=!1,m=!1;switch(e){case"topLeft":g=!0,f=(e,t)=>[0,0],p=(e,t)=>[e,t];break;case"topMiddle":f=(e,t)=>[e/2,0],p=(e,t)=>[e/2,t];break;case"topRight":g=!0,f=(e,t)=>[e,0],p=(e,t)=>[0,t];break;case"middleRight":m=!0,f=(e,t)=>[e,t/2],p=(e,t)=>[0,t/2];break;case"bottomRight":g=!0,f=(e,t)=>[e,t],p=(e,t)=>[0,0];break;case"bottomMiddle":f=(e,t)=>[e/2,t],p=(e,t)=>[e/2,0];break;case"bottomLeft":g=!0,f=(e,t)=>[0,t],p=(e,t)=>[e,0];break;case"middleLeft":m=!0,f=(e,t)=>[0,t/2],p=(e,t)=>[e,t/2]}const b=f(s,o),v=p(s,o);let y=d(...v);const w=i_._round(r+y[0]),x=i_._round(a+y[1]);let _,T,D=1,A=1;if(t.fromKeyboard)({deltaX:_,deltaY:T}=t);else{const{screenX:e,screenY:n}=t,[i,r]=Sl(this,Rt);[_,T]=this.screenToPageTranslation(e-i,n-r),Sl(this,Rt)[0]=e,Sl(this,Rt)[1]=n}var E,k;if([_,T]=(E=_/n,k=T/i,[u[0]*E+u[2]*k,u[1]*E+u[3]*k]),g){const e=Math.hypot(s,o);D=A=Math.max(Math.min(Math.hypot(v[0]-b[0]-_,v[1]-b[1]-T)/e,1/s,1/o),c/s,l/o)}else m?D=Math.max(c,Math.min(1,Math.abs(v[0]-b[0]-_)))/s:A=Math.max(l,Math.min(1,Math.abs(v[1]-b[1]-T)))/o;const S=i_._round(s*D),C=i_._round(o*A);y=d(...p(S,C));const U=w-y[0],F=x-y[1];Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]),this.width=S,this.height=C,this.x=U,this.y=F,this.setDims(n*S,i*C),this.fixAndSetPosition(),this._onResizing()},sn=function(){var e;Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),null==(e=Sl(this,kt))||e.toggle(!1),this.parent.togglePointerEvents(!1)},on=function(e,t,n){let i=n/t*.7+1-.7;if(1===i)return;const r=Fl(this,Yt,Qt).call(this,this.rotation),a=(e,t)=>[r[0]*e+r[2]*t,r[1]*e+r[3]*t],[s,o]=this.parentDimensions,c=this.x,l=this.y,h=this.width,d=this.height,u=i_.MIN_SIZE/s,f=i_.MIN_SIZE/o;i=Math.max(Math.min(i,1/h,1/d),u/h,f/d);const p=i_._round(h*i),g=i_._round(d*i);if(p===h&&g===d)return;Sl(this,Lt)||Ul(this,Lt,[c,l,h,d]);const m=a(h/2,d/2),b=i_._round(c+m[0]),v=i_._round(l+m[1]),y=a(p/2,g/2);this.x=b-y[0],this.y=v-y[1],this.width=p,this.height=g,this.setDims(s*p,o*g),this.fixAndSetPosition(),this._onResizing()},cn=function(){var e;null==(e=Sl(this,kt))||e.toggle(!0),this.parent.togglePointerEvents(!0),Fl(this,Yt,rn).call(this)},ln=function(e){const{isMac:t}=ux.platform;e.ctrlKey&&!t||e.shiftKey||e.metaKey&&t?this.parent.toggleSelected(this):this.parent.setSelected(this)},hn=function(e){const{isSelected:t}=this;this._uiManager.setUpDragSession();let n=!1;const i=new AbortController,r=this._uiManager.combinedSignal(i),a={capture:!0,passive:!1,signal:r},s=e=>{i.abort(),Ul(this,Ct,null),Ul(this,Pt,!1),this._uiManager.endDragSession()||Fl(this,Yt,ln).call(this,e),n&&this._onStopDragging()};t&&(Ul(this,Ht,e.clientX),Ul(this,Vt,e.clientY),Ul(this,Ct,e.pointerId),Ul(this,Ut,e.pointerType),window.addEventListener("pointermove",(e=>{n||(n=!0,this._onStartDragging());const{clientX:t,clientY:i,pointerId:r}=e;if(r!==Sl(this,Ct))return void Mx(e);const[a,s]=this.screenToPageTranslation(t-Sl(this,Ht),i-Sl(this,Vt));Ul(this,Ht,t),Ul(this,Vt,i),this._uiManager.dragSelectedEditors(a,s)}),a),window.addEventListener("touchmove",Mx,a),window.addEventListener("pointerdown",(e=>{e.pointerType===Sl(this,Ut)&&(Sl(this,Xt)||e.isPrimary)&&s(e),Mx(e)}),a));const o=e=>{Sl(this,Ct)&&Sl(this,Ct)!==e.pointerId?Mx(e):s(e)};window.addEventListener("pointerup",o,{signal:r}),window.addEventListener("blur",o,{signal:r})},dn=function(){if(Sl(this,Ot)||!this.div)return;Ul(this,Ot,new AbortController);const e=this._uiManager.combinedSignal(Sl(this,Ot));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:e}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:e})},un=function(e){i_._resizerKeyboardManager.exec(this,e)},fn=function(e){var t;Sl(this,jt)&&(null==(t=e.relatedTarget)?void 0:t.parentNode)!==Sl(this,Mt)&&Fl(this,Yt,mn).call(this)},pn=function(e){Ul(this,Nt,Sl(this,jt)?e:"")},gn=function(e){if(Sl(this,Et))for(const t of Sl(this,Et))t.tabIndex=e},mn=function(){Ul(this,jt,!1),Fl(this,Yt,gn).call(this,-1),Fl(this,Yt,rn).call(this)},Cl(i_,Zt),El(i_,"_l10n",null),El(i_,"_l10nResizer",null),El(i_,"_borderLineWidth",-1),El(i_,"_colorManager",new Kx),El(i_,"_zIndex",1),El(i_,"_telemetryTimeout",1e3);let r_=i_;class a_ extends r_{constructor(e){super(e),this.annotationElementId=e.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}}const s_=3285377520,o_=4294901760,c_=65535;class l_{constructor(e){this.h1=e?4294967295&e:s_,this.h2=e?4294967295&e:s_}update(e){let t,n;if("string"==typeof e){t=new Uint8Array(2*e.length),n=0;for(let i=0,r=e.length;i>>8,t[n++]=255&r)}}else{if(!ArrayBuffer.isView(e))throw new Error("Invalid data format, must be a string or TypedArray.");t=e.slice(),n=t.byteLength}const i=n>>2,r=n-4*i,a=new Uint32Array(t.buffer,0,i);let s=0,o=0,c=this.h1,l=this.h2;const h=3432918353,d=461845907,u=11601,f=13715;for(let p=0;p>>17,s=s*d&o_|s*f&c_,c^=s,c=c<<13|c>>>19,c=5*c+3864292196):(o=a[p],o=o*h&o_|o*u&c_,o=o<<15|o>>>17,o=o*d&o_|o*f&c_,l^=o,l=l<<13|l>>>19,l=5*l+3864292196);switch(s=0,r){case 3:s^=t[4*i+2]<<16;case 2:s^=t[4*i+1]<<8;case 1:s^=t[4*i],s=s*h&o_|s*u&c_,s=s<<15|s>>>17,s=s*d&o_|s*f&c_,1&i?c^=s:l^=s}this.h1=c,this.h2=l}hexdigest(){let e=this.h1,t=this.h2;return e^=t>>>1,e=3981806797*e&o_|36045*e&c_,t=4283543511*t&o_|(2950163797*(t<<16|e>>>16)&o_)>>>16,e^=t>>>1,e=444984403*e&o_|60499*e&c_,t=3301882366*t&o_|(3120437893*(t<<16|e>>>16)&o_)>>>16,e^=t>>>1,(e>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}const h_=Object.freeze({map:null,hash:"",transfer:void 0});class d_{constructor(){Cl(this,wn),Cl(this,bn,!1),Cl(this,vn,null),Cl(this,yn,new Map),this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(e,t){const n=Sl(this,yn).get(e);return void 0===n?t:Object.assign(t,n)}getRawValue(e){return Sl(this,yn).get(e)}remove(e){if(Sl(this,yn).delete(e),0===Sl(this,yn).size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const e of Sl(this,yn).values())if(e instanceof r_)return;this.onAnnotationEditor(null)}}setValue(e,t){const n=Sl(this,yn).get(e);let i=!1;if(void 0!==n)for(const[r,a]of Object.entries(t))n[r]!==a&&(i=!0,n[r]=a);else i=!0,Sl(this,yn).set(e,t);i&&Fl(this,wn,xn).call(this),t instanceof r_&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(t.constructor._type)}has(e){return Sl(this,yn).has(e)}getAll(){return Sl(this,yn).size>0?dx(Sl(this,yn)):null}setAll(e){for(const[t,n]of Object.entries(e))this.setValue(t,n)}get size(){return Sl(this,yn).size}resetModified(){Sl(this,bn)&&(Ul(this,bn,!1),"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new u_(this)}get serializable(){if(0===Sl(this,yn).size)return h_;const e=new Map,t=new l_,n=[],i=Object.create(null);let r=!1;for(const[a,s]of Sl(this,yn)){const n=s instanceof r_?s.serialize(!1,i):s;n&&(e.set(a,n),t.update(`${a}:${JSON.stringify(n)}`),r||(r=!!n.bitmap))}if(r)for(const a of e.values())a.bitmap&&n.push(a.bitmap);return e.size>0?{map:e,hash:t.hexdigest(),transfer:n}:h_}get editorStats(){let e=null;const t=new Map;for(const n of Sl(this,yn).values()){if(!(n instanceof r_))continue;const i=n.telemetryFinalData;if(!i)continue;const{type:r}=i;t.has(r)||t.set(r,Object.getPrototypeOf(n).constructor),e||(e=Object.create(null));const a=e[r]||(e[r]=new Map);for(const[e,t]of Object.entries(i)){if("type"===e)continue;let n=a.get(e);n||(n=new Map,a.set(e,n));const i=n.get(t)??0;n.set(t,i+1)}}for(const[n,i]of t)e[n]=i.computeTelemetryFinalData(e[n]);return e}resetModifiedIds(){Ul(this,vn,null)}get modifiedIds(){if(Sl(this,vn))return Sl(this,vn);const e=[];for(const t of Sl(this,yn).values())t instanceof r_&&t.annotationElementId&&t.serialize()&&e.push(t.annotationElementId);return Ul(this,vn,{ids:new Set(e),hash:e.join(",")})}}bn=new WeakMap,vn=new WeakMap,yn=new WeakMap,wn=new WeakSet,xn=function(){Sl(this,bn)||(Ul(this,bn,!0),"function"==typeof this.onSetModified&&this.onSetModified())};class u_ extends d_{constructor(e){super(),Cl(this,_n);const{map:t,hash:n,transfer:i}=e.serializable,r=structuredClone(t,i?{transfer:i}:null);Ul(this,_n,{map:r,hash:n,transfer:i})}get print(){Zw("Should not call PrintAnnotationStorage.print")}get serializable(){return Sl(this,_n)}get modifiedIds(){return ex(this,"modifiedIds",{ids:new Set,hash:""})}}_n=new WeakMap;class f_{constructor({ownerDocument:e=globalThis.document,styleElement:t=null}){Cl(this,Tn,new Set),this._document=e,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(e){this.nativeFontFaces.add(e),this._document.fonts.add(e)}removeNativeFontFace(e){this.nativeFontFaces.delete(e),this._document.fonts.delete(e)}insertRule(e){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const t=this.styleElement.sheet;t.insertRule(e,t.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.clear(),Sl(this,Tn).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:e,_inspectFont:t}){if(e&&!Sl(this,Tn).has(e.loadedName))if(Jw(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:n,src:i,style:r}=e,a=new FontFace(n,i,r);this.addNativeFontFace(a);try{await a.load(),Sl(this,Tn).add(n),null==t||t(e)}catch{Kw(e.baseFontName),this.removeNativeFontFace(a)}}else Zw("Not implemented: loadSystemFont without the Font Loading API.")}async bind(e){if(e.attached||e.missingFile&&!e.systemFontInfo)return;if(e.attached=!0,e.systemFontInfo)return void(await this.loadSystemFont(e));if(this.isFontLoadingAPISupported){const t=e.createNativeFontFace();if(t){this.addNativeFontFace(t);try{await t.loaded}catch(n){throw Kw(t.family),e.disableFontFace=!0,n}}return}const t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await new Promise((t=>{const n=this._queueLoadingCallback(t);this._prepareFontLoadEvent(e,n)}))}}get isFontLoadingAPISupported(){var e;return ex(this,"isFontLoadingAPISupported",!!(null==(e=this._document)?void 0:e.fonts))}get isSyncFontLoadingSupported(){let e=!1;return(Jy||"undefined"!=typeof navigator&&"string"==typeof(null==navigator?void 0:navigator.userAgent)&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(e=!0),ex(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const{loadingRequests:t}=this,n={done:!1,complete:function(){for(Jw(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.length>0&&t[0].done;){const e=t.shift();setTimeout(e.callback,0)}},callback:e};return t.push(n),n}get _loadTestFont(){return ex(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,t){function n(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function i(e,t,n,i){return e.substring(0,t)+i+e.substring(t+n)}let r,a;const s=this._document.createElement("canvas");s.width=1,s.height=1;const o=s.getContext("2d");let c=0;const l=`lt${Date.now()}${this.loadTestFontId++}`;let h=this._loadTestFont;h=i(h,976,l.length,l);const d=1482184792;let u=n(h,16);for(r=0,a=l.length-3;r>24&255,f>>16&255,f>>8&255,255&f)));const p=`@font-face {font-family:"${l}";src:${`url(data:font/opentype;base64,${btoa(h)});`}}`;this.insertRule(p);const g=this._document.createElement("div");g.style.visibility="hidden",g.style.width=g.style.height="10px",g.style.position="absolute",g.style.top=g.style.left="0px";for(const m of[e.loadedName,l]){const e=this._document.createElement("span");e.textContent="Hi",e.style.fontFamily=m,g.append(e)}this._document.body.append(g),function e(t,n){if(++c>30)return Kw(),void n();o.font="30px "+t,o.fillText(".",0,20),o.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(l,(()=>{g.remove(),t.complete()}))}}Tn=new WeakMap;class p_{constructor(e,{disableFontFace:t=!1,fontExtraProperties:n=!1,inspectFont:i=null}){this.compiledGlyphs=Object.create(null);for(const r in e)this[r]=e[r];this.disableFontFace=!0===t,this.fontExtraProperties=!0===n,this._inspectFont=i}createNativeFontFace(){var e;if(!this.data||this.disableFontFace)return null;let t;if(this.cssFontInfo){const e={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(e.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,e)}else t=new FontFace(this.loadedName,this.data,{});return null==(e=this._inspectFont)||e.call(this,this),t}createFontFaceRule(){var e;if(!this.data||this.disableFontFace)return null;const t=`url(data:${this.mimetype};base64,${n=this.data,Uint8Array.prototype.toBase64?n.toBase64():btoa(lx(n))});`;var n;let i;if(this.cssFontInfo){let e=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(e+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),i=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${e}src:${t}}`}else i=`@font-face {font-family:"${this.loadedName}";src:${t}}`;return null==(e=this._inspectFont)||e.call(this,this,t),i}getPathGenerator(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];const n=this.loadedName+"_path_"+t;let i;try{i=e.get(n)}catch(a){Kw()}const r=new Path2D(i||"");return this.fontExtraProperties||e.delete(n),this.compiledGlyphs[t]=r}}const g_=1,m_=2,b_=1,v_=2,y_=3,w_=4,x_=5,__=6,T_=7,D_=8;function A_(){}function E_(e){if(e instanceof cx||e instanceof rx||e instanceof ax||e instanceof nx||e instanceof sx||e instanceof ix)return e;switch(e instanceof Error||"object"==typeof e&&null!==e||Zw('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new cx(e.message);case"InvalidPDFException":return new rx(e.message);case"MissingPDFException":return new ax(e.message);case"PasswordException":return new nx(e.message,e.code);case"UnexpectedResponseException":return new sx(e.message,e.status);case"UnknownErrorException":return new ix(e.message,e.details)}return new ix(e.message,e.toString())}class k_{constructor(e,t,n){Cl(this,An),Cl(this,Dn,new AbortController),this.sourceName=e,this.targetName=t,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),n.addEventListener("message",Fl(this,An,En).bind(this),{signal:Sl(this,Dn).signal})}on(e,t){const n=this.actionHandler;if(n[e])throw new Error(`There is already an actionName called "${e}"`);n[e]=t}send(e,t,n){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}sendWithPromise(e,t,n){const i=this.callbackId++,r=Promise.withResolvers();this.callbackCapabilities[i]=r;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:i,data:t},n)}catch(a){r.reject(a)}return r.promise}sendWithStream(e,t,n,i){const r=this.streamId++,a=this.sourceName,s=this.targetName,o=this.comObj;return new ReadableStream({start:n=>{const c=Promise.withResolvers();return this.streamControllers[r]={controller:n,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},o.postMessage({sourceName:a,targetName:s,action:e,streamId:r,data:t,desiredSize:n.desiredSize},i),c.promise},pull:e=>{const t=Promise.withResolvers();return this.streamControllers[r].pullCall=t,o.postMessage({sourceName:a,targetName:s,stream:__,streamId:r,desiredSize:e.desiredSize}),t.promise},cancel:e=>{Jw(e instanceof Error,"cancel must have a valid reason");const t=Promise.withResolvers();return this.streamControllers[r].cancelCall=t,this.streamControllers[r].isClosed=!0,o.postMessage({sourceName:a,targetName:s,stream:b_,streamId:r,reason:E_(e)}),t.promise}},n)}destroy(){var e;null==(e=Sl(this,Dn))||e.abort(),Ul(this,Dn,null)}}Dn=new WeakMap,An=new WeakSet,En=function({data:e}){if(e.targetName!==this.sourceName)return;if(e.stream)return void Fl(this,An,Sn).call(this,e);if(e.callback){const t=e.callbackId,n=this.callbackCapabilities[t];if(!n)throw new Error(`Cannot resolve callback ${t}`);if(delete this.callbackCapabilities[t],e.callback===g_)n.resolve(e.data);else{if(e.callback!==m_)throw new Error("Unexpected callback case");n.reject(E_(e.reason))}return}const t=this.actionHandler[e.action];if(!t)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const n=this.sourceName,i=e.sourceName,r=this.comObj;Promise.try(t,e.data).then((function(t){r.postMessage({sourceName:n,targetName:i,callback:g_,callbackId:e.callbackId,data:t})}),(function(t){r.postMessage({sourceName:n,targetName:i,callback:m_,callbackId:e.callbackId,reason:E_(t)})}))}else e.streamId?Fl(this,An,kn).call(this,e):t(e.data)},kn=function(e){const t=e.streamId,n=this.sourceName,i=e.sourceName,r=this.comObj,a=this,s=this.actionHandler[e.action],o={enqueue(e,a=1,s){if(this.isCancelled)return;const o=this.desiredSize;this.desiredSize-=a,o>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),r.postMessage({sourceName:n,targetName:i,stream:w_,streamId:t,chunk:e},s)},close(){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:n,targetName:i,stream:y_,streamId:t}),delete a.streamSinks[t])},error(e){Jw(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:n,targetName:i,stream:x_,streamId:t,reason:E_(e)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};o.sinkCapability.resolve(),o.ready=o.sinkCapability.promise,this.streamSinks[t]=o,Promise.try(s,e.data,o).then((function(){r.postMessage({sourceName:n,targetName:i,stream:D_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:D_,streamId:t,reason:E_(e)})}))},Sn=function(e){const t=e.streamId,n=this.sourceName,i=e.sourceName,r=this.comObj,a=this.streamControllers[t],s=this.streamSinks[t];switch(e.stream){case D_:e.success?a.startCall.resolve():a.startCall.reject(E_(e.reason));break;case T_:e.success?a.pullCall.resolve():a.pullCall.reject(E_(e.reason));break;case __:if(!s){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,success:!0});break}s.desiredSize<=0&&e.desiredSize>0&&s.sinkCapability.resolve(),s.desiredSize=e.desiredSize,Promise.try(s.onPull||A_).then((function(){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,reason:E_(e)})}));break;case w_:if(Jw(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(e.chunk);break;case y_:if(Jw(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),Fl(this,An,Cn).call(this,a,t);break;case x_:Jw(a,"error should have stream controller"),a.controller.error(E_(e.reason)),Fl(this,An,Cn).call(this,a,t);break;case v_:e.success?a.cancelCall.resolve():a.cancelCall.reject(E_(e.reason)),Fl(this,An,Cn).call(this,a,t);break;case b_:if(!s)break;const o=E_(e.reason);Promise.try(s.onCancel||A_,o).then((function(){r.postMessage({sourceName:n,targetName:i,stream:v_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:v_,streamId:t,reason:E_(e)})})),s.sinkCapability.reject(o),s.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}},Cn=async function(e,t){var n,i,r;await Promise.allSettled([null==(n=e.startCall)?void 0:n.promise,null==(i=e.pullCall)?void 0:i.promise,null==(r=e.cancelCall)?void 0:r.promise]),delete this.streamControllers[t]};class S_{constructor({enableHWA:e=!1}){Cl(this,Un,!1),Ul(this,Un,e)}create(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");const n=this._createCanvas(e,t);return{canvas:n,context:n.getContext("2d",{willReadFrequently:!Sl(this,Un)})}}reset(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}destroy(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}_createCanvas(e,t){Zw("Abstract method `_createCanvas` called.")}}Un=new WeakMap;class C_{constructor({baseUrl:e=null,isCompressed:t=!0}){this.baseUrl=e,this.isCompressed=t}async fetch({name:e}){if(!this.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!e)throw new Error("CMap name must be specified.");const t=this.baseUrl+e+(this.isCompressed?".bcmap":"");return this._fetch(t).then((e=>({cMapData:e,isCompressed:this.isCompressed}))).catch((e=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${t}`)}))}async _fetch(e){Zw("Abstract method `_fetch` called.")}}class U_ extends C_{async _fetch(e){const t=await _x(e,this.isCompressed?"arraybuffer":"text");return t instanceof ArrayBuffer?new Uint8Array(t):hx(t)}}class F_{addFilter(e){return"none"}addHCMFilter(e,t){return"none"}addAlphaFilter(e){return"none"}addLuminosityFilter(e){return"none"}addHighlightHCMFilter(e,t,n,i,r){return"none"}destroy(e=!1){}}Fn=new WeakMap,Mn=new WeakMap,Rn=new WeakMap,In=new WeakMap,On=new WeakMap,Nn=new WeakMap,Pn=new WeakMap,Ln=new WeakSet,Wn=function(){return Sl(this,Mn)||Ul(this,Mn,new Map)},Bn=function(){return Sl(this,Nn)||Ul(this,Nn,new Map)},jn=function(){if(!Sl(this,Rn)){const e=Sl(this,On).createElement("div"),{style:t}=e;t.visibility="hidden",t.contain="strict",t.width=t.height=0,t.position="absolute",t.top=t.left=0,t.zIndex=-1;const n=Sl(this,On).createElementNS(yx,"svg");n.setAttribute("width",0),n.setAttribute("height",0),Ul(this,Rn,Sl(this,On).createElementNS(yx,"defs")),e.append(n),n.append(Sl(this,Rn)),Sl(this,On).body.append(e)}return Sl(this,Rn)},zn=function(e){if(1===e.length){const t=e[0],n=new Array(256);for(let e=0;e<256;e++)n[e]=t[e]/255;const i=n.join(",");return[i,i,i]}const[t,n,i]=e,r=new Array(256),a=new Array(256),s=new Array(256);for(let o=0;o<256;o++)r[o]=t[o]/255,a[o]=n[o]/255,s[o]=i[o]/255;return[r.join(","),a.join(","),s.join(",")]},Hn=function(e){if(void 0===Sl(this,Fn)){Ul(this,Fn,"");const e=Sl(this,On).URL;e!==Sl(this,On).baseURI&&(Ax(e)?Kw():Ul(this,Fn,e.split("#",1)[0]))}return`url(${Sl(this,Fn)}#${e})`},Vn=function(e){const t=Sl(this,On).createElementNS(yx,"feColorMatrix");t.setAttribute("type","matrix"),t.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),e.append(t)},Gn=function(e){const t=Sl(this,On).createElementNS(yx,"feColorMatrix");t.setAttribute("type","matrix"),t.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),e.append(t)},Xn=function(e){const t=Sl(this,On).createElementNS(yx,"filter");return t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("id",e),Sl(this,Ln,jn).append(t),t},$n=function(e,t,n){const i=Sl(this,On).createElementNS(yx,t);i.setAttribute("type","discrete"),i.setAttribute("tableValues",n),e.append(i)},qn=function(e,t,n,i){const r=Sl(this,On).createElementNS(yx,"feComponentTransfer");i.append(r),Fl(this,Ln,$n).call(this,r,"feFuncR",e),Fl(this,Ln,$n).call(this,r,"feFuncG",t),Fl(this,Ln,$n).call(this,r,"feFuncB",n)},Yn=function(e,t){const n=Sl(this,On).createElementNS(yx,"feComponentTransfer");t.append(n),Fl(this,Ln,$n).call(this,n,"feFuncA",e)},Kn=function(e){return Sl(this,Ln,jn).style.color=e,Ox(getComputedStyle(Sl(this,Ln,jn)).getPropertyValue("color"))};class M_{constructor({baseUrl:e=null}){this.baseUrl=e}async fetch({filename:e}){if(!this.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!e)throw new Error("Font filename must be specified.");const t=`${this.baseUrl}${e}`;return this._fetch(t).catch((e=>{throw new Error(`Unable to load font data at: ${t}`)}))}async _fetch(e){Zw("Abstract method `_fetch` called.")}}class R_ extends M_{async _fetch(e){const t=await _x(e,"arraybuffer");return new Uint8Array(t)}}async function I_(e){const t=process.getBuiltinModule("fs"),n=await t.promises.readFile(e);return new Uint8Array(n)}Jy&&Kw();const O_="Fill",N_="Stroke",P_="Shading";function L_(e,t){if(!t)return;const n=t[2]-t[0],i=t[3]-t[1],r=new Path2D;r.rect(t[0],t[1],n,i),e.clip(r)}class W_{getPattern(){Zw("Abstract method `getPattern` called.")}}class B_ extends W_{constructor(e){super(),this._type=e[1],this._bbox=e[2],this._colorStops=e[3],this._p0=e[4],this._p1=e[5],this._r0=e[6],this._r1=e[7],this.matrix=null}_createGradient(e){let t;"axial"===this._type?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const n of this._colorStops)t.addColorStop(n[0],n[1]);return t}getPattern(e,t,n,i){let r;if(i===N_||i===O_){const a=t.current.getClippedPathBoundingBox(i,Nx(e))||[0,0,0,0],s=Math.ceil(a[2]-a[0])||1,o=Math.ceil(a[3]-a[1])||1,c=t.cachedCanvases.getCanvas("pattern",s,o),l=c.context;l.clearRect(0,0,l.canvas.width,l.canvas.height),l.beginPath(),l.rect(0,0,l.canvas.width,l.canvas.height),l.translate(-a[0],-a[1]),n=px.transform(n,[1,0,0,1,a[0],a[1]]),l.transform(...t.baseTransform),this.matrix&&l.transform(...this.matrix),L_(l,this._bbox),l.fillStyle=this._createGradient(l),l.fill(),r=e.createPattern(c.canvas,"no-repeat");const h=new DOMMatrix(n);r.setTransform(h)}else L_(e,this._bbox),r=this._createGradient(e);return r}}function j_(e,t,n,i,r,a,s,o){const c=t.coords,l=t.colors,h=e.data,d=4*e.width;let u;c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=a,a=s,s=u),c[i+1]>c[r+1]&&(u=i,i=r,r=u,u=s,s=o,o=u),c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=a,a=s,s=u);const f=(c[n]+t.offsetX)*t.scaleX,p=(c[n+1]+t.offsetY)*t.scaleY,g=(c[i]+t.offsetX)*t.scaleX,m=(c[i+1]+t.offsetY)*t.scaleY,b=(c[r]+t.offsetX)*t.scaleX,v=(c[r+1]+t.offsetY)*t.scaleY;if(p>=v)return;const y=l[a],w=l[a+1],x=l[a+2],_=l[s],T=l[s+1],D=l[s+2],A=l[o],E=l[o+1],k=l[o+2],S=Math.round(p),C=Math.round(v);let U,F,M,R,I,O,N,P;for(let L=S;L<=C;L++){if(Lv?1:m===v?0:(m-L)/(m-v),U=g-(g-b)*e,F=_-(_-A)*e,M=T-(T-E)*e,R=D-(D-k)*e}let e;e=Lv?1:(p-L)/(p-v),I=f-(f-b)*e,O=y-(y-A)*e,N=w-(w-E)*e,P=x-(x-k)*e;const t=Math.round(Math.min(U,I)),n=Math.round(Math.max(U,I));let i=d*L+4*t;for(let r=t;r<=n;r++)e=(U-r)/(U-I),e<0?e=0:e>1&&(e=1),h[i++]=F-(F-O)*e|0,h[i++]=M-(M-N)*e|0,h[i++]=R-(R-P)*e|0,h[i++]=255}}function z_(e,t,n){const i=t.coords,r=t.colors;let a,s;switch(t.type){case"lattice":const o=t.verticesPerRow,c=Math.floor(i.length/o)-1,l=o-1;for(a=0;a=Math.ceil(f*b)?y=o:x=!0,D>=Math.ceil(p*v)?w=c:_=!0;const A=this.getSizeAndScale(y,this.ctx.canvas.width,b),E=this.getSizeAndScale(w,this.ctx.canvas.height,v),k=e.cachedCanvases.getCanvas("pattern",A.size,E.size),S=k.context,C=s.createCanvasGraphics(S);if(C.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(C,i,a),S.translate(-A.scale*l,-E.scale*h),C.transform(A.scale,0,0,E.scale,0,0),S.save(),this.clipBbox(C,l,h,d,u),C.baseTransform=Nx(C.ctx),C.executeOperatorList(n),C.endDrawing(),S.restore(),x||_){const t=k.canvas;x&&(y=o),_&&(w=c);const n=this.getSizeAndScale(y,this.ctx.canvas.width,b),i=this.getSizeAndScale(w,this.ctx.canvas.height,v),r=n.size,a=i.size,s=e.cachedCanvases.getCanvas("pattern-workaround",r,a),d=s.context,u=x?Math.floor(f/o):0,g=_?Math.floor(p/c):0;for(let e=0;e<=u;e++)for(let n=0;n<=g;n++)d.drawImage(t,r*e,a*n,r,a,0,0,r,a);return{canvas:s.canvas,scaleX:n.scale,scaleY:i.scale,offsetX:l,offsetY:h}}return{canvas:k.canvas,scaleX:A.scale,scaleY:E.scale,offsetX:l,offsetY:h}}getSizeAndScale(t,n,i){const r=Math.max(e.MAX_PATTERN_SIZE,n);let a=Math.ceil(t*i);return a>=r?a=r:i=a/t,{scale:i,size:a}}clipBbox(e,t,n,i,r){const a=i-t,s=r-n;e.ctx.rect(t,n,a,s),e.current.updateRectMinMax(Nx(e.ctx),[t,n,i,r]),e.clip(),e.endPath()}setFillAndStrokeStyleToContext(e,t,n){const i=e.ctx,r=e.current;switch(t){case G_:const e=this.ctx;i.fillStyle=e.fillStyle,i.strokeStyle=e.strokeStyle,r.fillColor=e.fillStyle,r.strokeColor=e.strokeStyle;break;case X_:const a=px.makeHexColor(n[0],n[1],n[2]);i.fillStyle=a,i.strokeStyle=a,r.fillColor=a,r.strokeColor=a;break;default:throw new ox(`Unsupported paint type: ${t}`)}}getPattern(e,t,n,i){let r=n;i!==P_&&(r=px.transform(r,t.baseTransform),this.matrix&&(r=px.transform(r,this.matrix)));const a=this.createPatternCanvas(t);let s=new DOMMatrix(r);s=s.translate(a.offsetX,a.offsetY),s=s.scale(1/a.scaleX,1/a.scaleY);const o=e.createPattern(a.canvas,"repeat");return o.setTransform(s),o}};El($_,"MAX_PATTERN_SIZE",3e3);let q_=$_;function Y_({src:e,srcPos:t=0,dest:n,width:i,height:r,nonBlackColor:a=4294967295,inverseDecode:s=!1}){const o=ux.isLittleEndian?4278190080:255,[c,l]=s?[a,o]:[o,a],h=i>>3,d=7&i,u=e.length;n=new Uint32Array(n.buffer);let f=0;for(let p=0;p>2),g=n.length,m=i+7>>3,b=4294967295,v=ux.isLittleEndian?4278190080:255;for(u=0;um?i:8*e-7,s=-8&a;let o=0,d=0;for(;r>=1}for(;c=a&&(p=r,g=i*p),c=0,f=g;f--;)d[c++]=h[l++],d[c++]=h[l++],d[c++]=h[l++],d[c++]=255;e.putImageData(o,0,u*K_)}}}function tT(e,t){if(t.bitmap)return void e.drawImage(t.bitmap,0,0);const n=t.height,i=t.width,r=n%K_,a=(n-r)/K_,s=0===r?a:a+1,o=e.createImageData(i,K_);let c=0;const l=t.data,h=o.data;for(let d=0;d10&&"function"==typeof n,l=c?Date.now()+15:0;let h=0;const d=this.commonObjs,u=this.objs;let f;for(;;){if(void 0!==i&&s===i.nextBreakPoint)return i.breakIt(s,n),s;if(f=a[s],f!==Gw.dependency)this[f].apply(this,r[s]);else for(const e of r[s]){const t=e.startsWith("g_")?d:u;if(!t.has(e))return t.get(e,n),s}if(s++,s===o)return s;if(c&&++h>10){if(Date.now()>l)return n(),s;h=0}}}endDrawing(){Fl(this,Zn,Jn).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const e of this._cachedBitmapsMap.values()){for(const t of e.values())"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement&&(t.width=t.height=0);e.clear()}this._cachedBitmapsMap.clear(),Fl(this,Zn,Qn).call(this)}_scaleImage(e,t){const n=e.width??e.displayWidth,i=e.height??e.displayHeight;let r,a,s=Math.max(Math.hypot(t[0],t[1]),1),o=Math.max(Math.hypot(t[2],t[3]),1),c=n,l=i,h="prescale1";for(;s>2&&c>1||o>2&&l>1;){let t=c,n=l;s>2&&c>1&&(t=c>=16384?Math.floor(c/2)-1||1:Math.ceil(c/2),s/=c/t),o>2&&l>1&&(n=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l)/2,o/=l/n),r=this.cachedCanvases.getCanvas(h,t,n),a=r.context,a.clearRect(0,0,t,n),a.drawImage(e,0,0,c,l,0,0,t,n),e=r.canvas,c=t,l=n,h="prescale1"===h?"prescale2":"prescale1"}return{img:e,paintWidth:c,paintHeight:l}}_createMaskCanvas(e){const t=this.ctx,{width:n,height:i}=e,r=this.current.fillColor,a=this.current.patternFill,s=Nx(t);let o,c,l,h;if((e.bitmap||e.data)&&e.count>1){const t=e.bitmap||e.data.buffer;c=JSON.stringify(a?s:[s.slice(0,4),r]),o=this._cachedBitmapsMap.get(t),o||(o=new Map,this._cachedBitmapsMap.set(t,o));const n=o.get(c);if(n&&!a){return{canvas:n,offsetX:Math.round(Math.min(s[0],s[2])+s[4]),offsetY:Math.round(Math.min(s[1],s[3])+s[5])}}l=n}l||(h=this.cachedCanvases.getCanvas("maskCanvas",n,i),tT(h.context,e));let d=px.transform(s,[1/n,0,0,-1/i,0,0]);d=px.transform(d,[1,0,0,1,0,-i]);const[u,f,p,g]=px.getAxialAlignedBoundingBox([0,0,n,i],d),m=Math.round(p-u)||1,b=Math.round(g-f)||1,v=this.cachedCanvases.getCanvas("fillCanvas",m,b),y=v.context,w=u,x=f;y.translate(-w,-x),y.transform(...d),l||(l=this._scaleImage(h.canvas,Px(y)),l=l.img,o&&a&&o.set(c,l)),y.imageSmoothingEnabled=rT(Nx(y),e.interpolate),J_(y,l,0,0,l.width,l.height,0,0,n,i),y.globalCompositeOperation="source-in";const _=px.transform(Px(y),[1,0,0,1,-w,-x]);return y.fillStyle=a?r.getPattern(t,this,_,O_):r,y.fillRect(0,0,n,i),o&&!a&&(this.cachedCanvases.delete("fillCanvas"),o.set(c,v.canvas)),{canvas:v.canvas,offsetX:Math.round(w),offsetY:Math.round(x)}}setLineWidth(e){e!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=e,this.ctx.lineWidth=e}setLineCap(e){this.ctx.lineCap=aT[e]}setLineJoin(e){this.ctx.lineJoin=sT[e]}setMiterLimit(e){this.ctx.miterLimit=e}setDash(e,t){const n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(const[t,n]of e)switch(t){case"LW":this.setLineWidth(n);break;case"LC":this.setLineCap(n);break;case"LJ":this.setLineJoin(n);break;case"ML":this.setMiterLimit(n);break;case"D":this.setDash(n[0],n[1]);break;case"RI":this.setRenderingIntent(n);break;case"FL":this.setFlatness(n);break;case"Font":this.setFont(n[0],n[1]);break;case"CA":this.current.strokeAlpha=n;break;case"ca":this.current.fillAlpha=n,this.ctx.globalAlpha=n;break;case"BM":this.ctx.globalCompositeOperation=n;break;case"SMask":this.current.activeSMask=n?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(n)}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const e=this.inSMaskMode;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const e=this.ctx.canvas.width,t=this.ctx.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,e,t);this.suspendedCtx=this.ctx,this.ctx=i.context;const r=this.ctx;r.setTransform(...Nx(this.suspendedCtx)),nT(this.suspendedCtx,r),function(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(e,n){t.translate(e,n),this.__originalTranslate(e,n)},e.scale=function(e,n){t.scale(e,n),this.__originalScale(e,n)},e.transform=function(e,n,i,r,a,s){t.transform(e,n,i,r,a,s),this.__originalTransform(e,n,i,r,a,s)},e.setTransform=function(e,n,i,r,a,s){t.setTransform(e,n,i,r,a,s),this.__originalSetTransform(e,n,i,r,a,s)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(e){t.rotate(e),this.__originalRotate(e)},e.clip=function(e){t.clip(e),this.__originalClip(e)},e.moveTo=function(e,n){t.moveTo(e,n),this.__originalMoveTo(e,n)},e.lineTo=function(e,n){t.lineTo(e,n),this.__originalLineTo(e,n)},e.bezierCurveTo=function(e,n,i,r,a,s){t.bezierCurveTo(e,n,i,r,a,s),this.__originalBezierCurveTo(e,n,i,r,a,s)},e.rect=function(e,n,i,r){t.rect(e,n,i,r),this.__originalRect(e,n,i,r)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}(r,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),nT(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(e){if(!this.current.activeSMask)return;e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const t=this.current.activeSMask,n=this.suspendedCtx;this.composeSMask(n,t,this.ctx,e),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(e,t,n,i){const r=i[0],a=i[1],s=i[2]-r,o=i[3]-a;0!==s&&0!==o&&(this.genericComposeSMask(t.context,n,s,o,t.subtype,t.backdrop,t.transferMap,r,a,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(n.canvas,0,0),e.restore())}genericComposeSMask(e,t,n,i,r,a,s,o,c,l,h){let d=e.canvas,u=o-l,f=c-h;if(a){const t=px.makeHexColor(...a);if(u<0||f<0||u+n>d.width||f+i>d.height){const e=this.cachedCanvases.getCanvas("maskExtension",n,i),r=e.context;r.drawImage(d,-u,-f),r.globalCompositeOperation="destination-atop",r.fillStyle=t,r.fillRect(0,0,n,i),r.globalCompositeOperation="source-over",d=e.canvas,u=f=0}else{e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0);const r=new Path2D;r.rect(u,f,n,i),e.clip(r),e.globalCompositeOperation="destination-atop",e.fillStyle=t,e.fillRect(u,f,n,i),e.restore()}}t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0),"Alpha"===r&&s?t.filter=this.filterFactory.addAlphaFilter(s):"Luminosity"===r&&(t.filter=this.filterFactory.addLuminosityFilter(s));const p=new Path2D;p.rect(o,c,n,i),t.clip(p),t.globalCompositeOperation="destination-in",t.drawImage(d,u,f,n,i,o,c,n,i),t.restore()}save(){this.inSMaskMode?(nT(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const e=this.current;this.stateStack.push(e),this.current=e.clone()}restore(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),nT(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(e,t,n,i,r,a){this.ctx.transform(e,t,n,i,r,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(e,t,n){const i=this.ctx,r=this.current;let a,s,o=r.x,c=r.y;const l=Nx(i),h=0===l[0]&&0===l[3]||0===l[1]&&0===l[2],d=h?n.slice(0):null;for(let u=0,f=0,p=e.length;u100&&(l=100),this.current.fontSizeScale=t/l,this.ctx.font=`${c} ${o} ${l}px ${s}`}setTextRenderingMode(e){this.current.textRenderingMode=e}setTextRise(e){this.current.textRise=e}moveText(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}setTextMatrix(e,t,n,i,r,a){this.current.textMatrix=[e,t,n,i,r,a],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(e,t,n,i,r){const a=this.ctx,s=this.current,o=s.font,c=s.textRenderingMode,l=s.fontSize/s.fontSizeScale,h=c&vw,d=!!(c&yw),u=s.patternFill&&!o.missingFile,f=s.patternStroke&&!o.missingFile;let p;if((o.disableFontFace||d||u||f)&&(p=o.getPathGenerator(this.commonObjs,e)),o.disableFontFace||u||f){if(a.save(),a.translate(t,n),a.scale(l,-l),h===pw||h===mw)if(i){const e=a.getTransform();a.setTransform(...i),a.fill(Fl(this,Zn,ei).call(this,p,e,i))}else a.fill(p);if(h===gw||h===mw)if(r){const e=a.getTransform();a.setTransform(...r),a.stroke(Fl(this,Zn,ei).call(this,p,e,r))}else a.lineWidth/=l,a.stroke(p);a.restore()}else h!==pw&&h!==mw||a.fillText(e,t,n),h!==gw&&h!==mw||a.strokeText(e,t,n);if(d){(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:Nx(a),x:t,y:n,fontSize:l,path:p})}}get isFontSubpixelAAEnabled(){const{context:e}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);e.scale(1.5,1),e.fillText("I",0,10);const t=e.getImageData(0,0,10,10).data;let n=!1;for(let i=3;i0&&t[i]<255){n=!0;break}return ex(this,"isFontSubpixelAAEnabled",n)}showText(e){const t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);const i=t.fontSize;if(0===i)return;const r=this.ctx,a=t.fontSizeScale,s=t.charSpacing,o=t.wordSpacing,c=t.fontDirection,l=t.textHScale*c,h=e.length,d=n.vertical,u=d?1:-1,f=n.defaultVMetrics,p=i*t.fontMatrix[0],g=t.textRenderingMode===pw&&!n.disableFontFace&&!t.patternFill;let m,b;if(r.save(),r.transform(...t.textMatrix),r.translate(t.x,t.y+t.textRise),c>0?r.scale(l,-1):r.scale(l,1),t.patternFill){r.save();const e=t.fillColor.getPattern(r,this,Px(r),O_);m=Nx(r),r.restore(),r.fillStyle=e}if(t.patternStroke){r.save();const e=t.strokeColor.getPattern(r,this,Px(r),N_);b=Nx(r),r.restore(),r.strokeStyle=e}let v=t.lineWidth;const y=t.textMatrixScale;if(0===y||0===v){const e=t.textRenderingMode&vw;e!==gw&&e!==mw||(v=this.getSinglePixelWidth())}else v/=y;if(1!==a&&(r.scale(a,a),v/=a),r.lineWidth=v,n.isInvalidPDFjsFont){const n=[];let i=0;for(const t of e)n.push(t.unicode),i+=t.width;return r.fillText(n.join(""),0,0),t.x+=i*p*l,r.restore(),void this.compose()}let w,x=0;for(w=0;w0){const e=1e3*r.measureText(v).width/i*a;if(Dnew e(t,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};n=new q_(t,i,this.ctx,a,r)}else n=this._getPattern(t[1],t[2]);return n}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments),this.current.patternStroke=!0}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(e,t,n){this.ctx.strokeStyle=this.current.strokeColor=px.makeHexColor(e,t,n),this.current.patternStroke=!1}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(e,t,n){this.ctx.fillStyle=this.current.fillColor=px.makeHexColor(e,t,n),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(e,t=null){let n;return this.cachedPatterns.has(e)?n=this.cachedPatterns.get(e):(n=function(e){switch(e[0]){case"RadialAxial":return new B_(e);case"Mesh":return new H_(e);case"Dummy":return new V_}throw new Error(`Unknown IR type: ${e[0]}`)}(this.getObject(e)),this.cachedPatterns.set(e,n)),t&&(n.matrix=t),n}shadingFill(e){if(!this.contentVisible)return;const t=this.ctx;this.save();const n=this._getPattern(e);t.fillStyle=n.getPattern(t,this,Px(t),P_);const i=Px(t);{const{width:e,height:n}=t.canvas,[r,a,s,o]=px.getAxialAlignedBoundingBox([0,0,e,n],i);this.ctx.fillRect(r,a,s-r,o-a)}this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){Zw("Should not call beginInlineImage")}beginImageData(){Zw("Should not call beginImageData")}paintFormXObjectBegin(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),e&&this.transform(...e),this.baseTransform=Nx(this.ctx),t)){const e=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],e,n),this.current.updateRectMinMax(Nx(this.ctx),t),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(e){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const t=this.ctx;e.isolated||Yw(),e.knockout&&Kw();const n=Nx(t);if(e.matrix&&t.transform(...e.matrix),!e.bbox)throw new Error("Bounding box is required.");let i=px.getAxialAlignedBoundingBox(e.bbox,Nx(t));const r=[0,0,t.canvas.width,t.canvas.height];i=px.intersect(i,r)||[0,0,0,0];const a=Math.floor(i[0]),s=Math.floor(i[1]),o=Math.max(Math.ceil(i[2])-a,1),c=Math.max(Math.ceil(i[3])-s,1);this.current.startNewPathAndClipBox([0,0,o,c]);let l="groupAt"+this.groupLevel;e.smask&&(l+="_smask_"+this.smaskCounter++%2);const h=this.cachedCanvases.getCanvas(l,o,c),d=h.context;d.translate(-a,-s),d.transform(...n),e.smask?this.smaskStack.push({canvas:h.canvas,context:d,offsetX:a,offsetY:s,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(a,s),t.save()),nT(t,d),this.ctx=d,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++}endGroup(e){if(!this.contentVisible)return;this.groupLevel--;const t=this.ctx,n=this.groupStack.pop();if(this.ctx=n,this.ctx.imageSmoothingEnabled=!1,e.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const e=Nx(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...e);const n=px.getAxialAlignedBoundingBox([0,0,t.canvas.width,t.canvas.height],e);this.ctx.drawImage(t.canvas,0,0),this.ctx.restore(),this.compose(n)}}beginAnnotation(e,t,n,i,r){if(Fl(this,Zn,Jn).call(this),iT(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),t){const i=t[2]-t[0],a=t[3]-t[1];if(r&&this.annotationCanvasMap){(n=n.slice())[4]-=t[0],n[5]-=t[1],(t=t.slice())[0]=t[1]=0,t[2]=i,t[3]=a;const[r,s]=px.singularValueDecompose2dScale(Nx(this.ctx)),{viewportScale:o}=this,c=Math.ceil(i*this.outputScaleX*o),l=Math.ceil(a*this.outputScaleY*o);this.annotationCanvas=this.canvasFactory.create(c,l);const{canvas:h,context:d}=this.annotationCanvas;this.annotationCanvasMap.set(e,h),this.annotationCanvas.savedCtx=this.ctx,this.ctx=d,this.ctx.save(),this.ctx.setTransform(r,0,0,-s,0,a*s),iT(this.ctx)}else iT(this.ctx),this.endPath(),this.ctx.rect(t[0],t[1],i,a),this.ctx.clip(),this.ctx.beginPath()}this.current=new Q_(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...n),this.transform(...i)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),Fl(this,Zn,Qn).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(e){if(!this.contentVisible)return;const t=e.count;(e=this.getObject(e.data,e)).count=t;const n=this.ctx,i=this.processingType3;if(i&&(void 0===i.compiled&&(i.compiled=function(e){const{width:t,height:n}=e;if(t>1e3||n>1e3)return null;const i=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),r=t+1;let a,s,o,c=new Uint8Array(r*(n+1));const l=t+7&-8;let h=new Uint8Array(l*n),d=0;for(const g of e.data){let e=128;for(;e>0;)h[d++]=g&e?0:255,e>>=1}let u=0;for(d=0,0!==h[d]&&(c[0]=1,++u),s=1;s>2)+(h[d+1]?4:0)+(h[d-l+1]?8:0),i[e]&&(c[o+s]=i[e],++u),d++;if(h[d-l]!==h[d]&&(c[o+s]=h[d]?2:4,++u),u>1e3)return null}for(d=l*(n-1),o=a*r,0!==h[d]&&(c[o]=8,++u),s=1;s1e3)return null;const f=new Int32Array([0,r,-1,0,-r,0,0,0,1]),p=new Path2D;for(a=0;u&&a<=n;a++){let e=a*r;const n=e+t;for(;e>4,c[e]&=s>>2|s<<2),p.lineTo(e%r,e/r|0),c[e]||--u}while(i!==e);--a}return h=null,c=null,function(e){e.save(),e.scale(1/t,-1/n),e.translate(0,-n),e.fill(p),e.beginPath(),e.restore()}}(e)),i.compiled))return void i.compiled(n);const r=this._createMaskCanvas(e),a=r.canvas;n.save(),n.setTransform(1,0,0,1,0,0),n.drawImage(a,r.offsetX,r.offsetY),n.restore(),this.compose()}paintImageMaskXObjectRepeat(e,t,n=0,i=0,r,a){if(!this.contentVisible)return;e=this.getObject(e.data,e);const s=this.ctx;s.save();const o=Nx(s);s.transform(t,n,i,r,0,0);const c=this._createMaskCanvas(e);s.setTransform(1,0,0,1,c.offsetX-o[4],c.offsetY-o[5]);for(let l=0,h=a.length;lt?l/t:1,s=c>t?c/t:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=s}return this._cachedScaleForStroking}rescaleAndStroke(e){const{ctx:t}=this,{lineWidth:n}=this.current,[i,r]=this.getScaleForStroking();if(t.lineWidth=n||1,1===i&&1===r)return void t.stroke();const a=t.getLineDash();if(e&&t.save(),t.scale(i,r),a.length>0){const e=Math.max(i,r);t.setLineDash(a.map((t=>t/e))),t.lineDashOffset/=e}t.stroke(),e&&t.restore()}isContentVisible(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}};for(const $ in Gw)void 0!==lT.prototype[$]&&(lT.prototype[Gw[$]]=lT.prototype[$]);class hT{static get workerPort(){return Sl(this,ti)}static set workerPort(e){if(!("undefined"!=typeof Worker&&e instanceof Worker)&&null!==e)throw new Error("Invalid `workerPort` type.");Ul(this,ti,e)}static get workerSrc(){return Sl(this,ni)}static set workerSrc(e){if("string"!=typeof e)throw new Error("Invalid `workerSrc` type.");Ul(this,ni,e)}}ti=new WeakMap,ni=new WeakMap,Cl(hT,ti,null),Cl(hT,ni,"");class dT{constructor({parsedData:e,rawData:t}){Cl(this,ii),Cl(this,ri),Ul(this,ii,e),Ul(this,ri,t)}getRaw(){return Sl(this,ri)}get(e){return Sl(this,ii).get(e)??null}getAll(){return dx(Sl(this,ii))}has(e){return Sl(this,ii).has(e)}}ii=new WeakMap,ri=new WeakMap;const uT=Symbol("INTERNAL");class fT{constructor(e,{name:t,intent:n,usage:i,rbGroups:r}){Cl(this,ai,!1),Cl(this,si,!1),Cl(this,oi,!1),Cl(this,ci,!0),Ul(this,ai,!!(e&iw)),Ul(this,si,!!(e&rw)),this.name=t,this.intent=n,this.usage=i,this.rbGroups=r}get visible(){if(Sl(this,oi))return Sl(this,ci);if(!Sl(this,ci))return!1;const{print:e,view:t}=this.usage;return Sl(this,ai)?"OFF"!==(null==t?void 0:t.viewState):!Sl(this,si)||"OFF"!==(null==e?void 0:e.printState)}_setVisible(e,t,n=!1){e!==uT&&Zw("Internal method `_setVisible` called."),Ul(this,oi,n),Ul(this,ci,t)}}ai=new WeakMap,si=new WeakMap,oi=new WeakMap,ci=new WeakMap;class pT{constructor(e,t=iw){if(Cl(this,fi),Cl(this,li,null),Cl(this,hi,new Map),Cl(this,di,null),Cl(this,ui,null),this.renderingIntent=t,this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,Ul(this,ui,e.order);for(const n of e.groups)Sl(this,hi).set(n.id,new fT(t,n));if("OFF"===e.baseState)for(const e of Sl(this,hi).values())e._setVisible(uT,!1);for(const t of e.on)Sl(this,hi).get(t)._setVisible(uT,!0);for(const t of e.off)Sl(this,hi).get(t)._setVisible(uT,!1);Ul(this,di,this.getHash())}}isVisible(e){if(0===Sl(this,hi).size)return!0;if(!e)return Yw(),!0;if("OCG"===e.type)return Sl(this,hi).has(e.id)?Sl(this,hi).get(e.id).visible:(Kw(e.id),!0);if("OCMD"===e.type){if(e.expression)return Fl(this,fi,pi).call(this,e.expression);if(!e.policy||"AnyOn"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(Sl(this,hi).get(t).visible)return!0}return!1}if("AllOn"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(!Sl(this,hi).get(t).visible)return!1}return!0}if("AnyOff"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(!Sl(this,hi).get(t).visible)return!0}return!1}if("AllOff"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(Sl(this,hi).get(t).visible)return!1}return!0}return Kw(e.policy),!0}return Kw(e.type),!0}setVisibility(e,t=!0,n=!0){var i;const r=Sl(this,hi).get(e);if(r){if(n&&t&&r.rbGroups.length)for(const t of r.rbGroups)for(const n of t)n!==e&&(null==(i=Sl(this,hi).get(n))||i._setVisible(uT,!1,!0));r._setVisible(uT,!!t,!0),Ul(this,li,null)}else Kw()}setOCGState({state:e,preserveRB:t}){let n;for(const i of e){switch(i){case"ON":case"OFF":case"Toggle":n=i;continue}const e=Sl(this,hi).get(i);if(e)switch(n){case"ON":this.setVisibility(i,!0,t);break;case"OFF":this.setVisibility(i,!1,t);break;case"Toggle":this.setVisibility(i,!e.visible,t)}}Ul(this,li,null)}get hasInitialVisibility(){return null===Sl(this,di)||this.getHash()===Sl(this,di)}getOrder(){return Sl(this,hi).size?Sl(this,ui)?Sl(this,ui).slice():[...Sl(this,hi).keys()]:null}getGroups(){return Sl(this,hi).size>0?dx(Sl(this,hi)):null}getGroup(e){return Sl(this,hi).get(e)||null}getHash(){if(null!==Sl(this,li))return Sl(this,li);const e=new l_;for(const[t,n]of Sl(this,hi))e.update(`${t}:${n.visible}`);return Ul(this,li,e.hexdigest())}}li=new WeakMap,hi=new WeakMap,di=new WeakMap,ui=new WeakMap,fi=new WeakSet,pi=function(e){const t=e.length;if(t<2)return!0;const n=e[0];for(let i=1;i0){const e=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;this._queuedChunks.push(e)}this._pdfDataRangeTransport=e,this._isStreamingSupported=!n,this._isRangeSupported=!t,this._contentLength=i,this._fullRequestReader=null,this._rangeReaders=[],e.addRangeListener(((e,t)=>{this._onReceiveData({begin:e,chunk:t})})),e.addProgressListener(((e,t)=>{this._onProgress({loaded:e,total:t})})),e.addProgressiveReadListener((e=>{this._onReceiveData({chunk:e})})),e.addProgressiveDoneListener((()=>{this._onProgressiveDone()})),e.transportReady()}_onReceiveData({begin:e,chunk:t}){const n=t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength?t.buffer:new Uint8Array(t).buffer;if(void 0===e)this._fullRequestReader?this._fullRequestReader._enqueue(n):this._queuedChunks.push(n);else{Jw(this._rangeReaders.some((function(t){return t._begin===e&&(t._enqueue(n),!0)})),"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var e;return(null==(e=this._fullRequestReader)?void 0:e._loaded)??0}_onProgress(e){var t,n,i,r;void 0===e.total?null==(n=null==(t=this._rangeReaders[0])?void 0:t.onProgress)||n.call(t,{loaded:e.loaded}):null==(r=null==(i=this._fullRequestReader)?void 0:i.onProgress)||r.call(i,{loaded:e.loaded,total:e.total})}_onProgressiveDone(){var e;null==(e=this._fullRequestReader)||e.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(e){const t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}getFullReader(){Jw(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const e=this._queuedChunks;return this._queuedChunks=null,new mT(this,e,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new bT(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeReaders.slice(0))n.cancel(e);this._pdfDataRangeTransport.abort()}}class mT{constructor(e,t,n=!1,i=null){this._stream=e,this._done=n||!1,this._filename=Ex(i)?i:null,this._queuedChunks=t||[],this._loaded=0;for(const r of this._queuedChunks)this._loaded+=r.byteLength;this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}_enqueue(e){if(!this._done){if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1})}else this._queuedChunks.push(e);this._loaded+=e.byteLength}}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0){return{value:this._queuedChunks.shift(),done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class bT{constructor(e,t,n){this._stream=e,this._begin=t,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function vT(e,t){const n=new Headers;if(!e||!t||"object"!=typeof t)return n;for(const i in t){const e=t[i];void 0!==e&&n.append(i,e)}return n}function yT(e){try{return new URL(e).origin}catch{}return null}function wT({responseHeaders:e,isHttp:t,rangeChunkSize:n,disableRange:i}){const r={allowRangeRequests:!1,suggestedLength:void 0},a=parseInt(e.get("Content-Length"),10);if(!Number.isInteger(a))return r;if(r.suggestedLength=a,a<=2*n)return r;if(i||!t)return r;if("bytes"!==e.get("Accept-Ranges"))return r;return"identity"!==(e.get("Content-Encoding")||"identity")||(r.allowRangeRequests=!0),r}function xT(e){const t=e.get("Content-Disposition");if(t){let e=function(e){let t=!0,n=i("filename\\*","i").exec(e);if(n){n=n[1];let e=s(n);return e=unescape(e),e=o(e),e=c(e),a(e)}if(n=function(e){const t=[];let n;const r=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(n=r.exec(e));){let[,e,i,r]=n;if(e=parseInt(e,10),e in t){if(0===e)break}else t[e]=[i,r]}const a=[];for(let i=0;i{if(e._responseOrigin=yT(t.url),!TT(t.status))throw _T(t.status,i);this._reader=t.body.getReader(),this._headersCapability.resolve();const n=t.headers,{allowRangeRequests:r,suggestedLength:a}=wT({responseHeaders:n,isHttp:e.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=r,this._contentLength=a||this._contentLength,this._filename=xT(n),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new cx("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;await this._headersCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded,total:this._contentLength}),{value:AT(t),done:!1})}cancel(e){var t;null==(t=this._reader)||t.cancel(e),this._abortController.abort()}}class ST{constructor(e,t,n){this._stream=e,this._reader=null,this._loaded=0;const i=e.source;this._withCredentials=i.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!i.disableStream,this._abortController=new AbortController;const r=new Headers(e.headers);r.append("Range",`bytes=${t}-${n-1}`);const a=i.url;fetch(a,DT(r,this._withCredentials,this._abortController)).then((t=>{const n=yT(t.url);if(n!==e._responseOrigin)throw new Error(`Expected range response-origin "${n}" to match "${e._responseOrigin}".`);if(!TT(t.status))throw _T(t.status,a);this._readCapability.resolve(),this._reader=t.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;await this._readCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded}),{value:AT(t),done:!1})}cancel(e){var t;null==(t=this._reader)||t.cancel(e),this._abortController.abort()}}class CT{constructor({url:e,httpHeaders:t,withCredentials:n}){El(this,"_responseOrigin",null),this.url=e,this.isHttp=/^https?:/i.test(e),this.headers=vT(this.isHttp,t),this.withCredentials=n||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(e){const t=new XMLHttpRequest,n=this.currXhrId++,i=this.pendingRequests[n]={xhr:t};t.open("GET",this.url),t.withCredentials=this.withCredentials;for(const[r,a]of this.headers)t.setRequestHeader(r,a);return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),i.expectedStatus=206):i.expectedStatus=200,t.responseType="arraybuffer",Jw(e.onError,"Expected `onError` callback to be provided."),t.onerror=()=>{e.onError(t.status)},t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),i.onHeadersReceived=e.onHeadersReceived,i.onDone=e.onDone,i.onError=e.onError,i.onProgress=e.onProgress,t.send(null),n}onProgress(e,t){var n;const i=this.pendingRequests[e];i&&(null==(n=i.onProgress)||n.call(i,t))}onStateChange(e,t){const n=this.pendingRequests[e];if(!n)return;const i=n.xhr;if(i.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4!==i.readyState)return;if(!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],0===i.status&&this.isHttp)return void n.onError(i.status);const r=i.status||200;if(!(200===r&&206===n.expectedStatus)&&r!==n.expectedStatus)return void n.onError(i.status);const a=function(e){const t=e.response;return"string"!=typeof t?t:hx(t).buffer}(i);if(206===r){const e=i.getResponseHeader("Content-Range"),t=/bytes (\d+)-(\d+)\/(\d+)/.exec(e);t?n.onDone({begin:parseInt(t[1],10),chunk:a}):(Kw(),n.onError(0))}else a?n.onDone({begin:0,chunk:a}):n.onError(i.status)}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}class UT{constructor(e){this._source=e,this._manager=new CT(e),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}getFullReader(){return Jw(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new FT(this._manager,this._source),this._fullRequestReader}getRangeReader(e,t){const n=new MT(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}}class FT{constructor(e,t){this._manager=e,this._url=t.url,this._fullRequestId=e.request({onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._headersCapability=Promise.withResolvers(),this._disableRange=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,t=this._manager.getRequestXhr(e);this._manager._responseOrigin=yT(t.responseURL);const n=t.getAllResponseHeaders(),i=new Headers(n?n.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map((e=>{const[t,...n]=e.split(": ");return[t,n.join(": ")]})):[]),{allowRangeRequests:r,suggestedLength:a}=wT({responseHeaders:i,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});r&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=xT(i),this._isRangeSupported&&this._manager.abortRequest(e),this._headersCapability.resolve()}_onDone(e){if(e)if(this._requests.length>0){this._requests.shift().resolve({value:e.chunk,done:!1})}else this._cachedChunks.push(e.chunk);if(this._done=!0,!(this._cachedChunks.length>0)){for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=_T(e,this._url),this._headersCapability.reject(this._storedError);for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){var t;null==(t=this.onProgress)||t.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersCapability.promise}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0){return{value:this._cachedChunks.shift(),done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersCapability.reject(e);for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class MT{constructor(e,t,n){this._manager=e,this._url=e.url,this._requestId=e.request({begin:t,end:n,onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_onHeadersReceived(){var e;const t=yT(null==(e=this._manager.getRequestXhr(this._requestId))?void 0:e.responseURL);t!==this._manager._responseOrigin&&(this._storedError=new Error(`Expected range response-origin "${t}" to match "${this._manager._responseOrigin}".`),this._onError(0))}_close(){var e;null==(e=this.onClosed)||e.call(this,this)}_onDone(e){const t=e.chunk;if(this._requests.length>0){this._requests.shift().resolve({value:t,done:!1})}else this._queuedChunk=t;this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError??(this._storedError=_T(e,this._url));for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){var t;this.isStreamingSupported||null==(t=this.onProgress)||t.call(this,{loaded:e.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(null!==this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const RT=/^[a-z][a-z0-9\-+.]+:/i;class IT{constructor(e){this.source=e,this.url=function(e){if(RT.test(e))return new URL(e);const t=process.getBuiltinModule("url");return new URL(t.pathToFileURL(e))}(e.url),Jw("file:"===this.url.protocol,"PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var e;return(null==(e=this._fullRequestReader)?void 0:e._loaded)??0}getFullReader(){return Jw(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new OT(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new NT(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}}class OT{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;const t=e.source;this._contentLength=t.length,this._loaded=0,this._filename=null,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers();const n=process.getBuiltinModule("fs");n.promises.lstat(this._url).then((e=>{this._contentLength=e.size,this._setReadableStream(n.createReadStream(this._url)),this._headersCapability.resolve()}),(e=>{"ENOENT"===e.code&&(e=new ax(`Missing PDF "${this._url}".`)),this._storedError=e,this._headersCapability.reject(e)}))}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();if(null===t)return this._readCapability=Promise.withResolvers(),this.read();this._loaded+=t.length,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded,total:this._contentLength});return{value:new Uint8Array(t).buffer,done:!1}}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new cx("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class NT{constructor(e,t,n){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const i=e.source;this._isStreamingSupported=!i.disableStream;const r=process.getBuiltinModule("fs");this._setReadableStream(r.createReadStream(this._url,{start:t,end:n-1}))}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();if(null===t)return this._readCapability=Promise.withResolvers(),this.read();this._loaded+=t.length,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded});return{value:new Uint8Array(t).buffer,done:!1}}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}const PT=30,LT=class e{constructor({textContentSource:t,container:n,viewport:i}){var r;if(Cl(this,Wi),Cl(this,mi,Promise.withResolvers()),Cl(this,bi,null),Cl(this,vi,!1),Cl(this,yi,!!(null==(gi=globalThis.FontInspector)?void 0:gi.enabled)),Cl(this,wi,null),Cl(this,xi,null),Cl(this,_i,0),Cl(this,Ti,0),Cl(this,Di,null),Cl(this,Ai,null),Cl(this,Ei,0),Cl(this,ki,0),Cl(this,Si,Object.create(null)),Cl(this,Ci,[]),Cl(this,Ui,null),Cl(this,Fi,[]),Cl(this,Mi,new WeakMap),Cl(this,Ri,null),t instanceof ReadableStream)Ul(this,Ui,t);else{if("object"!=typeof t)throw new Error('No "textContentSource" parameter specified.');Ul(this,Ui,new ReadableStream({start(e){e.enqueue(t),e.close()}}))}Ul(this,bi,Ul(this,Ai,n)),Ul(this,ki,i.scale*(globalThis.devicePixelRatio||1)),Ul(this,Ei,i.rotation),Ul(this,xi,{div:null,properties:null,ctx:null});const{pageWidth:a,pageHeight:s,pageX:o,pageY:c}=i.rawDims;Ul(this,Ri,[1,0,0,-1,-o,c+s]),Ul(this,Ti,a),Ul(this,_i,s),Fl(r=e,Hi,Xi).call(r),Lx(n,i),Sl(this,mi).promise.finally((()=>{Sl(e,Li).delete(this),Ul(this,xi,null),Ul(this,Si,null)})).catch((()=>{}))}static get fontFamilyMap(){const{isWindows:e,isFirefox:t}=ux.platform;return ex(this,"fontFamilyMap",new Map([["sans-serif",(e&&t?"Calibri, ":"")+"sans-serif"],["monospace",(e&&t?"Lucida Console, ":"")+"monospace"]]))}render(){const t=()=>{Sl(this,Di).read().then((({value:e,done:n})=>{n?Sl(this,mi).resolve():(Sl(this,wi)??Ul(this,wi,e.lang),Object.assign(Sl(this,Si),e.styles),Fl(this,Wi,Bi).call(this,e.items),t())}),Sl(this,mi).reject)};return Ul(this,Di,Sl(this,Ui).getReader()),Sl(e,Li).add(this),t(),Sl(this,mi).promise}update({viewport:t,onBefore:n=null}){var i;const r=t.scale*(globalThis.devicePixelRatio||1),a=t.rotation;if(a!==Sl(this,Ei)&&(null==n||n(),Ul(this,Ei,a),Lx(Sl(this,Ai),{rotation:a})),r!==Sl(this,ki)){null==n||n(),Ul(this,ki,r);const t={div:null,properties:null,ctx:Fl(i=e,Hi,Vi).call(i,Sl(this,wi))};for(const e of Sl(this,Fi))t.properties=Sl(this,Mi).get(e),t.div=e,Fl(this,Wi,zi).call(this,t)}}cancel(){var e;const t=new cx("TextLayer task cancelled.");null==(e=Sl(this,Di))||e.cancel(t).catch((()=>{})),Ul(this,Di,null),Sl(this,mi).reject(t)}get textDivs(){return Sl(this,Fi)}get textContentItemsStr(){return Sl(this,Ci)}static cleanup(){if(!(Sl(this,Li).size>0)){Sl(this,Ii).clear();for(const{canvas:e}of Sl(this,Oi).values())e.remove();Sl(this,Oi).clear()}}};mi=new WeakMap,bi=new WeakMap,vi=new WeakMap,yi=new WeakMap,wi=new WeakMap,xi=new WeakMap,_i=new WeakMap,Ti=new WeakMap,Di=new WeakMap,Ai=new WeakMap,Ei=new WeakMap,ki=new WeakMap,Si=new WeakMap,Ci=new WeakMap,Ui=new WeakMap,Fi=new WeakMap,Mi=new WeakMap,Ri=new WeakMap,Ii=new WeakMap,Oi=new WeakMap,Ni=new WeakMap,Pi=new WeakMap,Li=new WeakMap,Wi=new WeakSet,Bi=function(e){var t,n;if(Sl(this,vi))return;(n=Sl(this,xi)).ctx??(n.ctx=Fl(t=LT,Hi,Vi).call(t,Sl(this,wi)));const i=Sl(this,Fi),r=Sl(this,Ci);for(const a of e){if(i.length>1e5)return Kw(),void Ul(this,vi,!0);if(void 0!==a.str)r.push(a.str),Fl(this,Wi,ji).call(this,a);else if("beginMarkedContentProps"===a.type||"beginMarkedContent"===a.type){const e=Sl(this,bi);Ul(this,bi,document.createElement("span")),Sl(this,bi).classList.add("markedContent"),null!==a.id&&Sl(this,bi).setAttribute("id",`${a.id}`),e.append(Sl(this,bi))}else"endMarkedContent"===a.type&&Ul(this,bi,Sl(this,bi).parentNode)}},ji=function(e){var t;const n=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:""!==e.str,hasEOL:e.hasEOL,fontSize:0};Sl(this,Fi).push(n);const r=px.transform(Sl(this,Ri),e.transform);let a=Math.atan2(r[1],r[0]);const s=Sl(this,Si)[e.fontName];s.vertical&&(a+=Math.PI/2);let o=Sl(this,yi)&&s.fontSubstitution||s.fontFamily;o=LT.fontFamilyMap.get(o)||o;const c=Math.hypot(r[2],r[3]),l=c*Fl(t=LT,Hi,$i).call(t,o,Sl(this,wi));let h,d;0===a?(h=r[4],d=r[5]-l):(h=r[4]+l*Math.sin(a),d=r[5]-l*Math.cos(a));const u="calc(var(--scale-factor)*",f=n.style;Sl(this,bi)===Sl(this,Ai)?(f.left=`${(100*h/Sl(this,Ti)).toFixed(2)}%`,f.top=`${(100*d/Sl(this,_i)).toFixed(2)}%`):(f.left=`${u}${h.toFixed(2)}px)`,f.top=`${u}${d.toFixed(2)}px)`),f.fontSize=`${u}${(Sl(LT,Pi)*c).toFixed(2)}px)`,f.fontFamily=o,i.fontSize=c,n.setAttribute("role","presentation"),n.textContent=e.str,n.dir=e.dir,Sl(this,yi)&&(n.dataset.fontName=s.fontSubstitutionLoadedName||e.fontName),0!==a&&(i.angle=a*(180/Math.PI));let p=!1;if(e.str.length>1)p=!0;else if(" "!==e.str&&e.transform[0]!==e.transform[3]){const t=Math.abs(e.transform[0]),n=Math.abs(e.transform[3]);t!==n&&Math.max(t,n)/Math.min(t,n)>1.5&&(p=!0)}if(p&&(i.canvasWidth=s.vertical?e.height:e.width),Sl(this,Mi).set(n,i),Sl(this,xi).div=n,Sl(this,xi).properties=i,Fl(this,Wi,zi).call(this,Sl(this,xi)),i.hasText&&Sl(this,bi).append(n),i.hasEOL){const e=document.createElement("br");e.setAttribute("role","presentation"),Sl(this,bi).append(e)}},zi=function(e){var t;const{div:n,properties:i,ctx:r}=e,{style:a}=n;let s="";if(Sl(LT,Pi)>1&&(s=`scale(${1/Sl(LT,Pi)})`),0!==i.canvasWidth&&i.hasText){const{fontFamily:e}=a,{canvasWidth:o,fontSize:c}=i;Fl(t=LT,Hi,Gi).call(t,r,c*Sl(this,ki),e);const{width:l}=r.measureText(n.textContent);l>0&&(s=`scaleX(${o*Sl(this,ki)/l}) ${s}`)}0!==i.angle&&(s=`rotate(${i.angle}deg) ${s}`),s.length>0&&(a.transform=s)},Hi=new WeakSet,Vi=function(e=null){let t=Sl(this,Oi).get(e||(e=""));if(!t){const n=document.createElement("canvas");n.className="hiddenCanvasElement",n.lang=e,document.body.append(n),t=n.getContext("2d",{alpha:!1,willReadFrequently:!0}),Sl(this,Oi).set(e,t),Sl(this,Ni).set(t,{size:0,family:""})}return t},Gi=function(e,t,n){const i=Sl(this,Ni).get(e);t===i.size&&n===i.family||(e.font=`${t}px ${n}`,i.size=t,i.family=n)},Xi=function(){if(null!==Sl(this,Pi))return;const e=document.createElement("div");e.style.opacity=0,e.style.lineHeight=1,e.style.fontSize="1px",e.style.position="absolute",e.textContent="X",document.body.append(e),Ul(this,Pi,e.getBoundingClientRect().height),e.remove()},$i=function(e,t){const n=Sl(this,Ii).get(e);if(n)return n;const i=Fl(this,Hi,Vi).call(this,t);i.canvas.width=i.canvas.height=PT,Fl(this,Hi,Gi).call(this,i,PT,e);const r=i.measureText("");let a=r.fontBoundingBoxAscent,s=Math.abs(r.fontBoundingBoxDescent);if(a){const t=a/(a+s);return Sl(this,Ii).set(e,t),i.canvas.width=i.canvas.height=0,t}i.strokeStyle="red",i.clearRect(0,0,PT,PT),i.strokeText("g",0,0);let o=i.getImageData(0,0,PT,PT).data;s=0;for(let l=o.length-1-3;l>=0;l-=4)if(o[l]>0){s=Math.ceil(l/4/PT);break}i.clearRect(0,0,PT,PT),i.strokeText("A",0,PT),o=i.getImageData(0,0,PT,PT).data,a=0;for(let l=0,h=o.length;l0){a=PT-Math.floor(l/4/PT);break}i.canvas.width=i.canvas.height=0;const c=a?a/(a+s):.8;return Sl(this,Ii).set(e,c),c},Cl(LT,Hi),Cl(LT,Ii,new Map),Cl(LT,Oi,new Map),Cl(LT,Ni,new WeakMap),Cl(LT,Pi,null),Cl(LT,Li,new Set);let WT=LT;class BT{static textContent(e){const t=[],n={items:t,styles:Object.create(null)};return function e(n){var i;if(!n)return;let r=null;const a=n.name;if("#text"===a)r=n.value;else{if(!BT.shouldBuildText(a))return;(null==(i=null==n?void 0:n.attributes)?void 0:i.textContent)?r=n.attributes.textContent:n.value&&(r=n.value)}if(null!==r&&t.push({str:r}),n.children)for(const t of n.children)e(t)}(e),n}static shouldBuildText(e){return!("textarea"===e||"input"===e||"option"===e||"select"===e)}}const jT=65536,zT=Jy?class extends S_{_createCanvas(e,t){return process.getBuiltinModule("module").createRequire(import.meta.url)("@napi-rs/canvas").createCanvas(e,t)}}:class extends S_{constructor({ownerDocument:e=globalThis.document,enableHWA:t=!1}){super({enableHWA:t}),this._document=e}_createCanvas(e,t){const n=this._document.createElement("canvas");return n.width=e,n.height=t,n}},HT=Jy?class extends C_{async _fetch(e){return I_(e)}}:U_,VT=Jy?class extends F_{}:class extends F_{constructor({docId:e,ownerDocument:t=globalThis.document}){super(),Cl(this,Ln),Cl(this,Fn),Cl(this,Mn),Cl(this,Rn),Cl(this,In),Cl(this,On),Cl(this,Nn),Cl(this,Pn,0),Ul(this,In,e),Ul(this,On,t)}addFilter(e){if(!e)return"none";let t=Sl(this,Ln,Wn).get(e);if(t)return t;const[n,i,r]=Fl(this,Ln,zn).call(this,e),a=1===e.length?n:`${n}${i}${r}`;if(t=Sl(this,Ln,Wn).get(a),t)return Sl(this,Ln,Wn).set(e,t),t;const s=`g_${Sl(this,In)}_transfer_map_${Ml(this,Pn)._++}`,o=Fl(this,Ln,Hn).call(this,s);Sl(this,Ln,Wn).set(e,o),Sl(this,Ln,Wn).set(a,o);const c=Fl(this,Ln,Xn).call(this,s);return Fl(this,Ln,qn).call(this,n,i,r,c),o}addHCMFilter(e,t){var n;const i=`${e}-${t}`,r="base";let a=Sl(this,Ln,Bn).get(r);if((null==a?void 0:a.key)===i)return a.url;if(a?(null==(n=a.filter)||n.remove(),a.key=i,a.url="none",a.filter=null):(a={key:i,url:"none",filter:null},Sl(this,Ln,Bn).set(r,a)),!e||!t)return a.url;const s=Fl(this,Ln,Kn).call(this,e);e=px.makeHexColor(...s);const o=Fl(this,Ln,Kn).call(this,t);if(t=px.makeHexColor(...o),Sl(this,Ln,jn).style.color="","#000000"===e&&"#ffffff"===t||e===t)return a.url;const c=new Array(256);for(let f=0;f<=255;f++){const e=f/255;c[f]=e<=.03928?e/12.92:((e+.055)/1.055)**2.4}const l=c.join(","),h=`g_${Sl(this,In)}_hcm_filter`,d=a.filter=Fl(this,Ln,Xn).call(this,h);Fl(this,Ln,qn).call(this,l,l,l,d),Fl(this,Ln,Gn).call(this,d);const u=(e,t)=>{const n=s[e]/255,i=o[e]/255,r=new Array(t+1);for(let a=0;a<=t;a++)r[a]=n+a/t*(i-n);return r.join(",")};return Fl(this,Ln,qn).call(this,u(0,5),u(1,5),u(2,5),d),a.url=Fl(this,Ln,Hn).call(this,h),a.url}addAlphaFilter(e){let t=Sl(this,Ln,Wn).get(e);if(t)return t;const[n]=Fl(this,Ln,zn).call(this,[e]),i=`alpha_${n}`;if(t=Sl(this,Ln,Wn).get(i),t)return Sl(this,Ln,Wn).set(e,t),t;const r=`g_${Sl(this,In)}_alpha_map_${Ml(this,Pn)._++}`,a=Fl(this,Ln,Hn).call(this,r);Sl(this,Ln,Wn).set(e,a),Sl(this,Ln,Wn).set(i,a);const s=Fl(this,Ln,Xn).call(this,r);return Fl(this,Ln,Yn).call(this,n,s),a}addLuminosityFilter(e){let t,n,i=Sl(this,Ln,Wn).get(e||"luminosity");if(i)return i;if(e?([t]=Fl(this,Ln,zn).call(this,[e]),n=`luminosity_${t}`):n="luminosity",i=Sl(this,Ln,Wn).get(n),i)return Sl(this,Ln,Wn).set(e,i),i;const r=`g_${Sl(this,In)}_luminosity_map_${Ml(this,Pn)._++}`,a=Fl(this,Ln,Hn).call(this,r);Sl(this,Ln,Wn).set(e,a),Sl(this,Ln,Wn).set(n,a);const s=Fl(this,Ln,Xn).call(this,r);return Fl(this,Ln,Vn).call(this,s),e&&Fl(this,Ln,Yn).call(this,t,s),a}addHighlightHCMFilter(e,t,n,i,r){var a;const s=`${t}-${n}-${i}-${r}`;let o=Sl(this,Ln,Bn).get(e);if((null==o?void 0:o.key)===s)return o.url;if(o?(null==(a=o.filter)||a.remove(),o.key=s,o.url="none",o.filter=null):(o={key:s,url:"none",filter:null},Sl(this,Ln,Bn).set(e,o)),!t||!n)return o.url;const[c,l]=[t,n].map(Fl(this,Ln,Kn).bind(this));let h=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),d=Math.round(.2126*l[0]+.7152*l[1]+.0722*l[2]),[u,f]=[i,r].map(Fl(this,Ln,Kn).bind(this));d{const i=new Array(256),r=(d-h)/n,a=e/255,s=(t-e)/(255*n);let o=0;for(let c=0;c<=n;c++){const e=Math.round(h+c*r),t=a+c*s;for(let n=o;n<=e;n++)i[n]=t;o=e+1}for(let c=o;c<256;c++)i[c]=i[o-1];return i.join(",")},g=`g_${Sl(this,In)}_hcm_${e}_filter`,m=o.filter=Fl(this,Ln,Xn).call(this,g);return Fl(this,Ln,Gn).call(this,m),Fl(this,Ln,qn).call(this,p(u[0],f[0],5),p(u[1],f[1],5),p(u[2],f[2],5),m),o.url=Fl(this,Ln,Hn).call(this,g),o.url}destroy(e=!1){var t,n,i,r;e&&(null==(t=Sl(this,Nn))?void 0:t.size)||(null==(n=Sl(this,Rn))||n.parentNode.parentNode.remove(),Ul(this,Rn,null),null==(i=Sl(this,Mn))||i.clear(),Ul(this,Mn,null),null==(r=Sl(this,Nn))||r.clear(),Ul(this,Nn,null),Ul(this,Pn,0))}},GT=Jy?class extends M_{async _fetch(e){return I_(e)}}:R_;function XT(e={}){"string"==typeof e||e instanceof URL?e={url:e}:(e instanceof ArrayBuffer||ArrayBuffer.isView(e))&&(e={data:e});const t=new YT,{docId:n}=t,i=e.url?function(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(Jy&&"string"==typeof e)return e}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}(e.url):null,r=e.data?function(e){if(Jy&&"undefined"!=typeof Buffer&&e instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if("string"==typeof e)return hx(e);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)||"object"==typeof e&&!isNaN(null==e?void 0:e.length))return new Uint8Array(e);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}(e.data):null,a=e.httpHeaders||null,s=!0===e.withCredentials,o=e.password??null,c=e.range instanceof KT?e.range:null,l=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:jT;let h=e.worker instanceof tD?e.worker:null;const d=e.verbosity,u="string"!=typeof e.docBaseUrl||Ax(e.docBaseUrl)?null:e.docBaseUrl,f="string"==typeof e.cMapUrl?e.cMapUrl:null,p=!1!==e.cMapPacked,g=e.CMapReaderFactory||HT,m="string"==typeof e.standardFontDataUrl?e.standardFontDataUrl:null,b=e.StandardFontDataFactory||GT,v=!0!==e.stopAtErrors,y=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,w=!1!==e.isEvalSupported,x="boolean"==typeof e.isOffscreenCanvasSupported?e.isOffscreenCanvasSupported:!Jy,_="boolean"==typeof e.isImageDecoderSupported?e.isImageDecoderSupported:!Jy&&(ux.platform.isFirefox||!globalThis.chrome),T=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,D="boolean"==typeof e.disableFontFace?e.disableFontFace:Jy,A=!0===e.fontExtraProperties,E=!0===e.enableXfa,k=e.ownerDocument||globalThis.document,S=!0===e.disableRange,C=!0===e.disableStream,U=!0===e.disableAutoFetch,F=!0===e.pdfBug,M=e.CanvasFactory||zT,R=e.FilterFactory||VT,I=!0===e.enableHWA,O=c?c.length:e.length??NaN,N="boolean"==typeof e.useSystemFonts?e.useSystemFonts:!Jy&&!D,P="boolean"==typeof e.useWorkerFetch?e.useWorkerFetch:g===U_&&b===R_&&f&&m&&Ux(f,document.baseURI)&&Ux(m,document.baseURI);var L;L=d,Number.isInteger(L)&&($w=L);const W={canvasFactory:new M({ownerDocument:k,enableHWA:I}),filterFactory:new R({docId:n,ownerDocument:k}),cMapReaderFactory:P?null:new g({baseUrl:f,isCompressed:p}),standardFontDataFactory:P?null:new b({baseUrl:m})};if(!h){const e={verbosity:d,port:hT.workerPort};h=e.port?tD.fromPort(e):new tD(e),t._worker=h}const B={docId:n,apiVersion:"4.10.38",data:r,password:o,disableAutoFetch:U,rangeChunkSize:l,length:O,docBaseUrl:u,enableXfa:E,evaluatorOptions:{maxImageSize:y,disableFontFace:D,ignoreErrors:v,isEvalSupported:w,isOffscreenCanvasSupported:x,isImageDecoderSupported:_,canvasMaxAreaInBytes:T,fontExtraProperties:A,useSystemFonts:N,cMapUrl:P?f:null,standardFontDataUrl:P?m:null}},j={disableFontFace:D,fontExtraProperties:A,ownerDocument:k,pdfBug:F,styleElement:null,loadingParams:{disableAutoFetch:U,enableXfa:E}};return h.promise.then((function(){if(t.destroyed)throw new Error("Loading aborted");if(h.destroyed)throw new Error("Worker was destroyed");const e=h.messageHandler.sendWithPromise("GetDocRequest",B,r?[r.buffer]:null);let o;if(c)o=new gT(c,{disableRange:S,disableStream:C});else if(!r){if(!i)throw new Error("getDocument - no `url` parameter provided.");let e;if(Jy)if(Ux(i)){if("undefined"==typeof fetch||"undefined"==typeof Response||!("body"in Response.prototype))throw new Error("getDocument - the Fetch API was disabled in Node.js, see `--no-experimental-fetch`.");e=ET}else e=IT;else e=Ux(i)?ET:UT;o=new e({url:i,length:O,httpHeaders:a,withCredentials:s,rangeChunkSize:l,disableRange:S,disableStream:C})}return e.then((e=>{if(t.destroyed)throw new Error("Loading aborted");if(h.destroyed)throw new Error("Worker was destroyed");const i=new k_(n,e,h.port),r=new nD(i,t,o,j,W);t._transport=r,i.send("Ready",null)}))})).catch(t._capability.reject),t}function $T(e){return"object"==typeof e&&Number.isInteger(null==e?void 0:e.num)&&e.num>=0&&Number.isInteger(null==e?void 0:e.gen)&&e.gen>=0}const qT=class e{constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId="d"+Ml(e,qi)._++,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){var e,t,n,i;this.destroyed=!0;try{(null==(e=this._worker)?void 0:e.port)&&(this._worker._pendingDestroy=!0),await(null==(t=this._transport)?void 0:t.destroy())}catch(r){throw(null==(n=this._worker)?void 0:n.port)&&delete this._worker._pendingDestroy,r}this._transport=null,null==(i=this._worker)||i.destroy(),this._worker=null}};qi=new WeakMap,Cl(qT,qi,0);let YT=qT;class KT{constructor(e,t,n=!1,i=null){this.length=e,this.initialData=t,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(e){this._rangeListeners.push(e)}addProgressListener(e){this._progressListeners.push(e)}addProgressiveReadListener(e){this._progressiveReadListeners.push(e)}addProgressiveDoneListener(e){this._progressiveDoneListeners.push(e)}onDataRange(e,t){for(const n of this._rangeListeners)n(e,t)}onDataProgress(e,t){this._readyCapability.promise.then((()=>{for(const n of this._progressListeners)n(e,t)}))}onDataProgressiveRead(e){this._readyCapability.promise.then((()=>{for(const t of this._progressiveReadListeners)t(e)}))}onDataProgressiveDone(){this._readyCapability.promise.then((()=>{for(const e of this._progressiveDoneListeners)e()}))}transportReady(){this._readyCapability.resolve()}requestDataRange(e,t){Zw("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}class ZT{constructor(e,t){this._pdfInfo=e,this._transport=t}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return ex(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:e="display"}={}){const{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getOptionalContentConfig(t)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(e=!1){return this._transport.startCleanup(e||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(e){return this._transport.cachedPageNumber(e)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class JT{constructor(e,t,n,i=!1){Cl(this,Zi),Cl(this,Yi,null),Cl(this,Ki,!1),this._pageIndex=e,this._pageInfo=t,this._transport=n,this._stats=i?new Cx:null,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new rD,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:e,rotation:t=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:r=!1}={}){return new Tx({viewBox:this.view,userUnit:this.userUnit,scale:e,rotation:t,offsetX:n,offsetY:i,dontFlip:r})}getAnnotations({intent:e="display"}={}){const{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getAnnotations(this._pageIndex,t)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return ex(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var e;return(null==(e=this._transport._htmlForXfa)?void 0:e.children[this._pageIndex])||null}render({canvasContext:e,viewport:t,intent:n="display",annotationMode:i=hw.ENABLE,transform:r=null,background:a=null,optionalContentConfigPromise:s=null,annotationCanvasMap:o=null,pageColors:c=null,printAnnotationStorage:l=null,isEditing:h=!1}){var d,u;null==(d=this._stats)||d.time("Overall");const f=this._transport.getRenderingIntent(n,i,l,h),{renderingIntent:p,cacheKey:g}=f;Ul(this,Ki,!1),Fl(this,Zi,Qi).call(this),s||(s=this._transport.getOptionalContentConfig(p));let m=this._intentStates.get(g);m||(m=Object.create(null),this._intentStates.set(g,m)),m.streamReaderCancelTimeout&&(clearTimeout(m.streamReaderCancelTimeout),m.streamReaderCancelTimeout=null);const b=!!(p&rw);m.displayReadyCapability||(m.displayReadyCapability=Promise.withResolvers(),m.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null==(u=this._stats)||u.time("Page Request"),this._pumpOperatorList(f));const v=e=>{var t;m.renderTasks.delete(y),(this._maybeCleanupAfterRender||b)&&Ul(this,Ki,!0),Fl(this,Zi,Ji).call(this,!b),e?(y.capability.reject(e),this._abortOperatorList({intentState:m,reason:e instanceof Error?e:new Error(e)})):y.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),(null==(t=globalThis.Stats)?void 0:t.enabled)&&globalThis.Stats.add(this.pageNumber,this._stats))},y=new oD({callback:v,params:{canvasContext:e,viewport:t,transform:r,background:a},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:o,operatorList:m.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!b,pdfBug:this._pdfBug,pageColors:c});(m.renderTasks||(m.renderTasks=new Set)).add(y);const w=y.task;return Promise.all([m.displayReadyCapability.promise,s]).then((([e,t])=>{var n;if(this.destroyed)v();else{if(null==(n=this._stats)||n.time("Rendering"),!(t.renderingIntent&p))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");y.initializeGraphics({transparency:e,optionalContentConfig:t}),y.operatorListChanged()}})).catch(v),w}getOperatorList({intent:e="display",annotationMode:t=hw.ENABLE,printAnnotationStorage:n=null,isEditing:i=!1}={}){var r;const a=this._transport.getRenderingIntent(e,t,n,i,!0);let s,o=this._intentStates.get(a.cacheKey);return o||(o=Object.create(null),this._intentStates.set(a.cacheKey,o)),o.opListReadCapability||(s=Object.create(null),s.operatorListChanged=function(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(s))},o.opListReadCapability=Promise.withResolvers(),(o.renderTasks||(o.renderTasks=new Set)).add(s),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null==(r=this._stats)||r.time("Page Request"),this._pumpOperatorList(a)),o.opListReadCapability.promise}streamTextContent({includeMarkedContent:e=!1,disableNormalization:t=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===e,disableNormalization:!0===t},{highWaterMark:100,size:e=>e.items.length})}getTextContent(e={}){if(this._transport._htmlForXfa)return this.getXfa().then((e=>BT.textContent(e)));const t=this.streamTextContent(e);return new Promise((function(e,n){const i=t.getReader(),r={items:[],styles:Object.create(null),lang:null};!function t(){i.read().then((function({value:n,done:i}){i?e(r):(r.lang??(r.lang=n.lang),Object.assign(r.styles,n.styles),r.items.push(...n.items),t())}),n)}()}))}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const e=[];for(const t of this._intentStates.values())if(this._abortOperatorList({intentState:t,reason:new Error("Page was destroyed."),force:!0}),!t.opListReadCapability)for(const n of t.renderTasks)e.push(n.completed),n.cancel();return this.objs.clear(),Ul(this,Ki,!1),Fl(this,Zi,Qi).call(this),Promise.all(e)}cleanup(e=!1){Ul(this,Ki,!0);const t=Fl(this,Zi,Ji).call(this,!1);return e&&t&&this._stats&&(this._stats=new Cx),t}_startRenderPage(e,t){var n,i;const r=this._intentStates.get(t);r&&(null==(n=this._stats)||n.timeEnd("Page Request"),null==(i=r.displayReadyCapability)||i.resolve(e))}_renderPageChunk(e,t){for(let n=0,i=e.length;n{s.read().then((({value:e,done:t})=>{t?o.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,o),c())}),(e=>{if(o.streamReader=null,!this._transport.destroyed){if(o.operatorList){o.operatorList.lastChunk=!0;for(const e of o.renderTasks)e.operatorListChanged();Fl(this,Zi,Ji).call(this,!0)}if(o.displayReadyCapability)o.displayReadyCapability.reject(e);else{if(!o.opListReadCapability)throw e;o.opListReadCapability.reject(e)}}}))};c()}_abortOperatorList({intentState:e,reason:t,force:n=!1}){if(e.streamReader){if(e.streamReaderCancelTimeout&&(clearTimeout(e.streamReaderCancelTimeout),e.streamReaderCancelTimeout=null),!n){if(e.renderTasks.size>0)return;if(t instanceof Dx){let n=100;return t.extraDelay>0&&t.extraDelay<1e3&&(n+=t.extraDelay),void(e.streamReaderCancelTimeout=setTimeout((()=>{e.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:e,reason:t,force:!0})}),n))}}if(e.streamReader.cancel(new cx(t.message)).catch((()=>{})),e.streamReader=null,!this._transport.destroyed){for(const[t,n]of this._intentStates)if(n===e){this._intentStates.delete(t);break}this.cleanup()}}}get stats(){return this._stats}}Yi=new WeakMap,Ki=new WeakMap,Zi=new WeakSet,Ji=function(e=!1){if(Fl(this,Zi,Qi).call(this),!Sl(this,Ki)||this.destroyed)return!1;if(e)return Ul(this,Yi,setTimeout((()=>{Ul(this,Yi,null),Fl(this,Zi,Ji).call(this,!1)}),5e3)),!1;for(const{renderTasks:t,operatorList:n}of this._intentStates.values())if(t.size>0||!n.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),Ul(this,Ki,!1),!0},Qi=function(){Sl(this,Yi)&&(clearTimeout(Sl(this,Yi)),Ul(this,Yi,null))};class QT{constructor(){Cl(this,er,new Map),Cl(this,tr,Promise.resolve())}postMessage(e,t){const n={data:structuredClone(e,t?{transfer:t}:null)};Sl(this,tr).then((()=>{for(const[e]of Sl(this,er))e.call(this,n)}))}addEventListener(e,t,n=null){let i=null;if((null==n?void 0:n.signal)instanceof AbortSignal){const{signal:r}=n;if(r.aborted)return void Kw();const a=()=>this.removeEventListener(e,t);i=()=>r.removeEventListener("abort",a),r.addEventListener("abort",a)}Sl(this,er).set(t,i)}removeEventListener(e,t){const n=Sl(this,er).get(t);null==n||n(),Sl(this,er).delete(t)}terminate(){for(const[,e]of Sl(this,er))null==e||e();Sl(this,er).clear()}}er=new WeakMap,tr=new WeakMap;const eD=class e{constructor({name:t=null,port:n=null,verbosity:i=qw()}={}){var r;if(Cl(this,ar),this.name=t,this.destroyed=!1,this.verbosity=i,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,n){if(null==(r=Sl(e,rr))?void 0:r.has(n))throw new Error("Cannot use more than one PDFWorker per port.");return(Sl(e,rr)||Ul(e,rr,new WeakMap)).set(n,this),void this._initializeFromPort(n)}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(e){this._port=e,this._messageHandler=new k_("main","worker",e),this._messageHandler.on("ready",(function(){})),Fl(this,ar,sr).call(this)}_initialize(){if(Sl(e,ir)||Sl(e,or,cr))return void this._setupFakeWorker();let{workerSrc:t}=e;try{e._isSameOrigin(window.location.href,t)||(t=e._createCDNWrapper(new URL(t,window.location).href));const n=new Worker(t,{type:"module"}),i=new k_("main","worker",n),r=()=>{a.abort(),i.destroy(),n.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},a=new AbortController;n.addEventListener("error",(()=>{this._webWorker||r()}),{signal:a.signal}),i.on("test",(e=>{a.abort(),!this.destroyed&&e?(this._messageHandler=i,this._port=n,this._webWorker=n,Fl(this,ar,sr).call(this)):r()})),i.on("ready",(e=>{if(a.abort(),this.destroyed)r();else try{s()}catch{this._setupFakeWorker()}}));const s=()=>{const e=new Uint8Array;i.send("test",e,[e.buffer])};return void s()}catch{Yw()}this._setupFakeWorker()}_setupFakeWorker(){Sl(e,ir)||(Kw(),Ul(e,ir,!0)),e._setupFakeWorkerGlobal.then((t=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const n=new QT;this._port=n;const i="fake"+Ml(e,nr)._++,r=new k_(i+"_worker",i,n);t.setup(r,n),this._messageHandler=new k_(i,i+"_worker",n),Fl(this,ar,sr).call(this)})).catch((e=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${e.message}".`))}))}destroy(){var t,n,i;this.destroyed=!0,null==(t=this._webWorker)||t.terminate(),this._webWorker=null,null==(n=Sl(e,rr))||n.delete(this._port),this._port=null,null==(i=this._messageHandler)||i.destroy(),this._messageHandler=null}static fromPort(t){var n;if(!(null==t?void 0:t.port))throw new Error("PDFWorker.fromPort - invalid method signature.");const i=null==(n=Sl(this,rr))?void 0:n.get(t.port);if(i){if(i._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return i}return new e(t)}static get workerSrc(){if(hT.workerSrc)return hT.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return ex(this,"_setupFakeWorkerGlobal",(async()=>{if(Sl(this,or,cr))return Sl(this,or,cr);return(await import( +/*webpackIgnore: true*/ +this.workerSrc)).WorkerMessageHandler})())}};nr=new WeakMap,ir=new WeakMap,rr=new WeakMap,ar=new WeakSet,sr=function(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})},or=new WeakSet,cr=function(){var e;try{return(null==(e=globalThis.pdfjsWorker)?void 0:e.WorkerMessageHandler)||null}catch{return null}},Cl(eD,or),Cl(eD,nr,0),Cl(eD,ir,!1),Cl(eD,rr),Jy&&(Ul(eD,ir,!0),hT.workerSrc||(hT.workerSrc="./pdf.worker.mjs")),eD._isSameOrigin=(e,t)=>{let n;try{if(n=new URL(e),!n.origin||"null"===n.origin)return!1}catch{return!1}const i=new URL(t,n);return n.origin===i.origin},eD._createCDNWrapper=e=>{const t=`await import("${e}");`;return URL.createObjectURL(new Blob([t],{type:"text/javascript"}))};let tD=eD;class nD{constructor(e,t,n,i,r){Cl(this,pr),Cl(this,lr,new Map),Cl(this,hr,new Map),Cl(this,dr,new Map),Cl(this,ur,new Map),Cl(this,fr,null),this.messageHandler=e,this.loadingTask=t,this.commonObjs=new rD,this.fontLoader=new f_({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=r.canvasFactory,this.filterFactory=r.filterFactory,this.cMapReaderFactory=r.cMapReaderFactory,this.standardFontDataFactory=r.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}get annotationStorage(){return ex(this,"annotationStorage",new d_)}getRenderingIntent(e,t=hw.ENABLE,n=null,i=!1,r=!1){let a=iw,s=h_;switch(e){case"any":a=nw;break;case"display":break;case"print":a=rw;break;default:Kw()}const o=a&rw&&n instanceof u_?n:this.annotationStorage;switch(t){case hw.DISABLE:a+=ow;break;case hw.ENABLE:break;case hw.ENABLE_FORMS:a+=aw;break;case hw.ENABLE_STORAGE:a+=sw,s=o.serializable;break;default:Kw()}i&&(a+=cw),r&&(a+=lw);const{ids:c,hash:l}=o.modifiedIds;return{renderingIntent:a,cacheKey:[a,s.hash,l].join("_"),annotationStorageSerializable:s,modifiedIds:c}}destroy(){var e;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),null==(e=Sl(this,fr))||e.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const i of Sl(this,hr).values())t.push(i._destroy());Sl(this,hr).clear(),Sl(this,dr).clear(),Sl(this,ur).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const n=this.messageHandler.sendWithPromise("Terminate",null);return t.push(n),Promise.all(t).then((()=>{var e,t;this.commonObjs.clear(),this.fontLoader.clear(),Sl(this,lr).clear(),this.filterFactory.destroy(),WT.cleanup(),null==(e=this._networkStream)||e.cancelAllRequests(new cx("Worker was terminated.")),null==(t=this.messageHandler)||t.destroy(),this.messageHandler=null,this.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:e,loadingTask:t}=this;e.on("GetReader",((e,t)=>{Jw(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=e=>{this._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=()=>{this._fullReader.read().then((function({value:e,done:n}){n?t.close():(Jw(e instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{this._fullReader.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}})),e.on("ReaderHeadersReady",(async e=>{var n;await this._fullReader.headersReady;const{isStreamingSupported:i,isRangeSupported:r,contentLength:a}=this._fullReader;return i&&r||(this._lastProgress&&(null==(n=t.onProgress)||n.call(t,this._lastProgress)),this._fullReader.onProgress=e=>{var n;null==(n=t.onProgress)||n.call(t,{loaded:e.loaded,total:e.total})}),{isStreamingSupported:i,isRangeSupported:r,contentLength:a}})),e.on("GetRangeReader",((e,t)=>{Jw(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const n=this._networkStream.getRangeReader(e.begin,e.end);n?(t.onPull=()=>{n.read().then((function({value:e,done:n}){n?t.close():(Jw(e instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{n.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}):t.close()})),e.on("GetDoc",(({pdfInfo:e})=>{this._numPages=e.numPages,this._htmlForXfa=e.htmlForXfa,delete e.htmlForXfa,t._capability.resolve(new ZT(e,this))})),e.on("DocException",(e=>{t._capability.reject(E_(e))})),e.on("PasswordRequest",(e=>{Ul(this,fr,Promise.withResolvers());try{if(!t.onPassword)throw E_(e);const n=e=>{e instanceof Error?Sl(this,fr).reject(e):Sl(this,fr).resolve({password:e})};t.onPassword(n,e.code)}catch(n){Sl(this,fr).reject(n)}return Sl(this,fr).promise})),e.on("DataLoaded",(e=>{var n;null==(n=t.onProgress)||n.call(t,{loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(e=>{if(this.destroyed)return;Sl(this,hr).get(e.pageIndex)._startRenderPage(e.transparency,e.cacheKey)})),e.on("commonobj",(([t,n,i])=>{var r;if(this.destroyed)return null;if(this.commonObjs.has(t))return null;switch(n){case"Font":const{disableFontFace:a,fontExtraProperties:s,pdfBug:o}=this._params;if("error"in i){const e=i.error;Kw(),this.commonObjs.resolve(t,e);break}const c=o&&(null==(r=globalThis.FontInspector)?void 0:r.enabled)?(e,t)=>globalThis.FontInspector.fontAdded(e,t):null,l=new p_(i,{disableFontFace:a,fontExtraProperties:s,inspectFont:c});this.fontLoader.bind(l).catch((()=>e.sendWithPromise("FontFallback",{id:t}))).finally((()=>{!s&&l.data&&(l.data=null),this.commonObjs.resolve(t,l)}));break;case"CopyLocalImage":const{imageRef:h}=i;Jw(h,"The imageRef must be defined.");for(const e of Sl(this,hr).values())for(const[,n]of e.objs)if((null==n?void 0:n.ref)===h)return n.dataLen?(this.commonObjs.resolve(t,structuredClone(n)),n.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(t,i);break;default:throw new Error(`Got unknown common object type ${n}`)}return null})),e.on("obj",(([e,t,n,i])=>{var r;if(this.destroyed)return;const a=Sl(this,hr).get(t);if(!a.objs.has(e))if(0!==a._intentStates.size)switch(n){case"Image":a.objs.resolve(e,i),(null==i?void 0:i.dataLen)>1e7&&(a._maybeCleanupAfterRender=!0);break;case"Pattern":a.objs.resolve(e,i);break;default:throw new Error(`Got unknown object type ${n}`)}else null==(r=null==i?void 0:i.bitmap)||r.close()})),e.on("DocProgress",(e=>{var n;this.destroyed||null==(n=t.onProgress)||n.call(t,{loaded:e.loaded,total:e.total})})),e.on("FetchBuiltInCMap",(async e=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.cMapReaderFactory)throw new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.");return this.cMapReaderFactory.fetch(e)})),e.on("FetchStandardFontData",(async e=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.standardFontDataFactory)throw new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.");return this.standardFontDataFactory.fetch(e)}))}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var e;this.annotationStorage.size<=0&&Kw();const{map:t,transfer:n}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:(null==(e=this._fullReader)?void 0:e.filename)??null},n).finally((()=>{this.annotationStorage.resetModified()}))}getPage(e){if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request."));const t=e-1,n=Sl(this,dr).get(t);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:t}).then((n=>{if(this.destroyed)throw new Error("Transport destroyed");n.refStr&&Sl(this,ur).set(n.refStr,e);const i=new JT(t,n,this,this._params.pdfBug);return Sl(this,hr).set(t,i),i}));return Sl(this,dr).set(t,i),i}getPageIndex(e){return $T(e)?this.messageHandler.sendWithPromise("GetPageIndex",{num:e.num,gen:e.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}getFieldObjects(){return Fl(this,pr,gr).call(this,"GetFieldObjects")}hasJSActions(){return Fl(this,pr,gr).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return Fl(this,pr,gr).call(this,"GetDocJSActions")}getPageJSActions(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}getStructTree(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(e){return Fl(this,pr,gr).call(this,"GetOptionalContentConfig").then((t=>new pT(t,e)))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const e="GetMetadata",t=Sl(this,lr).get(e);if(t)return t;const n=this.messageHandler.sendWithPromise(e,null).then((e=>{var t,n;return{info:e[0],metadata:e[1]?new dT(e[1]):null,contentDispositionFilename:(null==(t=this._fullReader)?void 0:t.filename)??null,contentLength:(null==(n=this._fullReader)?void 0:n.contentLength)??null}}));return Sl(this,lr).set(e,n),n}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(e=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const e of Sl(this,hr).values()){if(!e.cleanup())throw new Error(`startCleanup: Page ${e.pageNumber} is currently rendering.`)}this.commonObjs.clear(),e||this.fontLoader.clear(),Sl(this,lr).clear(),this.filterFactory.destroy(!0),WT.cleanup()}}cachedPageNumber(e){if(!$T(e))return null;const t=0===e.gen?`${e.num}R`:`${e.num}R${e.gen}`;return Sl(this,ur).get(t)??null}}lr=new WeakMap,hr=new WeakMap,dr=new WeakMap,ur=new WeakMap,fr=new WeakMap,pr=new WeakSet,gr=function(e,t=null){const n=Sl(this,lr).get(e);if(n)return n;const i=this.messageHandler.sendWithPromise(e,t);return Sl(this,lr).set(e,i),i};const iD=Symbol("INITIAL_DATA");class rD{constructor(){Cl(this,br),Cl(this,mr,Object.create(null))}get(e,t=null){if(t){const n=Fl(this,br,vr).call(this,e);return n.promise.then((()=>t(n.data))),null}const n=Sl(this,mr)[e];if(!n||n.data===iD)throw new Error(`Requesting object that isn't resolved yet ${e}.`);return n.data}has(e){const t=Sl(this,mr)[e];return!!t&&t.data!==iD}delete(e){const t=Sl(this,mr)[e];return!(!t||t.data===iD)&&(delete Sl(this,mr)[e],!0)}resolve(e,t=null){const n=Fl(this,br,vr).call(this,e);n.data=t,n.resolve()}clear(){var e;for(const t in Sl(this,mr)){const{data:n}=Sl(this,mr)[t];null==(e=null==n?void 0:n.bitmap)||e.close()}Ul(this,mr,Object.create(null))}*[Symbol.iterator](){for(const e in Sl(this,mr)){const{data:t}=Sl(this,mr)[e];t!==iD&&(yield[e,t])}}}mr=new WeakMap,br=new WeakSet,vr=function(e){var t;return(t=Sl(this,mr))[e]||(t[e]={...Promise.withResolvers(),data:iD})};class aD{constructor(e){Cl(this,yr,null),Ul(this,yr,e),this.onContinue=null}get promise(){return Sl(this,yr).capability.promise}cancel(e=0){Sl(this,yr).cancel(null,e)}get separateAnnots(){const{separateAnnots:e}=Sl(this,yr).operatorList;if(!e)return!1;const{annotationCanvasMap:t}=Sl(this,yr);return e.form||e.canvas&&(null==t?void 0:t.size)>0}}yr=new WeakMap;const sD=class e{constructor({callback:e,params:t,objs:n,commonObjs:i,annotationCanvasMap:r,operatorList:a,pageIndex:s,canvasFactory:o,filterFactory:c,useRequestAnimationFrame:l=!1,pdfBug:h=!1,pageColors:d=null}){Cl(this,wr,null),this.callback=e,this.params=t,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=r,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=s,this.canvasFactory=o,this.filterFactory=c,this._pdfBug=h,this.pageColors=d,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===l&&"undefined"!=typeof window,this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new aD(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}get completed(){return this.capability.promise.catch((function(){}))}initializeGraphics({transparency:t=!1,optionalContentConfig:n}){var i,r;if(this.cancelled)return;if(this._canvas){if(Sl(e,xr).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");Sl(e,xr).add(this._canvas)}this._pdfBug&&(null==(i=globalThis.StepperManager)?void 0:i.enabled)&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:a,viewport:s,transform:o,background:c}=this.params;this.gfx=new lT(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:n},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:o,viewport:s,transparency:t,background:c}),this.operatorListIdx=0,this.graphicsReady=!0,null==(r=this.graphicsReadyCallback)||r.call(this)}cancel(t=null,n=0){var i;this.running=!1,this.cancelled=!0,null==(i=this.gfx)||i.endDrawing(),Sl(this,wr)&&(window.cancelAnimationFrame(Sl(this,wr)),Ul(this,wr,null)),Sl(e,xr).delete(this._canvas),this.callback(t||new Dx(`Rendering cancelled, page ${this._pageIndex+1}`,n))}operatorListChanged(){var e;this.graphicsReady?(null==(e=this.stepper)||e.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?Ul(this,wr,window.requestAnimationFrame((()=>{Ul(this,wr,null),this._nextBound().catch(this._cancelBound)}))):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),Sl(e,xr).delete(this._canvas),this.callback())))}};wr=new WeakMap,xr=new WeakMap,Cl(sD,xr,new WeakSet);let oD=sD;const cD="4.10.38",lD="f9bea397f";function hD(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}function dD(e){return Math.max(0,Math.min(255,255*e))}class uD{static CMYK_G([e,t,n,i]){return["G",1-Math.min(1,.3*e+.59*n+.11*t+i)]}static G_CMYK([e]){return["CMYK",0,0,0,1-e]}static G_RGB([e]){return["RGB",e,e,e]}static G_rgb([e]){return[e=dD(e),e,e]}static G_HTML([e]){const t=hD(e);return`#${t}${t}${t}`}static RGB_G([e,t,n]){return["G",.3*e+.59*t+.11*n]}static RGB_rgb(e){return e.map(dD)}static RGB_HTML(e){return`#${e.map(hD).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([e,t,n,i]){return["RGB",1-Math.min(1,e+i),1-Math.min(1,n+i),1-Math.min(1,t+i)]}static CMYK_rgb([e,t,n,i]){return[dD(1-Math.min(1,e+i)),dD(1-Math.min(1,n+i)),dD(1-Math.min(1,t+i))]}static CMYK_HTML(e){const t=this.CMYK_RGB(e).slice(1);return this.RGB_HTML(t)}static RGB_CMYK([e,t,n]){const i=1-e,r=1-t,a=1-n;return["CMYK",i,r,a,Math.min(i,r,a)]}}class fD{create(e,t,n=!1){if(e<=0||t<=0)throw new Error("Invalid SVG dimensions");const i=this._createSVG("svg:svg");return i.setAttribute("version","1.1"),n||(i.setAttribute("width",`${e}px`),i.setAttribute("height",`${t}px`)),i.setAttribute("preserveAspectRatio","none"),i.setAttribute("viewBox",`0 0 ${e} ${t}`),i}createElement(e){if("string"!=typeof e)throw new Error("Invalid SVG element type");return this._createSVG(e)}_createSVG(e){Zw("Abstract method `_createSVG` called.")}}class pD extends fD{_createSVG(e){return document.createElementNS(yx,e)}}class gD{static setupStorage(e,t,n,i,r){const a=i.getValue(t,{value:null});switch(n.name){case"textarea":if(null!==a.value&&(e.textContent=a.value),"print"===r)break;e.addEventListener("input",(e=>{i.setValue(t,{value:e.target.value})}));break;case"input":if("radio"===n.attributes.type||"checkbox"===n.attributes.type){if(a.value===n.attributes.xfaOn?e.setAttribute("checked",!0):a.value===n.attributes.xfaOff&&e.removeAttribute("checked"),"print"===r)break;e.addEventListener("change",(e=>{i.setValue(t,{value:e.target.checked?e.target.getAttribute("xfaOn"):e.target.getAttribute("xfaOff")})}))}else{if(null!==a.value&&e.setAttribute("value",a.value),"print"===r)break;e.addEventListener("input",(e=>{i.setValue(t,{value:e.target.value})}))}break;case"select":if(null!==a.value){e.setAttribute("value",a.value);for(const e of n.children)e.attributes.value===a.value?e.attributes.selected=!0:e.attributes.hasOwnProperty("selected")&&delete e.attributes.selected}e.addEventListener("input",(e=>{const n=e.target.options,r=-1===n.selectedIndex?"":n[n.selectedIndex].value;i.setValue(t,{value:r})}))}}static setAttributes({html:e,element:t,storage:n=null,intent:i,linkService:r}){const{attributes:a}=t,s=e instanceof HTMLAnchorElement;"radio"===a.type&&(a.name=`${a.name}-${i}`);for(const[o,c]of Object.entries(a))if(null!=c)switch(o){case"class":c.length&&e.setAttribute(o,c.join(" "));break;case"dataId":break;case"id":e.setAttribute("data-element-id",c);break;case"style":Object.assign(e.style,c);break;case"textContent":e.textContent=c;break;default:(!s||"href"!==o&&"newWindow"!==o)&&e.setAttribute(o,c)}s&&r.addLinkAttributes(e,a.href,a.newWindow),n&&a.dataId&&this.setupStorage(e,a.dataId,t,n)}static render(e){var t,n;const i=e.annotationStorage,r=e.linkService,a=e.xfaHtml,s=e.intent||"display",o=document.createElement(a.name);a.attributes&&this.setAttributes({html:o,element:a,intent:s,linkService:r});const c="richText"!==s,l=e.div;if(l.append(o),e.viewport){const t=`matrix(${e.viewport.transform.join(",")})`;l.style.transform=t}c&&l.setAttribute("class","xfaLayer xfaFont");const h=[];if(0===a.children.length){if(a.value){const e=document.createTextNode(a.value);o.append(e),c&&BT.shouldBuildText(a.name)&&h.push(e)}return{textDivs:h}}const d=[[a,-1,o]];for(;d.length>0;){const[e,a,o]=d.at(-1);if(a+1===e.children.length){d.pop();continue}const l=e.children[++d.at(-1)[1]];if(null===l)continue;const{name:u}=l;if("#text"===u){const e=document.createTextNode(l.value);h.push(e),o.append(e);continue}const f=(null==(t=null==l?void 0:l.attributes)?void 0:t.xmlns)?document.createElementNS(l.attributes.xmlns,u):document.createElement(u);if(o.append(f),l.attributes&&this.setAttributes({html:f,element:l,storage:i,intent:s,linkService:r}),(null==(n=l.children)?void 0:n.length)>0)d.push([l,-1,f]);else if(l.value){const e=document.createTextNode(l.value);c&&BT.shouldBuildText(u)&&h.push(e),f.append(e)}}for(const u of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))u.setAttribute("readOnly",!0);return{textDivs:h}}static update(e){const t=`matrix(${e.viewport.transform.join(",")})`;e.div.style.transform=t,e.div.hidden=!1}}const mD=1e3,bD=new WeakSet;function vD(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class yD{static create(e){switch(e.data.annotationType){case _w:return new xD(e);case xw:return new _D(e);case Lw:switch(e.data.fieldType){case"Tx":return new DD(e);case"Btn":return e.data.radioButton?new kD(e):e.data.checkBox?new ED(e):new SD(e);case"Ch":return new CD(e);case"Sig":return new AD(e)}return new TD(e);case Nw:return new UD(e);case Tw:return new MD(e);case Dw:return new RD(e);case Aw:return new ID(e);case Ew:return new OD(e);case Sw:return new ND(e);case Iw:return new LD(e);case Ow:return new WD(e);case kw:return new PD(e);case Cw:return new BD(e);case Uw:return new jD(e);case Fw:return new zD(e);case Mw:return new HD(e);case Rw:return new VD(e);case Pw:return new GD(e);default:return new wD(e)}}}_r=new WeakMap,Tr=new WeakMap,Dr=new WeakMap,Ar=new WeakSet,Er=function(e){const{container:{style:t},data:{rect:n,rotation:i},parent:{viewport:{rawDims:{pageWidth:r,pageHeight:a,pageX:s,pageY:o}}}}=this;null==n||n.splice(0,4,...e);const{width:c,height:l}=vD(e);t.left=100*(e[0]-s)/r+"%",t.top=100*(a-e[3]+o)/a+"%",0===i?(t.width=100*c/r+"%",t.height=100*l/a+"%"):this.setRotation(i)};let wD=class e{constructor(e,{isRenderable:t=!1,ignoreBorder:n=!1,createQuadrilaterals:i=!1}={}){Cl(this,Ar),Cl(this,_r,null),Cl(this,Tr,!1),Cl(this,Dr,null),this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this.parent=e.parent,t&&(this.container=this._createContainer(n)),i&&this._createQuadrilaterals()}static _hasPopupData({titleObj:e,contentsObj:t,richText:n}){return!!((null==e?void 0:e.str)||(null==t?void 0:t.str)||(null==n?void 0:n.str))}get _isEditable(){return this.data.isEditable}get hasPopupData(){return e._hasPopupData(this.data)}updateEdited(e){var t;if(!this.container)return;Sl(this,_r)||Ul(this,_r,{rect:this.data.rect.slice(0)});const{rect:n}=e;n&&Fl(this,Ar,Er).call(this,n),null==(t=Sl(this,Dr))||t.popup.updateEdited(e)}resetEdited(){var e;Sl(this,_r)&&(Fl(this,Ar,Er).call(this,Sl(this,_r).rect),null==(e=Sl(this,Dr))||e.popup.resetEdited(),Ul(this,_r,null))}_createContainer(e){const{data:t,parent:{page:n,viewport:i}}=this,r=document.createElement("section");r.setAttribute("data-annotation-id",t.id),this instanceof TD||(r.tabIndex=mD);const{style:a}=r;if(a.zIndex=this.parent.zIndex++,t.alternativeText&&(r.title=t.alternativeText),t.noRotate&&r.classList.add("norotate"),!t.rect||this instanceof UD){const{rotation:e}=t;return t.hasOwnCanvas||0===e||this.setRotation(e,r),r}const{width:s,height:o}=vD(t.rect);if(!e&&t.borderStyle.width>0){a.borderWidth=`${t.borderStyle.width}px`;const e=t.borderStyle.horizontalCornerRadius,n=t.borderStyle.verticalCornerRadius;if(e>0||n>0){const t=`calc(${e}px * var(--scale-factor)) / calc(${n}px * var(--scale-factor))`;a.borderRadius=t}else if(this instanceof kD){const e=`calc(${s}px * var(--scale-factor)) / calc(${o}px * var(--scale-factor))`;a.borderRadius=e}switch(t.borderStyle.style){case Ww:a.borderStyle="solid";break;case Bw:a.borderStyle="dashed";break;case jw:case zw:Kw();break;case Hw:a.borderBottomStyle="solid"}const i=t.borderColor||null;i?(Ul(this,Tr,!0),a.borderColor=px.makeHexColor(0|i[0],0|i[1],0|i[2])):a.borderWidth=0}const c=px.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]),{pageWidth:l,pageHeight:h,pageX:d,pageY:u}=i.rawDims;a.left=100*(c[0]-d)/l+"%",a.top=100*(c[1]-u)/h+"%";const{rotation:f}=t;return t.hasOwnCanvas||0===f?(a.width=100*s/l+"%",a.height=100*o/h+"%"):this.setRotation(f,r),r}setRotation(e,t=this.container){if(!this.data.rect)return;const{pageWidth:n,pageHeight:i}=this.parent.viewport.rawDims,{width:r,height:a}=vD(this.data.rect);let s,o;e%180==0?(s=100*r/n,o=100*a/i):(s=100*a/n,o=100*r/i),t.style.width=`${s}%`,t.style.height=`${o}%`,t.setAttribute("data-main-rotation",(360-e)%360)}get _commonActions(){const e=(e,t,n)=>{const i=n.detail[e],r=i[0],a=i.slice(1);n.target.style[t]=uD[`${r}_HTML`](a),this.annotationStorage.setValue(this.data.id,{[t]:uD[`${r}_rgb`](a)})};return ex(this,"_commonActions",{display:e=>{const{display:t}=e.detail,n=t%2==1;this.container.style.visibility=n?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:n,noPrint:1===t||2===t})},print:e=>{this.annotationStorage.setValue(this.data.id,{noPrint:!e.detail.print})},hidden:e=>{const{hidden:t}=e.detail;this.container.style.visibility=t?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:t,noView:t})},focus:e=>{setTimeout((()=>e.target.focus({preventScroll:!1})),0)},userName:e=>{e.target.title=e.detail.userName},readonly:e=>{e.target.disabled=e.detail.readonly},required:e=>{this._setRequired(e.target,e.detail.required)},bgColor:t=>{e("bgColor","backgroundColor",t)},fillColor:t=>{e("fillColor","backgroundColor",t)},fgColor:t=>{e("fgColor","color",t)},textColor:t=>{e("textColor","color",t)},borderColor:t=>{e("borderColor","borderColor",t)},strokeColor:t=>{e("strokeColor","borderColor",t)},rotation:e=>{const t=e.detail.rotation;this.setRotation(t),this.annotationStorage.setValue(this.data.id,{rotation:t})}})}_dispatchEventFromSandbox(e,t){const n=this._commonActions;for(const i of Object.keys(t.detail)){const r=e[i]||n[i];null==r||r(t)}}_setDefaultPropertiesFromJS(e){if(!this.enableScripting)return;const t=this.annotationStorage.getRawValue(this.data.id);if(!t)return;const n=this._commonActions;for(const[i,r]of Object.entries(t)){const a=n[i];if(a){a({detail:{[i]:r},target:e}),delete t[i]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:e}=this.data;if(!e)return;const[t,n,i,r]=this.data.rect.map((e=>Math.fround(e)));if(8===e.length){const[a,s,o,c]=e.subarray(2,6);if(i===a&&r===s&&t===o&&n===c)return}const{style:a}=this.container;let s;if(Sl(this,Tr)){const{borderColor:e,borderWidth:t}=a;a.borderWidth=0,s=["url('data:image/svg+xml;utf8,",'',``],this.container.classList.add("hasBorder")}const o=i-t,c=r-n,{svgFactory:l}=this,h=l.createElement("svg");h.classList.add("quadrilateralsContainer"),h.setAttribute("width",0),h.setAttribute("height",0);const d=l.createElement("defs");h.append(d);const u=l.createElement("clipPath"),f=`clippath_${this.data.id}`;u.setAttribute("id",f),u.setAttribute("clipPathUnits","objectBoundingBox"),d.append(u);for(let p=2,g=e.length;p`)}Sl(this,Tr)&&(s.push("')"),a.backgroundImage=s.join("")),this.container.append(h),this.container.style.clipPath=`url(#${f})`}_createPopup(){const{data:e}=this,t=Ul(this,Dr,new UD({data:{color:e.color,titleObj:e.titleObj,modificationDate:e.modificationDate,contentsObj:e.contentsObj,richText:e.richText,parentRect:e.rect,borderStyle:0,id:`popup_${e.id}`,rotation:e.rotation},parent:this.parent,elements:[this]}));this.parent.div.append(t.render())}render(){Zw("Abstract method `AnnotationElement.render` called")}_getElementsByName(e,t=null){const n=[];if(this._fieldObjects){const i=this._fieldObjects[e];if(i)for(const{page:e,id:r,exportValues:a}of i){if(-1===e)continue;if(r===t)continue;const i="string"==typeof a?a:null,s=document.querySelector(`[data-element-id="${r}"]`);!s||bD.has(s)?n.push({id:r,exportValue:i,domElement:s}):Kw()}return n}for(const i of document.getElementsByName(e)){const{exportValue:e}=i,r=i.getAttribute("data-element-id");r!==t&&(bD.has(i)&&n.push({id:r,exportValue:e,domElement:i}))}return n}show(){var e;this.container&&(this.container.hidden=!1),null==(e=this.popup)||e.maybeShow()}hide(){var e;this.container&&(this.container.hidden=!0),null==(e=this.popup)||e.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const e=this.getElementsToTriggerPopup();if(Array.isArray(e))for(const t of e)t.classList.add("highlightArea");else e.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:e,data:{id:t}}=this;this.container.addEventListener("dblclick",(()=>{var n;null==(n=this.linkService.eventBus)||n.dispatch("switchannotationeditormode",{source:this,mode:e,editId:t})}))}};class xD extends wD{constructor(e,t=null){super(e,{isRenderable:!0,ignoreBorder:!!(null==t?void 0:t.ignoreBorder),createQuadrilaterals:!0}),Cl(this,kr),this.isTooltipOnly=e.data.isTooltipOnly}render(){const{data:e,linkService:t}=this,n=document.createElement("a");n.setAttribute("data-element-id",e.id);let i=!1;return e.url?(t.addLinkAttributes(n,e.url,e.newWindow),i=!0):e.action?(this._bindNamedAction(n,e.action),i=!0):e.attachment?(Fl(this,kr,Cr).call(this,n,e.attachment,e.attachmentDest),i=!0):e.setOCGState?(Fl(this,kr,Ur).call(this,n,e.setOCGState),i=!0):e.dest?(this._bindLink(n,e.dest),i=!0):(e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(n,e),i=!0),e.resetForm?(this._bindResetFormAction(n,e.resetForm),i=!0):this.isTooltipOnly&&!i&&(this._bindLink(n,""),i=!0)),this.container.classList.add("linkAnnotation"),i&&this.container.append(n),this.container}_bindLink(e,t){e.href=this.linkService.getDestinationHash(t),e.onclick=()=>(t&&this.linkService.goToDestination(t),!1),(t||""===t)&&Fl(this,kr,Sr).call(this)}_bindNamedAction(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(t),!1),Fl(this,kr,Sr).call(this)}_bindJSAction(e,t){e.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const i of Object.keys(t.actions)){const r=n.get(i);r&&(e[r]=()=>{var e;return null==(e=this.linkService.eventBus)||e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t.id,name:i}}),!1})}e.onclick||(e.onclick=()=>!1),Fl(this,kr,Sr).call(this)}_bindResetFormAction(e,t){const n=e.onclick;if(n||(e.href=this.linkService.getAnchorUrl("")),Fl(this,kr,Sr).call(this),!this._fieldObjects)return Kw(),void(n||(e.onclick=()=>!1));e.onclick=()=>{var e;null==n||n();const{fields:i,refs:r,include:a}=t,s=[];if(0!==i.length||0!==r.length){const e=new Set(r);for(const t of i){const n=this._fieldObjects[t]||[];for(const{id:t}of n)e.add(t)}for(const t of Object.values(this._fieldObjects))for(const n of t)e.has(n.id)===a&&s.push(n)}else for(const t of Object.values(this._fieldObjects))s.push(...t);const o=this.annotationStorage,c=[];for(const t of s){const{id:e}=t;switch(c.push(e),t.type){case"text":{const n=t.defaultValue||"";o.setValue(e,{value:n});break}case"checkbox":case"radiobutton":{const n=t.defaultValue===t.exportValues;o.setValue(e,{value:n});break}case"combobox":case"listbox":{const n=t.defaultValue||"";o.setValue(e,{value:n});break}default:continue}const n=document.querySelector(`[data-element-id="${e}"]`);n&&(bD.has(n)?n.dispatchEvent(new Event("resetform")):Kw())}return this.enableScripting&&(null==(e=this.linkService.eventBus)||e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:c,name:"ResetForm"}})),!1}}}kr=new WeakSet,Sr=function(){this.container.setAttribute("data-internal-link","")},Cr=function(e,t,n=null){e.href=this.linkService.getAnchorUrl(""),t.description&&(e.title=t.description),e.onclick=()=>{var e;return null==(e=this.downloadManager)||e.openOrDownloadData(t.content,t.filename,n),!1},Fl(this,kr,Sr).call(this)},Ur=function(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeSetOCGState(t),!1),Fl(this,kr,Sr).call(this)};class _D extends wD{constructor(e){super(e,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const e=document.createElement("img");return e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),e.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(e),this.container}}class TD extends wD{render(){return this.container}showElementAndHideCanvas(e){var t;this.data.hasOwnCanvas&&("CANVAS"===(null==(t=e.previousSibling)?void 0:t.nodeName)&&(e.previousSibling.hidden=!0),e.hidden=!1)}_getKeyModifier(e){return ux.platform.isMac?e.metaKey:e.ctrlKey}_setEventListener(e,t,n,i,r){n.includes("mouse")?e.addEventListener(n,(e=>{var t;null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:r(e),shift:e.shiftKey,modifier:this._getKeyModifier(e)}})})):e.addEventListener(n,(e=>{var a;if("blur"===n){if(!t.focused||!e.relatedTarget)return;t.focused=!1}else if("focus"===n){if(t.focused)return;t.focused=!0}r&&(null==(a=this.linkService.eventBus)||a.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:r(e)}}))}))}_setEventListeners(e,t,n,i){var r,a,s;for(const[o,c]of n)("Action"===c||(null==(r=this.data.actions)?void 0:r[c]))&&("Focus"!==c&&"Blur"!==c||t||(t={focused:!1}),this._setEventListener(e,t,o,c,i),"Focus"!==c||(null==(a=this.data.actions)?void 0:a.Blur)?"Blur"!==c||(null==(s=this.data.actions)?void 0:s.Focus)||this._setEventListener(e,t,"focus","Focus",null):this._setEventListener(e,t,"blur","Blur",null))}_setBackgroundColor(e){const t=this.data.backgroundColor||null;e.style.backgroundColor=null===t?"transparent":px.makeHexColor(t[0],t[1],t[2])}_setTextStyle(e){const t=["left","center","right"],{fontColor:n}=this.data.defaultAppearanceData,i=this.data.defaultAppearanceData.fontSize||9,r=e.style;let a;const s=e=>Math.round(10*e)/10;if(this.data.multiLine){const e=Math.abs(this.data.rect[3]-this.data.rect[1]-2),t=e/(Math.round(e/(tw*i))||1);a=Math.min(i,s(t/tw))}else{const e=Math.abs(this.data.rect[3]-this.data.rect[1]-2);a=Math.min(i,s(e/tw))}r.fontSize=`calc(${a}px * var(--scale-factor))`,r.color=px.makeHexColor(n[0],n[1],n[2]),null!==this.data.textAlignment&&(r.textAlign=t[this.data.textAlignment])}_setRequired(e,t){t?e.setAttribute("required",!0):e.removeAttribute("required"),e.setAttribute("aria-required",t)}}class DD extends TD{constructor(e){super(e,{isRenderable:e.renderForms||e.data.hasOwnCanvas||!e.data.hasAppearance&&!!e.data.fieldValue})}setPropertyOnSiblings(e,t,n,i){const r=this.annotationStorage;for(const a of this._getElementsByName(e.name,e.id))a.domElement&&(a.domElement[t]=n),r.setValue(a.id,{[i]:n})}render(){var e,t;const n=this.annotationStorage,i=this.data.id;this.container.classList.add("textWidgetAnnotation");let r=null;if(this.renderForms){const a=n.getValue(i,{value:this.data.fieldValue});let s=a.value||"";const o=n.getValue(i,{charLimit:this.data.maxLen}).charLimit;o&&s.length>o&&(s=s.slice(0,o));let c=a.formattedValue||(null==(e=this.data.textContent)?void 0:e.join("\n"))||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));const l={userValue:s,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(r=document.createElement("textarea"),r.textContent=c??s,this.data.doNotScroll&&(r.style.overflowY="hidden")):(r=document.createElement("input"),r.type="text",r.setAttribute("value",c??s),this.data.doNotScroll&&(r.style.overflowX="hidden")),this.data.hasOwnCanvas&&(r.hidden=!0),bD.add(r),r.setAttribute("data-element-id",i),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=mD,this._setRequired(r,this.data.required),o&&(r.maxLength=o),r.addEventListener("input",(e=>{n.setValue(i,{value:e.target.value}),this.setPropertyOnSiblings(r,"value",e.target.value,"value"),l.formattedValue=null})),r.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue??"";r.value=l.userValue=t,l.formattedValue=null}));let h=e=>{const{formattedValue:t}=l;null!=t&&(e.target.value=t),e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){r.addEventListener("focus",(e=>{var t;if(l.focused)return;const{target:n}=e;l.userValue&&(n.value=l.userValue),l.lastCommittedValue=n.value,l.commitKey=1,(null==(t=this.data.actions)?void 0:t.Focus)||(l.focused=!0)})),r.addEventListener("updatefromsandbox",(e=>{this.showElementAndHideCanvas(e.target);const t={value(e){l.userValue=e.detail.value??"",n.setValue(i,{value:l.userValue.toString()}),e.target.value=l.userValue},formattedValue(e){const{formattedValue:t}=e.detail;l.formattedValue=t,null!=t&&e.target!==document.activeElement&&(e.target.value=t),n.setValue(i,{formattedValue:t})},selRange(e){e.target.setSelectionRange(...e.detail.selRange)},charLimit:e=>{var t;const{charLimit:r}=e.detail,{target:a}=e;if(0===r)return void a.removeAttribute("maxLength");a.setAttribute("maxLength",r);let s=l.userValue;!s||s.length<=r||(s=s.slice(0,r),a.value=l.userValue=s,n.setValue(i,{value:s}),null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:s,willCommit:!0,commitKey:1,selStart:a.selectionStart,selEnd:a.selectionEnd}}))}};this._dispatchEventFromSandbox(t,e)})),r.addEventListener("keydown",(e=>{var t;l.commitKey=1;let n=-1;if("Escape"===e.key?n=0:"Enter"!==e.key||this.data.multiLine?"Tab"===e.key&&(l.commitKey=3):n=2,-1===n)return;const{value:r}=e.target;l.lastCommittedValue!==r&&(l.lastCommittedValue=r,l.userValue=r,null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:r,willCommit:!0,commitKey:n,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))}));const e=h;h=null,r.addEventListener("blur",(t=>{var n,r;if(!l.focused||!t.relatedTarget)return;(null==(n=this.data.actions)?void 0:n.Blur)||(l.focused=!1);const{value:a}=t.target;l.userValue=a,l.lastCommittedValue!==a&&(null==(r=this.linkService.eventBus)||r.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:a,willCommit:!0,commitKey:l.commitKey,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}})),e(t)})),(null==(t=this.data.actions)?void 0:t.Keystroke)&&r.addEventListener("beforeinput",(e=>{var t;l.lastCommittedValue=null;const{data:n,target:r}=e,{value:a,selectionStart:s,selectionEnd:o}=r;let c=s,h=o;switch(e.inputType){case"deleteWordBackward":{const e=a.substring(0,s).match(/\w*[^\w]*$/);e&&(c-=e[0].length);break}case"deleteWordForward":{const e=a.substring(s).match(/^[^\w]*\w*/);e&&(h+=e[0].length);break}case"deleteContentBackward":s===o&&(c-=1);break;case"deleteContentForward":s===o&&(h+=1)}e.preventDefault(),null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:a,change:n||"",willCommit:!1,selStart:c,selEnd:h}})})),this._setEventListeners(r,l,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.value))}if(h&&r.addEventListener("blur",h),this.data.comb){const e=(this.data.rect[2]-this.data.rect[0])/o;r.classList.add("comb"),r.style.letterSpacing=`calc(${e}px * var(--scale-factor) - 1ch)`}}else r=document.createElement("div"),r.textContent=this.data.fieldValue,r.style.verticalAlign="middle",r.style.display="table-cell",this.data.hasOwnCanvas&&(r.hidden=!0);return this._setTextStyle(r),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class AD extends TD{constructor(e){super(e,{isRenderable:!!e.data.hasOwnCanvas})}}class ED extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){const e=this.annotationStorage,t=this.data,n=t.id;let i=e.getValue(n,{value:t.exportValue===t.fieldValue}).value;"string"==typeof i&&(i="Off"!==i,e.setValue(n,{value:i})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const r=document.createElement("input");return bD.add(r),r.setAttribute("data-element-id",n),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type="checkbox",r.name=t.fieldName,i&&r.setAttribute("checked",!0),r.setAttribute("exportValue",t.exportValue),r.tabIndex=mD,r.addEventListener("change",(i=>{const{name:r,checked:a}=i.target;for(const s of this._getElementsByName(r,n)){const n=a&&s.exportValue===t.exportValue;s.domElement&&(s.domElement.checked=n),e.setValue(s.id,{value:n})}e.setValue(n,{value:a})})),r.addEventListener("resetform",(e=>{const n=t.defaultFieldValue||"Off";e.target.checked=n===t.exportValue})),this.enableScripting&&this.hasJSActions&&(r.addEventListener("updatefromsandbox",(t=>{const i={value(t){t.target.checked="Off"!==t.detail.value,e.setValue(n,{value:t.target.checked})}};this._dispatchEventFromSandbox(i,t)})),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class kD extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const e=this.annotationStorage,t=this.data,n=t.id;let i=e.getValue(n,{value:t.fieldValue===t.buttonValue}).value;if("string"==typeof i&&(i=i!==t.buttonValue,e.setValue(n,{value:i})),i)for(const a of this._getElementsByName(t.fieldName,n))e.setValue(a.id,{value:!1});const r=document.createElement("input");if(bD.add(r),r.setAttribute("data-element-id",n),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type="radio",r.name=t.fieldName,i&&r.setAttribute("checked",!0),r.tabIndex=mD,r.addEventListener("change",(t=>{const{name:i,checked:r}=t.target;for(const a of this._getElementsByName(i,n))e.setValue(a.id,{value:!1});e.setValue(n,{value:r})})),r.addEventListener("resetform",(e=>{const n=t.defaultFieldValue;e.target.checked=null!=n&&n===t.buttonValue})),this.enableScripting&&this.hasJSActions){const i=t.buttonValue;r.addEventListener("updatefromsandbox",(t=>{const r={value:t=>{const r=i===t.detail.value;for(const i of this._getElementsByName(t.target.name)){const t=r&&i.id===n;i.domElement&&(i.domElement.checked=t),e.setValue(i.id,{value:t})}}};this._dispatchEventFromSandbox(r,t)})),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))}return this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class SD extends xD{constructor(e){super(e,{ignoreBorder:e.data.hasAppearance})}render(){const e=super.render();e.classList.add("buttonWidgetAnnotation","pushButton");const t=e.lastChild;return this.enableScripting&&this.hasJSActions&&t&&(this._setDefaultPropertiesFromJS(t),t.addEventListener("updatefromsandbox",(e=>{this._dispatchEventFromSandbox({},e)}))),e}}class CD extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const e=this.annotationStorage,t=this.data.id,n=e.getValue(t,{value:this.data.fieldValue}),i=document.createElement("select");bD.add(i),i.setAttribute("data-element-id",t),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=mD;let r=this.data.combo&&this.data.options.length>0;this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue;for(const n of i.options)n.selected=n.value===t}));for(const l of this.data.options){const e=document.createElement("option");e.textContent=l.displayValue,e.value=l.exportValue,n.value.includes(l.exportValue)&&(e.setAttribute("selected",!0),r=!1),i.append(e)}let a=null;if(r){const e=document.createElement("option");e.value=" ",e.setAttribute("hidden",!0),e.setAttribute("selected",!0),i.prepend(e),a=()=>{e.remove(),i.removeEventListener("input",a),a=null},i.addEventListener("input",a)}const s=e=>{const t=e?"value":"textContent",{options:n,multiple:r}=i;return r?Array.prototype.filter.call(n,(e=>e.selected)).map((e=>e[t])):-1===n.selectedIndex?null:n[n.selectedIndex][t]};let o=s(!1);const c=e=>{const t=e.target.options;return Array.prototype.map.call(t,(e=>({displayValue:e.textContent,exportValue:e.value})))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",(n=>{const r={value(n){null==a||a();const r=n.detail.value,c=new Set(Array.isArray(r)?r:[r]);for(const e of i.options)e.selected=c.has(e.value);e.setValue(t,{value:s(!0)}),o=s(!1)},multipleSelection(e){i.multiple=!0},remove(n){const r=i.options,a=n.detail.remove;if(r[a].selected=!1,i.remove(a),r.length>0){-1===Array.prototype.findIndex.call(r,(e=>e.selected))&&(r[0].selected=!0)}e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},clear(n){for(;0!==i.length;)i.remove(0);e.setValue(t,{value:null,items:[]}),o=s(!1)},insert(n){const{index:r,displayValue:a,exportValue:l}=n.detail.insert,h=i.children[r],d=document.createElement("option");d.textContent=a,d.value=l,h?h.before(d):i.append(d),e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},items(n){const{items:r}=n.detail;for(;0!==i.length;)i.remove(0);for(const e of r){const{displayValue:t,exportValue:n}=e,r=document.createElement("option");r.textContent=t,r.value=n,i.append(r)}i.options.length>0&&(i.options[0].selected=!0),e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},indices(n){const i=new Set(n.detail.indices);for(const e of n.target.options)e.selected=i.has(e.index);e.setValue(t,{value:s(!0)}),o=s(!1)},editable(e){e.target.disabled=!e.detail.editable}};this._dispatchEventFromSandbox(r,n)})),i.addEventListener("input",(n=>{var i;const r=s(!0),a=s(!1);e.setValue(t,{value:r}),n.preventDefault(),null==(i=this.linkService.eventBus)||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:o,change:a,changeEx:r,willCommit:!1,commitKey:1,keyDown:!1}})})),this._setEventListeners(i,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],(e=>e.target.value))):i.addEventListener("input",(function(n){e.setValue(t,{value:s(!0)})})),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class UD extends wD{constructor(e){const{data:t,elements:n}=e;super(e,{isRenderable:wD._hasPopupData(t)}),this.elements=n,this.popup=null}render(){this.container.classList.add("popupAnnotation");const e=this.popup=new FD({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),t=[];for(const n of this.elements)n.popup=e,n.container.ariaHasPopup="dialog",t.push(n.data.id),n.addHighlightArea();return this.container.setAttribute("aria-controls",t.map((e=>`${vx}${e}`)).join(",")),this.container}}class FD{constructor({container:e,color:t,elements:n,titleObj:i,modificationDate:r,contentsObj:a,richText:s,parent:o,rect:c,parentRect:l,open:h}){var d;Cl(this,Kr),Cl(this,Fr,Fl(this,Kr,ta).bind(this)),Cl(this,Mr,Fl(this,Kr,aa).bind(this)),Cl(this,Rr,Fl(this,Kr,ra).bind(this)),Cl(this,Ir,Fl(this,Kr,ia).bind(this)),Cl(this,Or,null),Cl(this,Nr,null),Cl(this,Pr,null),Cl(this,Lr,null),Cl(this,Wr,null),Cl(this,Br,null),Cl(this,jr,null),Cl(this,zr,!1),Cl(this,Hr,null),Cl(this,Vr,null),Cl(this,Gr,null),Cl(this,Xr,null),Cl(this,$r,null),Cl(this,qr,null),Cl(this,Yr,!1),Ul(this,Nr,e),Ul(this,$r,i),Ul(this,Pr,a),Ul(this,Xr,s),Ul(this,Br,o),Ul(this,Or,t),Ul(this,Gr,c),Ul(this,jr,l),Ul(this,Wr,n),Ul(this,Lr,Rx.toDateObject(r)),this.trigger=n.flatMap((e=>e.getElementsToTriggerPopup()));for(const u of this.trigger)u.addEventListener("click",Sl(this,Ir)),u.addEventListener("mouseenter",Sl(this,Rr)),u.addEventListener("mouseleave",Sl(this,Mr)),u.classList.add("popupTriggerArea");for(const u of n)null==(d=u.container)||d.addEventListener("keydown",Sl(this,Fr));Sl(this,Nr).hidden=!0,h&&Fl(this,Kr,ia).call(this)}render(){if(Sl(this,Hr))return;const e=Ul(this,Hr,document.createElement("div"));if(e.className="popup",Sl(this,Or)){const t=e.style.outlineColor=px.makeHexColor(...Sl(this,Or));if(CSS.supports("background-color","color-mix(in srgb, red 30%, white)"))e.style.backgroundColor=`color-mix(in srgb, ${t} 30%, white)`;else{const t=.7;e.style.backgroundColor=px.makeHexColor(...Sl(this,Or).map((e=>Math.floor(t*(255-e)+e))))}}const t=document.createElement("span");t.className="header";const n=document.createElement("h1");if(t.append(n),({dir:n.dir,str:n.textContent}=Sl(this,$r)),e.append(t),Sl(this,Lr)){const e=document.createElement("span");e.classList.add("popupDate"),e.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),e.setAttribute("data-l10n-args",JSON.stringify({dateObj:Sl(this,Lr).valueOf()})),t.append(e)}const i=Sl(this,Kr,Zr);if(i)gD.render({xfaHtml:i,intent:"richText",div:e}),e.lastChild.classList.add("richText","popupContent");else{const t=this._formatContents(Sl(this,Pr));e.append(t)}Sl(this,Nr).append(e)}_formatContents({str:e,dir:t}){const n=document.createElement("p");n.classList.add("popupContent"),n.dir=t;const i=e.split(/(?:\r\n?|\n)/);for(let r=0,a=i.length;r=0&&r.setAttribute("stroke-width",t||1),n)for(let a=0,s=Sl(this,da).length;a{"Enter"===e.key&&(i?e.metaKey:e.ctrlKey)&&Fl(this,ga,ma).call(this)})),!t.popupRef&&this.hasPopupData?this._createPopup():n.classList.add("popupTriggerArea"),e.append(n),e}getElementsToTriggerPopup(){return Sl(this,pa)}addHighlightArea(){this.container.classList.add("highlightArea")}}pa=new WeakMap,ga=new WeakSet,ma=function(){var e;null==(e=this.downloadManager)||e.openOrDownloadData(this.content,this.filename)};class XD{constructor({div:e,accessibilityManager:t,annotationCanvasMap:n,annotationEditorUIManager:i,page:r,viewport:a,structTreeLayer:s}){Cl(this,xa),Cl(this,ba,null),Cl(this,va,null),Cl(this,ya,new Map),Cl(this,wa,null),this.div=e,Ul(this,ba,t),Ul(this,va,n),Ul(this,wa,s||null),this.page=r,this.viewport=a,this.zIndex=0,this._annotationEditorUIManager=i}hasEditableAnnotations(){return Sl(this,ya).size>0}async render(e){var t;const{annotations:n}=e,i=this.div;Lx(i,this.viewport);const r=new Map,a={data:null,layer:i,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:!1!==e.renderForms,svgFactory:new pD,annotationStorage:e.annotationStorage||new d_,enableScripting:!0===e.enableScripting,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,parent:this,elements:null};for(const s of n){if(s.noHTML)continue;const e=s.annotationType===Nw;if(e){const e=r.get(s.id);if(!e)continue;a.elements=e}else{const{width:e,height:t}=vD(s.rect);if(e<=0||t<=0)continue}a.data=s;const n=yD.create(a);if(!n.isRenderable)continue;if(!e&&s.popupRef){const e=r.get(s.popupRef);e?e.push(n):r.set(s.popupRef,[n])}const i=n.render();s.hidden&&(i.style.visibility="hidden"),await Fl(this,xa,_a).call(this,i,s.id),n._isEditable&&(Sl(this,ya).set(n.data.id,n),null==(t=this._annotationEditorUIManager)||t.renderAnnotationElement(n))}Fl(this,xa,Ta).call(this)}update({viewport:e}){const t=this.div;this.viewport=e,Lx(t,{rotation:e.rotation}),Fl(this,xa,Ta).call(this),t.hidden=!1}getEditableAnnotations(){return Array.from(Sl(this,ya).values())}getEditableAnnotation(e){return Sl(this,ya).get(e)}}ba=new WeakMap,va=new WeakMap,ya=new WeakMap,wa=new WeakMap,xa=new WeakSet,_a=async function(e,t){var n,i;const r=e.firstChild||e,a=r.id=`${vx}${t}`,s=await(null==(n=Sl(this,wa))?void 0:n.getAriaAttributes(a));if(s)for(const[o,c]of s)r.setAttribute(o,c);this.div.append(e),null==(i=Sl(this,ba))||i.moveElementInDOM(this.div,e,r,!1)},Ta=function(){if(!Sl(this,va))return;const e=this.div;for(const[t,n]of Sl(this,va)){const i=e.querySelector(`[data-annotation-id="${t}"]`);if(!i)continue;n.className="annotationContent";const{firstChild:r}=i;r?"CANVAS"===r.nodeName?r.replaceWith(n):r.classList.contains("annotationContent")?r.after(n):r.before(n):i.append(n)}Sl(this,va).clear()};const $D=/\r\n?|\n/g,qD=class e extends r_{constructor(t){super({...t,name:"freeTextEditor"}),Cl(this,Ca),Cl(this,Da),Cl(this,Aa,""),Cl(this,Ea,`${this.id}-editor`),Cl(this,ka,null),Cl(this,Sa),Ul(this,Da,t.color||e._defaultColor||r_._defaultLineColor),Ul(this,Sa,t.fontSize||e._defaultFontSize)}static get _keyboardManager(){const t=e.prototype,n=e=>e.isEmpty(),i=Jx.TRANSLATE_SMALL,r=Jx.TRANSLATE_BIG;return ex(this,"_keyboardManager",new qx([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],t.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],t.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],t._translateEmpty,{args:[-i,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-r,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[i,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[r,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-r],checker:n}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,i],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,r],checker:n}]]))}static initialize(e,t){r_.initialize(e,t);const n=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(n.getPropertyValue("--freetext-padding"))}static updateDefaultParams(t,n){switch(t){case uw.FREETEXT_SIZE:e._defaultFontSize=n;break;case uw.FREETEXT_COLOR:e._defaultColor=n}}updateParams(e,t){switch(e){case uw.FREETEXT_SIZE:Fl(this,Ca,Ua).call(this,t);break;case uw.FREETEXT_COLOR:Fl(this,Ca,Fa).call(this,t)}}static get defaultPropertiesToUpdate(){return[[uw.FREETEXT_SIZE,e._defaultFontSize],[uw.FREETEXT_COLOR,e._defaultColor||r_._defaultLineColor]]}get propertiesToUpdate(){return[[uw.FREETEXT_SIZE,Sl(this,Sa)],[uw.FREETEXT_COLOR,Sl(this,Da)]]}_translateEmpty(e,t){this._uiManager.translateSelectedEditors(e,t,!0)}getInitialTranslation(){const t=this.parentScale;return[-e._internalPadding*t,-(e._internalPadding+Sl(this,Sa))*t]}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(this.isInEditMode())return;this.parent.setEditingState(!1),this.parent.updateToolbar(dw.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),Ul(this,ka,new AbortController);const e=this._uiManager.combinedSignal(Sl(this,ka));this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:e}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:e}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:e}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:e}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:e})}disableEditMode(){var e;this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",Sl(this,Ea)),this._isDraggable=!0,null==(e=Sl(this,ka))||e.abort(),Ul(this,ka,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}focusin(e){this._focusEventsAllowed&&(super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(e){var t;this.width||(this.enableEditMode(),e&&this.editorDiv.focus(),(null==(t=this._initialOptions)?void 0:t.isCentered)&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const e=Sl(this,Aa),t=Ul(this,Aa,Fl(this,Ca,Ma).call(this).trimEnd());if(e===t)return;const n=e=>{Ul(this,Aa,e),e?(Fl(this,Ca,Na).call(this),this._uiManager.rebuild(this),Fl(this,Ca,Ra).call(this)):this.remove()};this.addCommands({cmd:()=>{n(t)},undo:()=>{n(e)},mustExec:!1}),Fl(this,Ca,Ra).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(e){this.enterInEditMode()}keydown(e){e.target===this.div&&"Enter"===e.key&&(this.enterInEditMode(),e.preventDefault())}editorDivKeydown(t){e._keyboardManager.exec(this,t)}editorDivFocus(e){this.isEditing=!0}editorDivBlur(e){this.isEditing=!1}editorDivInput(e){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let e,t;this.width&&(e=this.x,t=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",Sl(this,Ea)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:n}=this.editorDiv;if(n.fontSize=`calc(${Sl(this,Sa)}px * var(--scale-factor))`,n.color=Sl(this,Da),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),Hx(this,this.div,["dblclick","keydown"]),this.width){const[n,i]=this.parentDimensions;if(this.annotationElementId){const{position:r}=this._initialData;let[a,s]=this.getInitialTranslation();[a,s]=this.pageTranslationToScreen(a,s);const[o,c]=this.pageDimensions,[l,h]=this.pageTranslation;let d,u;switch(this.rotation){case 0:d=e+(r[0]-l)/o,u=t+this.height-(r[1]-h)/c;break;case 90:d=e+(r[0]-l)/o,u=t-(r[1]-h)/c,[a,s]=[s,-a];break;case 180:d=e-this.width+(r[0]-l)/o,u=t-(r[1]-h)/c,[a,s]=[-a,-s];break;case 270:d=e+(r[0]-l-this.height*c)/o,u=t+(r[1]-h-this.width*o)/c,[a,s]=[-s,a]}this.setAt(d*n,u*i,a,s)}else this.setAt(e*n,t*i,this.width*n,this.height*i);Fl(this,Ca,Na).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}editorDivPaste(t){var n,i,r;const a=t.clipboardData||window.clipboardData,{types:s}=a;if(1===s.length&&"text/plain"===s[0])return;t.preventDefault();const o=Fl(n=e,Ia,La).call(n,a.getData("text")||"").replaceAll($D,"\n");if(!o)return;const c=window.getSelection();if(!c.rangeCount)return;this.editorDiv.normalize(),c.deleteFromDocument();const l=c.getRangeAt(0);if(!o.includes("\n"))return l.insertNode(document.createTextNode(o)),this.editorDiv.normalize(),void c.collapseToStart();const{startContainer:h,startOffset:d}=l,u=[],f=[];if(h.nodeType===Node.TEXT_NODE){const t=h.parentElement;if(f.push(h.nodeValue.slice(d).replaceAll($D,"")),t!==this.editorDiv){let n=u;for(const r of this.editorDiv.childNodes)r!==t?n.push(Fl(i=e,Ia,Oa).call(i,r)):n=f}u.push(h.nodeValue.slice(0,d).replaceAll($D,""))}else if(h===this.editorDiv){let t=u,n=0;for(const i of this.editorDiv.childNodes)n++===d&&(t=f),t.push(Fl(r=e,Ia,Oa).call(r,i))}Ul(this,Aa,`${u.join("\n")}${o}${f.join("\n")}`),Fl(this,Ca,Na).call(this);const p=new Range;let g=u.reduce(((e,t)=>e+t.length),0);for(const{firstChild:e}of this.editorDiv.childNodes)if(e.nodeType===Node.TEXT_NODE){const t=e.nodeValue.length;if(g<=t){p.setStart(e,g),p.setEnd(e,g);break}g-=t}c.removeAllRanges(),c.addRange(p)}get contentDiv(){return this.editorDiv}static async deserialize(t,n,i){var r;let a=null;if(t instanceof MD){const{data:{defaultAppearanceData:{fontSize:e,fontColor:n},rect:i,rotation:r,id:s,popupRef:o},textContent:c,textPosition:l,parent:{page:{pageNumber:h}}}=t;if(!c||0===c.length)return null;a=t={annotationType:dw.FREETEXT,color:Array.from(n),fontSize:e,value:c.join("\n"),position:l,pageIndex:h-1,rect:i.slice(0),rotation:r,id:s,deleted:!1,popupRef:o}}const s=await super.deserialize(t,n,i);return Ul(s,Sa,t.fontSize),Ul(s,Da,px.makeHexColor(...t.color)),Ul(s,Aa,Fl(r=e,Ia,La).call(r,t.value)),s.annotationElementId=t.id||null,s._initialData=a,s}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const n=e._internalPadding*this.parentScale,i=this.getRect(n,n),r=r_._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:Sl(this,Da)),a={annotationType:dw.FREETEXT,color:r,fontSize:Sl(this,Sa),value:Fl(this,Ca,Pa).call(this),pageIndex:this.pageIndex,rect:i,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?a:this.annotationElementId&&!Fl(this,Ca,Wa).call(this,a)?null:(a.id=this.annotationElementId,a)}renderAnnotationElement(t){const n=super.renderAnnotationElement(t);if(this.deleted)return n;const{style:i}=n;i.fontSize=`calc(${Sl(this,Sa)}px * var(--scale-factor))`,i.color=Sl(this,Da),n.replaceChildren();for(const e of Sl(this,Aa).split("\n")){const t=document.createElement("div");t.append(e?document.createTextNode(e):document.createElement("br")),n.append(t)}const r=e._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(r,r),popupContent:Sl(this,Aa)}),n}resetAnnotationElement(e){super.resetAnnotationElement(e),e.resetEdited()}};Da=new WeakMap,Aa=new WeakMap,Ea=new WeakMap,ka=new WeakMap,Sa=new WeakMap,Ca=new WeakSet,Ua=function(e){const t=e=>{this.editorDiv.style.fontSize=`calc(${e}px * var(--scale-factor))`,this.translate(0,-(e-Sl(this,Sa))*this.parentScale),Ul(this,Sa,e),Fl(this,Ca,Ra).call(this)},n=Sl(this,Sa);this.addCommands({cmd:t.bind(this,e),undo:t.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},Fa=function(e){const t=e=>{Ul(this,Da,this.editorDiv.style.color=e)},n=Sl(this,Da);this.addCommands({cmd:t.bind(this,e),undo:t.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},Ma=function(){var e;const t=[];this.editorDiv.normalize();let n=null;for(const i of this.editorDiv.childNodes)(null==n?void 0:n.nodeType)===Node.TEXT_NODE&&"BR"===i.nodeName||(t.push(Fl(e=qD,Ia,Oa).call(e,i)),n=i);return t.join("\n")},Ra=function(){const[e,t]=this.parentDimensions;let n;if(this.isAttachedToDOM)n=this.div.getBoundingClientRect();else{const{currentLayer:e,div:t}=this,i=t.style.display,r=t.classList.contains("hidden");t.classList.remove("hidden"),t.style.display="hidden",e.div.append(this.div),n=t.getBoundingClientRect(),t.remove(),t.style.display=i,t.classList.toggle("hidden",r)}this.rotation%180==this.parentRotation%180?(this.width=n.width/e,this.height=n.height/t):(this.width=n.height/e,this.height=n.width/t),this.fixAndSetPosition()},Ia=new WeakSet,Oa=function(e){return(e.nodeType===Node.TEXT_NODE?e.nodeValue:e.innerText).replaceAll($D,"")},Na=function(){if(this.editorDiv.replaceChildren(),Sl(this,Aa))for(const e of Sl(this,Aa).split("\n")){const t=document.createElement("div");t.append(e?document.createTextNode(e):document.createElement("br")),this.editorDiv.append(t)}},Pa=function(){return Sl(this,Aa).replaceAll(" "," ")},La=function(e){return e.replaceAll(" "," ")},Wa=function(e){const{value:t,fontSize:n,color:i,pageIndex:r}=this._initialData;return this._hasBeenMoved||e.value!==t||e.fontSize!==n||e.color.some(((e,t)=>e!==i[t]))||e.pageIndex!==r},Cl(qD,Ia),El(qD,"_freeTextDefaultContent",""),El(qD,"_internalPadding",0),El(qD,"_defaultColor",null),El(qD,"_defaultFontSize",10),El(qD,"_type","freetext"),El(qD,"_editorType",dw.FREETEXT);let YD=qD;class KD{toSVGPath(){Zw("Abstract method `toSVGPath` must be implemented.")}get box(){Zw("Abstract getter `box` must be implemented.")}serialize(e,t){Zw("Abstract method `serialize` must be implemented.")}static _rescale(e,t,n,i,r,a){a||(a=new Float32Array(e.length));for(let s=0,o=e.length;s=6;i-=6)isNaN(t[i])?n.push(`L${t[i+4]} ${t[i+5]}`):n.push(`C${t[i]} ${t[i+1]} ${t[i+2]} ${t[i+3]} ${t[i+4]} ${t[i+5]}`);return Fl(this,ns,as).call(this,n),n.join(" ")}newFreeDrawOutline(e,t,n,i,r,a){return new QD(e,t,n,i,r,a)}getOutlines(){var e;const t=Sl(this,Va),n=Sl(this,ja),i=Sl(this,Ga),[r,a,s,o]=Sl(this,Ba),c=new Float32Array(((null==(e=Sl(this,Ja))?void 0:e.length)??0)+2);for(let d=0,u=c.length-2;d=6;d-=6)for(let e=0;e<6;e+=2)isNaN(n[d+e])?(l[h]=l[h+1]=NaN,h+=2):(l[h]=n[d+e],l[h+1]=n[d+e+1],h+=2);return Fl(this,ns,cs).call(this,l,h),this.newFreeDrawOutline(l,c,Sl(this,Ba),Sl(this,Ka),Sl(this,za),Sl(this,Ha))}};Ba=new WeakMap,ja=new WeakMap,za=new WeakMap,Ha=new WeakMap,Va=new WeakMap,Ga=new WeakMap,Xa=new WeakMap,$a=new WeakMap,qa=new WeakMap,Ya=new WeakMap,Ka=new WeakMap,Za=new WeakMap,Ja=new WeakMap,Qa=new WeakMap,es=new WeakMap,ts=new WeakMap,ns=new WeakSet,is=function(){const e=Sl(this,Ga).subarray(4,6),t=Sl(this,Ga).subarray(16,18),[n,i,r,a]=Sl(this,Ba);return[(Sl(this,Xa)+(e[0]-t[0])/2-n)/r,(Sl(this,$a)+(e[1]-t[1])/2-i)/a,(Sl(this,Xa)+(t[0]-e[0])/2-n)/r,(Sl(this,$a)+(t[1]-e[1])/2-i)/a]},rs=function(){const[e,t,n,i]=Sl(this,Ba),[r,a,s,o]=Fl(this,ns,is).call(this);return`M${(Sl(this,Ga)[2]-e)/n} ${(Sl(this,Ga)[3]-t)/i} L${(Sl(this,Ga)[4]-e)/n} ${(Sl(this,Ga)[5]-t)/i} L${r} ${a} L${s} ${o} L${(Sl(this,Ga)[16]-e)/n} ${(Sl(this,Ga)[17]-t)/i} L${(Sl(this,Ga)[14]-e)/n} ${(Sl(this,Ga)[15]-t)/i} Z`},as=function(e){const t=Sl(this,ja);e.push(`L${t[4]} ${t[5]} Z`)},ss=function(e){const[t,n,i,r]=Sl(this,Ba),a=Sl(this,Ga).subarray(4,6),s=Sl(this,Ga).subarray(16,18),[o,c,l,h]=Fl(this,ns,is).call(this);e.push(`L${(a[0]-t)/i} ${(a[1]-n)/r} L${o} ${c} L${l} ${h} L${(s[0]-t)/i} ${(s[1]-n)/r}`)},os=function(e){const t=Sl(this,Ga),[n,i,r,a]=Sl(this,Ba),[s,o,c,l]=Fl(this,ns,is).call(this),h=new Float32Array(36);return h.set([NaN,NaN,NaN,NaN,(t[2]-n)/r,(t[3]-i)/a,NaN,NaN,NaN,NaN,(t[4]-n)/r,(t[5]-i)/a,NaN,NaN,NaN,NaN,s,o,NaN,NaN,NaN,NaN,c,l,NaN,NaN,NaN,NaN,(t[16]-n)/r,(t[17]-i)/a,NaN,NaN,NaN,NaN,(t[14]-n)/r,(t[15]-i)/a],0),this.newFreeDrawOutline(h,e,Sl(this,Ba),Sl(this,Ka),Sl(this,za),Sl(this,Ha))},cs=function(e,t){const n=Sl(this,ja);return e.set([NaN,NaN,NaN,NaN,n[4],n[5]],t),t+6},ls=function(e,t){const n=Sl(this,Ga).subarray(4,6),i=Sl(this,Ga).subarray(16,18),[r,a,s,o]=Sl(this,Ba),[c,l,h,d]=Fl(this,ns,is).call(this);return e.set([NaN,NaN,NaN,NaN,(n[0]-r)/s,(n[1]-a)/o,NaN,NaN,NaN,NaN,c,l,NaN,NaN,NaN,NaN,h,d,NaN,NaN,NaN,NaN,(i[0]-r)/s,(i[1]-a)/o],t),t+24},Cl(ZD,Qa,8),Cl(ZD,es,2),Cl(ZD,ts,Sl(ZD,Qa)+Sl(ZD,es));let JD=ZD;class QD extends KD{constructor(e,t,n,i,r,a){super(),Cl(this,bs),Cl(this,hs),Cl(this,ds,new Float32Array(4)),Cl(this,us),Cl(this,fs),Cl(this,ps),Cl(this,gs),Cl(this,ms),Ul(this,ms,e),Ul(this,ps,t),Ul(this,hs,n),Ul(this,gs,i),Ul(this,us,r),Ul(this,fs,a),this.lastPoint=[NaN,NaN],Fl(this,bs,vs).call(this,a);const[s,o,c,l]=Sl(this,ds);for(let h=0,d=e.length;he[0]-t[0]||e[1]-t[1]||e[2]-t[2]));const e=[];for(const t of Sl(this,xs))t[3]?(e.push(...Fl(this,Ts,Ss).call(this,t)),Fl(this,Ts,Es).call(this,t)):(Fl(this,Ts,ks).call(this,t),e.push(...Fl(this,Ts,Ss).call(this,t)));return Fl(this,Ts,Ds).call(this,e)}}ys=new WeakMap,ws=new WeakMap,xs=new WeakMap,_s=new WeakMap,Ts=new WeakSet,Ds=function(e){const t=[],n=new Set;for(const a of e){const[e,n,i]=a;t.push([e,n,a],[e,i,a])}t.sort(((e,t)=>e[1]-t[1]||e[0]-t[0]));for(let a=0,s=t.length;a0;){const e=n.values().next().value;let[t,a,s,o,c]=e;n.delete(e);let l=t,h=a;for(r=[t,s],i.push(r);;){let e;if(n.has(o))e=o;else{if(!n.has(c))break;e=c}n.delete(e),[t,a,s,o,c]=e,l!==t&&(r.push(l,h,t,h===a?a:s),l=t),h=h===a?s:a}r.push(l,h)}return new tA(i,Sl(this,ys),Sl(this,ws))},As=function(e){const t=Sl(this,_s);let n=0,i=t.length-1;for(;n<=i;){const r=n+i>>1,a=t[r][0];if(a===e)return r;a=0;i--){const[n,r]=Sl(this,_s)[i];if(n!==e)break;if(n===e&&r===t)return void Sl(this,_s).splice(i,1)}},Ss=function(e){const[t,n,i]=e,r=[[t,n,i]],a=Fl(this,Ts,As).call(this,i);for(let s=0;s=e)if(o>n)r[i][1]=n;else{if(1===a)return[];r.splice(i,1),i--,a--}else r[i][2]=e,o>n&&r.push([t,n,o])}}return r};class tA extends KD{constructor(e,t,n){super(),Cl(this,Cs),Cl(this,Us),Ul(this,Us,e),Ul(this,Cs,t),this.lastPoint=n}toSVGPath(){const e=[];for(const t of Sl(this,Us)){let[n,i]=t;e.push(`M${n} ${i}`);for(let r=2;r-1?(Ul(this,oo,!0),Fl(this,go,bo).call(this,t),Fl(this,go,_o).call(this)):Sl(this,Js)&&(Ul(this,Ks,t.anchorNode),Ul(this,Zs,t.anchorOffset),Ul(this,no,t.focusNode),Ul(this,io,t.focusOffset),Fl(this,go,mo).call(this),Fl(this,go,_o).call(this),this.rotate(this.rotation))}static get _keyboardManager(){const t=e.prototype;return ex(this,"_keyboardManager",new qx([[["ArrowLeft","mac+ArrowLeft"],t._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],t._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],t._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],t._moveCaret,{args:[3]}]]))}get telemetryInitialData(){return{action:"added",type:Sl(this,oo)?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:Sl(this,fo),methodOfCreation:Sl(this,po)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(e){return{numberOfColors:e.get("color").size}}static initialize(t,n){var i;r_.initialize(t,n),e._defaultColor||(e._defaultColor=(null==(i=n.highlightColors)?void 0:i.values().next().value)||"#fff066")}static updateDefaultParams(t,n){switch(t){case uw.HIGHLIGHT_DEFAULT_COLOR:e._defaultColor=n;break;case uw.HIGHLIGHT_THICKNESS:e._defaultThickness=n}}translateInPage(e,t){}get toolbarPosition(){return Sl(this,co)}updateParams(e,t){switch(e){case uw.HIGHLIGHT_COLOR:Fl(this,go,vo).call(this,t);break;case uw.HIGHLIGHT_THICKNESS:Fl(this,go,yo).call(this,t)}}static get defaultPropertiesToUpdate(){return[[uw.HIGHLIGHT_DEFAULT_COLOR,e._defaultColor],[uw.HIGHLIGHT_THICKNESS,e._defaultThickness]]}get propertiesToUpdate(){return[[uw.HIGHLIGHT_COLOR,this.color||e._defaultColor],[uw.HIGHLIGHT_THICKNESS,Sl(this,fo)||e._defaultThickness],[uw.HIGHLIGHT_FREE,Sl(this,oo)]]}async addEditToolbar(){const e=await super.addEditToolbar();return e?(this._uiManager.highlightColors&&(Ul(this,eo,new aA({editor:this})),e.addColorPicker(Sl(this,eo))),e):null}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(Fl(this,go,ko).call(this))}getBaseTranslation(){return[0,0]}getRect(e,t){return super.getRect(e,t,Fl(this,go,ko).call(this))}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),e&&this.div.focus()}remove(){Fl(this,go,xo).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(Fl(this,go,_o).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var t;let n=!1;this.parent&&!e?Fl(this,go,xo).call(this):e&&(Fl(this,go,_o).call(this,e),n=!this.parent&&(null==(t=this.div)?void 0:t.classList.contains("selectedEditor"))),super.setParent(e),this.show(this._isVisible),n&&this.select()}rotate(t){var n,i,r;const{drawLayer:a}=this.parent;let s;Sl(this,oo)?(t=(t-this.rotation+360)%360,s=Fl(n=e,To,Do).call(n,Sl(this,ao).box,t)):s=Fl(i=e,To,Do).call(i,[this.x,this.y,this.width,this.height],t),a.updateProperties(Sl(this,so),{bbox:s,root:{"data-main-rotation":t}}),a.updateProperties(Sl(this,ho),{bbox:Fl(r=e,To,Do).call(r,Sl(this,to).box,t),root:{"data-main-rotation":t}})}render(){if(this.div)return this.div;const e=super.render();Sl(this,uo)&&(e.setAttribute("aria-label",Sl(this,uo)),e.setAttribute("role","mark")),Sl(this,oo)?e.classList.add("free"):this.div.addEventListener("keydown",Fl(this,go,Ao).bind(this),{signal:this._uiManager._signal});const t=Ul(this,ro,document.createElement("div"));e.append(t),t.setAttribute("aria-hidden","true"),t.className="internal",t.style.clipPath=Sl(this,Qs);const[n,i]=this.parentDimensions;return this.setDims(this.width*n,this.height*i),Hx(this,Sl(this,ro),["pointerover","pointerleave"]),this.enableEditing(),e}pointerover(){var e;this.isSelected||null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!0}})}pointerleave(){var e;this.isSelected||null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!1}})}_moveCaret(e){switch(this.parent.unselect(this),e){case 0:case 2:Fl(this,go,Eo).call(this,!0);break;case 1:case 3:Fl(this,go,Eo).call(this,!1)}}select(){var e;super.select(),Sl(this,ho)&&(null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var e;super.unselect(),Sl(this,ho)&&(null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{selected:!1}}),Sl(this,oo)||Fl(this,go,Eo).call(this,!1))}get _mustFixPosition(){return!Sl(this,oo)}show(e=this._isVisible){super.show(e),this.parent&&(this.parent.drawLayer.updateProperties(Sl(this,so),{rootClass:{hidden:!e}}),this.parent.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hidden:!e}}))}static startHighlighting(e,t,{target:n,x:i,y:r}){const{x:a,y:s,width:o,height:c}=n.getBoundingClientRect(),l=new AbortController,h=e.combinedSignal(l),d=t=>{l.abort(),Fl(this,To,Fo).call(this,e,t)};window.addEventListener("blur",d,{signal:h}),window.addEventListener("pointerup",d,{signal:h}),window.addEventListener("pointerdown",Mx,{capture:!0,passive:!1,signal:h}),window.addEventListener("contextmenu",Fx,{signal:h}),n.addEventListener("pointermove",Fl(this,To,Uo).bind(this,e),{signal:h}),this._freeHighlight=new nA({x:i,y:r},[a,s,o,c],e.scale,this._defaultThickness/2,t,.001),({id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=e.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0))}static async deserialize(e,t,n){var i,r,a,s;let o=null;if(e instanceof BD){const{data:{quadPoints:t,rect:n,rotation:i,id:r,color:a,opacity:s,popupRef:c},parent:{page:{pageNumber:l}}}=e;o=e={annotationType:dw.HIGHLIGHT,color:Array.from(a),opacity:s,quadPoints:t,boxes:null,pageIndex:l-1,rect:n.slice(0),rotation:i,id:r,deleted:!1,popupRef:c}}else if(e instanceof WD){const{data:{inkLists:t,rect:n,rotation:i,id:r,color:a,borderStyle:{rawWidth:s},popupRef:c},parent:{page:{pageNumber:l}}}=e;o=e={annotationType:dw.HIGHLIGHT,color:Array.from(a),thickness:s,inkLists:t,boxes:null,pageIndex:l-1,rect:n.slice(0),rotation:i,id:r,deleted:!1,popupRef:c}}const{color:c,quadPoints:l,inkLists:h,opacity:d}=e,u=await super.deserialize(e,t,n);u.color=px.makeHexColor(...c),Ul(u,lo,d||1),h&&Ul(u,fo,e.thickness),u.annotationElementId=e.id||null,u._initialData=o;const[f,p]=u.pageDimensions,[g,m]=u.pageTranslation;if(l){const e=Ul(u,Js,[]);for(let t=0;t=0)Ul(this,so,t),Ul(this,Qs,n),this.parent.drawLayer.finalizeDraw(t,{bbox:e.box,path:{d:e.toSVGPath()}}),Ul(this,ho,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:Sl(this,to).box,path:{d:Sl(this,to).toSVGPath()}},!0));else if(this.parent){const t=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(Sl(this,so),{bbox:Fl(i=sA,To,Do).call(i,Sl(this,ao).box,(t-this.rotation+360)%360),path:{d:e.toSVGPath()}}),this.parent.drawLayer.updateProperties(Sl(this,ho),{bbox:Fl(r=sA,To,Do).call(r,Sl(this,to).box,t),path:{d:Sl(this,to).toSVGPath()}})}const[a,s,o,c]=e.box;switch(this.rotation){case 0:this.x=a,this.y=s,this.width=o,this.height=c;break;case 90:{const[e,t]=this.parentDimensions;this.x=s,this.y=1-a,this.width=o*t/e,this.height=c*e/t;break}case 180:this.x=1-a,this.y=1-s,this.width=o,this.height=c;break;case 270:{const[e,t]=this.parentDimensions;this.x=1-s,this.y=a,this.width=o*t/e,this.height=c*e/t;break}}const{lastPoint:l}=Sl(this,to);Ul(this,co,[(l[0]-a)/o,(l[1]-s)/c])},vo=function(e){const t=(e,t)=>{var n,i;this.color=e,Ul(this,lo,t),null==(n=this.parent)||n.drawLayer.updateProperties(Sl(this,so),{root:{fill:e,"fill-opacity":t}}),null==(i=Sl(this,eo))||i.updateColor(e)},n=this.color,i=Sl(this,lo);this.addCommands({cmd:t.bind(this,e,sA._defaultOpacity),undo:t.bind(this,n,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(e)},!0)},yo=function(e){const t=Sl(this,fo),n=e=>{Ul(this,fo,e),Fl(this,go,wo).call(this,e)};this.addCommands({cmd:n.bind(this,e),undo:n.bind(this,t),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:e},!0)},wo=function(e){if(!Sl(this,oo))return;Fl(this,go,bo).call(this,{highlightOutlines:Sl(this,ao).getNewOutline(e/2)}),this.fixAndSetPosition();const[t,n]=this.parentDimensions;this.setDims(this.width*t,this.height*n)},xo=function(){null!==Sl(this,so)&&this.parent&&(this.parent.drawLayer.remove(Sl(this,so)),Ul(this,so,null),this.parent.drawLayer.remove(Sl(this,ho)),Ul(this,ho,null))},_o=function(e=this.parent){null===Sl(this,so)&&(({id:Ml(this,so)._,clipPathId:Ml(this,Qs)._}=e.drawLayer.draw({bbox:Sl(this,ao).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":Sl(this,lo)},rootClass:{highlight:!0,free:Sl(this,oo)},path:{d:Sl(this,ao).toSVGPath()}},!1,!0)),Ul(this,ho,e.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:Sl(this,oo)},bbox:Sl(this,to).box,path:{d:Sl(this,to).toSVGPath()}},Sl(this,oo))),Sl(this,ro)&&(Sl(this,ro).style.clipPath=Sl(this,Qs)))},To=new WeakSet,Do=function([e,t,n,i],r){switch(r){case 90:return[1-t-i,e,i,n];case 180:return[1-e-n,1-t-i,n,i];case 270:return[t,1-e-n,i,n]}return[e,t,n,i]},Ao=function(e){sA._keyboardManager.exec(this,e)},Eo=function(e){if(!Sl(this,Ks))return;const t=window.getSelection();e?t.setPosition(Sl(this,Ks),Sl(this,Zs)):t.setPosition(Sl(this,no),Sl(this,io))},ko=function(){return Sl(this,oo)?this.rotation:0},So=function(){if(Sl(this,oo))return null;const[e,t]=this.pageDimensions,[n,i]=this.pageTranslation,r=Sl(this,Js),a=new Float32Array(8*r.length);let s=0;for(const{x:o,y:c,width:l,height:h}of r){const r=o*e+n,d=(1-c)*t+i;a[s]=a[s+4]=r,a[s+1]=a[s+3]=d,a[s+2]=a[s+6]=r+l*e,a[s+5]=a[s+7]=d-h*t,s+=8}return a},Co=function(e){return Sl(this,ao).serialize(e,Fl(this,go,ko).call(this))},Uo=function(e,t){this._freeHighlight.add(t)&&e.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})},Fo=function(e,t){this._freeHighlight.isEmpty()?e.drawLayer.remove(this._freeHighlightId):e.createAndAddNewEditor(t,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""},Mo=function(e){const{color:t}=this._initialData;return e.color.some(((e,n)=>e!==t[n]))},Cl(sA,To),El(sA,"_defaultColor",null),El(sA,"_defaultOpacity",1),El(sA,"_defaultThickness",12),El(sA,"_type","highlight"),El(sA,"_editorType",dw.HIGHLIGHT),El(sA,"_freeHighlightId",-1),El(sA,"_freeHighlight",null),El(sA,"_freeHighlightClipId","");let oA=sA;class cA{constructor(){Cl(this,Ro,Object.create(null))}updateProperty(e,t){this[e]=t,this.updateSVGProperty(e,t)}updateProperties(e){if(e)for(const[t,n]of Object.entries(e))this.updateProperty(t,n)}updateSVGProperty(e,t){Sl(this,Ro)[e]=t}toSVGProperties(){const e=Sl(this,Ro);return Ul(this,Ro,Object.create(null)),{root:e}}reset(){Ul(this,Ro,Object.create(null))}updateAll(e=this){this.updateProperties(e)}clone(){Zw("Not implemented")}}Ro=new WeakMap;const lA=class e extends r_{constructor(e){super(e),Cl(this,Ho),Cl(this,Io,null),Cl(this,Oo),El(this,"_drawId",null),Ul(this,Oo,e.mustBeCommitted||!1),e.drawOutlines&&(Fl(this,Ho,Vo).call(this,e),Fl(this,Ho,$o).call(this))}static _mergeSVGProperties(e,t){const n=new Set(Object.keys(e));for(const[i,r]of Object.entries(t))n.has(i)?Object.assign(e[i],r):e[i]=r;return e}static getDefaultDrawingOptions(e){Zw("Not implemented")}static get typesMap(){Zw("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(t,n){const i=this.typesMap.get(t);i&&this._defaultDrawingOptions.updateProperty(i,n),this._currentParent&&(Sl(e,No).updateProperty(i,n),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(e,t){const n=this.constructor.typesMap.get(e);n&&this._updateProperty(e,n,t)}static get defaultPropertiesToUpdate(){const e=[],t=this._defaultDrawingOptions;for(const[n,i]of this.typesMap)e.push([n,t[i]]);return e}get propertiesToUpdate(){const e=[],{_drawingOptions:t}=this;for(const[n,i]of this.constructor.typesMap)e.push([n,t[i]]);return e}_updateProperty(e,t,n){const i=this._drawingOptions,r=i[t],a=e=>{var n;i.updateProperty(t,e);const r=Sl(this,Io).updateProperty(t,e);r&&Fl(this,Ho,Ko).call(this,r),null==(n=this.parent)||n.drawLayer.updateProperties(this._drawId,i.toSVGProperties())};this.addCommands({cmd:a.bind(this,n),undo:a.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:e,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathResizingSVGProperties(Fl(this,Ho,Yo).call(this)),{bbox:Fl(this,Ho,Zo).call(this)}))}_onResized(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathResizedSVGProperties(Fl(this,Ho,Yo).call(this)),{bbox:Fl(this,Ho,Zo).call(this)}))}_onTranslating(e,t){var n;null==(n=this.parent)||n.drawLayer.updateProperties(this._drawId,{bbox:Fl(this,Ho,Zo).call(this,e,t)})}_onTranslated(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathTranslatedSVGProperties(Fl(this,Ho,Yo).call(this),this.parentDimensions),{bbox:Fl(this,Ho,Zo).call(this)}))}_onStartDragging(){var e;null==(e=this.parent)||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var e;null==(e=this.parent)||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,Sl(this,Oo)&&(Ul(this,Oo,!1),this.commit(),this.parent.setSelected(this),e&&this.isOnScreen&&this.div.focus())}remove(){Fl(this,Ho,Xo).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(Fl(this,Ho,$o).call(this),Fl(this,Ho,Ko).call(this,Sl(this,Io).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var t;let n=!1;this.parent&&!e?(this._uiManager.removeShouldRescale(this),Fl(this,Ho,Xo).call(this)):e&&(this._uiManager.addShouldRescale(this),Fl(this,Ho,$o).call(this,e),n=!this.parent&&(null==(t=this.div)?void 0:t.classList.contains("selectedEditor"))),super.setParent(e),n&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties({bbox:Fl(this,Ho,Zo).call(this)},Sl(this,Io).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&Fl(this,Ho,Ko).call(this,Sl(this,Io).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;const e=super.render();e.classList.add("draw");const t=document.createElement("div");e.append(t),t.setAttribute("aria-hidden","true"),t.className="internal";const[n,i]=this.parentDimensions;return this.setDims(this.width*n,this.height*i),this._uiManager.addShouldRescale(this),this.disableEditing(),e}static createDrawerInstance(e,t,n,i,r){Zw("Not implemented")}static startDrawing(t,n,i,r){var a;const{target:s,offsetX:o,offsetY:c,pointerId:l,pointerType:h}=r;if(Sl(e,Bo)&&Sl(e,Bo)!==h)return;const{viewport:{rotation:d}}=t,{width:u,height:f}=s.getBoundingClientRect(),p=Ul(e,Po,new AbortController),g=t.combinedSignal(p);Sl(e,Wo)||Ul(e,Wo,l),Sl(e,Bo)??Ul(e,Bo,h),window.addEventListener("pointerup",(t=>{var n;Sl(e,Wo)===t.pointerId?this._endDraw(t):null==(n=Sl(e,jo))||n.delete(t.pointerId)}),{signal:g}),window.addEventListener("pointercancel",(t=>{var n;Sl(e,Wo)===t.pointerId?this._currentParent.endDrawingSession():null==(n=Sl(e,jo))||n.delete(t.pointerId)}),{signal:g}),window.addEventListener("pointerdown",(t=>{Sl(e,Bo)===t.pointerType&&((Sl(e,jo)||Ul(e,jo,new Set)).add(t.pointerId),Sl(e,No).isCancellable()&&(Sl(e,No).removeLastElement(),Sl(e,No).isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))}),{capture:!0,passive:!1,signal:g}),window.addEventListener("contextmenu",Fx,{signal:g}),s.addEventListener("pointermove",this._drawMove.bind(this),{signal:g}),s.addEventListener("touchmove",(t=>{t.timeStamp===Sl(e,zo)&&Mx(t)}),{signal:g}),t.toggleDrawing(),null==(a=n._editorUndoBar)||a.hide(),Sl(e,No)?t.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).startNew(o,c,u,f,d)):(n.updateUIForDefaultProperties(this),Ul(e,No,this.createDrawerInstance(o,c,u,f,d)),Ul(e,Lo,this.getDefaultDrawingOptions()),this._currentParent=t,({id:this._currentDrawId}=t.drawLayer.draw(this._mergeSVGProperties(Sl(e,Lo).toSVGProperties(),Sl(e,No).defaultSVGProperties),!0,!1)))}static _drawMove(t){var n;if(Ul(e,zo,-1),!Sl(e,No))return;const{offsetX:i,offsetY:r,pointerId:a}=t;Sl(e,Wo)===a&&((null==(n=Sl(e,jo))?void 0:n.size)>=1?this._endDraw(t):(this._currentParent.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).add(i,r)),Ul(e,zo,t.timeStamp),Mx(t)))}static _cleanup(t){t&&(this._currentDrawId=-1,this._currentParent=null,Ul(e,No,null),Ul(e,Lo,null),Ul(e,Bo,null),Ul(e,zo,NaN)),Sl(e,Po)&&(Sl(e,Po).abort(),Ul(e,Po,null),Ul(e,Wo,NaN),Ul(e,jo,null))}static _endDraw(t){const n=this._currentParent;if(n)if(n.toggleDrawing(!0),this._cleanup(!1),t&&n.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).end(t.offsetX,t.offsetY)),this.supportMultipleDrawings){const t=Sl(e,No),i=this._currentDrawId,r=t.getLastElement();n.addCommands({cmd:()=>{n.drawLayer.updateProperties(i,t.setLastElement(r))},undo:()=>{n.drawLayer.updateProperties(i,t.removeLastElement())},mustExec:!1,type:uw.DRAW_STEP})}else this.endDrawing(!1)}static endDrawing(t){const n=this._currentParent;if(!n)return null;if(n.toggleDrawing(!0),n.cleanUndoStack(uw.DRAW_STEP),!Sl(e,No).isEmpty()){const{pageDimensions:[i,r],scale:a}=n,s=n.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:Sl(e,No).getOutlines(i*a,r*a,a,this._INNER_MARGIN),drawingOptions:Sl(e,Lo),mustBeCommitted:!t});return this._cleanup(!0),s}return n.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(e){}static deserializeDraw(e,t,n,i,r,a){Zw("Not implemented")}static async deserialize(e,t,n){var i,r;const{rawDims:{pageWidth:a,pageHeight:s,pageX:o,pageY:c}}=t.viewport,l=this.deserializeDraw(o,c,a,s,this._INNER_MARGIN,e),h=await super.deserialize(e,t,n);return h.createDrawingOptions(e),Fl(i=h,Ho,Vo).call(i,{drawOutlines:l}),Fl(r=h,Ho,$o).call(r),h.onScaleChanging(),h.rotate(),h}serializeDraw(e){const[t,n]=this.pageTranslation,[i,r]=this.pageDimensions;return Sl(this,Io).serialize([t,n,i,r],e)}renderAnnotationElement(e){return e.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}};Io=new WeakMap,Oo=new WeakMap,No=new WeakMap,Po=new WeakMap,Lo=new WeakMap,Wo=new WeakMap,Bo=new WeakMap,jo=new WeakMap,zo=new WeakMap,Ho=new WeakSet,Vo=function({drawOutlines:e,drawId:t,drawingOptions:n}){Ul(this,Io,e),this._drawingOptions||(this._drawingOptions=n),t>=0?(this._drawId=t,this.parent.drawLayer.finalizeDraw(t,e.defaultProperties)):this._drawId=Fl(this,Ho,Go).call(this,e,this.parent),Fl(this,Ho,Ko).call(this,e.box)},Go=function(e,t){const{id:n}=t.drawLayer.draw(lA._mergeSVGProperties(this._drawingOptions.toSVGProperties(),e.defaultSVGProperties),!1,!1);return n},Xo=function(){null!==this._drawId&&this.parent&&(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())},$o=function(e=this.parent){null!==this._drawId&&this.parent===e||(null===this._drawId?(this._drawingOptions.updateAll(),this._drawId=Fl(this,Ho,Go).call(this,Sl(this,Io),e)):this.parent.drawLayer.updateParent(this._drawId,e.drawLayer))},qo=function([e,t,n,i]){const{parentDimensions:[r,a],rotation:s}=this;switch(s){case 90:return[t,1-e,n*(a/r),i*(r/a)];case 180:return[1-e,1-t,n,i];case 270:return[1-t,e,n*(a/r),i*(r/a)];default:return[e,t,n,i]}},Yo=function(){const{x:e,y:t,width:n,height:i,parentDimensions:[r,a],rotation:s}=this;switch(s){case 90:return[1-t,e,n*(r/a),i*(a/r)];case 180:return[1-e,1-t,n,i];case 270:return[t,1-e,n*(r/a),i*(a/r)];default:return[e,t,n,i]}},Ko=function(e){if([this.x,this.y,this.width,this.height]=Fl(this,Ho,qo).call(this,e),this.div){this.fixAndSetPosition();const[e,t]=this.parentDimensions;this.setDims(this.width*e,this.height*t)}this._onResized()},Zo=function(){const{x:e,y:t,width:n,height:i,rotation:r,parentRotation:a,parentDimensions:[s,o]}=this;switch((4*r+a)/90){case 1:return[1-t-i,e,i,n];case 2:return[1-e-n,1-t-i,n,i];case 3:return[t,1-e-n,i,n];case 4:return[e,t-n*(s/o),i*(o/s),n*(s/o)];case 5:return[1-t,e,n*(s/o),i*(o/s)];case 6:return[1-e-i*(o/s),1-t,i*(o/s),n*(s/o)];case 7:return[t-n*(s/o),1-e-i*(o/s),n*(s/o),i*(o/s)];case 8:return[e-n,t-i,n,i];case 9:return[1-t,e-n,i,n];case 10:return[1-e,1-t,n,i];case 11:return[t-i,1-e,i,n];case 12:return[e-i*(o/s),t,i*(o/s),n*(s/o)];case 13:return[1-t-n*(s/o),e-i*(o/s),n*(s/o),i*(o/s)];case 14:return[1-e,1-t-n*(s/o),i*(o/s),n*(s/o)];case 15:return[t,1-e,n*(s/o),i*(o/s)];default:return[e,t,n,i]}},El(lA,"_currentDrawId",-1),El(lA,"_currentParent",null),Cl(lA,No,null),Cl(lA,Po,null),Cl(lA,Lo,null),Cl(lA,Wo,NaN),Cl(lA,Bo,null),Cl(lA,jo,null),Cl(lA,zo,NaN),El(lA,"_INNER_MARGIN",3);let hA=lA;class dA{constructor(e,t,n,i,r,a){Cl(this,lc),Cl(this,Jo,new Float64Array(6)),Cl(this,Qo),Cl(this,ec),Cl(this,tc),Cl(this,nc),Cl(this,ic),Cl(this,rc,""),Cl(this,ac,0),Cl(this,sc,new uA),Cl(this,oc),Cl(this,cc),Ul(this,oc,n),Ul(this,cc,i),Ul(this,tc,r),Ul(this,nc,a),[e,t]=Fl(this,lc,hc).call(this,e,t);const s=Ul(this,Qo,[NaN,NaN,NaN,NaN,e,t]);Ul(this,ic,[e,t]),Ul(this,ec,[{line:s,points:Sl(this,ic)}]),Sl(this,Jo).set(s,0)}updateProperty(e,t){"stroke-width"===e&&Ul(this,nc,t)}isEmpty(){return!Sl(this,ec)||0===Sl(this,ec).length}isCancellable(){return Sl(this,ic).length<=10}add(e,t){[e,t]=Fl(this,lc,hc).call(this,e,t);const[n,i,r,a]=Sl(this,Jo).subarray(2,6),s=e-r,o=t-a;return Math.hypot(Sl(this,oc)*s,Sl(this,cc)*o)<=2?null:(Sl(this,ic).push(e,t),isNaN(n)?(Sl(this,Jo).set([r,a,e,t],2),Sl(this,Qo).push(NaN,NaN,NaN,NaN,e,t),{path:{d:this.toSVGPath()}}):(isNaN(Sl(this,Jo)[0])&&Sl(this,Qo).splice(6,6),Sl(this,Jo).set([n,i,r,a,e,t],0),Sl(this,Qo).push(...KD.createBezierPoints(n,i,r,a,e,t)),{path:{d:this.toSVGPath()}}))}end(e,t){const n=this.add(e,t);return n||(2===Sl(this,ic).length?{path:{d:this.toSVGPath()}}:null)}startNew(e,t,n,i,r){Ul(this,oc,n),Ul(this,cc,i),Ul(this,tc,r),[e,t]=Fl(this,lc,hc).call(this,e,t);const a=Ul(this,Qo,[NaN,NaN,NaN,NaN,e,t]);Ul(this,ic,[e,t]);const s=Sl(this,ec).at(-1);return s&&(s.line=new Float32Array(s.line),s.points=new Float32Array(s.points)),Sl(this,ec).push({line:a,points:Sl(this,ic)}),Sl(this,Jo).set(a,0),Ul(this,ac,0),this.toSVGPath(),null}getLastElement(){return Sl(this,ec).at(-1)}setLastElement(e){return Sl(this,ec)?(Sl(this,ec).push(e),Ul(this,Qo,e.line),Ul(this,ic,e.points),Ul(this,ac,0),{path:{d:this.toSVGPath()}}):Sl(this,sc).setLastElement(e)}removeLastElement(){if(!Sl(this,ec))return Sl(this,sc).removeLastElement();Sl(this,ec).pop(),Ul(this,rc,"");for(let e=0,t=Sl(this,ec).length;ee??NaN)),d,u,f,p),points:g(o[e].map((e=>e??NaN)),d,u,f,p)});const m=new e;return m.build(h,i,r,1,c,l,a),m}get box(){return Sl(this,dc)}updateProperty(e,t){return"stroke-width"===e?Fl(this,wc,Dc).call(this,t):null}updateParentDimensions([e,t],n){const[i,r]=Fl(this,wc,xc).call(this);Ul(this,gc,e),Ul(this,mc,t),Ul(this,bc,n);const[a,s]=Fl(this,wc,xc).call(this),o=a-i,c=s-r,l=Sl(this,dc);return l[0]-=o,l[1]-=c,l[2]+=2*o,l[3]+=2*c,l}updateRotation(e){return Ul(this,uc,e),{path:{transform:this.rotationTransform}}}get viewBox(){return Sl(this,dc).map(KD.svgRound).join(" ")}get defaultProperties(){const[e,t]=Sl(this,dc);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`}}}get rotationTransform(){const[,,e,t]=Sl(this,dc);let n=0,i=0,r=0,a=0,s=0,o=0;switch(Sl(this,uc)){case 90:i=t/e,r=-e/t,s=e;break;case 180:n=-1,a=-1,s=e,o=t;break;case 270:i=-t/e,r=e/t,o=t;break;default:return""}return`matrix(${n} ${i} ${r} ${a} ${KD.svgRound(s)} ${KD.svgRound(o)})`}getPathResizingSVGProperties([e,t,n,i]){const[r,a]=Fl(this,wc,xc).call(this),[s,o,c,l]=Sl(this,dc);if(Math.abs(c-r)<=KD.PRECISION||Math.abs(l-a)<=KD.PRECISION){const r=e+n/2-(s+c/2),a=t+i/2-(o+l/2);return{path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:`${this.rotationTransform} translate(${r} ${a})`}}}const h=(n-2*r)/(c-2*r),d=(i-2*a)/(l-2*a),u=c/n,f=l/i;return{path:{"transform-origin":`${KD.svgRound(s)} ${KD.svgRound(o)}`,transform:`${this.rotationTransform} scale(${u} ${f}) translate(${KD.svgRound(r)} ${KD.svgRound(a)}) scale(${h} ${d}) translate(${KD.svgRound(-r)} ${KD.svgRound(-a)})`}}}getPathResizedSVGProperties([e,t,n,i]){const[r,a]=Fl(this,wc,xc).call(this),s=Sl(this,dc),[o,c,l,h]=s;if(s[0]=e,s[1]=t,s[2]=n,s[3]=i,Math.abs(l-r)<=KD.PRECISION||Math.abs(h-a)<=KD.PRECISION){const r=e+n/2-(o+l/2),a=t+i/2-(c+h/2);for(const{line:e,points:t}of Sl(this,pc))KD._translate(e,r,a,e),KD._translate(t,r,a,t);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}const d=(n-2*r)/(l-2*r),u=(i-2*a)/(h-2*a),f=-d*(o+r)+e+r,p=-u*(c+a)+t+a;if(1!==d||1!==u||0!==f||0!==p)for(const{line:g,points:m}of Sl(this,pc))KD._rescale(g,f,p,d,u,g),KD._rescale(m,f,p,d,u,m);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([e,t],n){const[i,r]=n,a=Sl(this,dc),s=e-a[0],o=t-a[1];if(Sl(this,gc)===i&&Sl(this,mc)===r)for(const{line:c,points:l}of Sl(this,pc))KD._translate(c,s,o,c),KD._translate(l,s,o,l);else{const e=Sl(this,gc)/i,t=Sl(this,mc)/r;Ul(this,gc,i),Ul(this,mc,r);for(const{line:n,points:i}of Sl(this,pc))KD._rescale(n,s,o,e,t,n),KD._rescale(i,s,o,e,t,i);a[2]*=e,a[3]*=t}return a[0]=e,a[1]=t,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`}}}get defaultSVGProperties(){const e=Sl(this,dc);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${KD.svgRound(e[0])} ${KD.svgRound(e[1])}`,transform:this.rotationTransform||null},bbox:e}}};Ac=new WeakMap;let fA=class e extends cA{constructor(e){super(),Cl(this,Ac),Ul(this,Ac,e),super.updateProperties({fill:"none",stroke:r_._defaultLineColor,"stroke-opacity":1,"stroke-width":1,"stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":10})}updateSVGProperty(e,t){"stroke-width"===e&&(t??(t=this["stroke-width"]),t*=Sl(this,Ac).realScale),super.updateSVGProperty(e,t)}clone(){const t=new e(Sl(this,Ac));return t.updateAll(this),t}};const pA=class e extends hA{constructor(e){super({...e,name:"inkEditor"}),Cl(this,Ec),this._willKeepAspectRatio=!0}static initialize(e,t){r_.initialize(e,t),this._defaultDrawingOptions=new fA(t.viewParameters)}static getDefaultDrawingOptions(e){const t=this._defaultDrawingOptions.clone();return t.updateProperties(e),t}static get supportMultipleDrawings(){return!0}static get typesMap(){return ex(this,"typesMap",new Map([[uw.INK_THICKNESS,"stroke-width"],[uw.INK_COLOR,"stroke"],[uw.INK_OPACITY,"stroke-opacity"]]))}static createDrawerInstance(e,t,n,i,r){return new dA(e,t,n,i,r,this._defaultDrawingOptions["stroke-width"])}static deserializeDraw(e,t,n,i,r,a){return uA.deserialize(e,t,n,i,r,a)}static async deserialize(e,t,n){let i=null;if(e instanceof WD){const{data:{inkLists:t,rect:n,rotation:r,id:a,color:s,opacity:o,borderStyle:{rawWidth:c},popupRef:l},parent:{page:{pageNumber:h}}}=e;i=e={annotationType:dw.INK,color:Array.from(s),thickness:c,opacity:o,paths:{points:t},boxes:null,pageIndex:h-1,rect:n.slice(0),rotation:r,id:a,deleted:!1,popupRef:l}}const r=await super.deserialize(e,t,n);return r.annotationElementId=e.id||null,r._initialData=i,r}onScaleChanging(){if(!this.parent)return;super.onScaleChanging();const{_drawId:e,_drawingOptions:t,parent:n}=this;t.updateSVGProperty("stroke-width"),n.drawLayer.updateProperties(e,t.toSVGProperties())}static onScaleChangingWhenDrawing(){const e=this._currentParent;e&&(super.onScaleChangingWhenDrawing(),this._defaultDrawingOptions.updateSVGProperty("stroke-width"),e.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}createDrawingOptions({color:t,thickness:n,opacity:i}){this._drawingOptions=e.getDefaultDrawingOptions({stroke:px.makeHexColor(...t),"stroke-width":n,"stroke-opacity":i})}serialize(e=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const{lines:t,points:n,rect:i}=this.serializeDraw(e),{_drawingOptions:{stroke:r,"stroke-opacity":a,"stroke-width":s}}=this,o={annotationType:dw.INK,color:r_._colorManager.convert(r),opacity:a,thickness:s,paths:{lines:t,points:n},pageIndex:this.pageIndex,rect:i,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return e?o:this.annotationElementId&&!Fl(this,Ec,kc).call(this,o)?null:(o.id=this.annotationElementId,o)}renderAnnotationElement(e){const{points:t,rect:n}=this.serializeDraw(!1);return e.updateEdited({rect:n,thickness:this._drawingOptions["stroke-width"],points:t}),null}};Ec=new WeakSet,kc=function(e){const{color:t,thickness:n,opacity:i,pageIndex:r}=this._initialData;return this._hasBeenMoved||this._hasBeenResized||e.color.some(((e,n)=>e!==t[n]))||e.thickness!==n||e.opacity!==i||e.pageIndex!==r},El(pA,"_type","ink"),El(pA,"_editorType",dw.INK),El(pA,"_defaultDrawingOptions",null);let gA=pA;const mA=class extends r_{constructor(e){super({...e,name:"stampEditor"}),Cl(this,Lc),Cl(this,Sc,null),Cl(this,Cc,null),Cl(this,Uc,null),Cl(this,Fc,null),Cl(this,Mc,null),Cl(this,Rc,""),Cl(this,Ic,null),Cl(this,Oc,null),Cl(this,Nc,!1),Cl(this,Pc,!1),Ul(this,Fc,e.bitmapUrl),Ul(this,Mc,e.bitmapFile)}static initialize(e,t){r_.initialize(e,t)}static get supportedTypes(){return ex(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map((e=>`image/${e}`)))}static get supportedTypesStr(){return ex(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(e){return this.supportedTypes.includes(e)}static paste(e,t){t.pasteEditor(dw.STAMP,{bitmapFile:e.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var e;return{type:"stamp",hasAltText:!!(null==(e=this.altTextData)?void 0:e.altText)}}static computeTelemetryFinalData(e){const t=e.get("hasAltText");return{hasAltText:t.get(!0)??0,hasNoAltText:t.get(!1)??0}}async mlGuessAltText(e=null,t=!0){if(this.hasAltTextData())return null;const{mlManager:n}=this._uiManager;if(!n)throw new Error("No ML.");if(!(await n.isEnabledFor("altText")))throw new Error("ML isn't enabled for alt text.");const{data:i,width:r,height:a}=e||this.copyCanvas(null,null,!0).imageData,s=await n.guess({name:"altText",request:{data:i,width:r,height:a,channels:i.length/(r*a)}});if(!s)throw new Error("No response from the AI service.");if(s.error)throw new Error("Error from the AI service.");if(s.cancel)return null;if(!s.output)throw new Error("No valid response from the AI service.");const o=s.output;return await this.setGuessedAltText(o),t&&!this.hasAltTextData()&&(this.altTextData={alt:o,decorative:!1}),o}remove(){var e;Sl(this,Cc)&&(Ul(this,Sc,null),this._uiManager.imageManager.deleteId(Sl(this,Cc)),null==(e=Sl(this,Ic))||e.remove(),Ul(this,Ic,null),Sl(this,Oc)&&(clearTimeout(Sl(this,Oc)),Ul(this,Oc,null))),super.remove()}rebuild(){this.parent?(super.rebuild(),null!==this.div&&(Sl(this,Cc)&&null===Sl(this,Ic)&&Fl(this,Lc,jc).call(this),this.isAttachedToDOM||this.parent.add(this))):Sl(this,Cc)&&Fl(this,Lc,jc).call(this)}onceAdded(e){this._isDraggable=!0,e&&this.div.focus()}isEmpty(){return!(Sl(this,Uc)||Sl(this,Sc)||Sl(this,Fc)||Sl(this,Mc)||Sl(this,Cc))}get isResizable(){return!0}render(){if(this.div)return this.div;let e,t;if(this.width&&(e=this.x,t=this.y),super.render(),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),Sl(this,Sc)?Fl(this,Lc,zc).call(this):Fl(this,Lc,jc).call(this),this.width&&!this.annotationElementId){const[n,i]=this.parentDimensions;this.setAt(e*n,t*i,this.width*n,this.height*i)}return this._uiManager.addShouldRescale(this),this.div}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;null!==Sl(this,Oc)&&clearTimeout(Sl(this,Oc));Ul(this,Oc,setTimeout((()=>{Ul(this,Oc,null),Fl(this,Lc,Vc).call(this)}),200))}copyCanvas(e,t,n=!1){var i;e||(e=224);const{width:r,height:a}=Sl(this,Sc),s=new Wx;let o=Sl(this,Sc),c=r,l=a,h=null;if(t){if(r>t||a>t){const e=Math.min(t/r,t/a);c=Math.floor(r*e),l=Math.floor(a*e)}h=document.createElement("canvas");const e=h.width=Math.ceil(c*s.sx),n=h.height=Math.ceil(l*s.sy);Sl(this,Nc)||(o=Fl(this,Lc,Hc).call(this,e,n));const d=h.getContext("2d");d.filter=this._uiManager.hcmFilter;let u="white",f="#cfcfd8";"none"!==this._uiManager.hcmFilter?f="black":(null==(i=window.matchMedia)?void 0:i.call(window,"(prefers-color-scheme: dark)").matches)&&(u="#8f8f9d",f="#42414d");const p=15,g=p*s.sx,m=p*s.sy,b=new OffscreenCanvas(2*g,2*m),v=b.getContext("2d");v.fillStyle=u,v.fillRect(0,0,2*g,2*m),v.fillStyle=f,v.fillRect(0,0,g,m),v.fillRect(g,m,g,m),d.fillStyle=d.createPattern(b,"repeat"),d.fillRect(0,0,e,n),d.drawImage(o,0,0,o.width,o.height,0,0,e,n)}let d=null;if(n){let t,n;if(s.symmetric&&o.widthe||a>e){const i=Math.min(e/r,e/a);t=Math.floor(r*i),n=Math.floor(a*i),Sl(this,Nc)||(o=Fl(this,Lc,Hc).call(this,t,n))}const i=new OffscreenCanvas(t,n).getContext("2d",{willReadFrequently:!0});i.drawImage(o,0,0,o.width,o.height,0,0,t,n),d={width:t,height:n,data:i.getImageData(0,0,t,n).data}}return{canvas:h,width:c,height:l,imageData:d}}getImageForAltText(){return Sl(this,Ic)}static async deserialize(e,t,n){var i;let r=null;if(e instanceof VD){const{data:{rect:a,rotation:s,id:o,structParent:c,popupRef:l},container:h,parent:{page:{pageNumber:d}}}=e,u=h.querySelector("canvas"),f=n.imageManager.getFromCanvas(h.id,u);u.remove();const p=(null==(i=await t._structTree.getAriaAttributes(`${vx}${o}`))?void 0:i.get("aria-label"))||"";r=e={annotationType:dw.STAMP,bitmapId:f.id,bitmap:f.bitmap,pageIndex:d-1,rect:a.slice(0),rotation:s,id:o,deleted:!1,accessibilityData:{decorative:!1,altText:p},isSvg:!1,structParent:c,popupRef:l}}const a=await super.deserialize(e,t,n),{rect:s,bitmap:o,bitmapUrl:c,bitmapId:l,isSvg:h,accessibilityData:d}=e;l&&n.imageManager.isValidId(l)?(Ul(a,Cc,l),o&&Ul(a,Sc,o)):Ul(a,Fc,c),Ul(a,Nc,h);const[u,f]=a.pageDimensions;return a.width=(s[2]-s[0])/u,a.height=(s[3]-s[1])/f,a.annotationElementId=e.id||null,d&&(a.altTextData=d),a._initialData=r,Ul(a,Pc,!!r),a}serialize(e=!1,t=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const n={annotationType:dw.STAMP,bitmapId:Sl(this,Cc),pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:Sl(this,Nc),structTreeParentId:this._structTreeParentId};if(e)return n.bitmapUrl=Fl(this,Lc,Gc).call(this,!0),n.accessibilityData=this.serializeAltText(!0),n;const{decorative:i,altText:r}=this.serializeAltText(!1);if(!i&&r&&(n.accessibilityData={type:"Figure",alt:r}),this.annotationElementId){const e=Fl(this,Lc,Xc).call(this,n);if(e.isSame)return null;e.isSameAltText?delete n.accessibilityData:n.accessibilityData.structParent=this._initialData.structParent??-1}if(n.id=this.annotationElementId,null===t)return n;t.stamps||(t.stamps=new Map);const a=Sl(this,Nc)?(n.rect[2]-n.rect[0])*(n.rect[3]-n.rect[1]):null;if(t.stamps.has(Sl(this,Cc))){if(Sl(this,Nc)){const e=t.stamps.get(Sl(this,Cc));a>e.area&&(e.area=a,e.serialized.bitmap.close(),e.serialized.bitmap=Fl(this,Lc,Gc).call(this,!1))}}else t.stamps.set(Sl(this,Cc),{area:a,serialized:n}),n.bitmap=Fl(this,Lc,Gc).call(this,!1);return n}renderAnnotationElement(e){return e.updateEdited({rect:this.getRect(0,0)}),null}};Sc=new WeakMap,Cc=new WeakMap,Uc=new WeakMap,Fc=new WeakMap,Mc=new WeakMap,Rc=new WeakMap,Ic=new WeakMap,Oc=new WeakMap,Nc=new WeakMap,Pc=new WeakMap,Lc=new WeakSet,Wc=function(e,t=!1){e?(Ul(this,Sc,e.bitmap),t||(Ul(this,Cc,e.id),Ul(this,Nc,e.isSvg)),e.file&&Ul(this,Rc,e.file.name),Fl(this,Lc,zc).call(this)):this.remove()},Bc=function(){if(Ul(this,Uc,null),this._uiManager.enableWaiting(!1),Sl(this,Ic)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&Sl(this,Sc))return this._editToolbar.hide(),void this._uiManager.editAltText(this,!0);if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&Sl(this,Sc)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}},jc=function(){if(Sl(this,Cc))return this._uiManager.enableWaiting(!0),void this._uiManager.imageManager.getFromId(Sl(this,Cc)).then((e=>Fl(this,Lc,Wc).call(this,e,!0))).finally((()=>Fl(this,Lc,Bc).call(this)));if(Sl(this,Fc)){const e=Sl(this,Fc);return Ul(this,Fc,null),this._uiManager.enableWaiting(!0),void Ul(this,Uc,this._uiManager.imageManager.getFromUrl(e).then((e=>Fl(this,Lc,Wc).call(this,e))).finally((()=>Fl(this,Lc,Bc).call(this))))}if(Sl(this,Mc)){const e=Sl(this,Mc);return Ul(this,Mc,null),this._uiManager.enableWaiting(!0),void Ul(this,Uc,this._uiManager.imageManager.getFromFile(e).then((e=>Fl(this,Lc,Wc).call(this,e))).finally((()=>Fl(this,Lc,Bc).call(this))))}const e=document.createElement("input");e.type="file",e.accept=mA.supportedTypesStr;const t=this._uiManager._signal;Ul(this,Uc,new Promise((n=>{e.addEventListener("change",(async()=>{if(e.files&&0!==e.files.length){this._uiManager.enableWaiting(!0);const t=await this._uiManager.imageManager.getFromFile(e.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),Fl(this,Lc,Wc).call(this,t)}else this.remove();n()}),{signal:t}),e.addEventListener("cancel",(()=>{this.remove(),n()}),{signal:t})})).finally((()=>Fl(this,Lc,Bc).call(this)))),e.click()},zc=function(){var e;const{div:t}=this;let{width:n,height:i}=Sl(this,Sc);const[r,a]=this.pageDimensions,s=.75;if(this.width)n=this.width*r,i=this.height*a;else if(n>s*r||i>s*a){const e=Math.min(s*r/n,s*a/i);n*=e,i*=e}const[o,c]=this.parentDimensions;this.setDims(n*o/r,i*c/a),this._uiManager.enableWaiting(!1);const l=Ul(this,Ic,document.createElement("canvas"));l.setAttribute("role","img"),this.addContainer(l),this.width=n/r,this.height=i/a,(null==(e=this._initialOptions)?void 0:e.isCentered)?this.center():this.fixAndSetPosition(),this._initialOptions=null,this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&!this.annotationElementId||(t.hidden=!1),Fl(this,Lc,Vc).call(this),Sl(this,Pc)||(this.parent.addUndoableEditor(this),Ul(this,Pc,!0)),this._reportTelemetry({action:"inserted_image"}),Sl(this,Rc)&&l.setAttribute("aria-label",Sl(this,Rc))},Hc=function(e,t){const{width:n,height:i}=Sl(this,Sc);let r=n,a=i,s=Sl(this,Sc);for(;r>2*e||a>2*t;){const n=r,i=a;r>2*e&&(r=r>=16384?Math.floor(r/2)-1:Math.ceil(r/2)),a>2*t&&(a=a>=16384?Math.floor(a/2)-1:Math.ceil(a/2));const o=new OffscreenCanvas(r,a);o.getContext("2d").drawImage(s,0,0,n,i,0,0,r,a),s=o.transferToImageBitmap()}return s},Vc=function(){const[e,t]=this.parentDimensions,{width:n,height:i}=this,r=new Wx,a=Math.ceil(n*e*r.sx),s=Math.ceil(i*t*r.sy),o=Sl(this,Ic);if(!o||o.width===a&&o.height===s)return;o.width=a,o.height=s;const c=Sl(this,Nc)?Sl(this,Sc):Fl(this,Lc,Hc).call(this,a,s),l=o.getContext("2d");l.filter=this._uiManager.hcmFilter,l.drawImage(c,0,0,c.width,c.height,0,0,a,s)},Gc=function(e){if(e){if(Sl(this,Nc)){const e=this._uiManager.imageManager.getSvgUrl(Sl(this,Cc));if(e)return e}const e=document.createElement("canvas");({width:e.width,height:e.height}=Sl(this,Sc));return e.getContext("2d").drawImage(Sl(this,Sc),0,0),e.toDataURL()}if(Sl(this,Nc)){const[e,t]=this.pageDimensions,n=Math.round(this.width*e*xx.PDF_TO_CSS_UNITS),i=Math.round(this.height*t*xx.PDF_TO_CSS_UNITS),r=new OffscreenCanvas(n,i);return r.getContext("2d").drawImage(Sl(this,Sc),0,0,Sl(this,Sc).width,Sl(this,Sc).height,0,0,n,i),r.transferToImageBitmap()}return structuredClone(Sl(this,Sc))},Xc=function(e){var t;const{pageIndex:n,accessibilityData:{altText:i}}=this._initialData,r=e.pageIndex===n,a=((null==(t=e.accessibilityData)?void 0:t.alt)||"")===i;return{isSame:!this._hasBeenMoved&&!this._hasBeenResized&&r&&a,isSameAltText:a}},El(mA,"_type","stamp"),El(mA,"_editorType",dw.STAMP);let bA=mA;const vA=class e{constructor({uiManager:t,pageIndex:n,div:i,structTreeLayer:r,accessibilityManager:a,annotationLayer:s,drawLayer:o,textLayer:c,viewport:l,l10n:h}){Cl(this,cl),Cl(this,$c),Cl(this,qc,!1),Cl(this,Yc,null),Cl(this,Kc,null),Cl(this,Zc,null),Cl(this,Jc,new Map),Cl(this,Qc,!1),Cl(this,el,!1),Cl(this,tl,!1),Cl(this,nl,null),Cl(this,il,null),Cl(this,rl,null),Cl(this,al,null),Cl(this,sl);const d=[...Sl(e,ol).values()];if(!e._initialized){e._initialized=!0;for(const e of d)e.initialize(h,t)}t.registerEditorTypes(d),Ul(this,sl,t),this.pageIndex=n,this.div=i,Ul(this,$c,a),Ul(this,Yc,s),this.viewport=l,Ul(this,rl,c),this.drawLayer=o,this._structTree=r,Sl(this,sl).addLayer(this)}get isEmpty(){return 0===Sl(this,Jc).size}get isInvisible(){return this.isEmpty&&Sl(this,sl).getMode()===dw.NONE}updateToolbar(e){Sl(this,sl).updateToolbar(e)}updateMode(t=Sl(this,sl).getMode()){switch(Fl(this,cl,fl).call(this),t){case dw.NONE:return this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),void this.disableClick();case dw.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case dw.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:n}=this.div;for(const i of Sl(e,ol).values())n.toggle(`${i._type}Editing`,t===i._editorType);this.div.hidden=!1}hasTextLayer(e){var t;return e===(null==(t=Sl(this,rl))?void 0:t.div)}setEditingState(e){Sl(this,sl).setEditingState(e)}addCommands(e){Sl(this,sl).addCommands(e)}cleanUndoStack(e){Sl(this,sl).cleanUndoStack(e)}toggleDrawing(e=!1){this.div.classList.toggle("drawing",!e)}togglePointerEvents(e=!1){this.div.classList.toggle("disabled",!e)}toggleAnnotationLayerPointerEvents(e=!1){var t;null==(t=Sl(this,Yc))||t.div.classList.toggle("disabled",!e)}async enable(){Ul(this,tl,!0),this.div.tabIndex=0,this.togglePointerEvents(!0);const e=new Set;for(const n of Sl(this,Jc).values())n.enableEditing(),n.show(!0),n.annotationElementId&&(Sl(this,sl).removeChangedExistingAnnotation(n),e.add(n.annotationElementId));if(!Sl(this,Yc))return void Ul(this,tl,!1);const t=Sl(this,Yc).getEditableAnnotations();for(const n of t){if(n.hide(),Sl(this,sl).isDeletedAnnotationElement(n.data.id))continue;if(e.has(n.data.id))continue;const t=await this.deserialize(n);t&&(this.addOrRebuild(t),t.enableEditing())}Ul(this,tl,!1)}disable(){var t;Ul(this,el,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1);const n=new Map,i=new Map;for(const e of Sl(this,Jc).values())e.disableEditing(),e.annotationElementId&&(null===e.serialize()?(i.set(e.annotationElementId,e),null==(t=this.getEditableAnnotation(e.annotationElementId))||t.show(),e.remove()):n.set(e.annotationElementId,e));if(Sl(this,Yc)){const e=Sl(this,Yc).getEditableAnnotations();for(const t of e){const{id:e}=t.data;if(Sl(this,sl).isDeletedAnnotationElement(e))continue;let r=i.get(e);r?(r.resetAnnotationElement(t),r.show(!1),t.show()):(r=n.get(e),r&&(Sl(this,sl).addChangedExistingAnnotation(r),r.renderAnnotationElement(t)&&r.show(!1)),t.show())}}Fl(this,cl,fl).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:r}=this.div;for(const a of Sl(e,ol).values())r.remove(`${a._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),Ul(this,el,!1)}getEditableAnnotation(e){var t;return(null==(t=Sl(this,Yc))?void 0:t.getEditableAnnotation(e))||null}setActiveEditor(e){Sl(this,sl).getActive()!==e&&Sl(this,sl).setActiveEditor(e)}enableTextSelection(){var e;if(this.div.tabIndex=-1,(null==(e=Sl(this,rl))?void 0:e.div)&&!Sl(this,al)){Ul(this,al,new AbortController);const e=Sl(this,sl).combinedSignal(Sl(this,al));Sl(this,rl).div.addEventListener("pointerdown",Fl(this,cl,ll).bind(this),{signal:e}),Sl(this,rl).div.classList.add("highlighting")}}disableTextSelection(){var e;this.div.tabIndex=0,(null==(e=Sl(this,rl))?void 0:e.div)&&Sl(this,al)&&(Sl(this,al).abort(),Ul(this,al,null),Sl(this,rl).div.classList.remove("highlighting"))}enableClick(){if(Sl(this,Kc))return;Ul(this,Kc,new AbortController);const e=Sl(this,sl).combinedSignal(Sl(this,Kc));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:e});const t=this.pointerup.bind(this);this.div.addEventListener("pointerup",t,{signal:e}),this.div.addEventListener("pointercancel",t,{signal:e})}disableClick(){var e;null==(e=Sl(this,Kc))||e.abort(),Ul(this,Kc,null)}attach(e){Sl(this,Jc).set(e.id,e);const{annotationElementId:t}=e;t&&Sl(this,sl).isDeletedAnnotationElement(t)&&Sl(this,sl).removeDeletedAnnotationElement(e)}detach(e){var t;Sl(this,Jc).delete(e.id),null==(t=Sl(this,$c))||t.removePointerInTextLayer(e.contentDiv),!Sl(this,el)&&e.annotationElementId&&Sl(this,sl).addDeletedAnnotationElement(e)}remove(e){this.detach(e),Sl(this,sl).removeEditor(e),e.div.remove(),e.isAttachedToDOM=!1}changeParent(e){var t;e.parent!==this&&(e.parent&&e.annotationElementId&&(Sl(this,sl).addDeletedAnnotationElement(e.annotationElementId),r_.deleteAnnotationElement(e),e.annotationElementId=null),this.attach(e),null==(t=e.parent)||t.detach(e),e.setParent(this),e.div&&e.isAttachedToDOM&&(e.div.remove(),this.div.append(e.div)))}add(e){if(e.parent!==this||!e.isAttachedToDOM){if(this.changeParent(e),Sl(this,sl).addEditor(e),this.attach(e),!e.isAttachedToDOM){const t=e.render();this.div.append(t),e.isAttachedToDOM=!0}e.fixAndSetPosition(),e.onceAdded(!Sl(this,tl)),Sl(this,sl).addToAnnotationStorage(e),e._reportTelemetry(e.telemetryInitialData)}}moveEditorInDOM(e){var t;if(!e.isAttachedToDOM)return;const{activeElement:n}=document;e.div.contains(n)&&!Sl(this,Zc)&&(e._focusEventsAllowed=!1,Ul(this,Zc,setTimeout((()=>{Ul(this,Zc,null),e.div.contains(document.activeElement)?e._focusEventsAllowed=!0:(e.div.addEventListener("focusin",(()=>{e._focusEventsAllowed=!0}),{once:!0,signal:Sl(this,sl)._signal}),n.focus())}),0))),e._structTreeParentId=null==(t=Sl(this,$c))?void 0:t.moveElementInDOM(this.div,e.div,e.contentDiv,!0)}addOrRebuild(e){e.needsToBeRebuilt()?(e.parent||(e.parent=this),e.rebuild(),e.show()):this.add(e)}addUndoableEditor(e){this.addCommands({cmd:()=>e._uiManager.rebuild(e),undo:()=>{e.remove()},mustExec:!1})}getNextId(){return Sl(this,sl).getId()}combinedSignal(e){return Sl(this,sl).combinedSignal(e)}canCreateNewEmptyEditor(){var e;return null==(e=Sl(this,cl,hl))?void 0:e.canCreateNewEmptyEditor()}pasteEditor(e,t){Sl(this,sl).updateToolbar(e),Sl(this,sl).updateMode(e);const{offsetX:n,offsetY:i}=Fl(this,cl,ul).call(this),r=this.getNextId(),a=Fl(this,cl,dl).call(this,{parent:this,id:r,x:n,y:i,uiManager:Sl(this,sl),isCentered:!0,...t});a&&this.add(a)}async deserialize(t){var n;return await(null==(n=Sl(e,ol).get(t.annotationType??t.annotationEditorType))?void 0:n.deserialize(t,this,Sl(this,sl)))||null}createAndAddNewEditor(e,t,n={}){const i=this.getNextId(),r=Fl(this,cl,dl).call(this,{parent:this,id:i,x:e.offsetX,y:e.offsetY,uiManager:Sl(this,sl),isCentered:t,...n});return r&&this.add(r),r}addNewEditor(){this.createAndAddNewEditor(Fl(this,cl,ul).call(this),!0)}setSelected(e){Sl(this,sl).setSelected(e)}toggleSelected(e){Sl(this,sl).toggleSelected(e)}unselect(e){Sl(this,sl).unselect(e)}pointerup(e){var t;const{isMac:n}=ux.platform;0!==e.button||e.ctrlKey&&n||e.target===this.div&&Sl(this,Qc)&&(Ul(this,Qc,!1),(null==(t=Sl(this,cl,hl))?void 0:t.isDrawer)&&Sl(this,cl,hl).supportMultipleDrawings||(Sl(this,qc)?Sl(this,sl).getMode()!==dw.STAMP?this.createAndAddNewEditor(e,!1):Sl(this,sl).unselectAll():Ul(this,qc,!0)))}pointerdown(e){var t;if(Sl(this,sl).getMode()===dw.HIGHLIGHT&&this.enableTextSelection(),Sl(this,Qc))return void Ul(this,Qc,!1);const{isMac:n}=ux.platform;if(0!==e.button||e.ctrlKey&&n)return;if(e.target!==this.div)return;if(Ul(this,Qc,!0),null==(t=Sl(this,cl,hl))?void 0:t.isDrawer)return void this.startDrawingSession(e);const i=Sl(this,sl).getActive();Ul(this,qc,!i||i.isEmpty())}startDrawingSession(e){if(this.div.focus(),Sl(this,nl))return void Sl(this,cl,hl).startDrawing(this,Sl(this,sl),!1,e);Sl(this,sl).setCurrentDrawingSession(this),Ul(this,nl,new AbortController);const t=Sl(this,sl).combinedSignal(Sl(this,nl));this.div.addEventListener("blur",(({relatedTarget:e})=>{e&&!this.div.contains(e)&&(Ul(this,il,null),this.commitOrRemove())}),{signal:t}),Sl(this,cl,hl).startDrawing(this,Sl(this,sl),!1,e)}pause(e){if(e){const{activeElement:e}=document;this.div.contains(e)&&Ul(this,il,e)}else Sl(this,il)&&setTimeout((()=>{var e;null==(e=Sl(this,il))||e.focus(),Ul(this,il,null)}),0)}endDrawingSession(e=!1){return Sl(this,nl)?(Sl(this,sl).setCurrentDrawingSession(null),Sl(this,nl).abort(),Ul(this,nl,null),Ul(this,il,null),Sl(this,cl,hl).endDrawing(e)):null}findNewParent(e,t,n){const i=Sl(this,sl).findParent(t,n);return null!==i&&i!==this&&(i.changeParent(e),!0)}commitOrRemove(){return!!Sl(this,nl)&&(this.endDrawingSession(),!0)}onScaleChanging(){Sl(this,nl)&&Sl(this,cl,hl).onScaleChangingWhenDrawing(this)}destroy(){var e,t;this.commitOrRemove(),(null==(e=Sl(this,sl).getActive())?void 0:e.parent)===this&&(Sl(this,sl).commitOrRemove(),Sl(this,sl).setActiveEditor(null)),Sl(this,Zc)&&(clearTimeout(Sl(this,Zc)),Ul(this,Zc,null));for(const n of Sl(this,Jc).values())null==(t=Sl(this,$c))||t.removePointerInTextLayer(n.contentDiv),n.setParent(null),n.isAttachedToDOM=!1,n.div.remove();this.div=null,Sl(this,Jc).clear(),Sl(this,sl).removeLayer(this)}render({viewport:e}){this.viewport=e,Lx(this.div,e);for(const t of Sl(this,sl).getEditors(this.pageIndex))this.add(t),t.rebuild();this.updateMode()}update({viewport:e}){Sl(this,sl).commitOrRemove(),Fl(this,cl,fl).call(this);const t=this.viewport.rotation,n=e.rotation;if(this.viewport=e,Lx(this.div,{rotation:n}),t!==n)for(const i of Sl(this,Jc).values())i.rotate(n)}get pageDimensions(){const{pageWidth:e,pageHeight:t}=this.viewport.rawDims;return[e,t]}get scale(){return Sl(this,sl).viewParameters.realScale}};$c=new WeakMap,qc=new WeakMap,Yc=new WeakMap,Kc=new WeakMap,Zc=new WeakMap,Jc=new WeakMap,Qc=new WeakMap,el=new WeakMap,tl=new WeakMap,nl=new WeakMap,il=new WeakMap,rl=new WeakMap,al=new WeakMap,sl=new WeakMap,ol=new WeakMap,cl=new WeakSet,ll=function(e){Sl(this,sl).unselectAll();const{target:t}=e;if(t===Sl(this,rl).div||("img"===t.getAttribute("role")||t.classList.contains("endOfContent"))&&Sl(this,rl).div.contains(t)){const{isMac:t}=ux.platform;if(0!==e.button||e.ctrlKey&&t)return;Sl(this,sl).showAllEditors("highlight",!0,!0),Sl(this,rl).div.classList.add("free"),this.toggleDrawing(),oA.startHighlighting(this,"ltr"===Sl(this,sl).direction,{target:Sl(this,rl).div,x:e.x,y:e.y}),Sl(this,rl).div.addEventListener("pointerup",(()=>{Sl(this,rl).div.classList.remove("free"),this.toggleDrawing(!0)}),{once:!0,signal:Sl(this,sl)._signal}),e.preventDefault()}},hl=function(){return Sl(vA,ol).get(Sl(this,sl).getMode())},dl=function(e){const t=Sl(this,cl,hl);return t?new t.prototype.constructor(e):null},ul=function(){const{x:e,y:t,width:n,height:i}=this.div.getBoundingClientRect(),r=Math.max(0,e),a=Math.max(0,t),s=(r+Math.min(window.innerWidth,e+n))/2-e,o=(a+Math.min(window.innerHeight,t+i))/2-t,[c,l]=this.viewport.rotation%180==0?[s,o]:[o,s];return{offsetX:c,offsetY:l}},fl=function(){for(const e of Sl(this,Jc).values())e.isEmpty()&&e.remove()},El(vA,"_initialized",!1),Cl(vA,ol,new Map([YD,gA,bA,oA].map((e=>[e._editorType,e]))));let yA=vA;const wA=class e{constructor({pageIndex:e}){Cl(this,wl),Cl(this,pl,null),Cl(this,gl,0),Cl(this,ml,new Map),Cl(this,bl,new Map),this.pageIndex=e}setParent(e){if(Sl(this,pl)){if(Sl(this,pl)!==e){if(Sl(this,ml).size>0)for(const t of Sl(this,ml).values())t.remove(),e.append(t);Ul(this,pl,e)}}else Ul(this,pl,e)}static get _svgFactory(){return ex(this,"_svgFactory",new pD)}draw(t,n=!1,i=!1){const r=Ml(this,gl)._++,a=Fl(this,wl,xl).call(this),s=e._svgFactory.createElement("defs");a.append(s);const o=e._svgFactory.createElement("path");s.append(o);const c=`path_p${this.pageIndex}_${r}`;o.setAttribute("id",c),o.setAttribute("vector-effect","non-scaling-stroke"),n&&Sl(this,bl).set(r,o);const l=i?Fl(this,wl,_l).call(this,s,c):null,h=e._svgFactory.createElement("use");return a.append(h),h.setAttribute("href",`#${c}`),this.updateProperties(a,t),Sl(this,ml).set(r,a),{id:r,clipPathId:`url(#${l})`}}drawOutline(t,n){const i=Ml(this,gl)._++,r=Fl(this,wl,xl).call(this),a=e._svgFactory.createElement("defs");r.append(a);const s=e._svgFactory.createElement("path");a.append(s);const o=`path_p${this.pageIndex}_${i}`;let c;if(s.setAttribute("id",o),s.setAttribute("vector-effect","non-scaling-stroke"),n){const t=e._svgFactory.createElement("mask");a.append(t),c=`mask_p${this.pageIndex}_${i}`,t.setAttribute("id",c),t.setAttribute("maskUnits","objectBoundingBox");const n=e._svgFactory.createElement("rect");t.append(n),n.setAttribute("width","1"),n.setAttribute("height","1"),n.setAttribute("fill","white");const r=e._svgFactory.createElement("use");t.append(r),r.setAttribute("href",`#${o}`),r.setAttribute("stroke","none"),r.setAttribute("fill","black"),r.setAttribute("fill-rule","nonzero"),r.classList.add("mask")}const l=e._svgFactory.createElement("use");r.append(l),l.setAttribute("href",`#${o}`),c&&l.setAttribute("mask",`url(#${c})`);const h=l.cloneNode();return r.append(h),l.classList.add("mainOutline"),h.classList.add("secondaryOutline"),this.updateProperties(r,t),Sl(this,ml).set(i,r),i}finalizeDraw(e,t){Sl(this,bl).delete(e),this.updateProperties(e,t)}updateProperties(t,n){var i;if(!n)return;const{root:r,bbox:a,rootClass:s,path:o}=n,c="number"==typeof t?Sl(this,ml).get(t):t;if(c){if(r&&Fl(this,wl,Tl).call(this,c,r),a&&Fl(i=e,vl,yl).call(i,c,a),s){const{classList:e}=c;for(const[t,n]of Object.entries(s))e.toggle(t,n)}if(o){const e=c.firstChild.firstChild;Fl(this,wl,Tl).call(this,e,o)}}}updateParent(e,t){if(t===this)return;const n=Sl(this,ml).get(e);n&&(Sl(t,pl).append(n),Sl(this,ml).delete(e),Sl(t,ml).set(e,n))}remove(e){Sl(this,bl).delete(e),null!==Sl(this,pl)&&(Sl(this,ml).get(e).remove(),Sl(this,ml).delete(e))}destroy(){Ul(this,pl,null);for(const e of Sl(this,ml).values())e.remove();Sl(this,ml).clear(),Sl(this,bl).clear()}};pl=new WeakMap,gl=new WeakMap,ml=new WeakMap,bl=new WeakMap,vl=new WeakSet,yl=function(e,[t,n,i,r]){const{style:a}=e;a.top=100*n+"%",a.left=100*t+"%",a.width=100*i+"%",a.height=100*r+"%"},wl=new WeakSet,xl=function(){const e=wA._svgFactory.create(1,1,!0);return Sl(this,pl).append(e),e.setAttribute("aria-hidden",!0),e},_l=function(e,t){const n=wA._svgFactory.createElement("clipPath");e.append(n);const i=`clip_${t}`;n.setAttribute("id",i),n.setAttribute("clipPathUnits","objectBoundingBox");const r=wA._svgFactory.createElement("use");return n.append(r),r.setAttribute("href",`#${t}`),r.classList.add("clip"),i},Tl=function(e,t){for(const[n,i]of Object.entries(t))null===i?e.removeAttribute(n):e.setAttribute(n,i)},Cl(wA,vl);let xA=wA;globalThis.pdfjsTestingUtils={HighlightOutliner:eA};var _A=Zy.GlobalWorkerOptions,TA=Zy.getDocument;const DA={class:"relative"},AA=["onClick"],EA={class:"flex align-middle justify-center items-center gap-2"},kA=Rl({__name:"ChatInput",props:{disabled:{type:Boolean,default:!1},minRows:{type:Number,default:2},maxRows:{type:Number,default:8},showUpload:{type:Boolean,default:!0},placeholder:{type:String,default:nh("components.chatInput.placeholder")},autoCompleteEnabled:{type:Boolean,default:!1},tips:{type:String,default:""}},emits:["input"],setup(e,{emit:t}){_A.workerSrc=new URL(""+new URL("pdf.worker.min-yatZIOMy.mjs",import.meta.url).href,import.meta.url).toString();const n=Bl(null),i=ih();Wl((()=>i.isSidebarCompact),(e=>{e&&lh((()=>{if(n.value){const e=n.value.$el.querySelector("textarea");e&&(e.focus(),e.blur())}}))}));const r=e,a=Bl(""),s=Bl([]),o=Bl(-1),c=Bl(!1),l=t,h=()=>{const e=a.value.trim();e&&(s.value.push(e),s.value.length>50&&s.value.shift(),localStorage.setItem("chatHistory",JSON.stringify(s.value)),l("input",{content:e,files:d.value.map((e=>({content:e.content,url:e.url,id:e.raw.path,name:e.name,type:e.type,size:e.size})))}),a.value="",d.value=[],o.value=-1,c.value=!1)},d=Bl([]),u=async e=>{try{for(const t of e){const e=await p(t.raw);t.content=e,d.value.push(t)}return{status:"success",error:"",response:{url:" "}}}catch{return{status:"fail",error:"",response:{}}}};async function f(e){return new Promise(((t,n)=>{const i=new FileReader;i.onload=e=>t(e.target.result),i.onerror=e=>n(e),i.readAsArrayBuffer(e)}))}async function p(e){var t;switch(null==(t=e.name.split(".").pop())?void 0:t.toLowerCase()){case"docx":return await async function(e){const t=await f(e);return(await Nh.extractRawText({arrayBuffer:t})).value}(e);case"pdf":return await async function(e){const t=await f(e),n=await TA(t).promise;let i="";for(let r=1;r<=n.numPages;r++){const e=await n.getPage(r);i+=(await e.getTextContent()).items.map((e=>e.str)).join(" ")+"\n"}return i}(e);case"xlsx":case"xls":return await async function(e){const t=await f(e),n=Ly(new Uint8Array(t),{type:"array"});let i="";return n.SheetNames.forEach((e=>{const t=n.Sheets[e],r=Yy.sheet_to_json(t,{header:1});i+=`Sheet: ${e}\n`,r.forEach((e=>{i+=e.join(", ")+"\n"})),i+="\n"})),i}(e);case"png":case"jpg":case"jpeg":case"gif":case"bmp":case"webp":return await async function(e){return new Promise(((t,n)=>{const i=new FileReader;i.readAsDataURL(e),i.onload=()=>t(i.result),i.onerror=e=>n(e)}))}(e);default:return await async function(e){return new Promise(((t,n)=>{const i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=function(e){n(e)},i.readAsText(e)}))}(e)}}const g=rh(),m=Bl(!1),b=Bl(0),v=Bl(0),y=Bl(""),w=Bl(null),x=Bl(null),_=Bl(null),T=Bl("-150px"),D=Il((()=>["@ai",...g.enableModels.map((e=>`@${ah.getModelItemTitle(e)}`))])),A=Bl(!1),E=(e,t)=>{const{e:n}=t;if(m.value)switch(n.key){case"ArrowDown":n.preventDefault(),b.value=(b.value+1)%k.value.length;break;case"ArrowUp":n.preventDefault(),b.value=(b.value-1+k.value.length)%k.value.length;break;case"Enter":n.preventDefault(),k.value.length>0&&C(k.value[b.value]);break;case"Escape":m.value=!1}else if("Enter"===n.key){if(n.shiftKey||A.value)return;const e=a.value.trim();if(r.autoCompleteEnabled&&e.startsWith("@")&&(D.value.includes(e)||"@"===e))return void n.preventDefault();n.preventDefault(),h()}else if("ArrowUp"===n.key||"ArrowDown"===n.key){if(!c.value&&""!==a.value.trim())return;if(n.preventDefault(),0===s.value.length)return;c.value||""!==a.value.trim()||(c.value=!0),"ArrowUp"===n.key?o.value-1&&o.value--,-1===o.value?(a.value="",c.value=!1):a.value=s.value[s.value.length-1-o.value]}},k=Il((()=>{if(!y.value)return D.value;const e=y.value.toLowerCase();return D.value.filter((t=>t.toLowerCase().includes(e)))}));Wl((()=>k),(async()=>{if(m.value&&x.value){await lh();const e=w.value.offsetHeight;T.value=`-${e}px`}}));const S=(e,t)=>{if(c.value=!1,!r.autoCompleteEnabled)return;const{e:n}=t,i=e,a=n.target.selectionStart;if(v.value=i.lastIndexOf("@",a-1),-1!==v.value&&v.value=a?(y.value=i.slice(v.value+1,a),m.value=!0,b.value=0):m.value=!1}else m.value=!1},C=e=>{const t=a.value.slice(0,v.value),n=a.value.slice(a.value.indexOf(" ",v.value)+1||a.value.length);a.value=t+e+" "+n,m.value=!1,y.value=""},U=()=>{if(_.value&&w.value){const e=w.value,t=_.value,n=e.scrollTop,i=n+e.clientHeight,r=t.offsetTop,a=r+t.offsetHeight;ri&&(e.scrollTop=a-e.clientHeight)}};Wl(b,(()=>{lh(U)})),sh((()=>{A.value=_h();const e=localStorage.getItem("chatHistory");e&&(s.value=JSON.parse(e))}));const F=async e=>{var t;const n=null==(t=e.clipboardData)?void 0:t.items;if(n)for(let i=0;i{var t;const n=null==(t=e.dataTransfer)?void 0:t.files;if(n)for(let i=0;i{const r=uh,s=ph,o=bh;return jl(),zl("div",DA,[m.value?(jl(),zl("div",{key:0,class:"autocomplete left-0 absolute z-50 w-full bg-color-container bordered p-2",ref_key:"autocompleteContainer",ref:w,style:oh({top:T.value})},[Yl("ul",{ref_key:"suggestionList",ref:x},[(jl(!0),zl(Hl,null,Vl(k.value,((e,t)=>(jl(),zl("li",{key:e,onClick:t=>C(e),class:ch({selected:t===b.value}),ref_for:!0,ref:e=>{t===b.value&&(_.value=e)}},Kl(e),11,AA)))),128))],512)],4)):$l("",!0),Yl("div",{class:"flex flex-col chat-input bg-color-container bordered rounded-lg px-1",onDragover:i[1]||(i[1]=Zl((()=>{}),["prevent"])),onDrop:Zl(M,["prevent"])},[Gl(Rh,{files:d.value,class:ch(["py-2"])},null,8,["files"]),Yl("div",EA,[e.showUpload?(jl(),ql(s,{key:0,theme:"custom","request-method":u,multiple:!0,allowUploadDuplicateFile:!0},{default:Xl((()=>[Gl(r,{theme:"primary",shape:"circle",size:"large",variant:"base"},{default:Xl((()=>[Gl(Jl(gh),{slot:"icon"})])),_:1})])),_:1})):$l("",!0),Gl(o,{ref_key:"textareaRef",ref:n,class:"flex-1",onKeydown:E,onChange:S,onPaste:F,disabled:e.disabled,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=e=>a.value=e),placeholder:e.placeholder,name:"description",tips:e.tips,autosize:{minRows:e.minRows,maxRows:e.maxRows}},null,8,["disabled","modelValue","placeholder","tips","autosize"]),Gl(r,{theme:"primary",shape:"circle",onClick:h,size:"large",variant:"base"},{default:Xl((()=>[Gl(Jl(xh),{slot:"icon"})])),_:1})])],32)])}}});export{kA as _,Rh as a,_h as c,xh as s}; diff --git a/.output/public/assets/CodeBlocks-CllJyOW7.css b/.output/public/assets/CodeBlocks-CllJyOW7.css new file mode 100644 index 0000000000000000000000000000000000000000..51e39ec56dcbd094f12e1c811f441052e01ab9ab --- /dev/null +++ b/.output/public/assets/CodeBlocks-CllJyOW7.css @@ -0,0 +1 @@ +.t-divider{margin:0;padding:0;list-style:none;font:var(--td-font-body-medium);margin:var(--td-comp-margin-xxl) 0;border-top:1px solid var(--td-border-level-1-color);color:var(--td-text-color-primary);box-sizing:border-box}.t-divider--dashed{border-top-style:dashed}.t-divider--horizontal{width:100%;display:flex}.t-divider--vertical{border-top:0;display:inline-block;margin:0 var(--td-comp-margin-m);border-left:1px solid var(--td-border-level-1-color);height:.9em;vertical-align:middle}.t-divider--with-text{display:flex;border-top:0;white-space:nowrap;align-items:center}.t-divider--with-text .t-divider__inner-text:not(:empty){padding:0 1em;display:inline-block}.t-divider--with-text:before,.t-divider--with-text:after{content:"";width:50%;border-top:1px solid var(--td-border-level-1-color)}.t-divider--with-text-left:before{width:5%}.t-divider--with-text-left:after{width:95%}.t-divider--with-text-right:before{width:95%}.t-divider--with-text-right:after{width:5%}.t-divider--dashed:before,.t-divider--dashed:after{border-top:1px dashed var(--td-border-level-1-color)}.t-divider--vertical.t-divider--dashed{border-left:1px dashed var(--td-border-level-1-color)}.fav-radio .t-radio__input{margin-top:2.5px}.fav-radio .t-radio__label{overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.fav-radio-toolbar .t-radio__label{width:16rem}.tdesign-image-viewer-wrapper[data-v-e5aab120]{display:flex}.tdesign-image-viewer__ui-image[data-v-e5aab120]{width:100%;height:100%;display:inline-flex;position:relative;justify-content:center;align-items:center;border-radius:var(--td-radius-small);overflow:hidden}.tdesign-image-viewer__ui-image--hover[data-v-e5aab120]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:absolute;left:0;top:0;opacity:0;background-color:#0009;color:var(--td-text-color-anti);line-height:22px;transition:.2s}.tdesign-image-viewer__ui-image:hover .tdesign-image-viewer__ui-image--hover[data-v-e5aab120]{opacity:1;cursor:pointer}.tdesign-image-viewer__ui-image--img[data-v-e5aab120]{width:auto;height:auto;max-width:100%;max-height:100%;cursor:pointer;position:absolute}.tdesign-image-viewer__ui-image--footer[data-v-e5aab120]{padding:0 16px;height:56px;width:100%;line-height:56px;font-size:16px;position:absolute;bottom:0;color:var(--td-text-color-anti);background-image:linear-gradient(0deg,#0006,#0000);display:flex;box-sizing:border-box}.tdesign-image-viewer__ui-image--title[data-v-e5aab120]{flex:1}.tdesign-popup__reference[data-v-e5aab120]{margin-left:16px}.tdesign-image-viewer__ui-image--icons .tdesign-icon[data-v-e5aab120]{cursor:pointer}.tdesign-image-viewer__error[data-v-e5aab120]{background-color:var(--td-bg-color-component-disabled);border-radius:4px;color:var(--td-text-color-disabled);cursor:inherit}.tdesign-image-viewer__error--content[data-v-e5aab120]{position:absolute;height:100%;width:100%;display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;align-items:center;align-content:center;font-size:14px}.tdesign-image-viewer__base[data-v-e5aab120]{border:4px solid var(--td-bg-color-secondarycontainer);border-radius:var(--td-radius-medium)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#98c379}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.artifact .t-tabs__content{flex:1 1 0%}.artifact .t-tab-panel,.code-block .v-code-block--code{height:100%}.code-block pre.code-block{height:100%!important;overflow:auto}.code-block code::-webkit-scrollbar{display:none} diff --git a/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-D025Xvtz.js b/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-D025Xvtz.js new file mode 100644 index 0000000000000000000000000000000000000000..fa502fa673f538c856851d0c40c8775eb7ada1c2 --- /dev/null +++ b/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-D025Xvtz.js @@ -0,0 +1,298 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BquFD4pq.js","./markdown-BgKIMOSd.js","./global-D3BYkvaa.js","./global-BBPDszaw.css","./prism-CiUGzeCM.js"])))=>i.map(i=>d[i]); +import{e as a,c as n,p as t,q as o,s as l,a as i,h as e,j as s,n as h,w as r,aW as c,r as g,a2 as b,a3 as u,aJ as v,aQ as j,aZ as d,I as p,aR as m,aL as k,aS as y,aT as f,au as w,as as x,aX as _,aK as q,bG as C,bn as z,a1 as S,bo as T,bp as O,C as $,S as B,cg as D,aN as P,o as E,bm as M,ch as A,ci as N,d as R,A as F,at as V,bC as L,cj as H,a4 as I,aM as W,bq as U}from"./global-D3BYkvaa.js";import{m as G}from"./markdown-BgKIMOSd.js";import{f as J,a as Y}from"./fetch-RaYe4jQe.js";import{r as Z}from"./refresh-DaGPhaEH.js";import{c as K}from"./copy-BBWLw_FM.js";import{s as X,a as Q}from"./ChatInput.vue_vue_type_style_index_0_lang-S3GrV3uE.js";import{v as aa}from"./v4-_R2nDvl_.js";import{e as na,B as ta,h as oa,C as la,R as ia,i as ea,a3 as sa,a4 as ha,a5 as ra}from"./main-CVO8cEkC.js";import{T as ca}from"./index-B5H-uah9.js";import{p as ga}from"./index-Be57K-Sq.js";import{I as ba}from"./index-DF9MRVbo.js";function ua(a,n){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable}))),t.push.apply(t,o)}return t}function va(a){for(var n=1;na.size)),{className:s,style:h}=t(e),r=n((()=>["t-icon","t-icon-check",s.value])),c=n((()=>va(va({},h.value),i.style))),g=n((()=>({class:r.value,style:c.value,onClick:n=>{var t;return null===(t=a.onClick)||void 0===t?void 0:t.call(a,{e:n})}})));return()=>o(ja,g.value)}});function pa(a,n){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable}))),t.push.apply(t,o)}return t}function ma(a){for(var n=1;na.size)),{className:s,style:h}=t(e),r=n((()=>["t-icon","t-icon-edit-2",s.value])),c=n((()=>ma(ma({},h.value),i.style))),g=n((()=>({class:r.value,style:c.value,onClick:n=>{var t;return null===(t=a.onClick)||void 0===t?void 0:t.call(a,{e:n})}})));return()=>o(ka,g.value)}});function fa(a,n){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable}))),t.push.apply(t,o)}return t}function wa(a){for(var n=1;na.size)),{className:s,style:h}=t(e),r=n((()=>["t-icon","t-icon-system-code",s.value])),c=n((()=>wa(wa({},h.value),i.style))),g=n((()=>({class:r.value,style:c.value,onClick:n=>{var t;return null===(t=a.onClick)||void 0===t?void 0:t.call(a,{e:n})}})));return()=>o(xa,g.value)}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function qa(a,n){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable}))),t.push.apply(t,o)}return t}var Ca=r(a({name:"TDivider",props:function(a){for(var n=1;n{h.value=!1,$.value=!1},M=()=>{const a=window.getSelection();navigator.clipboard.writeText(a.toString()),E(),T.success(O("components.toolBar.copySuccessMsg"))},A=()=>{navigator.clipboard.writeText(D.value),E(),T.success(O("components.toolBar.copySuccessMsg"))},N=n((()=>o.toolBarButtons.filter((a=>a.name&&a.show)))),R=(a,n)=>{const{e:t}=n;if("Enter"===t.key){if(t.shiftKey)return;t.preventDefault(),I()}};let F="",V=null,L="";const H=()=>{ua(),B.value=!0,V=window.getSelection(),L=V.toString()},I=async()=>{const a=L,n=P.value;F=n.includes("{{text}}")?n.replace("{{text}}",a):a?a+"\r\n"+n:n,B.value=!1,await W()};async function W(){const a=i.parent,n=r.value.getBoundingClientRect().left-a.getBoundingClientRect().left;ua(),$.value=!0,S((()=>{const t=V.getRangeAt(0).getBoundingClientRect(),o=a.getBoundingClientRect(),l=r.value.getBoundingClientRect();let i=n;const s=o.width-l.width;i>s&&(i=s),i<0&&(i=0),e.value={top:t.top+a.scrollTop-o.top-52+"px",left:`${i}px`}})),await U()}const U=async()=>{o.assistModel?(D.value=O("components.toolBar.handing"),await J(F,(a=>{D.value=a}))):T.error(O("components.toolBar.noAssistModel"))},Q=g(!1),sa=async()=>{ua(),Q.value=!0,L=window.getSelection().toString()},ha=g(""),ra=l.list,ga=async()=>{Q.value=!1;const a=L,n={id:aa(),title:a,time:(new Date).getTime(),conversationId:"",conversationName:"",conversationAvatar:"",chats:[],notes:[L]};if(l.add(n),T.success(O("pages.conversation.favorite_success")),o.assistModel){const t=O("pages.conversation.extract_core_conversation",{question:a,answer:""});await Y(t,(a=>{n.title=a,n.title=n.title.replaceAll("###",""),n.title=n.title.trim(),l.update(n)}))}},ba=async()=>{if(Q.value=!1,!ha)return;const a=ra.find((a=>a.id==ha.value));a.notes.push(L),l.update(a),T.success(O("pages.conversation.favorite_success"))},ua=()=>{$.value=!1,B.value=!1,P.value="",Q.value=!1,ha.value=""};return t({showToolbox:()=>{const a=window.getSelection();a.toString().trim()&&(h.value=!0,ua(),S((()=>{const n=a.getRangeAt(0).getBoundingClientRect(),t=i.parent,o=t.getBoundingClientRect(),l=r.value.getBoundingClientRect();let s=n.left+n.width/2-l.width/2+t.scrollLeft-o.left;const h=o.width-l.width;s>h&&(s=h),s<0&&(s=0);let c=n.top+t.scrollTop-o.top-52;const g=t.scrollTop;c{const t=ta,o=Ca,l=ca,i=oa,c=la,g=ia,S=ea;return b((v(),j("div",{ref_key:"selectToolbox",ref:r,style:C(e.value),class:"z-50 absolute bg-color-container bordered rounded-xl shadow-md flex flex-col max-w-80",onMouseup:n[2]||(n[2]=z((()=>{}),["stop"])),onMousedown:n[3]||(n[3]=z((()=>{}),["stop"]))},[d("div",za,[(v(!0),j(p,null,m(N.value,(a=>(v(),j(p,null,[s(t,{onClick:n=>(async a=>{V=window.getSelection(),L=V.toString(),F=a.prompt.replace("{{text}}",L),await W()})(a),size:"small",variant:"text"},{default:k((()=>[y(f(a.name),1)])),_:2},1032,["onClick"]),s(o,{layout:"vertical"})],64)))),256)),s(t,{size:"small",variant:"text",onClick:H},{default:k((()=>[y(f(a.$t("components.toolBar.dialog")),1)])),_:1}),s(o,{layout:"vertical"}),s(t,{size:"small",variant:"text",onClick:sa},{default:k((()=>[y(f(a.$t("components.toolBar.faviorite")),1)])),_:1}),s(o,{layout:"vertical"}),s(t,{size:"small",variant:"text",onClick:M},{default:k((()=>[y(f(a.$t("components.toolBar.copy")),1)])),_:1})]),$.value?(v(),j("div",Sa,[d("pre",Ta," "+f(w(F)),1),d("div",{class:"markdown-body",innerHTML:w(G).render(D.value)},null,8,Oa),d("div",$a,[s(t,{size:"small",variant:"outline",onClick:U},{default:k((()=>[s(w(Z),{slot:"icon"})])),_:1}),s(t,{size:"small",variant:"outline",onClick:A},{default:k((()=>[s(w(K),{slot:"icon"})])),_:1}),s(t,{size:"small",variant:"outline",onClick:E},{default:k((()=>[s(w(x),{slot:"icon"})])),_:1})])])):_("",!0),B.value?(v(),j("div",Ba,[w(L).trim()?(v(),j("pre",Da," "+f(w(L).trim()),1)):_("",!0),d("div",Pa,[s(l,{modelValue:P.value,"onUpdate:modelValue":n[0]||(n[0]=a=>P.value=a),onKeypress:R},null,8,["modelValue"]),s(t,{size:"small",shape:"circle",variant:"outline",onClick:I,class:"absolute bottom-1 right-1"},{default:k((()=>[s(w(X),{slot:"icon"})])),_:1})])])):_("",!0),Q.value?(v(),j("div",Ea,[w(L).trim()?(v(),j("pre",Ma," "+f(w(L).trim()),1)):_("",!0),d("div",Aa,[s(S,{modelValue:ha.value,"onUpdate:modelValue":n[1]||(n[1]=a=>ha.value=a)},{default:k((()=>[s(g,{gutter:[16,16]},{default:k((()=>[(v(!0),j(p,null,m(w(ra),(a=>(v(),q(c,{span:12},{default:k((()=>[s(i,{value:a.id,class:"grid grid-flow-col auto-cols-max align-middle fav-radio fav-radio-toolbar"},{default:k((()=>[y(f(a.title),1)])),_:2},1032,["value"])])),_:2},1024)))),256))])),_:1})])),_:1},8,["modelValue"])]),s(t,{onClick:ba,theme:"default",variant:"outline"},{default:k((()=>n[4]||(n[4]=[y("添加到笔记")]))),_:1}),s(t,{onClick:ga,theme:"default",variant:"outline"},{default:k((()=>n[5]||(n[5]=[y("创建新的笔记")]))),_:1})])):_("",!0)],36)),[[u,h.value]])}}}),Ra={key:0,class:"markdown-body"},Fa={key:1},Va={class:"flex justify-end mt-2 gap-5"},La={key:2,class:"tdesign-image-viewer-wrapper flex-wrap gap-6"},Ha={key:0,class:"tdesign-image-viewer__error tdesign-image-viewer__ui-image tdesign-image-viewer__base"},Ia={class:"tdesign-image-viewer__error--content"},Wa={class:"tdesign-image-viewer__ui-image tdesign-image-viewer__base"},Ua=["src","onError"],Ga=["onClick"],Ja={class:"absolute left-1 top-1 max-w-[75%]"},Ya=["title"],Za=P(a({__name:"AssistantContent",props:{content:{type:Object},isEditing:{type:Boolean,default:!1}},emits:["save","cancel"],setup(a,{emit:t}){const o=$([!1,!1,!1,!1]),l=$([!1,!1,!1,!1]),i=a,e=n((()=>G.render(i.content.text))),h=n((()=>i.content.images.map((a=>a.content||a.url)))),r=t,c=g(i.content.text),b=()=>{r("save",c.value)},u=()=>{c.value=i.content.text,r("cancel")},C=(a,n)=>{},z=g(null);return B((()=>i.isEditing),(a=>{a&&(c.value=i.content.text,S((()=>{z.value.$el.querySelector("textarea").focus()})))})),(n,t)=>{const r=ca,g=ta,S=ba;return v(),j(p,null,[a.content.text&&!a.isEditing?(v(),j("div",Ra,[D([a.content.text],(()=>(v(),j("div",{innerHTML:e.value},null,8,["innerHTML"]))),t,0)])):_("",!0),a.content.text&&a.isEditing?(v(),j("div",Fa,[s(r,{ref_key:"textareaRef",ref:z,modelValue:c.value,"onUpdate:modelValue":t[1]||(t[1]=a=>c.value=a),autosize:{minRows:5,maxRows:20},onBlur:C},null,8,["modelValue"]),d("div",Va,[s(g,{size:"large",shape:"circle",variant:"text",onClick:u},{default:k((()=>[s(w(x),{slot:"icon"})])),_:1}),s(g,{size:"large",shape:"circle",variant:"text",onClick:b},{default:k((()=>[s(w(da),{slot:"icon"})])),_:1})])])):_("",!0),h.value.length>0?(v(),j("div",La,[(v(!0),j(p,null,m(i.content.images,((a,n)=>(v(),j("div",{key:n,class:"min-w-44 min-h-44"},[l[n]?(v(),j("div",Ha,[d("div",Ia,[s(w(sa),{name:"image-error",size:"2em"}),t[2]||(t[2]=d("div",null,"图片无法显示",-1))])])):(v(),q(S,{key:1,visible:o[n],images:h.value,"default-index":n,"close-on-overlay":"",onClose:a=>(a=>{o[a]=!1})(n)},{trigger:k((()=>[d("div",Wa,[d("img",{alt:"test",src:a.content||a.url,class:"tdesign-image-viewer__ui-image--img",onError:a=>(a=>{l[a]=!0})(n)},null,40,Ua),d("div",{class:"tdesign-image-viewer__ui-image--hover",onClick:a=>(a=>{o[a]=!0})(n)},[d("span",null,[s(w(ga),{size:"1.4em"}),t[3]||(t[3]=y(" 预览 "))])],8,Ga),d("div",Ja,[d("div",{class:"text-black bg-white bg-opacity-75 p-1 rounded-2xl text-xs truncate",title:a.model},f(a.model),9,Ya)])])])),_:2},1032,["visible","images","default-index","onClose"]))])))),128))])):_("",!0)],64)}}}),[["__scopeId","data-v-e5aab120"]]),Ka={key:0,class:"whitespace-pre-wrap break-words"},Xa={key:1},Qa={class:"flex justify-end mt-2 gap-5"},an=a({__name:"UserContent",props:{content:{type:Object},isEditing:{type:Boolean,default:!1}},emits:["save","cancel"],setup(a,{emit:t}){const o=a,l=n((()=>[...o.content.files,...o.content.images])),i=t,e=g(o.content.text),h=()=>{i("save",e.value)},r=()=>{e.value=o.content.text,i("cancel")},c=(a,n)=>{},b=g(null);return B((()=>o.isEditing),(a=>{a&&(e.value=o.content.text,S((()=>{b.value.$el.querySelector("textarea").focus()})))})),(n,t)=>{const o=ca,i=ta;return v(),j(p,null,[s(Q,{files:l.value,showCloseButton:!1,class:"mb-2"},null,8,["files"]),a.isEditing?_("",!0):(v(),j("div",Ka,f(a.content.text),1)),a.isEditing?(v(),j("div",Xa,[s(o,{ref_key:"textareaRef",ref:b,modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=a=>e.value=a),autosize:{minRows:2,maxRows:20},onBlur:c},null,8,["modelValue"]),d("div",Qa,[s(i,{size:"large",shape:"circle",variant:"text",onClick:r},{default:k((()=>[s(w(x),{slot:"icon"})])),_:1}),s(i,{size:"large",shape:"circle",variant:"text",onClick:h},{default:k((()=>[s(w(da),{slot:"icon"})])),_:1})])])):_("",!0)],64)}}}),nn=a({__name:"CodeRenderer",props:{blocks:{type:Array,required:!0}},setup(a){const t=a,o=g(),l=n((()=>t.blocks.every((a=>a.complete))));const i=n((()=>{var a,n,o,i,e,s;if(!l.value)return"";const h=(null==(a=t.blocks.find((a=>"html"===a.language)))?void 0:a.code)||"",{head:r,body:c}=function(a){const n=a.match(/]*>([\s\S]*?)<\/head>/i),t=a.match(/]*>([\s\S]*?)<\/body>/i);return{head:n?n[1].trim():"",body:t?t[1].trim():""}}(h),g=(null==(n=t.blocks.find((a=>"css"===a.language)))?void 0:n.code)||"",b=(null==(o=t.blocks.find((a=>"js"===a.language||"javascript"===a.language||"typescript"===a.language)))?void 0:o.code)||"";null==(i=t.blocks.find((a=>"typescript"===a.language)))||i.code;const u=(null==(e=t.blocks.find((a=>"jsx"===a.language)))?void 0:e.code)||"",v=(null==(s=t.blocks.find((a=>"vue"===a.language)))?void 0:s.code)||"";if(u){const a=u.match(/export default (\w+);/),n=a?a[1]:null;return`\n \n \n \n \n \n \n + + + + + +
+ + diff --git a/.output/public/logo.png b/.output/public/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..fe1cec6f80ac0472a2fe8089e223a866ec051417 Binary files /dev/null and b/.output/public/logo.png differ diff --git a/.output/public/popup.html b/.output/public/popup.html new file mode 100644 index 0000000000000000000000000000000000000000..f5297c94e7bf153491a438e0d7b9cf263daecf84 --- /dev/null +++ b/.output/public/popup.html @@ -0,0 +1,18 @@ + + + + + Popup + + + + + + + + + +
+ + + diff --git a/.output/public/pwa-196x196.png b/.output/public/pwa-196x196.png new file mode 100644 index 0000000000000000000000000000000000000000..b8a4f8dd334c73ca449a5de38acb1e6526d715e5 Binary files /dev/null and b/.output/public/pwa-196x196.png differ diff --git a/.output/public/pwa-256x256.png b/.output/public/pwa-256x256.png new file mode 100644 index 0000000000000000000000000000000000000000..5f5723faf42887a886393f750e595e672d79acc9 Binary files /dev/null and b/.output/public/pwa-256x256.png differ diff --git a/.output/public/pwa-512x512.png b/.output/public/pwa-512x512.png new file mode 100644 index 0000000000000000000000000000000000000000..0ad6bb2c5c414a601e8bcf097131f7b0bac93c45 Binary files /dev/null and b/.output/public/pwa-512x512.png differ diff --git a/.output/public/swagger/LICENSE b/.output/public/swagger/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..d645695673349e3947e8e5ae42332d0ac3164cd7 --- /dev/null +++ b/.output/public/swagger/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/.output/public/swagger/NOTICE b/.output/public/swagger/NOTICE new file mode 100644 index 0000000000000000000000000000000000000000..ab788a27d5bf625faf500f547bd249c6d1873780 --- /dev/null +++ b/.output/public/swagger/NOTICE @@ -0,0 +1,2 @@ +swagger-ui +Copyright 2020-2021 SmartBear Software Inc. diff --git a/.output/public/swagger/README.md b/.output/public/swagger/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6d198eb45428f804fcf0215def2184af743a1940 --- /dev/null +++ b/.output/public/swagger/README.md @@ -0,0 +1,40 @@ +# Swagger UI Dist +[![NPM version](https://badge.fury.io/js/swagger-ui-dist.svg)](http://badge.fury.io/js/swagger-ui-dist) + +## Anonymized analytics + +SwaggerUI Dist uses [Scarf](https://scarf.sh/) to collect [anonymized installation analytics](https://github.com/scarf-sh/scarf-js?tab=readme-ov-file#as-a-user-of-a-package-using-scarf-js-what-information-does-scarf-js-send-about-me). These analytics help support the maintainers of this library and ONLY run during installation. To [opt out](https://github.com/scarf-sh/scarf-js?tab=readme-ov-file#as-a-user-of-a-package-using-scarf-js-how-can-i-opt-out-of-analytics), you can set the `scarfSettings.enabled` field to `false` in your project's `package.json`: + +``` +// package.json +{ + // ... + "scarfSettings": { + "enabled": false + } + // ... +} +``` + +Alternatively, you can set the environment variable `SCARF_ANALYTICS` to `false` as part of the environment that installs your npm packages, e.g., `SCARF_ANALYTICS=false npm install`. + + +# API + +This module, `swagger-ui-dist`, exposes Swagger-UI's entire dist folder as a dependency-free npm module. +Use `swagger-ui` instead, if you'd like to have npm install dependencies for you. + +`SwaggerUIBundle` and `SwaggerUIStandalonePreset` can be imported: +```javascript + import { SwaggerUIBundle, SwaggerUIStandalonePreset } from "swagger-ui-dist" +``` + +To get an absolute path to this directory for static file serving, use the exported `getAbsoluteFSPath` method: + +```javascript +const swaggerUiAssetPath = require("swagger-ui-dist").getAbsoluteFSPath() + +// then instantiate server that serves files from the swaggerUiAssetPath +``` + +For anything else, check the [Swagger-UI](https://github.com/swagger-api/swagger-ui) repository. diff --git a/.output/public/swagger/absolute-path.js b/.output/public/swagger/absolute-path.js new file mode 100644 index 0000000000000000000000000000000000000000..af42bc8f1c5e65db8991187653c4ad40fa5fddb9 --- /dev/null +++ b/.output/public/swagger/absolute-path.js @@ -0,0 +1,14 @@ +/* + * getAbsoluteFSPath + * @return {string} When run in NodeJS env, returns the absolute path to the current directory + * When run outside of NodeJS, will return an error message + */ +const getAbsoluteFSPath = function () { + // detect whether we are running in a browser or nodejs + if (typeof module !== "undefined" && module.exports) { + return require("path").resolve(__dirname) + } + throw new Error('getAbsoluteFSPath can only be called within a Nodejs environment'); +} + +module.exports = getAbsoluteFSPath diff --git a/.output/public/swagger/favicon-16x16.png b/.output/public/swagger/favicon-16x16.png new file mode 100644 index 0000000000000000000000000000000000000000..8b194e617af1c135e6b37939591d24ac3a5efa18 Binary files /dev/null and b/.output/public/swagger/favicon-16x16.png differ diff --git a/.output/public/swagger/favicon-32x32.png b/.output/public/swagger/favicon-32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..249737fe44558e679f0b67134e274461d988fa98 Binary files /dev/null and b/.output/public/swagger/favicon-32x32.png differ diff --git a/.output/public/swagger/index.css b/.output/public/swagger/index.css new file mode 100644 index 0000000000000000000000000000000000000000..f2376fdaa842b12ecf6a191409ff0b0a03c4b0f8 --- /dev/null +++ b/.output/public/swagger/index.css @@ -0,0 +1,16 @@ +html { + box-sizing: border-box; + overflow: -moz-scrollbars-vertical; + overflow-y: scroll; +} + +*, +*:before, +*:after { + box-sizing: inherit; +} + +body { + margin: 0; + background: #fafafa; +} diff --git a/.output/public/swagger/index.html b/.output/public/swagger/index.html new file mode 100644 index 0000000000000000000000000000000000000000..84ae62d3dad6004f2ba250cf69b4148eeb7c253d --- /dev/null +++ b/.output/public/swagger/index.html @@ -0,0 +1,19 @@ + + + + + + Swagger UI + + + + + + + +
+ + + + + diff --git a/.output/public/swagger/index.js b/.output/public/swagger/index.js new file mode 100644 index 0000000000000000000000000000000000000000..c229ec43e12b73e67be0c4bdda555a8831ad933d --- /dev/null +++ b/.output/public/swagger/index.js @@ -0,0 +1,17 @@ +try { + module.exports.SwaggerUIBundle = require("./swagger-ui-bundle.js") + module.exports.SwaggerUIStandalonePreset = require("./swagger-ui-standalone-preset.js") +} catch(e) { + // swallow the error if there's a problem loading the assets. + // allows this module to support providing the assets for browserish contexts, + // without exploding in a Node context. + // + // see https://github.com/swagger-api/swagger-ui/issues/3291#issuecomment-311195388 + // for more information. +} + +// `absolutePath` and `getAbsoluteFSPath` are both here because at one point, +// we documented having one and actually implemented the other. +// They were both retained so we don't break anyone's code. +module.exports.absolutePath = require("./absolute-path.js") +module.exports.getAbsoluteFSPath = require("./absolute-path.js") diff --git a/.output/public/swagger/oauth2-redirect.html b/.output/public/swagger/oauth2-redirect.html new file mode 100644 index 0000000000000000000000000000000000000000..56409171811d4594c24ef540844741b8d12e9da2 --- /dev/null +++ b/.output/public/swagger/oauth2-redirect.html @@ -0,0 +1,79 @@ + + + + Swagger UI: OAuth2 Redirect + + + + + diff --git a/.output/public/swagger/package.json b/.output/public/swagger/package.json new file mode 100644 index 0000000000000000000000000000000000000000..c3723057463999695b84024da9a2a81857da4420 --- /dev/null +++ b/.output/public/swagger/package.json @@ -0,0 +1,20 @@ +{ + "name": "swagger-ui-dist", + "version": "5.18.3", + "main": "index.js", + "repository": "git@github.com:swagger-api/swagger-ui.git", + "contributors": [ + "(in alphabetical order)", + "Anna Bodnia ", + "Buu Nguyen ", + "Josh Ponelat ", + "Kyle Shockey ", + "Robert Barnwell ", + "Sahar Jafari " + ], + "license": "Apache-2.0", + "dependencies": { + "@scarf/scarf": "=1.4.0" + }, + "devDependencies": {} +} diff --git a/.output/public/swagger/swagger-initializer.js b/.output/public/swagger/swagger-initializer.js new file mode 100644 index 0000000000000000000000000000000000000000..8f424385413f3b4712943b6b8e419b250f178ad9 --- /dev/null +++ b/.output/public/swagger/swagger-initializer.js @@ -0,0 +1,22 @@ + + window.onload = function() { + // + // the following lines will be replaced by docker/configurator, when it runs in a docker-container + window.ui = SwaggerUIBundle({ + url: "/openapi.json", + dom_id: '#swagger-ui', + deepLinking: true, + persistAuthorization:true, + presets: [ + SwaggerUIBundle.presets.apis, + SwaggerUIStandalonePreset + ], + plugins: [ + SwaggerUIBundle.plugins.DownloadUrl + ], + layout: "StandaloneLayout" + }); + + // + }; + \ No newline at end of file diff --git a/.output/public/swagger/swagger-ui-bundle.js b/.output/public/swagger/swagger-ui-bundle.js new file mode 100644 index 0000000000000000000000000000000000000000..6d7fc2e4b4cbdd390abe2f685327bed7c6682f4b --- /dev/null +++ b/.output/public/swagger/swagger-ui-bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */ +!function webpackUniversalModuleDefinition(s,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.SwaggerUIBundle=o():s.SwaggerUIBundle=o()}(this,(()=>(()=>{var s,o,i={69119:(s,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.BLANK_URL=o.relativeFirstCharacters=o.whitespaceEscapeCharsRegex=o.urlSchemeRegex=o.ctrlCharactersRegex=o.htmlCtrlEntityRegex=o.htmlEntitiesRegex=o.invalidProtocolRegex=void 0,o.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,o.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,o.htmlCtrlEntityRegex=/&(newline|tab);/gi,o.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,o.urlSchemeRegex=/^.+(:|:)/gim,o.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,o.relativeFirstCharacters=[".","/"],o.BLANK_URL="about:blank"},16750:(s,o,i)=>{"use strict";o.J=void 0;var u=i(69119);function decodeURI(s){try{return decodeURIComponent(s)}catch(o){return s}}o.J=function sanitizeUrl(s){if(!s)return u.BLANK_URL;var o,i,_=decodeURI(s);do{o=(_=decodeURI(_=(i=_,i.replace(u.ctrlCharactersRegex,"").replace(u.htmlEntitiesRegex,(function(s,o){return String.fromCharCode(o)}))).replace(u.htmlCtrlEntityRegex,"").replace(u.ctrlCharactersRegex,"").replace(u.whitespaceEscapeCharsRegex,"").trim())).match(u.ctrlCharactersRegex)||_.match(u.htmlEntitiesRegex)||_.match(u.htmlCtrlEntityRegex)||_.match(u.whitespaceEscapeCharsRegex)}while(o&&o.length>0);var w=_;if(!w)return u.BLANK_URL;if(function isRelativeUrlWithoutProtocol(s){return u.relativeFirstCharacters.indexOf(s[0])>-1}(w))return w;var x=w.match(u.urlSchemeRegex);if(!x)return w;var C=x[0];return u.invalidProtocolRegex.test(C)?u.BLANK_URL:w}},67526:(s,o)=>{"use strict";o.byteLength=function byteLength(s){var o=getLens(s),i=o[0],u=o[1];return 3*(i+u)/4-u},o.toByteArray=function toByteArray(s){var o,i,w=getLens(s),x=w[0],C=w[1],j=new _(function _byteLength(s,o,i){return 3*(o+i)/4-i}(0,x,C)),L=0,B=C>0?x-4:x;for(i=0;i>16&255,j[L++]=o>>8&255,j[L++]=255&o;2===C&&(o=u[s.charCodeAt(i)]<<2|u[s.charCodeAt(i+1)]>>4,j[L++]=255&o);1===C&&(o=u[s.charCodeAt(i)]<<10|u[s.charCodeAt(i+1)]<<4|u[s.charCodeAt(i+2)]>>2,j[L++]=o>>8&255,j[L++]=255&o);return j},o.fromByteArray=function fromByteArray(s){for(var o,u=s.length,_=u%3,w=[],x=16383,C=0,j=u-_;Cj?j:C+x));1===_?(o=s[u-1],w.push(i[o>>2]+i[o<<4&63]+"==")):2===_&&(o=(s[u-2]<<8)+s[u-1],w.push(i[o>>10]+i[o>>4&63]+i[o<<2&63]+"="));return w.join("")};for(var i=[],u=[],_="undefined"!=typeof Uint8Array?Uint8Array:Array,w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x=0;x<64;++x)i[x]=w[x],u[w.charCodeAt(x)]=x;function getLens(s){var o=s.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=s.indexOf("=");return-1===i&&(i=o),[i,i===o?0:4-i%4]}function encodeChunk(s,o,u){for(var _,w,x=[],C=o;C>18&63]+i[w>>12&63]+i[w>>6&63]+i[63&w]);return x.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},48287:(s,o,i)=>{"use strict";const u=i(67526),_=i(251),w="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;o.Buffer=Buffer,o.SlowBuffer=function SlowBuffer(s){+s!=s&&(s=0);return Buffer.alloc(+s)},o.INSPECT_MAX_BYTES=50;const x=2147483647;function createBuffer(s){if(s>x)throw new RangeError('The value "'+s+'" is invalid for option "size"');const o=new Uint8Array(s);return Object.setPrototypeOf(o,Buffer.prototype),o}function Buffer(s,o,i){if("number"==typeof s){if("string"==typeof o)throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(s)}return from(s,o,i)}function from(s,o,i){if("string"==typeof s)return function fromString(s,o){"string"==typeof o&&""!==o||(o="utf8");if(!Buffer.isEncoding(o))throw new TypeError("Unknown encoding: "+o);const i=0|byteLength(s,o);let u=createBuffer(i);const _=u.write(s,o);_!==i&&(u=u.slice(0,_));return u}(s,o);if(ArrayBuffer.isView(s))return function fromArrayView(s){if(isInstance(s,Uint8Array)){const o=new Uint8Array(s);return fromArrayBuffer(o.buffer,o.byteOffset,o.byteLength)}return fromArrayLike(s)}(s);if(null==s)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s);if(isInstance(s,ArrayBuffer)||s&&isInstance(s.buffer,ArrayBuffer))return fromArrayBuffer(s,o,i);if("undefined"!=typeof SharedArrayBuffer&&(isInstance(s,SharedArrayBuffer)||s&&isInstance(s.buffer,SharedArrayBuffer)))return fromArrayBuffer(s,o,i);if("number"==typeof s)throw new TypeError('The "value" argument must not be of type number. Received type number');const u=s.valueOf&&s.valueOf();if(null!=u&&u!==s)return Buffer.from(u,o,i);const _=function fromObject(s){if(Buffer.isBuffer(s)){const o=0|checked(s.length),i=createBuffer(o);return 0===i.length||s.copy(i,0,0,o),i}if(void 0!==s.length)return"number"!=typeof s.length||numberIsNaN(s.length)?createBuffer(0):fromArrayLike(s);if("Buffer"===s.type&&Array.isArray(s.data))return fromArrayLike(s.data)}(s);if(_)return _;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof s[Symbol.toPrimitive])return Buffer.from(s[Symbol.toPrimitive]("string"),o,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s)}function assertSize(s){if("number"!=typeof s)throw new TypeError('"size" argument must be of type number');if(s<0)throw new RangeError('The value "'+s+'" is invalid for option "size"')}function allocUnsafe(s){return assertSize(s),createBuffer(s<0?0:0|checked(s))}function fromArrayLike(s){const o=s.length<0?0:0|checked(s.length),i=createBuffer(o);for(let u=0;u=x)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+x.toString(16)+" bytes");return 0|s}function byteLength(s,o){if(Buffer.isBuffer(s))return s.length;if(ArrayBuffer.isView(s)||isInstance(s,ArrayBuffer))return s.byteLength;if("string"!=typeof s)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof s);const i=s.length,u=arguments.length>2&&!0===arguments[2];if(!u&&0===i)return 0;let _=!1;for(;;)switch(o){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return utf8ToBytes(s).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return base64ToBytes(s).length;default:if(_)return u?-1:utf8ToBytes(s).length;o=(""+o).toLowerCase(),_=!0}}function slowToString(s,o,i){let u=!1;if((void 0===o||o<0)&&(o=0),o>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(o>>>=0))return"";for(s||(s="utf8");;)switch(s){case"hex":return hexSlice(this,o,i);case"utf8":case"utf-8":return utf8Slice(this,o,i);case"ascii":return asciiSlice(this,o,i);case"latin1":case"binary":return latin1Slice(this,o,i);case"base64":return base64Slice(this,o,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,o,i);default:if(u)throw new TypeError("Unknown encoding: "+s);s=(s+"").toLowerCase(),u=!0}}function swap(s,o,i){const u=s[o];s[o]=s[i],s[i]=u}function bidirectionalIndexOf(s,o,i,u,_){if(0===s.length)return-1;if("string"==typeof i?(u=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),numberIsNaN(i=+i)&&(i=_?0:s.length-1),i<0&&(i=s.length+i),i>=s.length){if(_)return-1;i=s.length-1}else if(i<0){if(!_)return-1;i=0}if("string"==typeof o&&(o=Buffer.from(o,u)),Buffer.isBuffer(o))return 0===o.length?-1:arrayIndexOf(s,o,i,u,_);if("number"==typeof o)return o&=255,"function"==typeof Uint8Array.prototype.indexOf?_?Uint8Array.prototype.indexOf.call(s,o,i):Uint8Array.prototype.lastIndexOf.call(s,o,i):arrayIndexOf(s,[o],i,u,_);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(s,o,i,u,_){let w,x=1,C=s.length,j=o.length;if(void 0!==u&&("ucs2"===(u=String(u).toLowerCase())||"ucs-2"===u||"utf16le"===u||"utf-16le"===u)){if(s.length<2||o.length<2)return-1;x=2,C/=2,j/=2,i/=2}function read(s,o){return 1===x?s[o]:s.readUInt16BE(o*x)}if(_){let u=-1;for(w=i;wC&&(i=C-j),w=i;w>=0;w--){let i=!0;for(let u=0;u_&&(u=_):u=_;const w=o.length;let x;for(u>w/2&&(u=w/2),x=0;x>8,_=i%256,w.push(_),w.push(u);return w}(o,s.length-i),s,i,u)}function base64Slice(s,o,i){return 0===o&&i===s.length?u.fromByteArray(s):u.fromByteArray(s.slice(o,i))}function utf8Slice(s,o,i){i=Math.min(s.length,i);const u=[];let _=o;for(;_239?4:o>223?3:o>191?2:1;if(_+x<=i){let i,u,C,j;switch(x){case 1:o<128&&(w=o);break;case 2:i=s[_+1],128==(192&i)&&(j=(31&o)<<6|63&i,j>127&&(w=j));break;case 3:i=s[_+1],u=s[_+2],128==(192&i)&&128==(192&u)&&(j=(15&o)<<12|(63&i)<<6|63&u,j>2047&&(j<55296||j>57343)&&(w=j));break;case 4:i=s[_+1],u=s[_+2],C=s[_+3],128==(192&i)&&128==(192&u)&&128==(192&C)&&(j=(15&o)<<18|(63&i)<<12|(63&u)<<6|63&C,j>65535&&j<1114112&&(w=j))}}null===w?(w=65533,x=1):w>65535&&(w-=65536,u.push(w>>>10&1023|55296),w=56320|1023&w),u.push(w),_+=x}return function decodeCodePointsArray(s){const o=s.length;if(o<=C)return String.fromCharCode.apply(String,s);let i="",u=0;for(;uu.length?(Buffer.isBuffer(o)||(o=Buffer.from(o)),o.copy(u,_)):Uint8Array.prototype.set.call(u,o,_);else{if(!Buffer.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(u,_)}_+=o.length}return u},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function swap16(){const s=this.length;if(s%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let o=0;oi&&(s+=" ... "),""},w&&(Buffer.prototype[w]=Buffer.prototype.inspect),Buffer.prototype.compare=function compare(s,o,i,u,_){if(isInstance(s,Uint8Array)&&(s=Buffer.from(s,s.offset,s.byteLength)),!Buffer.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(void 0===o&&(o=0),void 0===i&&(i=s?s.length:0),void 0===u&&(u=0),void 0===_&&(_=this.length),o<0||i>s.length||u<0||_>this.length)throw new RangeError("out of range index");if(u>=_&&o>=i)return 0;if(u>=_)return-1;if(o>=i)return 1;if(this===s)return 0;let w=(_>>>=0)-(u>>>=0),x=(i>>>=0)-(o>>>=0);const C=Math.min(w,x),j=this.slice(u,_),L=s.slice(o,i);for(let s=0;s>>=0,isFinite(i)?(i>>>=0,void 0===u&&(u="utf8")):(u=i,i=void 0)}const _=this.length-o;if((void 0===i||i>_)&&(i=_),s.length>0&&(i<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");u||(u="utf8");let w=!1;for(;;)switch(u){case"hex":return hexWrite(this,s,o,i);case"utf8":case"utf-8":return utf8Write(this,s,o,i);case"ascii":case"latin1":case"binary":return asciiWrite(this,s,o,i);case"base64":return base64Write(this,s,o,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,s,o,i);default:if(w)throw new TypeError("Unknown encoding: "+u);u=(""+u).toLowerCase(),w=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const C=4096;function asciiSlice(s,o,i){let u="";i=Math.min(s.length,i);for(let _=o;_u)&&(i=u);let _="";for(let u=o;ui)throw new RangeError("Trying to access beyond buffer length")}function checkInt(s,o,i,u,_,w){if(!Buffer.isBuffer(s))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>_||os.length)throw new RangeError("Index out of range")}function wrtBigUInt64LE(s,o,i,u,_){checkIntBI(o,u,_,s,i,7);let w=Number(o&BigInt(4294967295));s[i++]=w,w>>=8,s[i++]=w,w>>=8,s[i++]=w,w>>=8,s[i++]=w;let x=Number(o>>BigInt(32)&BigInt(4294967295));return s[i++]=x,x>>=8,s[i++]=x,x>>=8,s[i++]=x,x>>=8,s[i++]=x,i}function wrtBigUInt64BE(s,o,i,u,_){checkIntBI(o,u,_,s,i,7);let w=Number(o&BigInt(4294967295));s[i+7]=w,w>>=8,s[i+6]=w,w>>=8,s[i+5]=w,w>>=8,s[i+4]=w;let x=Number(o>>BigInt(32)&BigInt(4294967295));return s[i+3]=x,x>>=8,s[i+2]=x,x>>=8,s[i+1]=x,x>>=8,s[i]=x,i+8}function checkIEEE754(s,o,i,u,_,w){if(i+u>s.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function writeFloat(s,o,i,u,w){return o=+o,i>>>=0,w||checkIEEE754(s,0,i,4),_.write(s,o,i,u,23,4),i+4}function writeDouble(s,o,i,u,w){return o=+o,i>>>=0,w||checkIEEE754(s,0,i,8),_.write(s,o,i,u,52,8),i+8}Buffer.prototype.slice=function slice(s,o){const i=this.length;(s=~~s)<0?(s+=i)<0&&(s=0):s>i&&(s=i),(o=void 0===o?i:~~o)<0?(o+=i)<0&&(o=0):o>i&&(o=i),o>>=0,o>>>=0,i||checkOffset(s,o,this.length);let u=this[s],_=1,w=0;for(;++w>>=0,o>>>=0,i||checkOffset(s,o,this.length);let u=this[s+--o],_=1;for(;o>0&&(_*=256);)u+=this[s+--o]*_;return u},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function readUInt8(s,o){return s>>>=0,o||checkOffset(s,1,this.length),this[s]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function readUInt16LE(s,o){return s>>>=0,o||checkOffset(s,2,this.length),this[s]|this[s+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function readUInt16BE(s,o){return s>>>=0,o||checkOffset(s,2,this.length),this[s]<<8|this[s+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function readUInt32LE(s,o){return s>>>=0,o||checkOffset(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+16777216*this[s+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function readUInt32BE(s,o){return s>>>=0,o||checkOffset(s,4,this.length),16777216*this[s]+(this[s+1]<<16|this[s+2]<<8|this[s+3])},Buffer.prototype.readBigUInt64LE=defineBigIntMethod((function readBigUInt64LE(s){validateNumber(s>>>=0,"offset");const o=this[s],i=this[s+7];void 0!==o&&void 0!==i||boundsError(s,this.length-8);const u=o+256*this[++s]+65536*this[++s]+this[++s]*2**24,_=this[++s]+256*this[++s]+65536*this[++s]+i*2**24;return BigInt(u)+(BigInt(_)<>>=0,"offset");const o=this[s],i=this[s+7];void 0!==o&&void 0!==i||boundsError(s,this.length-8);const u=o*2**24+65536*this[++s]+256*this[++s]+this[++s],_=this[++s]*2**24+65536*this[++s]+256*this[++s]+i;return(BigInt(u)<>>=0,o>>>=0,i||checkOffset(s,o,this.length);let u=this[s],_=1,w=0;for(;++w=_&&(u-=Math.pow(2,8*o)),u},Buffer.prototype.readIntBE=function readIntBE(s,o,i){s>>>=0,o>>>=0,i||checkOffset(s,o,this.length);let u=o,_=1,w=this[s+--u];for(;u>0&&(_*=256);)w+=this[s+--u]*_;return _*=128,w>=_&&(w-=Math.pow(2,8*o)),w},Buffer.prototype.readInt8=function readInt8(s,o){return s>>>=0,o||checkOffset(s,1,this.length),128&this[s]?-1*(255-this[s]+1):this[s]},Buffer.prototype.readInt16LE=function readInt16LE(s,o){s>>>=0,o||checkOffset(s,2,this.length);const i=this[s]|this[s+1]<<8;return 32768&i?4294901760|i:i},Buffer.prototype.readInt16BE=function readInt16BE(s,o){s>>>=0,o||checkOffset(s,2,this.length);const i=this[s+1]|this[s]<<8;return 32768&i?4294901760|i:i},Buffer.prototype.readInt32LE=function readInt32LE(s,o){return s>>>=0,o||checkOffset(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(s,o){return s>>>=0,o||checkOffset(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},Buffer.prototype.readBigInt64LE=defineBigIntMethod((function readBigInt64LE(s){validateNumber(s>>>=0,"offset");const o=this[s],i=this[s+7];void 0!==o&&void 0!==i||boundsError(s,this.length-8);const u=this[s+4]+256*this[s+5]+65536*this[s+6]+(i<<24);return(BigInt(u)<>>=0,"offset");const o=this[s],i=this[s+7];void 0!==o&&void 0!==i||boundsError(s,this.length-8);const u=(o<<24)+65536*this[++s]+256*this[++s]+this[++s];return(BigInt(u)<>>=0,o||checkOffset(s,4,this.length),_.read(this,s,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(s,o){return s>>>=0,o||checkOffset(s,4,this.length),_.read(this,s,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(s,o){return s>>>=0,o||checkOffset(s,8,this.length),_.read(this,s,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(s,o){return s>>>=0,o||checkOffset(s,8,this.length),_.read(this,s,!1,52,8)},Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function writeUIntLE(s,o,i,u){if(s=+s,o>>>=0,i>>>=0,!u){checkInt(this,s,o,i,Math.pow(2,8*i)-1,0)}let _=1,w=0;for(this[o]=255&s;++w>>=0,i>>>=0,!u){checkInt(this,s,o,i,Math.pow(2,8*i)-1,0)}let _=i-1,w=1;for(this[o+_]=255&s;--_>=0&&(w*=256);)this[o+_]=s/w&255;return o+i},Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function writeUInt8(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,1,255,0),this[o]=255&s,o+1},Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function writeUInt16LE(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,2,65535,0),this[o]=255&s,this[o+1]=s>>>8,o+2},Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function writeUInt16BE(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,2,65535,0),this[o]=s>>>8,this[o+1]=255&s,o+2},Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function writeUInt32LE(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,4,4294967295,0),this[o+3]=s>>>24,this[o+2]=s>>>16,this[o+1]=s>>>8,this[o]=255&s,o+4},Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function writeUInt32BE(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,4,4294967295,0),this[o]=s>>>24,this[o+1]=s>>>16,this[o+2]=s>>>8,this[o+3]=255&s,o+4},Buffer.prototype.writeBigUInt64LE=defineBigIntMethod((function writeBigUInt64LE(s,o=0){return wrtBigUInt64LE(this,s,o,BigInt(0),BigInt("0xffffffffffffffff"))})),Buffer.prototype.writeBigUInt64BE=defineBigIntMethod((function writeBigUInt64BE(s,o=0){return wrtBigUInt64BE(this,s,o,BigInt(0),BigInt("0xffffffffffffffff"))})),Buffer.prototype.writeIntLE=function writeIntLE(s,o,i,u){if(s=+s,o>>>=0,!u){const u=Math.pow(2,8*i-1);checkInt(this,s,o,i,u-1,-u)}let _=0,w=1,x=0;for(this[o]=255&s;++_>>=0,!u){const u=Math.pow(2,8*i-1);checkInt(this,s,o,i,u-1,-u)}let _=i-1,w=1,x=0;for(this[o+_]=255&s;--_>=0&&(w*=256);)s<0&&0===x&&0!==this[o+_+1]&&(x=1),this[o+_]=(s/w|0)-x&255;return o+i},Buffer.prototype.writeInt8=function writeInt8(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,1,127,-128),s<0&&(s=255+s+1),this[o]=255&s,o+1},Buffer.prototype.writeInt16LE=function writeInt16LE(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,2,32767,-32768),this[o]=255&s,this[o+1]=s>>>8,o+2},Buffer.prototype.writeInt16BE=function writeInt16BE(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,2,32767,-32768),this[o]=s>>>8,this[o+1]=255&s,o+2},Buffer.prototype.writeInt32LE=function writeInt32LE(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,4,2147483647,-2147483648),this[o]=255&s,this[o+1]=s>>>8,this[o+2]=s>>>16,this[o+3]=s>>>24,o+4},Buffer.prototype.writeInt32BE=function writeInt32BE(s,o,i){return s=+s,o>>>=0,i||checkInt(this,s,o,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[o]=s>>>24,this[o+1]=s>>>16,this[o+2]=s>>>8,this[o+3]=255&s,o+4},Buffer.prototype.writeBigInt64LE=defineBigIntMethod((function writeBigInt64LE(s,o=0){return wrtBigUInt64LE(this,s,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),Buffer.prototype.writeBigInt64BE=defineBigIntMethod((function writeBigInt64BE(s,o=0){return wrtBigUInt64BE(this,s,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),Buffer.prototype.writeFloatLE=function writeFloatLE(s,o,i){return writeFloat(this,s,o,!0,i)},Buffer.prototype.writeFloatBE=function writeFloatBE(s,o,i){return writeFloat(this,s,o,!1,i)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(s,o,i){return writeDouble(this,s,o,!0,i)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(s,o,i){return writeDouble(this,s,o,!1,i)},Buffer.prototype.copy=function copy(s,o,i,u){if(!Buffer.isBuffer(s))throw new TypeError("argument should be a Buffer");if(i||(i=0),u||0===u||(u=this.length),o>=s.length&&(o=s.length),o||(o=0),u>0&&u=this.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("sourceEnd out of bounds");u>this.length&&(u=this.length),s.length-o>>=0,i=void 0===i?this.length:i>>>0,s||(s=0),"number"==typeof s)for(_=o;_=u+4;i-=3)o=`_${s.slice(i-3,i)}${o}`;return`${s.slice(0,i)}${o}`}function checkIntBI(s,o,i,u,_,w){if(s>i||s3?0===o||o===BigInt(0)?`>= 0${u} and < 2${u} ** ${8*(w+1)}${u}`:`>= -(2${u} ** ${8*(w+1)-1}${u}) and < 2 ** ${8*(w+1)-1}${u}`:`>= ${o}${u} and <= ${i}${u}`,new j.ERR_OUT_OF_RANGE("value",_,s)}!function checkBounds(s,o,i){validateNumber(o,"offset"),void 0!==s[o]&&void 0!==s[o+i]||boundsError(o,s.length-(i+1))}(u,_,w)}function validateNumber(s,o){if("number"!=typeof s)throw new j.ERR_INVALID_ARG_TYPE(o,"number",s)}function boundsError(s,o,i){if(Math.floor(s)!==s)throw validateNumber(s,i),new j.ERR_OUT_OF_RANGE(i||"offset","an integer",s);if(o<0)throw new j.ERR_BUFFER_OUT_OF_BOUNDS;throw new j.ERR_OUT_OF_RANGE(i||"offset",`>= ${i?1:0} and <= ${o}`,s)}E("ERR_BUFFER_OUT_OF_BOUNDS",(function(s){return s?`${s} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),E("ERR_INVALID_ARG_TYPE",(function(s,o){return`The "${s}" argument must be of type number. Received type ${typeof o}`}),TypeError),E("ERR_OUT_OF_RANGE",(function(s,o,i){let u=`The value of "${s}" is out of range.`,_=i;return Number.isInteger(i)&&Math.abs(i)>2**32?_=addNumericalSeparator(String(i)):"bigint"==typeof i&&(_=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(_=addNumericalSeparator(_)),_+="n"),u+=` It must be ${o}. Received ${_}`,u}),RangeError);const L=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(s,o){let i;o=o||1/0;const u=s.length;let _=null;const w=[];for(let x=0;x55295&&i<57344){if(!_){if(i>56319){(o-=3)>-1&&w.push(239,191,189);continue}if(x+1===u){(o-=3)>-1&&w.push(239,191,189);continue}_=i;continue}if(i<56320){(o-=3)>-1&&w.push(239,191,189),_=i;continue}i=65536+(_-55296<<10|i-56320)}else _&&(o-=3)>-1&&w.push(239,191,189);if(_=null,i<128){if((o-=1)<0)break;w.push(i)}else if(i<2048){if((o-=2)<0)break;w.push(i>>6|192,63&i|128)}else if(i<65536){if((o-=3)<0)break;w.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((o-=4)<0)break;w.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return w}function base64ToBytes(s){return u.toByteArray(function base64clean(s){if((s=(s=s.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;s.length%4!=0;)s+="=";return s}(s))}function blitBuffer(s,o,i,u){let _;for(_=0;_=o.length||_>=s.length);++_)o[_+i]=s[_];return _}function isInstance(s,o){return s instanceof o||null!=s&&null!=s.constructor&&null!=s.constructor.name&&s.constructor.name===o.name}function numberIsNaN(s){return s!=s}const B=function(){const s="0123456789abcdef",o=new Array(256);for(let i=0;i<16;++i){const u=16*i;for(let _=0;_<16;++_)o[u+_]=s[i]+s[_]}return o}();function defineBigIntMethod(s){return"undefined"==typeof BigInt?BufferBigIntNotDefined:s}function BufferBigIntNotDefined(){throw new Error("BigInt not supported")}},17965:(s,o,i)=>{"use strict";var u=i(16426),_={"text/plain":"Text","text/html":"Url",default:"Text"};s.exports=function copy(s,o){var i,w,x,C,j,L,B=!1;o||(o={}),i=o.debug||!1;try{if(x=u(),C=document.createRange(),j=document.getSelection(),(L=document.createElement("span")).textContent=s,L.ariaHidden="true",L.style.all="unset",L.style.position="fixed",L.style.top=0,L.style.clip="rect(0, 0, 0, 0)",L.style.whiteSpace="pre",L.style.webkitUserSelect="text",L.style.MozUserSelect="text",L.style.msUserSelect="text",L.style.userSelect="text",L.addEventListener("copy",(function(u){if(u.stopPropagation(),o.format)if(u.preventDefault(),void 0===u.clipboardData){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var w=_[o.format]||_.default;window.clipboardData.setData(w,s)}else u.clipboardData.clearData(),u.clipboardData.setData(o.format,s);o.onCopy&&(u.preventDefault(),o.onCopy(u.clipboardData))})),document.body.appendChild(L),C.selectNodeContents(L),j.addRange(C),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");B=!0}catch(u){i&&console.error("unable to copy using execCommand: ",u),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(o.format||"text",s),o.onCopy&&o.onCopy(window.clipboardData),B=!0}catch(u){i&&console.error("unable to copy using clipboardData: ",u),i&&console.error("falling back to prompt"),w=function format(s){var o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return s.replace(/#{\s*key\s*}/g,o)}("message"in o?o.message:"Copy to clipboard: #{key}, Enter"),window.prompt(w,s)}}finally{j&&("function"==typeof j.removeRange?j.removeRange(C):j.removeAllRanges()),L&&document.body.removeChild(L),x()}return B}},2205:function(s,o,i){var u;u=void 0!==i.g?i.g:this,s.exports=function(s){if(s.CSS&&s.CSS.escape)return s.CSS.escape;var cssEscape=function(s){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var o,i=String(s),u=i.length,_=-1,w="",x=i.charCodeAt(0);++_=1&&o<=31||127==o||0==_&&o>=48&&o<=57||1==_&&o>=48&&o<=57&&45==x?"\\"+o.toString(16)+" ":0==_&&1==u&&45==o||!(o>=128||45==o||95==o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122)?"\\"+i.charAt(_):i.charAt(_):w+="�";return w};return s.CSS||(s.CSS={}),s.CSS.escape=cssEscape,cssEscape}(u)},81919:(s,o,i)=>{"use strict";var u=i(48287).Buffer;function isSpecificValue(s){return s instanceof u||s instanceof Date||s instanceof RegExp}function cloneSpecificValue(s){if(s instanceof u){var o=u.alloc?u.alloc(s.length):new u(s.length);return s.copy(o),o}if(s instanceof Date)return new Date(s.getTime());if(s instanceof RegExp)return new RegExp(s);throw new Error("Unexpected situation")}function deepCloneArray(s){var o=[];return s.forEach((function(s,i){"object"==typeof s&&null!==s?Array.isArray(s)?o[i]=deepCloneArray(s):isSpecificValue(s)?o[i]=cloneSpecificValue(s):o[i]=_({},s):o[i]=s})),o}function safeGetProperty(s,o){return"__proto__"===o?void 0:s[o]}var _=s.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var s,o,i=arguments[0];return Array.prototype.slice.call(arguments,1).forEach((function(u){"object"!=typeof u||null===u||Array.isArray(u)||Object.keys(u).forEach((function(w){return o=safeGetProperty(i,w),(s=safeGetProperty(u,w))===i?void 0:"object"!=typeof s||null===s?void(i[w]=s):Array.isArray(s)?void(i[w]=deepCloneArray(s)):isSpecificValue(s)?void(i[w]=cloneSpecificValue(s)):"object"!=typeof o||null===o||Array.isArray(o)?void(i[w]=_({},s)):void(i[w]=_(o,s))}))})),i}},14744:s=>{"use strict";var o=function isMergeableObject(s){return function isNonNullObject(s){return!!s&&"object"==typeof s}(s)&&!function isSpecial(s){var o=Object.prototype.toString.call(s);return"[object RegExp]"===o||"[object Date]"===o||function isReactElement(s){return s.$$typeof===i}(s)}(s)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function cloneUnlessOtherwiseSpecified(s,o){return!1!==o.clone&&o.isMergeableObject(s)?deepmerge(function emptyTarget(s){return Array.isArray(s)?[]:{}}(s),s,o):s}function defaultArrayMerge(s,o,i){return s.concat(o).map((function(s){return cloneUnlessOtherwiseSpecified(s,i)}))}function getKeys(s){return Object.keys(s).concat(function getEnumerableOwnPropertySymbols(s){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(s).filter((function(o){return Object.propertyIsEnumerable.call(s,o)})):[]}(s))}function propertyIsOnObject(s,o){try{return o in s}catch(s){return!1}}function mergeObject(s,o,i){var u={};return i.isMergeableObject(s)&&getKeys(s).forEach((function(o){u[o]=cloneUnlessOtherwiseSpecified(s[o],i)})),getKeys(o).forEach((function(_){(function propertyIsUnsafe(s,o){return propertyIsOnObject(s,o)&&!(Object.hasOwnProperty.call(s,o)&&Object.propertyIsEnumerable.call(s,o))})(s,_)||(propertyIsOnObject(s,_)&&i.isMergeableObject(o[_])?u[_]=function getMergeFunction(s,o){if(!o.customMerge)return deepmerge;var i=o.customMerge(s);return"function"==typeof i?i:deepmerge}(_,i)(s[_],o[_],i):u[_]=cloneUnlessOtherwiseSpecified(o[_],i))})),u}function deepmerge(s,i,u){(u=u||{}).arrayMerge=u.arrayMerge||defaultArrayMerge,u.isMergeableObject=u.isMergeableObject||o,u.cloneUnlessOtherwiseSpecified=cloneUnlessOtherwiseSpecified;var _=Array.isArray(i);return _===Array.isArray(s)?_?u.arrayMerge(s,i,u):mergeObject(s,i,u):cloneUnlessOtherwiseSpecified(i,u)}deepmerge.all=function deepmergeAll(s,o){if(!Array.isArray(s))throw new Error("first argument should be an array");return s.reduce((function(s,i){return deepmerge(s,i,o)}),{})};var u=deepmerge;s.exports=u},42838:function(s){s.exports=function(){"use strict";const{entries:s,setPrototypeOf:o,isFrozen:i,getPrototypeOf:u,getOwnPropertyDescriptor:_}=Object;let{freeze:w,seal:x,create:C}=Object,{apply:j,construct:L}="undefined"!=typeof Reflect&&Reflect;w||(w=function freeze(s){return s}),x||(x=function seal(s){return s}),j||(j=function apply(s,o,i){return s.apply(o,i)}),L||(L=function construct(s,o){return new s(...o)});const B=unapply(Array.prototype.forEach),$=unapply(Array.prototype.pop),V=unapply(Array.prototype.push),U=unapply(String.prototype.toLowerCase),z=unapply(String.prototype.toString),Y=unapply(String.prototype.match),Z=unapply(String.prototype.replace),ee=unapply(String.prototype.indexOf),ie=unapply(String.prototype.trim),ae=unapply(Object.prototype.hasOwnProperty),ce=unapply(RegExp.prototype.test),le=unconstruct(TypeError);function unapply(s){return function(o){for(var i=arguments.length,u=new Array(i>1?i-1:0),_=1;_2&&void 0!==arguments[2]?arguments[2]:U;o&&o(s,null);let w=u.length;for(;w--;){let o=u[w];if("string"==typeof o){const s=_(o);s!==o&&(i(u)||(u[w]=s),o=s)}s[o]=!0}return s}function cleanArray(s){for(let o=0;o/gm),$e=x(/\${[\w\W]*}/gm),ze=x(/^data-[\-\w.\u00B7-\uFFFF]/),We=x(/^aria-[\-\w]+$/),He=x(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ye=x(/^(?:\w+script|data):/i),Xe=x(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Qe=x(/^html$/i),et=x(/^[a-z][.\w]*(-[.\w]+)+$/i);var tt=Object.freeze({__proto__:null,MUSTACHE_EXPR:Re,ERB_EXPR:qe,TMPLIT_EXPR:$e,DATA_ATTR:ze,ARIA_ATTR:We,IS_ALLOWED_URI:He,IS_SCRIPT_OR_DATA:Ye,ATTR_WHITESPACE:Xe,DOCTYPE_NAME:Qe,CUSTOM_ELEMENT:et});const rt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},nt=function getGlobal(){return"undefined"==typeof window?null:window},st=function _createTrustedTypesPolicy(s,o){if("object"!=typeof s||"function"!=typeof s.createPolicy)return null;let i=null;const u="data-tt-policy-suffix";o&&o.hasAttribute(u)&&(i=o.getAttribute(u));const _="dompurify"+(i?"#"+i:"");try{return s.createPolicy(_,{createHTML:s=>s,createScriptURL:s=>s})}catch(s){return console.warn("TrustedTypes policy "+_+" could not be created."),null}};function createDOMPurify(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nt();const DOMPurify=s=>createDOMPurify(s);if(DOMPurify.version="3.1.6",DOMPurify.removed=[],!o||!o.document||o.document.nodeType!==rt.document)return DOMPurify.isSupported=!1,DOMPurify;let{document:i}=o;const u=i,_=u.currentScript,{DocumentFragment:x,HTMLTemplateElement:j,Node:L,Element:Re,NodeFilter:qe,NamedNodeMap:$e=o.NamedNodeMap||o.MozNamedAttrMap,HTMLFormElement:ze,DOMParser:We,trustedTypes:Ye}=o,Xe=Re.prototype,et=lookupGetter(Xe,"cloneNode"),ot=lookupGetter(Xe,"remove"),it=lookupGetter(Xe,"nextSibling"),at=lookupGetter(Xe,"childNodes"),ct=lookupGetter(Xe,"parentNode");if("function"==typeof j){const s=i.createElement("template");s.content&&s.content.ownerDocument&&(i=s.content.ownerDocument)}let lt,ut="";const{implementation:pt,createNodeIterator:ht,createDocumentFragment:dt,getElementsByTagName:mt}=i,{importNode:gt}=u;let yt={};DOMPurify.isSupported="function"==typeof s&&"function"==typeof ct&&pt&&void 0!==pt.createHTMLDocument;const{MUSTACHE_EXPR:vt,ERB_EXPR:bt,TMPLIT_EXPR:_t,DATA_ATTR:St,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:Et,ATTR_WHITESPACE:xt,CUSTOM_ELEMENT:kt}=tt;let{IS_ALLOWED_URI:Ot}=tt,Ct=null;const At=addToSet({},[...pe,...de,...fe,...be,...Se]);let jt=null;const It=addToSet({},[...we,...xe,...Pe,...Te]);let Pt=Object.seal(C(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Nt=null,Tt=null,Mt=!0,Rt=!0,Dt=!1,Lt=!0,Ft=!1,Bt=!0,qt=!1,$t=!1,Vt=!1,Ut=!1,zt=!1,Wt=!1,Jt=!0,Ht=!1;const Kt="user-content-";let Gt=!0,Yt=!1,Xt={},Qt=null;const Zt=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let er=null;const tr=addToSet({},["audio","video","img","source","image","track"]);let rr=null;const nr=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),sr="http://www.w3.org/1998/Math/MathML",ir="http://www.w3.org/2000/svg",ar="http://www.w3.org/1999/xhtml";let cr=ar,lr=!1,ur=null;const pr=addToSet({},[sr,ir,ar],z);let dr=null;const fr=["application/xhtml+xml","text/html"],mr="text/html";let gr=null,yr=null;const vr=i.createElement("form"),br=function isRegexOrFunction(s){return s instanceof RegExp||s instanceof Function},_r=function _parseConfig(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!yr||yr!==s){if(s&&"object"==typeof s||(s={}),s=clone(s),dr=-1===fr.indexOf(s.PARSER_MEDIA_TYPE)?mr:s.PARSER_MEDIA_TYPE,gr="application/xhtml+xml"===dr?z:U,Ct=ae(s,"ALLOWED_TAGS")?addToSet({},s.ALLOWED_TAGS,gr):At,jt=ae(s,"ALLOWED_ATTR")?addToSet({},s.ALLOWED_ATTR,gr):It,ur=ae(s,"ALLOWED_NAMESPACES")?addToSet({},s.ALLOWED_NAMESPACES,z):pr,rr=ae(s,"ADD_URI_SAFE_ATTR")?addToSet(clone(nr),s.ADD_URI_SAFE_ATTR,gr):nr,er=ae(s,"ADD_DATA_URI_TAGS")?addToSet(clone(tr),s.ADD_DATA_URI_TAGS,gr):tr,Qt=ae(s,"FORBID_CONTENTS")?addToSet({},s.FORBID_CONTENTS,gr):Zt,Nt=ae(s,"FORBID_TAGS")?addToSet({},s.FORBID_TAGS,gr):{},Tt=ae(s,"FORBID_ATTR")?addToSet({},s.FORBID_ATTR,gr):{},Xt=!!ae(s,"USE_PROFILES")&&s.USE_PROFILES,Mt=!1!==s.ALLOW_ARIA_ATTR,Rt=!1!==s.ALLOW_DATA_ATTR,Dt=s.ALLOW_UNKNOWN_PROTOCOLS||!1,Lt=!1!==s.ALLOW_SELF_CLOSE_IN_ATTR,Ft=s.SAFE_FOR_TEMPLATES||!1,Bt=!1!==s.SAFE_FOR_XML,qt=s.WHOLE_DOCUMENT||!1,Ut=s.RETURN_DOM||!1,zt=s.RETURN_DOM_FRAGMENT||!1,Wt=s.RETURN_TRUSTED_TYPE||!1,Vt=s.FORCE_BODY||!1,Jt=!1!==s.SANITIZE_DOM,Ht=s.SANITIZE_NAMED_PROPS||!1,Gt=!1!==s.KEEP_CONTENT,Yt=s.IN_PLACE||!1,Ot=s.ALLOWED_URI_REGEXP||He,cr=s.NAMESPACE||ar,Pt=s.CUSTOM_ELEMENT_HANDLING||{},s.CUSTOM_ELEMENT_HANDLING&&br(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Pt.tagNameCheck=s.CUSTOM_ELEMENT_HANDLING.tagNameCheck),s.CUSTOM_ELEMENT_HANDLING&&br(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Pt.attributeNameCheck=s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),s.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Pt.allowCustomizedBuiltInElements=s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ft&&(Rt=!1),zt&&(Ut=!0),Xt&&(Ct=addToSet({},Se),jt=[],!0===Xt.html&&(addToSet(Ct,pe),addToSet(jt,we)),!0===Xt.svg&&(addToSet(Ct,de),addToSet(jt,xe),addToSet(jt,Te)),!0===Xt.svgFilters&&(addToSet(Ct,fe),addToSet(jt,xe),addToSet(jt,Te)),!0===Xt.mathMl&&(addToSet(Ct,be),addToSet(jt,Pe),addToSet(jt,Te))),s.ADD_TAGS&&(Ct===At&&(Ct=clone(Ct)),addToSet(Ct,s.ADD_TAGS,gr)),s.ADD_ATTR&&(jt===It&&(jt=clone(jt)),addToSet(jt,s.ADD_ATTR,gr)),s.ADD_URI_SAFE_ATTR&&addToSet(rr,s.ADD_URI_SAFE_ATTR,gr),s.FORBID_CONTENTS&&(Qt===Zt&&(Qt=clone(Qt)),addToSet(Qt,s.FORBID_CONTENTS,gr)),Gt&&(Ct["#text"]=!0),qt&&addToSet(Ct,["html","head","body"]),Ct.table&&(addToSet(Ct,["tbody"]),delete Nt.tbody),s.TRUSTED_TYPES_POLICY){if("function"!=typeof s.TRUSTED_TYPES_POLICY.createHTML)throw le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof s.TRUSTED_TYPES_POLICY.createScriptURL)throw le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');lt=s.TRUSTED_TYPES_POLICY,ut=lt.createHTML("")}else void 0===lt&&(lt=st(Ye,_)),null!==lt&&"string"==typeof ut&&(ut=lt.createHTML(""));w&&w(s),yr=s}},Sr=addToSet({},["mi","mo","mn","ms","mtext"]),wr=addToSet({},["foreignobject","annotation-xml"]),Er=addToSet({},["title","style","font","a","script"]),xr=addToSet({},[...de,...fe,...ye]),kr=addToSet({},[...be,..._e]),Or=function _checkValidNamespace(s){let o=ct(s);o&&o.tagName||(o={namespaceURI:cr,tagName:"template"});const i=U(s.tagName),u=U(o.tagName);return!!ur[s.namespaceURI]&&(s.namespaceURI===ir?o.namespaceURI===ar?"svg"===i:o.namespaceURI===sr?"svg"===i&&("annotation-xml"===u||Sr[u]):Boolean(xr[i]):s.namespaceURI===sr?o.namespaceURI===ar?"math"===i:o.namespaceURI===ir?"math"===i&&wr[u]:Boolean(kr[i]):s.namespaceURI===ar?!(o.namespaceURI===ir&&!wr[u])&&!(o.namespaceURI===sr&&!Sr[u])&&!kr[i]&&(Er[i]||!xr[i]):!("application/xhtml+xml"!==dr||!ur[s.namespaceURI]))},Cr=function _forceRemove(s){V(DOMPurify.removed,{element:s});try{ct(s).removeChild(s)}catch(o){ot(s)}},Ar=function _removeAttribute(s,o){try{V(DOMPurify.removed,{attribute:o.getAttributeNode(s),from:o})}catch(s){V(DOMPurify.removed,{attribute:null,from:o})}if(o.removeAttribute(s),"is"===s&&!jt[s])if(Ut||zt)try{Cr(o)}catch(s){}else try{o.setAttribute(s,"")}catch(s){}},jr=function _initDocument(s){let o=null,u=null;if(Vt)s=""+s;else{const o=Y(s,/^[\r\n\t ]+/);u=o&&o[0]}"application/xhtml+xml"===dr&&cr===ar&&(s=''+s+"");const _=lt?lt.createHTML(s):s;if(cr===ar)try{o=(new We).parseFromString(_,dr)}catch(s){}if(!o||!o.documentElement){o=pt.createDocument(cr,"template",null);try{o.documentElement.innerHTML=lr?ut:_}catch(s){}}const w=o.body||o.documentElement;return s&&u&&w.insertBefore(i.createTextNode(u),w.childNodes[0]||null),cr===ar?mt.call(o,qt?"html":"body")[0]:qt?o.documentElement:w},Ir=function _createNodeIterator(s){return ht.call(s.ownerDocument||s,s,qe.SHOW_ELEMENT|qe.SHOW_COMMENT|qe.SHOW_TEXT|qe.SHOW_PROCESSING_INSTRUCTION|qe.SHOW_CDATA_SECTION,null)},Pr=function _isClobbered(s){return s instanceof ze&&("string"!=typeof s.nodeName||"string"!=typeof s.textContent||"function"!=typeof s.removeChild||!(s.attributes instanceof $e)||"function"!=typeof s.removeAttribute||"function"!=typeof s.setAttribute||"string"!=typeof s.namespaceURI||"function"!=typeof s.insertBefore||"function"!=typeof s.hasChildNodes)},Nr=function _isNode(s){return"function"==typeof L&&s instanceof L},Tr=function _executeHook(s,o,i){yt[s]&&B(yt[s],(s=>{s.call(DOMPurify,o,i,yr)}))},Mr=function _sanitizeElements(s){let o=null;if(Tr("beforeSanitizeElements",s,null),Pr(s))return Cr(s),!0;const i=gr(s.nodeName);if(Tr("uponSanitizeElement",s,{tagName:i,allowedTags:Ct}),s.hasChildNodes()&&!Nr(s.firstElementChild)&&ce(/<[/\w]/g,s.innerHTML)&&ce(/<[/\w]/g,s.textContent))return Cr(s),!0;if(s.nodeType===rt.progressingInstruction)return Cr(s),!0;if(Bt&&s.nodeType===rt.comment&&ce(/<[/\w]/g,s.data))return Cr(s),!0;if(!Ct[i]||Nt[i]){if(!Nt[i]&&Dr(i)){if(Pt.tagNameCheck instanceof RegExp&&ce(Pt.tagNameCheck,i))return!1;if(Pt.tagNameCheck instanceof Function&&Pt.tagNameCheck(i))return!1}if(Gt&&!Qt[i]){const o=ct(s)||s.parentNode,i=at(s)||s.childNodes;if(i&&o)for(let u=i.length-1;u>=0;--u){const _=et(i[u],!0);_.__removalCount=(s.__removalCount||0)+1,o.insertBefore(_,it(s))}}return Cr(s),!0}return s instanceof Re&&!Or(s)?(Cr(s),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!ce(/<\/no(script|embed|frames)/i,s.innerHTML)?(Ft&&s.nodeType===rt.text&&(o=s.textContent,B([vt,bt,_t],(s=>{o=Z(o,s," ")})),s.textContent!==o&&(V(DOMPurify.removed,{element:s.cloneNode()}),s.textContent=o)),Tr("afterSanitizeElements",s,null),!1):(Cr(s),!0)},Rr=function _isValidAttribute(s,o,u){if(Jt&&("id"===o||"name"===o)&&(u in i||u in vr))return!1;if(Rt&&!Tt[o]&&ce(St,o));else if(Mt&&ce(wt,o));else if(!jt[o]||Tt[o]){if(!(Dr(s)&&(Pt.tagNameCheck instanceof RegExp&&ce(Pt.tagNameCheck,s)||Pt.tagNameCheck instanceof Function&&Pt.tagNameCheck(s))&&(Pt.attributeNameCheck instanceof RegExp&&ce(Pt.attributeNameCheck,o)||Pt.attributeNameCheck instanceof Function&&Pt.attributeNameCheck(o))||"is"===o&&Pt.allowCustomizedBuiltInElements&&(Pt.tagNameCheck instanceof RegExp&&ce(Pt.tagNameCheck,u)||Pt.tagNameCheck instanceof Function&&Pt.tagNameCheck(u))))return!1}else if(rr[o]);else if(ce(Ot,Z(u,xt,"")));else if("src"!==o&&"xlink:href"!==o&&"href"!==o||"script"===s||0!==ee(u,"data:")||!er[s])if(Dt&&!ce(Et,Z(u,xt,"")));else if(u)return!1;return!0},Dr=function _isBasicCustomElement(s){return"annotation-xml"!==s&&Y(s,kt)},Lr=function _sanitizeAttributes(s){Tr("beforeSanitizeAttributes",s,null);const{attributes:o}=s;if(!o)return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:jt};let u=o.length;for(;u--;){const _=o[u],{name:w,namespaceURI:x,value:C}=_,j=gr(w);let L="value"===w?C:ie(C);if(i.attrName=j,i.attrValue=L,i.keepAttr=!0,i.forceKeepAttr=void 0,Tr("uponSanitizeAttribute",s,i),L=i.attrValue,Bt&&ce(/((--!?|])>)|<\/(style|title)/i,L)){Ar(w,s);continue}if(i.forceKeepAttr)continue;if(Ar(w,s),!i.keepAttr)continue;if(!Lt&&ce(/\/>/i,L)){Ar(w,s);continue}Ft&&B([vt,bt,_t],(s=>{L=Z(L,s," ")}));const V=gr(s.nodeName);if(Rr(V,j,L)){if(!Ht||"id"!==j&&"name"!==j||(Ar(w,s),L=Kt+L),lt&&"object"==typeof Ye&&"function"==typeof Ye.getAttributeType)if(x);else switch(Ye.getAttributeType(V,j)){case"TrustedHTML":L=lt.createHTML(L);break;case"TrustedScriptURL":L=lt.createScriptURL(L)}try{x?s.setAttributeNS(x,w,L):s.setAttribute(w,L),Pr(s)?Cr(s):$(DOMPurify.removed)}catch(s){}}}Tr("afterSanitizeAttributes",s,null)},Fr=function _sanitizeShadowDOM(s){let o=null;const i=Ir(s);for(Tr("beforeSanitizeShadowDOM",s,null);o=i.nextNode();)Tr("uponSanitizeShadowNode",o,null),Mr(o)||(o.content instanceof x&&_sanitizeShadowDOM(o.content),Lr(o));Tr("afterSanitizeShadowDOM",s,null)};return DOMPurify.sanitize=function(s){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,_=null,w=null,C=null;if(lr=!s,lr&&(s="\x3c!--\x3e"),"string"!=typeof s&&!Nr(s)){if("function"!=typeof s.toString)throw le("toString is not a function");if("string"!=typeof(s=s.toString()))throw le("dirty is not a string, aborting")}if(!DOMPurify.isSupported)return s;if($t||_r(o),DOMPurify.removed=[],"string"==typeof s&&(Yt=!1),Yt){if(s.nodeName){const o=gr(s.nodeName);if(!Ct[o]||Nt[o])throw le("root node is forbidden and cannot be sanitized in-place")}}else if(s instanceof L)i=jr("\x3c!----\x3e"),_=i.ownerDocument.importNode(s,!0),_.nodeType===rt.element&&"BODY"===_.nodeName||"HTML"===_.nodeName?i=_:i.appendChild(_);else{if(!Ut&&!Ft&&!qt&&-1===s.indexOf("<"))return lt&&Wt?lt.createHTML(s):s;if(i=jr(s),!i)return Ut?null:Wt?ut:""}i&&Vt&&Cr(i.firstChild);const j=Ir(Yt?s:i);for(;w=j.nextNode();)Mr(w)||(w.content instanceof x&&Fr(w.content),Lr(w));if(Yt)return s;if(Ut){if(zt)for(C=dt.call(i.ownerDocument);i.firstChild;)C.appendChild(i.firstChild);else C=i;return(jt.shadowroot||jt.shadowrootmode)&&(C=gt.call(u,C,!0)),C}let $=qt?i.outerHTML:i.innerHTML;return qt&&Ct["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&ce(Qe,i.ownerDocument.doctype.name)&&($="\n"+$),Ft&&B([vt,bt,_t],(s=>{$=Z($,s," ")})),lt&&Wt?lt.createHTML($):$},DOMPurify.setConfig=function(){_r(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),$t=!0},DOMPurify.clearConfig=function(){yr=null,$t=!1},DOMPurify.isValidAttribute=function(s,o,i){yr||_r({});const u=gr(s),_=gr(o);return Rr(u,_,i)},DOMPurify.addHook=function(s,o){"function"==typeof o&&(yt[s]=yt[s]||[],V(yt[s],o))},DOMPurify.removeHook=function(s){if(yt[s])return $(yt[s])},DOMPurify.removeHooks=function(s){yt[s]&&(yt[s]=[])},DOMPurify.removeAllHooks=function(){yt={}},DOMPurify}return createDOMPurify()}()},78004:s=>{"use strict";class SubRange{constructor(s,o){this.low=s,this.high=o,this.length=1+o-s}overlaps(s){return!(this.highs.high)}touches(s){return!(this.high+1s.high)}add(s){return new SubRange(Math.min(this.low,s.low),Math.max(this.high,s.high))}subtract(s){return s.low<=this.low&&s.high>=this.high?[]:s.low>this.low&&s.highs+o.length),0)}add(s,o){var _add=s=>{for(var o=0;o{for(var o=0;o{for(var o=0;o{for(var i=o.low;i<=o.high;)s.push(i),i++;return s}),[])}subranges(){return this.ranges.map((s=>({low:s.low,high:s.high,length:1+s.high-s.low})))}}s.exports=DRange},37007:s=>{"use strict";var o,i="object"==typeof Reflect?Reflect:null,u=i&&"function"==typeof i.apply?i.apply:function ReflectApply(s,o,i){return Function.prototype.apply.call(s,o,i)};o=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function ReflectOwnKeys(s){return Object.getOwnPropertyNames(s).concat(Object.getOwnPropertySymbols(s))}:function ReflectOwnKeys(s){return Object.getOwnPropertyNames(s)};var _=Number.isNaN||function NumberIsNaN(s){return s!=s};function EventEmitter(){EventEmitter.init.call(this)}s.exports=EventEmitter,s.exports.once=function once(s,o){return new Promise((function(i,u){function errorListener(i){s.removeListener(o,resolver),u(i)}function resolver(){"function"==typeof s.removeListener&&s.removeListener("error",errorListener),i([].slice.call(arguments))}eventTargetAgnosticAddListener(s,o,resolver,{once:!0}),"error"!==o&&function addErrorHandlerIfEventEmitter(s,o,i){"function"==typeof s.on&&eventTargetAgnosticAddListener(s,"error",o,i)}(s,errorListener,{once:!0})}))},EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var w=10;function checkListener(s){if("function"!=typeof s)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof s)}function _getMaxListeners(s){return void 0===s._maxListeners?EventEmitter.defaultMaxListeners:s._maxListeners}function _addListener(s,o,i,u){var _,w,x;if(checkListener(i),void 0===(w=s._events)?(w=s._events=Object.create(null),s._eventsCount=0):(void 0!==w.newListener&&(s.emit("newListener",o,i.listener?i.listener:i),w=s._events),x=w[o]),void 0===x)x=w[o]=i,++s._eventsCount;else if("function"==typeof x?x=w[o]=u?[i,x]:[x,i]:u?x.unshift(i):x.push(i),(_=_getMaxListeners(s))>0&&x.length>_&&!x.warned){x.warned=!0;var C=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+String(o)+" listeners added. Use emitter.setMaxListeners() to increase limit");C.name="MaxListenersExceededWarning",C.emitter=s,C.type=o,C.count=x.length,function ProcessEmitWarning(s){console&&console.warn&&console.warn(s)}(C)}return s}function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(s,o,i){var u={fired:!1,wrapFn:void 0,target:s,type:o,listener:i},_=onceWrapper.bind(u);return _.listener=i,u.wrapFn=_,_}function _listeners(s,o,i){var u=s._events;if(void 0===u)return[];var _=u[o];return void 0===_?[]:"function"==typeof _?i?[_.listener||_]:[_]:i?function unwrapListeners(s){for(var o=new Array(s.length),i=0;i0&&(x=o[0]),x instanceof Error)throw x;var C=new Error("Unhandled error."+(x?" ("+x.message+")":""));throw C.context=x,C}var j=w[s];if(void 0===j)return!1;if("function"==typeof j)u(j,this,o);else{var L=j.length,B=arrayClone(j,L);for(i=0;i=0;w--)if(i[w]===o||i[w].listener===o){x=i[w].listener,_=w;break}if(_<0)return this;0===_?i.shift():function spliceOne(s,o){for(;o+1=0;u--)this.removeListener(s,o[u]);return this},EventEmitter.prototype.listeners=function listeners(s){return _listeners(this,s,!0)},EventEmitter.prototype.rawListeners=function rawListeners(s){return _listeners(this,s,!1)},EventEmitter.listenerCount=function(s,o){return"function"==typeof s.listenerCount?s.listenerCount(o):listenerCount.call(s,o)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount>0?o(this._events):[]}},85587:(s,o,i)=>{"use strict";var u=i(26311),_=create(Error);function create(s){return FormattedError.displayName=s.displayName||s.name,FormattedError;function FormattedError(o){return o&&(o=u.apply(null,arguments)),new s(o)}}s.exports=_,_.eval=create(EvalError),_.range=create(RangeError),_.reference=create(ReferenceError),_.syntax=create(SyntaxError),_.type=create(TypeError),_.uri=create(URIError),_.create=create},26311:s=>{!function(){var o;function format(s){for(var o,i,u,_,w=1,x=[].slice.call(arguments),C=0,j=s.length,L="",B=!1,$=!1,nextArg=function(){return x[w++]},slurpNumber=function(){for(var i="";/\d/.test(s[C]);)i+=s[C++],o=s[C];return i.length>0?parseInt(i):null};C{function deepFreeze(s){return s instanceof Map?s.clear=s.delete=s.set=function(){throw new Error("map is read-only")}:s instanceof Set&&(s.add=s.clear=s.delete=function(){throw new Error("set is read-only")}),Object.freeze(s),Object.getOwnPropertyNames(s).forEach((function(o){var i=s[o];"object"!=typeof i||Object.isFrozen(i)||deepFreeze(i)})),s}var o=deepFreeze,i=deepFreeze;o.default=i;class Response{constructor(s){void 0===s.data&&(s.data={}),this.data=s.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function escapeHTML(s){return s.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit(s,...o){const i=Object.create(null);for(const o in s)i[o]=s[o];return o.forEach((function(s){for(const o in s)i[o]=s[o]})),i}const emitsWrappingTags=s=>!!s.kind;class HTMLRenderer{constructor(s,o){this.buffer="",this.classPrefix=o.classPrefix,s.walk(this)}addText(s){this.buffer+=escapeHTML(s)}openNode(s){if(!emitsWrappingTags(s))return;let o=s.kind;s.sublanguage||(o=`${this.classPrefix}${o}`),this.span(o)}closeNode(s){emitsWrappingTags(s)&&(this.buffer+="")}value(){return this.buffer}span(s){this.buffer+=``}}class TokenTree{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(s){this.top.children.push(s)}openNode(s){const o={kind:s,children:[]};this.add(o),this.stack.push(o)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(s){return this.constructor._walk(s,this.rootNode)}static _walk(s,o){return"string"==typeof o?s.addText(o):o.children&&(s.openNode(o),o.children.forEach((o=>this._walk(s,o))),s.closeNode(o)),s}static _collapse(s){"string"!=typeof s&&s.children&&(s.children.every((s=>"string"==typeof s))?s.children=[s.children.join("")]:s.children.forEach((s=>{TokenTree._collapse(s)})))}}class TokenTreeEmitter extends TokenTree{constructor(s){super(),this.options=s}addKeyword(s,o){""!==s&&(this.openNode(o),this.addText(s),this.closeNode())}addText(s){""!==s&&this.add(s)}addSublanguage(s,o){const i=s.root;i.kind=o,i.sublanguage=!0,this.add(i)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return!0}}function source(s){return s?"string"==typeof s?s:s.source:null}const u=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;const _="[a-zA-Z]\\w*",w="[a-zA-Z_]\\w*",x="\\b\\d+(\\.\\d+)?",C="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",j="\\b(0b[01]+)",L={begin:"\\\\[\\s\\S]",relevance:0},B={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[L]},$={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[L]},V={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(s,o,i={}){const u=inherit({className:"comment",begin:s,end:o,contains:[]},i);return u.contains.push(V),u.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),u},U=COMMENT("//","$"),z=COMMENT("/\\*","\\*/"),Y=COMMENT("#","$"),Z={className:"number",begin:x,relevance:0},ee={className:"number",begin:C,relevance:0},ie={className:"number",begin:j,relevance:0},ae={className:"number",begin:x+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},ce={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[L,{begin:/\[/,end:/\]/,relevance:0,contains:[L]}]}]},le={className:"title",begin:_,relevance:0},pe={className:"title",begin:w,relevance:0},de={begin:"\\.\\s*"+w,relevance:0};var fe=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:_,UNDERSCORE_IDENT_RE:w,NUMBER_RE:x,C_NUMBER_RE:C,BINARY_NUMBER_RE:j,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(s={})=>{const o=/^#![ ]*\//;return s.binary&&(s.begin=function concat(...s){return s.map((s=>source(s))).join("")}(o,/.*\b/,s.binary,/\b.*/)),inherit({className:"meta",begin:o,end:/$/,relevance:0,"on:begin":(s,o)=>{0!==s.index&&o.ignoreMatch()}},s)},BACKSLASH_ESCAPE:L,APOS_STRING_MODE:B,QUOTE_STRING_MODE:$,PHRASAL_WORDS_MODE:V,COMMENT,C_LINE_COMMENT_MODE:U,C_BLOCK_COMMENT_MODE:z,HASH_COMMENT_MODE:Y,NUMBER_MODE:Z,C_NUMBER_MODE:ee,BINARY_NUMBER_MODE:ie,CSS_NUMBER_MODE:ae,REGEXP_MODE:ce,TITLE_MODE:le,UNDERSCORE_TITLE_MODE:pe,METHOD_GUARD:de,END_SAME_AS_BEGIN:function(s){return Object.assign(s,{"on:begin":(s,o)=>{o.data._beginMatch=s[1]},"on:end":(s,o)=>{o.data._beginMatch!==s[1]&&o.ignoreMatch()}})}});function skipIfhasPrecedingDot(s,o){"."===s.input[s.index-1]&&o.ignoreMatch()}function beginKeywords(s,o){o&&s.beginKeywords&&(s.begin="\\b("+s.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",s.__beforeBegin=skipIfhasPrecedingDot,s.keywords=s.keywords||s.beginKeywords,delete s.beginKeywords,void 0===s.relevance&&(s.relevance=0))}function compileIllegal(s,o){Array.isArray(s.illegal)&&(s.illegal=function either(...s){return"("+s.map((s=>source(s))).join("|")+")"}(...s.illegal))}function compileMatch(s,o){if(s.match){if(s.begin||s.end)throw new Error("begin & end are not supported with match");s.begin=s.match,delete s.match}}function compileRelevance(s,o){void 0===s.relevance&&(s.relevance=1)}const ye=["of","and","for","in","not","or","if","then","parent","list","value"];function compileKeywords(s,o,i="keyword"){const u={};return"string"==typeof s?compileList(i,s.split(" ")):Array.isArray(s)?compileList(i,s):Object.keys(s).forEach((function(i){Object.assign(u,compileKeywords(s[i],o,i))})),u;function compileList(s,i){o&&(i=i.map((s=>s.toLowerCase()))),i.forEach((function(o){const i=o.split("|");u[i[0]]=[s,scoreForKeyword(i[0],i[1])]}))}}function scoreForKeyword(s,o){return o?Number(o):function commonKeyword(s){return ye.includes(s.toLowerCase())}(s)?0:1}function compileLanguage(s,{plugins:o}){function langRe(o,i){return new RegExp(source(o),"m"+(s.case_insensitive?"i":"")+(i?"g":""))}class MultiRegex{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,o){o.position=this.position++,this.matchIndexes[this.matchAt]=o,this.regexes.push([o,s]),this.matchAt+=function countMatchGroups(s){return new RegExp(s.toString()+"|").exec("").length-1}(s)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const s=this.regexes.map((s=>s[1]));this.matcherRe=langRe(function join(s,o="|"){let i=0;return s.map((s=>{i+=1;const o=i;let _=source(s),w="";for(;_.length>0;){const s=u.exec(_);if(!s){w+=_;break}w+=_.substring(0,s.index),_=_.substring(s.index+s[0].length),"\\"===s[0][0]&&s[1]?w+="\\"+String(Number(s[1])+o):(w+=s[0],"("===s[0]&&i++)}return w})).map((s=>`(${s})`)).join(o)}(s),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const o=this.matcherRe.exec(s);if(!o)return null;const i=o.findIndex(((s,o)=>o>0&&void 0!==s)),u=this.matchIndexes[i];return o.splice(0,i),Object.assign(o,u)}}class ResumableMultiRegex{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const o=new MultiRegex;return this.rules.slice(s).forEach((([s,i])=>o.addRule(s,i))),o.compile(),this.multiRegexes[s]=o,o}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(s,o){this.rules.push([s,o]),"begin"===o.type&&this.count++}exec(s){const o=this.getMatcher(this.regexIndex);o.lastIndex=this.lastIndex;let i=o.exec(s);if(this.resumingScanAtSamePosition())if(i&&i.index===this.lastIndex);else{const o=this.getMatcher(0);o.lastIndex=this.lastIndex+1,i=o.exec(s)}return i&&(this.regexIndex+=i.position+1,this.regexIndex===this.count&&this.considerAll()),i}}if(s.compilerExtensions||(s.compilerExtensions=[]),s.contains&&s.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return s.classNameAliases=inherit(s.classNameAliases||{}),function compileMode(o,i){const u=o;if(o.isCompiled)return u;[compileMatch].forEach((s=>s(o,i))),s.compilerExtensions.forEach((s=>s(o,i))),o.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach((s=>s(o,i))),o.isCompiled=!0;let _=null;if("object"==typeof o.keywords&&(_=o.keywords.$pattern,delete o.keywords.$pattern),o.keywords&&(o.keywords=compileKeywords(o.keywords,s.case_insensitive)),o.lexemes&&_)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return _=_||o.lexemes||/\w+/,u.keywordPatternRe=langRe(_,!0),i&&(o.begin||(o.begin=/\B|\b/),u.beginRe=langRe(o.begin),o.endSameAsBegin&&(o.end=o.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(u.endRe=langRe(o.end)),u.terminatorEnd=source(o.end)||"",o.endsWithParent&&i.terminatorEnd&&(u.terminatorEnd+=(o.end?"|":"")+i.terminatorEnd)),o.illegal&&(u.illegalRe=langRe(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(s){return function expandOrCloneMode(s){s.variants&&!s.cachedVariants&&(s.cachedVariants=s.variants.map((function(o){return inherit(s,{variants:null},o)})));if(s.cachedVariants)return s.cachedVariants;if(dependencyOnParent(s))return inherit(s,{starts:s.starts?inherit(s.starts):null});if(Object.isFrozen(s))return inherit(s);return s}("self"===s?o:s)}))),o.contains.forEach((function(s){compileMode(s,u)})),o.starts&&compileMode(o.starts,i),u.matcher=function buildModeRegex(s){const o=new ResumableMultiRegex;return s.contains.forEach((s=>o.addRule(s.begin,{rule:s,type:"begin"}))),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}(u),u}(s)}function dependencyOnParent(s){return!!s&&(s.endsWithParent||dependencyOnParent(s.starts))}function BuildVuePlugin(s){const o={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!s.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,escapeHTML(this.code);let o={};return this.autoDetect?(o=s.highlightAuto(this.code),this.detectedLanguage=o.language):(o=s.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),o.value},autoDetect(){return!this.language||function hasValueOrEmptyAttribute(s){return Boolean(s||""===s)}(this.autodetect)},ignoreIllegals:()=>!0},render(s){return s("pre",{},[s("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:o,VuePlugin:{install(s){s.component("highlightjs",o)}}}}const be={"after:highlightElement":({el:s,result:o,text:i})=>{const u=nodeStream(s);if(!u.length)return;const _=document.createElement("div");_.innerHTML=o.value,o.value=function mergeStreams(s,o,i){let u=0,_="";const w=[];function selectStream(){return s.length&&o.length?s[0].offset!==o[0].offset?s[0].offset"}function close(s){_+=""}function render(s){("start"===s.event?open:close)(s.node)}for(;s.length||o.length;){let o=selectStream();if(_+=escapeHTML(i.substring(u,o[0].offset)),u=o[0].offset,o===s){w.reverse().forEach(close);do{render(o.splice(0,1)[0]),o=selectStream()}while(o===s&&o.length&&o[0].offset===u);w.reverse().forEach(open)}else"start"===o[0].event?w.push(o[0].node):w.pop(),render(o.splice(0,1)[0])}return _+escapeHTML(i.substr(u))}(u,nodeStream(_),i)}};function tag(s){return s.nodeName.toLowerCase()}function nodeStream(s){const o=[];return function _nodeStream(s,i){for(let u=s.firstChild;u;u=u.nextSibling)3===u.nodeType?i+=u.nodeValue.length:1===u.nodeType&&(o.push({event:"start",offset:i,node:u}),i=_nodeStream(u,i),tag(u).match(/br|hr|img|input/)||o.push({event:"stop",offset:i,node:u}));return i}(s,0),o}const _e={},error=s=>{console.error(s)},warn=(s,...o)=>{console.log(`WARN: ${s}`,...o)},deprecated=(s,o)=>{_e[`${s}/${o}`]||(console.log(`Deprecated as of ${s}. ${o}`),_e[`${s}/${o}`]=!0)},Se=escapeHTML,we=inherit,xe=Symbol("nomatch");var Pe=function(s){const i=Object.create(null),u=Object.create(null),_=[];let w=!0;const x=/(^(<[^>]+>|\t|)+|\n)/gm,C="Could not find the language '{}', did you forget to load/include a language module?",j={disableAutodetect:!0,name:"Plain text",contains:[]};let L={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:TokenTreeEmitter};function shouldNotHighlight(s){return L.noHighlightRe.test(s)}function highlight(s,o,i,u){let _="",w="";"object"==typeof o?(_=s,i=o.ignoreIllegals,w=o.language,u=void 0):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),w=s,_=o);const x={code:_,language:w};fire("before:highlight",x);const C=x.result?x.result:_highlight(x.language,x.code,i,u);return C.code=x.code,fire("after:highlight",C),C}function _highlight(s,o,u,x){function keywordData(s,o){const i=B.case_insensitive?o[0].toLowerCase():o[0];return Object.prototype.hasOwnProperty.call(s.keywords,i)&&s.keywords[i]}function processBuffer(){null!=U.subLanguage?function processSubLanguage(){if(""===Z)return;let s=null;if("string"==typeof U.subLanguage){if(!i[U.subLanguage])return void Y.addText(Z);s=_highlight(U.subLanguage,Z,!0,z[U.subLanguage]),z[U.subLanguage]=s.top}else s=highlightAuto(Z,U.subLanguage.length?U.subLanguage:null);U.relevance>0&&(ee+=s.relevance),Y.addSublanguage(s.emitter,s.language)}():function processKeywords(){if(!U.keywords)return void Y.addText(Z);let s=0;U.keywordPatternRe.lastIndex=0;let o=U.keywordPatternRe.exec(Z),i="";for(;o;){i+=Z.substring(s,o.index);const u=keywordData(U,o);if(u){const[s,_]=u;if(Y.addText(i),i="",ee+=_,s.startsWith("_"))i+=o[0];else{const i=B.classNameAliases[s]||s;Y.addKeyword(o[0],i)}}else i+=o[0];s=U.keywordPatternRe.lastIndex,o=U.keywordPatternRe.exec(Z)}i+=Z.substr(s),Y.addText(i)}(),Z=""}function startNewMode(s){return s.className&&Y.openNode(B.classNameAliases[s.className]||s.className),U=Object.create(s,{parent:{value:U}}),U}function endOfMode(s,o,i){let u=function startsWith(s,o){const i=s&&s.exec(o);return i&&0===i.index}(s.endRe,i);if(u){if(s["on:end"]){const i=new Response(s);s["on:end"](o,i),i.isMatchIgnored&&(u=!1)}if(u){for(;s.endsParent&&s.parent;)s=s.parent;return s}}if(s.endsWithParent)return endOfMode(s.parent,o,i)}function doIgnore(s){return 0===U.matcher.regexIndex?(Z+=s[0],1):(ce=!0,0)}function doBeginMatch(s){const o=s[0],i=s.rule,u=new Response(i),_=[i.__beforeBegin,i["on:begin"]];for(const i of _)if(i&&(i(s,u),u.isMatchIgnored))return doIgnore(o);return i&&i.endSameAsBegin&&(i.endRe=function escape(s){return new RegExp(s.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(o)),i.skip?Z+=o:(i.excludeBegin&&(Z+=o),processBuffer(),i.returnBegin||i.excludeBegin||(Z=o)),startNewMode(i),i.returnBegin?0:o.length}function doEndMatch(s){const i=s[0],u=o.substr(s.index),_=endOfMode(U,s,u);if(!_)return xe;const w=U;w.skip?Z+=i:(w.returnEnd||w.excludeEnd||(Z+=i),processBuffer(),w.excludeEnd&&(Z=i));do{U.className&&Y.closeNode(),U.skip||U.subLanguage||(ee+=U.relevance),U=U.parent}while(U!==_.parent);return _.starts&&(_.endSameAsBegin&&(_.starts.endRe=_.endRe),startNewMode(_.starts)),w.returnEnd?0:i.length}let j={};function processLexeme(i,_){const x=_&&_[0];if(Z+=i,null==x)return processBuffer(),0;if("begin"===j.type&&"end"===_.type&&j.index===_.index&&""===x){if(Z+=o.slice(_.index,_.index+1),!w){const o=new Error("0 width match regex");throw o.languageName=s,o.badRule=j.rule,o}return 1}if(j=_,"begin"===_.type)return doBeginMatch(_);if("illegal"===_.type&&!u){const s=new Error('Illegal lexeme "'+x+'" for mode "'+(U.className||"")+'"');throw s.mode=U,s}if("end"===_.type){const s=doEndMatch(_);if(s!==xe)return s}if("illegal"===_.type&&""===x)return 1;if(ae>1e5&&ae>3*_.index){throw new Error("potential infinite loop, way more iterations than matches")}return Z+=x,x.length}const B=getLanguage(s);if(!B)throw error(C.replace("{}",s)),new Error('Unknown language: "'+s+'"');const $=compileLanguage(B,{plugins:_});let V="",U=x||$;const z={},Y=new L.__emitter(L);!function processContinuations(){const s=[];for(let o=U;o!==B;o=o.parent)o.className&&s.unshift(o.className);s.forEach((s=>Y.openNode(s)))}();let Z="",ee=0,ie=0,ae=0,ce=!1;try{for(U.matcher.considerAll();;){ae++,ce?ce=!1:U.matcher.considerAll(),U.matcher.lastIndex=ie;const s=U.matcher.exec(o);if(!s)break;const i=processLexeme(o.substring(ie,s.index),s);ie=s.index+i}return processLexeme(o.substr(ie)),Y.closeAllNodes(),Y.finalize(),V=Y.toHTML(),{relevance:Math.floor(ee),value:V,language:s,illegal:!1,emitter:Y,top:U}}catch(i){if(i.message&&i.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:i.message,context:o.slice(ie-100,ie+100),mode:i.mode},sofar:V,relevance:0,value:Se(o),emitter:Y};if(w)return{illegal:!1,relevance:0,value:Se(o),emitter:Y,language:s,top:U,errorRaised:i};throw i}}function highlightAuto(s,o){o=o||L.languages||Object.keys(i);const u=function justTextHighlightResult(s){const o={relevance:0,emitter:new L.__emitter(L),value:Se(s),illegal:!1,top:j};return o.emitter.addText(s),o}(s),_=o.filter(getLanguage).filter(autoDetection).map((o=>_highlight(o,s,!1)));_.unshift(u);const w=_.sort(((s,o)=>{if(s.relevance!==o.relevance)return o.relevance-s.relevance;if(s.language&&o.language){if(getLanguage(s.language).supersetOf===o.language)return 1;if(getLanguage(o.language).supersetOf===s.language)return-1}return 0})),[x,C]=w,B=x;return B.second_best=C,B}const B={"before:highlightElement":({el:s})=>{L.useBR&&(s.innerHTML=s.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:s})=>{L.useBR&&(s.value=s.value.replace(/\n/g,"
"))}},$=/^(<[^>]+>|\t)+/gm,V={"after:highlightElement":({result:s})=>{L.tabReplace&&(s.value=s.value.replace($,(s=>s.replace(/\t/g,L.tabReplace))))}};function highlightElement(s){let o=null;const i=function blockLanguage(s){let o=s.className+" ";o+=s.parentNode?s.parentNode.className:"";const i=L.languageDetectRe.exec(o);if(i){const o=getLanguage(i[1]);return o||(warn(C.replace("{}",i[1])),warn("Falling back to no-highlight mode for this block.",s)),o?i[1]:"no-highlight"}return o.split(/\s+/).find((s=>shouldNotHighlight(s)||getLanguage(s)))}(s);if(shouldNotHighlight(i))return;fire("before:highlightElement",{el:s,language:i}),o=s;const _=o.textContent,w=i?highlight(_,{language:i,ignoreIllegals:!0}):highlightAuto(_);fire("after:highlightElement",{el:s,result:w,text:_}),s.innerHTML=w.value,function updateClassName(s,o,i){const _=o?u[o]:i;s.classList.add("hljs"),_&&s.classList.add(_)}(s,i,w.language),s.result={language:w.language,re:w.relevance,relavance:w.relevance},w.second_best&&(s.second_best={language:w.second_best.language,re:w.second_best.relevance,relavance:w.second_best.relevance})}const initHighlighting=()=>{if(initHighlighting.called)return;initHighlighting.called=!0,deprecated("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");document.querySelectorAll("pre code").forEach(highlightElement)};let U=!1;function highlightAll(){if("loading"===document.readyState)return void(U=!0);document.querySelectorAll("pre code").forEach(highlightElement)}function getLanguage(s){return s=(s||"").toLowerCase(),i[s]||i[u[s]]}function registerAliases(s,{languageName:o}){"string"==typeof s&&(s=[s]),s.forEach((s=>{u[s.toLowerCase()]=o}))}function autoDetection(s){const o=getLanguage(s);return o&&!o.disableAutodetect}function fire(s,o){const i=s;_.forEach((function(s){s[i]&&s[i](o)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function boot(){U&&highlightAll()}),!1),Object.assign(s,{highlight,highlightAuto,highlightAll,fixMarkup:function deprecateFixMarkup(s){return deprecated("10.2.0","fixMarkup will be removed entirely in v11.0"),deprecated("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function fixMarkup(s){return L.tabReplace||L.useBR?s.replace(x,(s=>"\n"===s?L.useBR?"
":s:L.tabReplace?s.replace(/\t/g,L.tabReplace):s)):s}(s)},highlightElement,highlightBlock:function deprecateHighlightBlock(s){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),highlightElement(s)},configure:function configure(s){s.useBR&&(deprecated("10.3.0","'useBR' will be removed entirely in v11.0"),deprecated("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),L=we(L,s)},initHighlighting,initHighlightingOnLoad:function initHighlightingOnLoad(){deprecated("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),U=!0},registerLanguage:function registerLanguage(o,u){let _=null;try{_=u(s)}catch(s){if(error("Language definition for '{}' could not be registered.".replace("{}",o)),!w)throw s;error(s),_=j}_.name||(_.name=o),i[o]=_,_.rawDefinition=u.bind(null,s),_.aliases&®isterAliases(_.aliases,{languageName:o})},unregisterLanguage:function unregisterLanguage(s){delete i[s];for(const o of Object.keys(u))u[o]===s&&delete u[o]},listLanguages:function listLanguages(){return Object.keys(i)},getLanguage,registerAliases,requireLanguage:function requireLanguage(s){deprecated("10.4.0","requireLanguage will be removed entirely in v11."),deprecated("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const o=getLanguage(s);if(o)return o;throw new Error("The '{}' language is required, but not loaded.".replace("{}",s))},autoDetection,inherit:we,addPlugin:function addPlugin(s){!function upgradePluginAPI(s){s["before:highlightBlock"]&&!s["before:highlightElement"]&&(s["before:highlightElement"]=o=>{s["before:highlightBlock"](Object.assign({block:o.el},o))}),s["after:highlightBlock"]&&!s["after:highlightElement"]&&(s["after:highlightElement"]=o=>{s["after:highlightBlock"](Object.assign({block:o.el},o))})}(s),_.push(s)},vuePlugin:BuildVuePlugin(s).VuePlugin}),s.debugMode=function(){w=!1},s.safeMode=function(){w=!0},s.versionString="10.7.3";for(const s in fe)"object"==typeof fe[s]&&o(fe[s]);return Object.assign(s,fe),s.addPlugin(B),s.addPlugin(be),s.addPlugin(V),s}({});s.exports=Pe},35344:s=>{function concat(...s){return s.map((s=>function source(s){return s?"string"==typeof s?s:s.source:null}(s))).join("")}s.exports=function bash(s){const o={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[o]}]};Object.assign(o,{className:"variable",variants:[{begin:concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const u={className:"subst",begin:/\$\(/,end:/\)/,contains:[s.BACKSLASH_ESCAPE]},_={begin:/<<-?\s*(?=\w+)/,starts:{contains:[s.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},w={className:"string",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE,o,u]};u.contains.push(w);const x={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},s.NUMBER_MODE,o]},C=s.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),j={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[s.inherit(s.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[C,s.SHEBANG(),j,x,s.HASH_COMMENT_MODE,_,w,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},o]}}},73402:s=>{function concat(...s){return s.map((s=>function source(s){return s?"string"==typeof s?s:s.source:null}(s))).join("")}s.exports=function http(s){const o="HTTP/(2|1\\.[01])",i={className:"attribute",begin:concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},u=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+o+" \\d{3})",end:/$/,contains:[{className:"meta",begin:o},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:u}},{begin:"(?=^[A-Z]+ (.*?) "+o+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:o},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:u}},s.inherit(i,{relevance:0})]}}},95089:s=>{const o="[A-Za-z$_][0-9A-Za-z$_]*",i=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],u=["true","false","null","undefined","NaN","Infinity"],_=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function lookahead(s){return concat("(?=",s,")")}function concat(...s){return s.map((s=>function source(s){return s?"string"==typeof s?s:s.source:null}(s))).join("")}s.exports=function javascript(s){const w=o,x="<>",C="",j={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,o)=>{const i=s[0].length+s.index,u=s.input[i];"<"!==u?">"===u&&(((s,{after:o})=>{const i="",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:s.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:L,contains:le}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:x,end:C},{begin:j.begin,"on:begin":j.isTrulyOpeningTag,end:j.end}],subLanguage:"xml",contains:[{begin:j.begin,end:j.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:L,contains:["self",s.inherit(s.TITLE_MODE,{begin:w}),pe],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:s.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[pe,s.inherit(s.TITLE_MODE,{begin:w})]},{variants:[{begin:"\\."+w},{begin:"\\$"+w}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},s.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[s.inherit(s.TITLE_MODE,{begin:w}),"self",pe]},{begin:"(get|set)\\s+(?="+w+"\\()",end:/\{/,keywords:"get set",contains:[s.inherit(s.TITLE_MODE,{begin:w}),{begin:/\(\)/},pe]},{begin:/\$[(.]/}]}}},65772:s=>{s.exports=function json(s){const o={literal:"true false null"},i=[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE],u=[s.QUOTE_STRING_MODE,s.C_NUMBER_MODE],_={end:",",endsWithParent:!0,excludeEnd:!0,contains:u,keywords:o},w={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE],illegal:"\\n"},s.inherit(_,{begin:/:/})].concat(i),illegal:"\\S"},x={begin:"\\[",end:"\\]",contains:[s.inherit(_)],illegal:"\\S"};return u.push(w,x),i.forEach((function(s){u.push(s)})),{name:"JSON",contains:u,keywords:o,illegal:"\\S"}}},26571:s=>{s.exports=function powershell(s){const o={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},i={begin:"`[\\s\\S]",relevance:0},u={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},_={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[i,u,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},w={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},x=s.inherit(s.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),C={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},j={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[s.TITLE_MODE]},L={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[u]}]},B={begin:/using\s/,end:/$/,returnBegin:!0,contains:[_,w,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},$={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},V={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(o.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},s.inherit(s.TITLE_MODE,{endsParent:!0})]},U=[V,x,i,s.NUMBER_MODE,_,w,C,u,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],z={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",U,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return V.contains.unshift(z),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:o,contains:U.concat(j,L,B,$,z)}}},17285:s=>{function source(s){return s?"string"==typeof s?s:s.source:null}function lookahead(s){return concat("(?=",s,")")}function concat(...s){return s.map((s=>source(s))).join("")}function either(...s){return"("+s.map((s=>source(s))).join("|")+")"}s.exports=function xml(s){const o=concat(/[A-Z_]/,function optional(s){return concat("(",s,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},u={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},_=s.inherit(u,{begin:/\(/,end:/\)/}),w=s.inherit(s.APOS_STRING_MODE,{className:"meta-string"}),x=s.inherit(s.QUOTE_STRING_MODE,{className:"meta-string"}),C={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[u,x,w,_,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[u,_,x,w]}]}]},s.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[C],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[C],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:o,relevance:0,starts:C}]},{className:"tag",begin:concat(/<\//,lookahead(concat(o,/>/))),contains:[{className:"name",begin:o,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},17533:s=>{s.exports=function yaml(s){var o="true false yes no null",i="[\\w#;/?:@&=+$,.~*'()[\\]]+",u={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[s.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},_=s.inherit(u,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),w={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},x={end:",",endsWithParent:!0,excludeEnd:!0,keywords:o,relevance:0},C={begin:/\{/,end:/\}/,contains:[x],illegal:"\\n",relevance:0},j={begin:"\\[",end:"\\]",contains:[x],illegal:"\\n",relevance:0},L=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+i},{className:"type",begin:"!<"+i+">"},{className:"type",begin:"!"+i},{className:"type",begin:"!!"+i},{className:"meta",begin:"&"+s.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+s.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},s.HASH_COMMENT_MODE,{beginKeywords:o,keywords:{literal:o}},w,{className:"number",begin:s.C_NUMBER_RE+"\\b",relevance:0},C,j,u],B=[...L];return B.pop(),B.push(_),x.contains=B,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:L}}},251:(s,o)=>{o.read=function(s,o,i,u,_){var w,x,C=8*_-u-1,j=(1<>1,B=-7,$=i?_-1:0,V=i?-1:1,U=s[o+$];for($+=V,w=U&(1<<-B)-1,U>>=-B,B+=C;B>0;w=256*w+s[o+$],$+=V,B-=8);for(x=w&(1<<-B)-1,w>>=-B,B+=u;B>0;x=256*x+s[o+$],$+=V,B-=8);if(0===w)w=1-L;else{if(w===j)return x?NaN:1/0*(U?-1:1);x+=Math.pow(2,u),w-=L}return(U?-1:1)*x*Math.pow(2,w-u)},o.write=function(s,o,i,u,_,w){var x,C,j,L=8*w-_-1,B=(1<>1,V=23===_?Math.pow(2,-24)-Math.pow(2,-77):0,U=u?0:w-1,z=u?1:-1,Y=o<0||0===o&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(C=isNaN(o)?1:0,x=B):(x=Math.floor(Math.log(o)/Math.LN2),o*(j=Math.pow(2,-x))<1&&(x--,j*=2),(o+=x+$>=1?V/j:V*Math.pow(2,1-$))*j>=2&&(x++,j/=2),x+$>=B?(C=0,x=B):x+$>=1?(C=(o*j-1)*Math.pow(2,_),x+=$):(C=o*Math.pow(2,$-1)*Math.pow(2,_),x=0));_>=8;s[i+U]=255&C,U+=z,C/=256,_-=8);for(x=x<<_|C,L+=_;L>0;s[i+U]=255&x,U+=z,x/=256,L-=8);s[i+U-z]|=128*Y}},9404:function(s){s.exports=function(){"use strict";var s=Array.prototype.slice;function createClass(s,o){o&&(s.prototype=Object.create(o.prototype)),s.prototype.constructor=s}function Iterable(s){return isIterable(s)?s:Seq(s)}function KeyedIterable(s){return isKeyed(s)?s:KeyedSeq(s)}function IndexedIterable(s){return isIndexed(s)?s:IndexedSeq(s)}function SetIterable(s){return isIterable(s)&&!isAssociative(s)?s:SetSeq(s)}function isIterable(s){return!(!s||!s[o])}function isKeyed(s){return!(!s||!s[i])}function isIndexed(s){return!(!s||!s[u])}function isAssociative(s){return isKeyed(s)||isIndexed(s)}function isOrdered(s){return!(!s||!s[_])}createClass(KeyedIterable,Iterable),createClass(IndexedIterable,Iterable),createClass(SetIterable,Iterable),Iterable.isIterable=isIterable,Iterable.isKeyed=isKeyed,Iterable.isIndexed=isIndexed,Iterable.isAssociative=isAssociative,Iterable.isOrdered=isOrdered,Iterable.Keyed=KeyedIterable,Iterable.Indexed=IndexedIterable,Iterable.Set=SetIterable;var o="@@__IMMUTABLE_ITERABLE__@@",i="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_INDEXED__@@",_="@@__IMMUTABLE_ORDERED__@@",w="delete",x=5,C=1<>>0;if(""+i!==o||4294967295===i)return NaN;o=i}return o<0?ensureSize(s)+o:o}function returnTrue(){return!0}function wholeSlice(s,o,i){return(0===s||void 0!==i&&s<=-i)&&(void 0===o||void 0!==i&&o>=i)}function resolveBegin(s,o){return resolveIndex(s,o,0)}function resolveEnd(s,o){return resolveIndex(s,o,o)}function resolveIndex(s,o,i){return void 0===s?i:s<0?Math.max(0,o+s):void 0===o?s:Math.min(o,s)}var V=0,U=1,z=2,Y="function"==typeof Symbol&&Symbol.iterator,Z="@@iterator",ee=Y||Z;function Iterator(s){this.next=s}function iteratorValue(s,o,i,u){var _=0===s?o:1===s?i:[o,i];return u?u.value=_:u={value:_,done:!1},u}function iteratorDone(){return{value:void 0,done:!0}}function hasIterator(s){return!!getIteratorFn(s)}function isIterator(s){return s&&"function"==typeof s.next}function getIterator(s){var o=getIteratorFn(s);return o&&o.call(s)}function getIteratorFn(s){var o=s&&(Y&&s[Y]||s[Z]);if("function"==typeof o)return o}function isArrayLike(s){return s&&"number"==typeof s.length}function Seq(s){return null==s?emptySequence():isIterable(s)?s.toSeq():seqFromValue(s)}function KeyedSeq(s){return null==s?emptySequence().toKeyedSeq():isIterable(s)?isKeyed(s)?s.toSeq():s.fromEntrySeq():keyedSeqFromValue(s)}function IndexedSeq(s){return null==s?emptySequence():isIterable(s)?isKeyed(s)?s.entrySeq():s.toIndexedSeq():indexedSeqFromValue(s)}function SetSeq(s){return(null==s?emptySequence():isIterable(s)?isKeyed(s)?s.entrySeq():s:indexedSeqFromValue(s)).toSetSeq()}Iterator.prototype.toString=function(){return"[Iterator]"},Iterator.KEYS=V,Iterator.VALUES=U,Iterator.ENTRIES=z,Iterator.prototype.inspect=Iterator.prototype.toSource=function(){return this.toString()},Iterator.prototype[ee]=function(){return this},createClass(Seq,Iterable),Seq.of=function(){return Seq(arguments)},Seq.prototype.toSeq=function(){return this},Seq.prototype.toString=function(){return this.__toString("Seq {","}")},Seq.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Seq.prototype.__iterate=function(s,o){return seqIterate(this,s,o,!0)},Seq.prototype.__iterator=function(s,o){return seqIterator(this,s,o,!0)},createClass(KeyedSeq,Seq),KeyedSeq.prototype.toKeyedSeq=function(){return this},createClass(IndexedSeq,Seq),IndexedSeq.of=function(){return IndexedSeq(arguments)},IndexedSeq.prototype.toIndexedSeq=function(){return this},IndexedSeq.prototype.toString=function(){return this.__toString("Seq [","]")},IndexedSeq.prototype.__iterate=function(s,o){return seqIterate(this,s,o,!1)},IndexedSeq.prototype.__iterator=function(s,o){return seqIterator(this,s,o,!1)},createClass(SetSeq,Seq),SetSeq.of=function(){return SetSeq(arguments)},SetSeq.prototype.toSetSeq=function(){return this},Seq.isSeq=isSeq,Seq.Keyed=KeyedSeq,Seq.Set=SetSeq,Seq.Indexed=IndexedSeq;var ie,ae,ce,le="@@__IMMUTABLE_SEQ__@@";function ArraySeq(s){this._array=s,this.size=s.length}function ObjectSeq(s){var o=Object.keys(s);this._object=s,this._keys=o,this.size=o.length}function IterableSeq(s){this._iterable=s,this.size=s.length||s.size}function IteratorSeq(s){this._iterator=s,this._iteratorCache=[]}function isSeq(s){return!(!s||!s[le])}function emptySequence(){return ie||(ie=new ArraySeq([]))}function keyedSeqFromValue(s){var o=Array.isArray(s)?new ArraySeq(s).fromEntrySeq():isIterator(s)?new IteratorSeq(s).fromEntrySeq():hasIterator(s)?new IterableSeq(s).fromEntrySeq():"object"==typeof s?new ObjectSeq(s):void 0;if(!o)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+s);return o}function indexedSeqFromValue(s){var o=maybeIndexedSeqFromValue(s);if(!o)throw new TypeError("Expected Array or iterable object of values: "+s);return o}function seqFromValue(s){var o=maybeIndexedSeqFromValue(s)||"object"==typeof s&&new ObjectSeq(s);if(!o)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+s);return o}function maybeIndexedSeqFromValue(s){return isArrayLike(s)?new ArraySeq(s):isIterator(s)?new IteratorSeq(s):hasIterator(s)?new IterableSeq(s):void 0}function seqIterate(s,o,i,u){var _=s._cache;if(_){for(var w=_.length-1,x=0;x<=w;x++){var C=_[i?w-x:x];if(!1===o(C[1],u?C[0]:x,s))return x+1}return x}return s.__iterateUncached(o,i)}function seqIterator(s,o,i,u){var _=s._cache;if(_){var w=_.length-1,x=0;return new Iterator((function(){var s=_[i?w-x:x];return x++>w?iteratorDone():iteratorValue(o,u?s[0]:x-1,s[1])}))}return s.__iteratorUncached(o,i)}function fromJS(s,o){return o?fromJSWith(o,s,"",{"":s}):fromJSDefault(s)}function fromJSWith(s,o,i,u){return Array.isArray(o)?s.call(u,i,IndexedSeq(o).map((function(i,u){return fromJSWith(s,i,u,o)}))):isPlainObj(o)?s.call(u,i,KeyedSeq(o).map((function(i,u){return fromJSWith(s,i,u,o)}))):o}function fromJSDefault(s){return Array.isArray(s)?IndexedSeq(s).map(fromJSDefault).toList():isPlainObj(s)?KeyedSeq(s).map(fromJSDefault).toMap():s}function isPlainObj(s){return s&&(s.constructor===Object||void 0===s.constructor)}function is(s,o){if(s===o||s!=s&&o!=o)return!0;if(!s||!o)return!1;if("function"==typeof s.valueOf&&"function"==typeof o.valueOf){if((s=s.valueOf())===(o=o.valueOf())||s!=s&&o!=o)return!0;if(!s||!o)return!1}return!("function"!=typeof s.equals||"function"!=typeof o.equals||!s.equals(o))}function deepEqual(s,o){if(s===o)return!0;if(!isIterable(o)||void 0!==s.size&&void 0!==o.size&&s.size!==o.size||void 0!==s.__hash&&void 0!==o.__hash&&s.__hash!==o.__hash||isKeyed(s)!==isKeyed(o)||isIndexed(s)!==isIndexed(o)||isOrdered(s)!==isOrdered(o))return!1;if(0===s.size&&0===o.size)return!0;var i=!isAssociative(s);if(isOrdered(s)){var u=s.entries();return o.every((function(s,o){var _=u.next().value;return _&&is(_[1],s)&&(i||is(_[0],o))}))&&u.next().done}var _=!1;if(void 0===s.size)if(void 0===o.size)"function"==typeof s.cacheResult&&s.cacheResult();else{_=!0;var w=s;s=o,o=w}var x=!0,C=o.__iterate((function(o,u){if(i?!s.has(o):_?!is(o,s.get(u,L)):!is(s.get(u,L),o))return x=!1,!1}));return x&&s.size===C}function Repeat(s,o){if(!(this instanceof Repeat))return new Repeat(s,o);if(this._value=s,this.size=void 0===o?1/0:Math.max(0,o),0===this.size){if(ae)return ae;ae=this}}function invariant(s,o){if(!s)throw new Error(o)}function Range(s,o,i){if(!(this instanceof Range))return new Range(s,o,i);if(invariant(0!==i,"Cannot step a Range by 0"),s=s||0,void 0===o&&(o=1/0),i=void 0===i?1:Math.abs(i),ou?iteratorDone():iteratorValue(s,_,i[o?u-_++:_++])}))},createClass(ObjectSeq,KeyedSeq),ObjectSeq.prototype.get=function(s,o){return void 0===o||this.has(s)?this._object[s]:o},ObjectSeq.prototype.has=function(s){return this._object.hasOwnProperty(s)},ObjectSeq.prototype.__iterate=function(s,o){for(var i=this._object,u=this._keys,_=u.length-1,w=0;w<=_;w++){var x=u[o?_-w:w];if(!1===s(i[x],x,this))return w+1}return w},ObjectSeq.prototype.__iterator=function(s,o){var i=this._object,u=this._keys,_=u.length-1,w=0;return new Iterator((function(){var x=u[o?_-w:w];return w++>_?iteratorDone():iteratorValue(s,x,i[x])}))},ObjectSeq.prototype[_]=!0,createClass(IterableSeq,IndexedSeq),IterableSeq.prototype.__iterateUncached=function(s,o){if(o)return this.cacheResult().__iterate(s,o);var i=getIterator(this._iterable),u=0;if(isIterator(i))for(var _;!(_=i.next()).done&&!1!==s(_.value,u++,this););return u},IterableSeq.prototype.__iteratorUncached=function(s,o){if(o)return this.cacheResult().__iterator(s,o);var i=getIterator(this._iterable);if(!isIterator(i))return new Iterator(iteratorDone);var u=0;return new Iterator((function(){var o=i.next();return o.done?o:iteratorValue(s,u++,o.value)}))},createClass(IteratorSeq,IndexedSeq),IteratorSeq.prototype.__iterateUncached=function(s,o){if(o)return this.cacheResult().__iterate(s,o);for(var i,u=this._iterator,_=this._iteratorCache,w=0;w<_.length;)if(!1===s(_[w],w++,this))return w;for(;!(i=u.next()).done;){var x=i.value;if(_[w]=x,!1===s(x,w++,this))break}return w},IteratorSeq.prototype.__iteratorUncached=function(s,o){if(o)return this.cacheResult().__iterator(s,o);var i=this._iterator,u=this._iteratorCache,_=0;return new Iterator((function(){if(_>=u.length){var o=i.next();if(o.done)return o;u[_]=o.value}return iteratorValue(s,_,u[_++])}))},createClass(Repeat,IndexedSeq),Repeat.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Repeat.prototype.get=function(s,o){return this.has(s)?this._value:o},Repeat.prototype.includes=function(s){return is(this._value,s)},Repeat.prototype.slice=function(s,o){var i=this.size;return wholeSlice(s,o,i)?this:new Repeat(this._value,resolveEnd(o,i)-resolveBegin(s,i))},Repeat.prototype.reverse=function(){return this},Repeat.prototype.indexOf=function(s){return is(this._value,s)?0:-1},Repeat.prototype.lastIndexOf=function(s){return is(this._value,s)?this.size:-1},Repeat.prototype.__iterate=function(s,o){for(var i=0;i=0&&o=0&&ii?iteratorDone():iteratorValue(s,w++,x)}))},Range.prototype.equals=function(s){return s instanceof Range?this._start===s._start&&this._end===s._end&&this._step===s._step:deepEqual(this,s)},createClass(Collection,Iterable),createClass(KeyedCollection,Collection),createClass(IndexedCollection,Collection),createClass(SetCollection,Collection),Collection.Keyed=KeyedCollection,Collection.Indexed=IndexedCollection,Collection.Set=SetCollection;var pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function imul(s,o){var i=65535&(s|=0),u=65535&(o|=0);return i*u+((s>>>16)*u+i*(o>>>16)<<16>>>0)|0};function smi(s){return s>>>1&1073741824|3221225471&s}function hash(s){if(!1===s||null==s)return 0;if("function"==typeof s.valueOf&&(!1===(s=s.valueOf())||null==s))return 0;if(!0===s)return 1;var o=typeof s;if("number"===o){if(s!=s||s===1/0)return 0;var i=0|s;for(i!==s&&(i^=4294967295*s);s>4294967295;)i^=s/=4294967295;return smi(i)}if("string"===o)return s.length>we?cachedHashString(s):hashString(s);if("function"==typeof s.hashCode)return s.hashCode();if("object"===o)return hashJSObj(s);if("function"==typeof s.toString)return hashString(s.toString());throw new Error("Value type "+o+" cannot be hashed.")}function cachedHashString(s){var o=Te[s];return void 0===o&&(o=hashString(s),Pe===xe&&(Pe=0,Te={}),Pe++,Te[s]=o),o}function hashString(s){for(var o=0,i=0;i0)switch(s.nodeType){case 1:return s.uniqueID;case 9:return s.documentElement&&s.documentElement.uniqueID}}var ye,be="function"==typeof WeakMap;be&&(ye=new WeakMap);var _e=0,Se="__immutablehash__";"function"==typeof Symbol&&(Se=Symbol(Se));var we=16,xe=255,Pe=0,Te={};function assertNotInfinite(s){invariant(s!==1/0,"Cannot perform this action with an infinite size.")}function Map(s){return null==s?emptyMap():isMap(s)&&!isOrdered(s)?s:emptyMap().withMutations((function(o){var i=KeyedIterable(s);assertNotInfinite(i.size),i.forEach((function(s,i){return o.set(i,s)}))}))}function isMap(s){return!(!s||!s[qe])}createClass(Map,KeyedCollection),Map.of=function(){var o=s.call(arguments,0);return emptyMap().withMutations((function(s){for(var i=0;i=o.length)throw new Error("Missing value for key: "+o[i]);s.set(o[i],o[i+1])}}))},Map.prototype.toString=function(){return this.__toString("Map {","}")},Map.prototype.get=function(s,o){return this._root?this._root.get(0,void 0,s,o):o},Map.prototype.set=function(s,o){return updateMap(this,s,o)},Map.prototype.setIn=function(s,o){return this.updateIn(s,L,(function(){return o}))},Map.prototype.remove=function(s){return updateMap(this,s,L)},Map.prototype.deleteIn=function(s){return this.updateIn(s,(function(){return L}))},Map.prototype.update=function(s,o,i){return 1===arguments.length?s(this):this.updateIn([s],o,i)},Map.prototype.updateIn=function(s,o,i){i||(i=o,o=void 0);var u=updateInDeepMap(this,forceIterator(s),o,i);return u===L?void 0:u},Map.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):emptyMap()},Map.prototype.merge=function(){return mergeIntoMapWith(this,void 0,arguments)},Map.prototype.mergeWith=function(o){return mergeIntoMapWith(this,o,s.call(arguments,1))},Map.prototype.mergeIn=function(o){var i=s.call(arguments,1);return this.updateIn(o,emptyMap(),(function(s){return"function"==typeof s.merge?s.merge.apply(s,i):i[i.length-1]}))},Map.prototype.mergeDeep=function(){return mergeIntoMapWith(this,deepMerger,arguments)},Map.prototype.mergeDeepWith=function(o){var i=s.call(arguments,1);return mergeIntoMapWith(this,deepMergerWith(o),i)},Map.prototype.mergeDeepIn=function(o){var i=s.call(arguments,1);return this.updateIn(o,emptyMap(),(function(s){return"function"==typeof s.mergeDeep?s.mergeDeep.apply(s,i):i[i.length-1]}))},Map.prototype.sort=function(s){return OrderedMap(sortFactory(this,s))},Map.prototype.sortBy=function(s,o){return OrderedMap(sortFactory(this,o,s))},Map.prototype.withMutations=function(s){var o=this.asMutable();return s(o),o.wasAltered()?o.__ensureOwner(this.__ownerID):this},Map.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)},Map.prototype.asImmutable=function(){return this.__ensureOwner()},Map.prototype.wasAltered=function(){return this.__altered},Map.prototype.__iterator=function(s,o){return new MapIterator(this,s,o)},Map.prototype.__iterate=function(s,o){var i=this,u=0;return this._root&&this._root.iterate((function(o){return u++,s(o[1],o[0],i)}),o),u},Map.prototype.__ensureOwner=function(s){return s===this.__ownerID?this:s?makeMap(this.size,this._root,s,this.__hash):(this.__ownerID=s,this.__altered=!1,this)},Map.isMap=isMap;var Re,qe="@@__IMMUTABLE_MAP__@@",$e=Map.prototype;function ArrayMapNode(s,o){this.ownerID=s,this.entries=o}function BitmapIndexedNode(s,o,i){this.ownerID=s,this.bitmap=o,this.nodes=i}function HashArrayMapNode(s,o,i){this.ownerID=s,this.count=o,this.nodes=i}function HashCollisionNode(s,o,i){this.ownerID=s,this.keyHash=o,this.entries=i}function ValueNode(s,o,i){this.ownerID=s,this.keyHash=o,this.entry=i}function MapIterator(s,o,i){this._type=o,this._reverse=i,this._stack=s._root&&mapIteratorFrame(s._root)}function mapIteratorValue(s,o){return iteratorValue(s,o[0],o[1])}function mapIteratorFrame(s,o){return{node:s,index:0,__prev:o}}function makeMap(s,o,i,u){var _=Object.create($e);return _.size=s,_._root=o,_.__ownerID=i,_.__hash=u,_.__altered=!1,_}function emptyMap(){return Re||(Re=makeMap(0))}function updateMap(s,o,i){var u,_;if(s._root){var w=MakeRef(B),x=MakeRef($);if(u=updateNode(s._root,s.__ownerID,0,void 0,o,i,w,x),!x.value)return s;_=s.size+(w.value?i===L?-1:1:0)}else{if(i===L)return s;_=1,u=new ArrayMapNode(s.__ownerID,[[o,i]])}return s.__ownerID?(s.size=_,s._root=u,s.__hash=void 0,s.__altered=!0,s):u?makeMap(_,u):emptyMap()}function updateNode(s,o,i,u,_,w,x,C){return s?s.update(o,i,u,_,w,x,C):w===L?s:(SetRef(C),SetRef(x),new ValueNode(o,u,[_,w]))}function isLeafNode(s){return s.constructor===ValueNode||s.constructor===HashCollisionNode}function mergeIntoNode(s,o,i,u,_){if(s.keyHash===u)return new HashCollisionNode(o,u,[s.entry,_]);var w,C=(0===i?s.keyHash:s.keyHash>>>i)&j,L=(0===i?u:u>>>i)&j;return new BitmapIndexedNode(o,1<>>=1)x[j]=1&i?o[w++]:void 0;return x[u]=_,new HashArrayMapNode(s,w+1,x)}function mergeIntoMapWith(s,o,i){for(var u=[],_=0;_>1&1431655765))+(s>>2&858993459))+(s>>4)&252645135,s+=s>>8,127&(s+=s>>16)}function setIn(s,o,i,u){var _=u?s:arrCopy(s);return _[o]=i,_}function spliceIn(s,o,i,u){var _=s.length+1;if(u&&o+1===_)return s[o]=i,s;for(var w=new Array(_),x=0,C=0;C<_;C++)C===o?(w[C]=i,x=-1):w[C]=s[C+x];return w}function spliceOut(s,o,i){var u=s.length-1;if(i&&o===u)return s.pop(),s;for(var _=new Array(u),w=0,x=0;x=ze)return createNodes(s,j,u,_);var U=s&&s===this.ownerID,z=U?j:arrCopy(j);return V?C?B===$-1?z.pop():z[B]=z.pop():z[B]=[u,_]:z.push([u,_]),U?(this.entries=z,this):new ArrayMapNode(s,z)}},BitmapIndexedNode.prototype.get=function(s,o,i,u){void 0===o&&(o=hash(i));var _=1<<((0===s?o:o>>>s)&j),w=this.bitmap;return w&_?this.nodes[popCount(w&_-1)].get(s+x,o,i,u):u},BitmapIndexedNode.prototype.update=function(s,o,i,u,_,w,C){void 0===i&&(i=hash(u));var B=(0===o?i:i>>>o)&j,$=1<=We)return expandNodes(s,Y,V,B,ee);if(U&&!ee&&2===Y.length&&isLeafNode(Y[1^z]))return Y[1^z];if(U&&ee&&1===Y.length&&isLeafNode(ee))return ee;var ie=s&&s===this.ownerID,ae=U?ee?V:V^$:V|$,ce=U?ee?setIn(Y,z,ee,ie):spliceOut(Y,z,ie):spliceIn(Y,z,ee,ie);return ie?(this.bitmap=ae,this.nodes=ce,this):new BitmapIndexedNode(s,ae,ce)},HashArrayMapNode.prototype.get=function(s,o,i,u){void 0===o&&(o=hash(i));var _=(0===s?o:o>>>s)&j,w=this.nodes[_];return w?w.get(s+x,o,i,u):u},HashArrayMapNode.prototype.update=function(s,o,i,u,_,w,C){void 0===i&&(i=hash(u));var B=(0===o?i:i>>>o)&j,$=_===L,V=this.nodes,U=V[B];if($&&!U)return this;var z=updateNode(U,s,o+x,i,u,_,w,C);if(z===U)return this;var Y=this.count;if(U){if(!z&&--Y0&&u=0&&s>>o&j;if(u>=this.array.length)return new VNode([],s);var _,w=0===u;if(o>0){var C=this.array[u];if((_=C&&C.removeBefore(s,o-x,i))===C&&w)return this}if(w&&!_)return this;var L=editableVNode(this,s);if(!w)for(var B=0;B>>o&j;if(_>=this.array.length)return this;if(o>0){var w=this.array[_];if((u=w&&w.removeAfter(s,o-x,i))===w&&_===this.array.length-1)return this}var C=editableVNode(this,s);return C.array.splice(_+1),u&&(C.array[_]=u),C};var Qe,et,tt={};function iterateList(s,o){var i=s._origin,u=s._capacity,_=getTailOffset(u),w=s._tail;return iterateNodeOrLeaf(s._root,s._level,0);function iterateNodeOrLeaf(s,o,i){return 0===o?iterateLeaf(s,i):iterateNode(s,o,i)}function iterateLeaf(s,x){var j=x===_?w&&w.array:s&&s.array,L=x>i?0:i-x,B=u-x;return B>C&&(B=C),function(){if(L===B)return tt;var s=o?--B:L++;return j&&j[s]}}function iterateNode(s,_,w){var j,L=s&&s.array,B=w>i?0:i-w>>_,$=1+(u-w>>_);return $>C&&($=C),function(){for(;;){if(j){var s=j();if(s!==tt)return s;j=null}if(B===$)return tt;var i=o?--$:B++;j=iterateNodeOrLeaf(L&&L[i],_-x,w+(i<<_))}}}}function makeList(s,o,i,u,_,w,x){var C=Object.create(Xe);return C.size=o-s,C._origin=s,C._capacity=o,C._level=i,C._root=u,C._tail=_,C.__ownerID=w,C.__hash=x,C.__altered=!1,C}function emptyList(){return Qe||(Qe=makeList(0,0,x))}function updateList(s,o,i){if((o=wrapIndex(s,o))!=o)return s;if(o>=s.size||o<0)return s.withMutations((function(s){o<0?setListBounds(s,o).set(0,i):setListBounds(s,0,o+1).set(o,i)}));o+=s._origin;var u=s._tail,_=s._root,w=MakeRef($);return o>=getTailOffset(s._capacity)?u=updateVNode(u,s.__ownerID,0,o,i,w):_=updateVNode(_,s.__ownerID,s._level,o,i,w),w.value?s.__ownerID?(s._root=_,s._tail=u,s.__hash=void 0,s.__altered=!0,s):makeList(s._origin,s._capacity,s._level,_,u):s}function updateVNode(s,o,i,u,_,w){var C,L=u>>>i&j,B=s&&L0){var $=s&&s.array[L],V=updateVNode($,o,i-x,u,_,w);return V===$?s:((C=editableVNode(s,o)).array[L]=V,C)}return B&&s.array[L]===_?s:(SetRef(w),C=editableVNode(s,o),void 0===_&&L===C.array.length-1?C.array.pop():C.array[L]=_,C)}function editableVNode(s,o){return o&&s&&o===s.ownerID?s:new VNode(s?s.array.slice():[],o)}function listNodeFor(s,o){if(o>=getTailOffset(s._capacity))return s._tail;if(o<1<0;)i=i.array[o>>>u&j],u-=x;return i}}function setListBounds(s,o,i){void 0!==o&&(o|=0),void 0!==i&&(i|=0);var u=s.__ownerID||new OwnerID,_=s._origin,w=s._capacity,C=_+o,L=void 0===i?w:i<0?w+i:_+i;if(C===_&&L===w)return s;if(C>=L)return s.clear();for(var B=s._level,$=s._root,V=0;C+V<0;)$=new VNode($&&$.array.length?[void 0,$]:[],u),V+=1<<(B+=x);V&&(C+=V,_+=V,L+=V,w+=V);for(var U=getTailOffset(w),z=getTailOffset(L);z>=1<U?new VNode([],u):Y;if(Y&&z>U&&Cx;ie-=x){var ae=U>>>ie&j;ee=ee.array[ae]=editableVNode(ee.array[ae],u)}ee.array[U>>>x&j]=Y}if(L=z)C-=z,L-=z,B=x,$=null,Z=Z&&Z.removeBefore(u,0,C);else if(C>_||z>>B&j;if(ce!==z>>>B&j)break;ce&&(V+=(1<_&&($=$.removeBefore(u,B,C-V)),$&&z_&&(_=C.size),isIterable(x)||(C=C.map((function(s){return fromJS(s)}))),u.push(C)}return _>s.size&&(s=s.setSize(_)),mergeIntoCollectionWith(s,o,u)}function getTailOffset(s){return s>>x<=C&&x.size>=2*w.size?(u=(_=x.filter((function(s,o){return void 0!==s&&j!==o}))).toKeyedSeq().map((function(s){return s[0]})).flip().toMap(),s.__ownerID&&(u.__ownerID=_.__ownerID=s.__ownerID)):(u=w.remove(o),_=j===x.size-1?x.pop():x.set(j,void 0))}else if(B){if(i===x.get(j)[1])return s;u=w,_=x.set(j,[o,i])}else u=w.set(o,x.size),_=x.set(x.size,[o,i]);return s.__ownerID?(s.size=u.size,s._map=u,s._list=_,s.__hash=void 0,s):makeOrderedMap(u,_)}function ToKeyedSequence(s,o){this._iter=s,this._useKeys=o,this.size=s.size}function ToIndexedSequence(s){this._iter=s,this.size=s.size}function ToSetSequence(s){this._iter=s,this.size=s.size}function FromEntriesSequence(s){this._iter=s,this.size=s.size}function flipFactory(s){var o=makeSequence(s);return o._iter=s,o.size=s.size,o.flip=function(){return s},o.reverse=function(){var o=s.reverse.apply(this);return o.flip=function(){return s.reverse()},o},o.has=function(o){return s.includes(o)},o.includes=function(o){return s.has(o)},o.cacheResult=cacheResultThrough,o.__iterateUncached=function(o,i){var u=this;return s.__iterate((function(s,i){return!1!==o(i,s,u)}),i)},o.__iteratorUncached=function(o,i){if(o===z){var u=s.__iterator(o,i);return new Iterator((function(){var s=u.next();if(!s.done){var o=s.value[0];s.value[0]=s.value[1],s.value[1]=o}return s}))}return s.__iterator(o===U?V:U,i)},o}function mapFactory(s,o,i){var u=makeSequence(s);return u.size=s.size,u.has=function(o){return s.has(o)},u.get=function(u,_){var w=s.get(u,L);return w===L?_:o.call(i,w,u,s)},u.__iterateUncached=function(u,_){var w=this;return s.__iterate((function(s,_,x){return!1!==u(o.call(i,s,_,x),_,w)}),_)},u.__iteratorUncached=function(u,_){var w=s.__iterator(z,_);return new Iterator((function(){var _=w.next();if(_.done)return _;var x=_.value,C=x[0];return iteratorValue(u,C,o.call(i,x[1],C,s),_)}))},u}function reverseFactory(s,o){var i=makeSequence(s);return i._iter=s,i.size=s.size,i.reverse=function(){return s},s.flip&&(i.flip=function(){var o=flipFactory(s);return o.reverse=function(){return s.flip()},o}),i.get=function(i,u){return s.get(o?i:-1-i,u)},i.has=function(i){return s.has(o?i:-1-i)},i.includes=function(o){return s.includes(o)},i.cacheResult=cacheResultThrough,i.__iterate=function(o,i){var u=this;return s.__iterate((function(s,i){return o(s,i,u)}),!i)},i.__iterator=function(o,i){return s.__iterator(o,!i)},i}function filterFactory(s,o,i,u){var _=makeSequence(s);return u&&(_.has=function(u){var _=s.get(u,L);return _!==L&&!!o.call(i,_,u,s)},_.get=function(u,_){var w=s.get(u,L);return w!==L&&o.call(i,w,u,s)?w:_}),_.__iterateUncached=function(_,w){var x=this,C=0;return s.__iterate((function(s,w,j){if(o.call(i,s,w,j))return C++,_(s,u?w:C-1,x)}),w),C},_.__iteratorUncached=function(_,w){var x=s.__iterator(z,w),C=0;return new Iterator((function(){for(;;){var w=x.next();if(w.done)return w;var j=w.value,L=j[0],B=j[1];if(o.call(i,B,L,s))return iteratorValue(_,u?L:C++,B,w)}}))},_}function countByFactory(s,o,i){var u=Map().asMutable();return s.__iterate((function(_,w){u.update(o.call(i,_,w,s),0,(function(s){return s+1}))})),u.asImmutable()}function groupByFactory(s,o,i){var u=isKeyed(s),_=(isOrdered(s)?OrderedMap():Map()).asMutable();s.__iterate((function(w,x){_.update(o.call(i,w,x,s),(function(s){return(s=s||[]).push(u?[x,w]:w),s}))}));var w=iterableClass(s);return _.map((function(o){return reify(s,w(o))}))}function sliceFactory(s,o,i,u){var _=s.size;if(void 0!==o&&(o|=0),void 0!==i&&(i===1/0?i=_:i|=0),wholeSlice(o,i,_))return s;var w=resolveBegin(o,_),x=resolveEnd(i,_);if(w!=w||x!=x)return sliceFactory(s.toSeq().cacheResult(),o,i,u);var C,j=x-w;j==j&&(C=j<0?0:j);var L=makeSequence(s);return L.size=0===C?C:s.size&&C||void 0,!u&&isSeq(s)&&C>=0&&(L.get=function(o,i){return(o=wrapIndex(this,o))>=0&&oC)return iteratorDone();var s=_.next();return u||o===U?s:iteratorValue(o,j-1,o===V?void 0:s.value[1],s)}))},L}function takeWhileFactory(s,o,i){var u=makeSequence(s);return u.__iterateUncached=function(u,_){var w=this;if(_)return this.cacheResult().__iterate(u,_);var x=0;return s.__iterate((function(s,_,C){return o.call(i,s,_,C)&&++x&&u(s,_,w)})),x},u.__iteratorUncached=function(u,_){var w=this;if(_)return this.cacheResult().__iterator(u,_);var x=s.__iterator(z,_),C=!0;return new Iterator((function(){if(!C)return iteratorDone();var s=x.next();if(s.done)return s;var _=s.value,j=_[0],L=_[1];return o.call(i,L,j,w)?u===z?s:iteratorValue(u,j,L,s):(C=!1,iteratorDone())}))},u}function skipWhileFactory(s,o,i,u){var _=makeSequence(s);return _.__iterateUncached=function(_,w){var x=this;if(w)return this.cacheResult().__iterate(_,w);var C=!0,j=0;return s.__iterate((function(s,w,L){if(!C||!(C=o.call(i,s,w,L)))return j++,_(s,u?w:j-1,x)})),j},_.__iteratorUncached=function(_,w){var x=this;if(w)return this.cacheResult().__iterator(_,w);var C=s.__iterator(z,w),j=!0,L=0;return new Iterator((function(){var s,w,B;do{if((s=C.next()).done)return u||_===U?s:iteratorValue(_,L++,_===V?void 0:s.value[1],s);var $=s.value;w=$[0],B=$[1],j&&(j=o.call(i,B,w,x))}while(j);return _===z?s:iteratorValue(_,w,B,s)}))},_}function concatFactory(s,o){var i=isKeyed(s),u=[s].concat(o).map((function(s){return isIterable(s)?i&&(s=KeyedIterable(s)):s=i?keyedSeqFromValue(s):indexedSeqFromValue(Array.isArray(s)?s:[s]),s})).filter((function(s){return 0!==s.size}));if(0===u.length)return s;if(1===u.length){var _=u[0];if(_===s||i&&isKeyed(_)||isIndexed(s)&&isIndexed(_))return _}var w=new ArraySeq(u);return i?w=w.toKeyedSeq():isIndexed(s)||(w=w.toSetSeq()),(w=w.flatten(!0)).size=u.reduce((function(s,o){if(void 0!==s){var i=o.size;if(void 0!==i)return s+i}}),0),w}function flattenFactory(s,o,i){var u=makeSequence(s);return u.__iterateUncached=function(u,_){var w=0,x=!1;function flatDeep(s,C){var j=this;s.__iterate((function(s,_){return(!o||C0}function zipWithFactory(s,o,i){var u=makeSequence(s);return u.size=new ArraySeq(i).map((function(s){return s.size})).min(),u.__iterate=function(s,o){for(var i,u=this.__iterator(U,o),_=0;!(i=u.next()).done&&!1!==s(i.value,_++,this););return _},u.__iteratorUncached=function(s,u){var _=i.map((function(s){return s=Iterable(s),getIterator(u?s.reverse():s)})),w=0,x=!1;return new Iterator((function(){var i;return x||(i=_.map((function(s){return s.next()})),x=i.some((function(s){return s.done}))),x?iteratorDone():iteratorValue(s,w++,o.apply(null,i.map((function(s){return s.value}))))}))},u}function reify(s,o){return isSeq(s)?o:s.constructor(o)}function validateEntry(s){if(s!==Object(s))throw new TypeError("Expected [K, V] tuple: "+s)}function resolveSize(s){return assertNotInfinite(s.size),ensureSize(s)}function iterableClass(s){return isKeyed(s)?KeyedIterable:isIndexed(s)?IndexedIterable:SetIterable}function makeSequence(s){return Object.create((isKeyed(s)?KeyedSeq:isIndexed(s)?IndexedSeq:SetSeq).prototype)}function cacheResultThrough(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Seq.prototype.cacheResult.call(this)}function defaultComparator(s,o){return s>o?1:s=0;i--)o={value:arguments[i],next:o};return this.__ownerID?(this.size=s,this._head=o,this.__hash=void 0,this.__altered=!0,this):makeStack(s,o)},Stack.prototype.pushAll=function(s){if(0===(s=IndexedIterable(s)).size)return this;assertNotInfinite(s.size);var o=this.size,i=this._head;return s.reverse().forEach((function(s){o++,i={value:s,next:i}})),this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):makeStack(o,i)},Stack.prototype.pop=function(){return this.slice(1)},Stack.prototype.unshift=function(){return this.push.apply(this,arguments)},Stack.prototype.unshiftAll=function(s){return this.pushAll(s)},Stack.prototype.shift=function(){return this.pop.apply(this,arguments)},Stack.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):emptyStack()},Stack.prototype.slice=function(s,o){if(wholeSlice(s,o,this.size))return this;var i=resolveBegin(s,this.size);if(resolveEnd(o,this.size)!==this.size)return IndexedCollection.prototype.slice.call(this,s,o);for(var u=this.size-i,_=this._head;i--;)_=_.next;return this.__ownerID?(this.size=u,this._head=_,this.__hash=void 0,this.__altered=!0,this):makeStack(u,_)},Stack.prototype.__ensureOwner=function(s){return s===this.__ownerID?this:s?makeStack(this.size,this._head,s,this.__hash):(this.__ownerID=s,this.__altered=!1,this)},Stack.prototype.__iterate=function(s,o){if(o)return this.reverse().__iterate(s);for(var i=0,u=this._head;u&&!1!==s(u.value,i++,this);)u=u.next;return i},Stack.prototype.__iterator=function(s,o){if(o)return this.reverse().__iterator(s);var i=0,u=this._head;return new Iterator((function(){if(u){var o=u.value;return u=u.next,iteratorValue(s,i++,o)}return iteratorDone()}))},Stack.isStack=isStack;var ct,lt="@@__IMMUTABLE_STACK__@@",ut=Stack.prototype;function makeStack(s,o,i,u){var _=Object.create(ut);return _.size=s,_._head=o,_.__ownerID=i,_.__hash=u,_.__altered=!1,_}function emptyStack(){return ct||(ct=makeStack(0))}function mixin(s,o){var keyCopier=function(i){s.prototype[i]=o[i]};return Object.keys(o).forEach(keyCopier),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(keyCopier),s}ut[lt]=!0,ut.withMutations=$e.withMutations,ut.asMutable=$e.asMutable,ut.asImmutable=$e.asImmutable,ut.wasAltered=$e.wasAltered,Iterable.Iterator=Iterator,mixin(Iterable,{toArray:function(){assertNotInfinite(this.size);var s=new Array(this.size||0);return this.valueSeq().__iterate((function(o,i){s[i]=o})),s},toIndexedSeq:function(){return new ToIndexedSequence(this)},toJS:function(){return this.toSeq().map((function(s){return s&&"function"==typeof s.toJS?s.toJS():s})).__toJS()},toJSON:function(){return this.toSeq().map((function(s){return s&&"function"==typeof s.toJSON?s.toJSON():s})).__toJS()},toKeyedSeq:function(){return new ToKeyedSequence(this,!0)},toMap:function(){return Map(this.toKeyedSeq())},toObject:function(){assertNotInfinite(this.size);var s={};return this.__iterate((function(o,i){s[i]=o})),s},toOrderedMap:function(){return OrderedMap(this.toKeyedSeq())},toOrderedSet:function(){return OrderedSet(isKeyed(this)?this.valueSeq():this)},toSet:function(){return Set(isKeyed(this)?this.valueSeq():this)},toSetSeq:function(){return new ToSetSequence(this)},toSeq:function(){return isIndexed(this)?this.toIndexedSeq():isKeyed(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Stack(isKeyed(this)?this.valueSeq():this)},toList:function(){return List(isKeyed(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(s,o){return 0===this.size?s+o:s+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+o},concat:function(){return reify(this,concatFactory(this,s.call(arguments,0)))},includes:function(s){return this.some((function(o){return is(o,s)}))},entries:function(){return this.__iterator(z)},every:function(s,o){assertNotInfinite(this.size);var i=!0;return this.__iterate((function(u,_,w){if(!s.call(o,u,_,w))return i=!1,!1})),i},filter:function(s,o){return reify(this,filterFactory(this,s,o,!0))},find:function(s,o,i){var u=this.findEntry(s,o);return u?u[1]:i},forEach:function(s,o){return assertNotInfinite(this.size),this.__iterate(o?s.bind(o):s)},join:function(s){assertNotInfinite(this.size),s=void 0!==s?""+s:",";var o="",i=!0;return this.__iterate((function(u){i?i=!1:o+=s,o+=null!=u?u.toString():""})),o},keys:function(){return this.__iterator(V)},map:function(s,o){return reify(this,mapFactory(this,s,o))},reduce:function(s,o,i){var u,_;return assertNotInfinite(this.size),arguments.length<2?_=!0:u=o,this.__iterate((function(o,w,x){_?(_=!1,u=o):u=s.call(i,u,o,w,x)})),u},reduceRight:function(s,o,i){var u=this.toKeyedSeq().reverse();return u.reduce.apply(u,arguments)},reverse:function(){return reify(this,reverseFactory(this,!0))},slice:function(s,o){return reify(this,sliceFactory(this,s,o,!0))},some:function(s,o){return!this.every(not(s),o)},sort:function(s){return reify(this,sortFactory(this,s))},values:function(){return this.__iterator(U)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(s,o){return ensureSize(s?this.toSeq().filter(s,o):this)},countBy:function(s,o){return countByFactory(this,s,o)},equals:function(s){return deepEqual(this,s)},entrySeq:function(){var s=this;if(s._cache)return new ArraySeq(s._cache);var o=s.toSeq().map(entryMapper).toIndexedSeq();return o.fromEntrySeq=function(){return s.toSeq()},o},filterNot:function(s,o){return this.filter(not(s),o)},findEntry:function(s,o,i){var u=i;return this.__iterate((function(i,_,w){if(s.call(o,i,_,w))return u=[_,i],!1})),u},findKey:function(s,o){var i=this.findEntry(s,o);return i&&i[0]},findLast:function(s,o,i){return this.toKeyedSeq().reverse().find(s,o,i)},findLastEntry:function(s,o,i){return this.toKeyedSeq().reverse().findEntry(s,o,i)},findLastKey:function(s,o){return this.toKeyedSeq().reverse().findKey(s,o)},first:function(){return this.find(returnTrue)},flatMap:function(s,o){return reify(this,flatMapFactory(this,s,o))},flatten:function(s){return reify(this,flattenFactory(this,s,!0))},fromEntrySeq:function(){return new FromEntriesSequence(this)},get:function(s,o){return this.find((function(o,i){return is(i,s)}),void 0,o)},getIn:function(s,o){for(var i,u=this,_=forceIterator(s);!(i=_.next()).done;){var w=i.value;if((u=u&&u.get?u.get(w,L):L)===L)return o}return u},groupBy:function(s,o){return groupByFactory(this,s,o)},has:function(s){return this.get(s,L)!==L},hasIn:function(s){return this.getIn(s,L)!==L},isSubset:function(s){return s="function"==typeof s.includes?s:Iterable(s),this.every((function(o){return s.includes(o)}))},isSuperset:function(s){return(s="function"==typeof s.isSubset?s:Iterable(s)).isSubset(this)},keyOf:function(s){return this.findKey((function(o){return is(o,s)}))},keySeq:function(){return this.toSeq().map(keyMapper).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(s){return this.toKeyedSeq().reverse().keyOf(s)},max:function(s){return maxFactory(this,s)},maxBy:function(s,o){return maxFactory(this,o,s)},min:function(s){return maxFactory(this,s?neg(s):defaultNegComparator)},minBy:function(s,o){return maxFactory(this,o?neg(o):defaultNegComparator,s)},rest:function(){return this.slice(1)},skip:function(s){return this.slice(Math.max(0,s))},skipLast:function(s){return reify(this,this.toSeq().reverse().skip(s).reverse())},skipWhile:function(s,o){return reify(this,skipWhileFactory(this,s,o,!0))},skipUntil:function(s,o){return this.skipWhile(not(s),o)},sortBy:function(s,o){return reify(this,sortFactory(this,o,s))},take:function(s){return this.slice(0,Math.max(0,s))},takeLast:function(s){return reify(this,this.toSeq().reverse().take(s).reverse())},takeWhile:function(s,o){return reify(this,takeWhileFactory(this,s,o))},takeUntil:function(s,o){return this.takeWhile(not(s),o)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=hashIterable(this))}});var pt=Iterable.prototype;pt[o]=!0,pt[ee]=pt.values,pt.__toJS=pt.toArray,pt.__toStringMapper=quoteString,pt.inspect=pt.toSource=function(){return this.toString()},pt.chain=pt.flatMap,pt.contains=pt.includes,mixin(KeyedIterable,{flip:function(){return reify(this,flipFactory(this))},mapEntries:function(s,o){var i=this,u=0;return reify(this,this.toSeq().map((function(_,w){return s.call(o,[w,_],u++,i)})).fromEntrySeq())},mapKeys:function(s,o){var i=this;return reify(this,this.toSeq().flip().map((function(u,_){return s.call(o,u,_,i)})).flip())}});var ht=KeyedIterable.prototype;function keyMapper(s,o){return o}function entryMapper(s,o){return[o,s]}function not(s){return function(){return!s.apply(this,arguments)}}function neg(s){return function(){return-s.apply(this,arguments)}}function quoteString(s){return"string"==typeof s?JSON.stringify(s):String(s)}function defaultZipper(){return arrCopy(arguments)}function defaultNegComparator(s,o){return so?-1:0}function hashIterable(s){if(s.size===1/0)return 0;var o=isOrdered(s),i=isKeyed(s),u=o?1:0;return murmurHashOfSize(s.__iterate(i?o?function(s,o){u=31*u+hashMerge(hash(s),hash(o))|0}:function(s,o){u=u+hashMerge(hash(s),hash(o))|0}:o?function(s){u=31*u+hash(s)|0}:function(s){u=u+hash(s)|0}),u)}function murmurHashOfSize(s,o){return o=pe(o,3432918353),o=pe(o<<15|o>>>-15,461845907),o=pe(o<<13|o>>>-13,5),o=pe((o=o+3864292196^s)^o>>>16,2246822507),o=smi((o=pe(o^o>>>13,3266489909))^o>>>16)}function hashMerge(s,o){return s^o+2654435769+(s<<6)+(s>>2)}return ht[i]=!0,ht[ee]=pt.entries,ht.__toJS=pt.toObject,ht.__toStringMapper=function(s,o){return JSON.stringify(o)+": "+quoteString(s)},mixin(IndexedIterable,{toKeyedSeq:function(){return new ToKeyedSequence(this,!1)},filter:function(s,o){return reify(this,filterFactory(this,s,o,!1))},findIndex:function(s,o){var i=this.findEntry(s,o);return i?i[0]:-1},indexOf:function(s){var o=this.keyOf(s);return void 0===o?-1:o},lastIndexOf:function(s){var o=this.lastKeyOf(s);return void 0===o?-1:o},reverse:function(){return reify(this,reverseFactory(this,!1))},slice:function(s,o){return reify(this,sliceFactory(this,s,o,!1))},splice:function(s,o){var i=arguments.length;if(o=Math.max(0|o,0),0===i||2===i&&!o)return this;s=resolveBegin(s,s<0?this.count():this.size);var u=this.slice(0,s);return reify(this,1===i?u:u.concat(arrCopy(arguments,2),this.slice(s+o)))},findLastIndex:function(s,o){var i=this.findLastEntry(s,o);return i?i[0]:-1},first:function(){return this.get(0)},flatten:function(s){return reify(this,flattenFactory(this,s,!1))},get:function(s,o){return(s=wrapIndex(this,s))<0||this.size===1/0||void 0!==this.size&&s>this.size?o:this.find((function(o,i){return i===s}),void 0,o)},has:function(s){return(s=wrapIndex(this,s))>=0&&(void 0!==this.size?this.size===1/0||s{"function"==typeof Object.create?s.exports=function inherits(s,o){o&&(s.super_=o,s.prototype=Object.create(o.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}))}:s.exports=function inherits(s,o){if(o){s.super_=o;var TempCtor=function(){};TempCtor.prototype=o.prototype,s.prototype=new TempCtor,s.prototype.constructor=s}}},5419:s=>{s.exports=function(s,o,i,u){var _=new Blob(void 0!==u?[u,s]:[s],{type:i||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(_,o);else{var w=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(_):window.webkitURL.createObjectURL(_),x=document.createElement("a");x.style.display="none",x.href=w,x.setAttribute("download",o),void 0===x.download&&x.setAttribute("target","_blank"),document.body.appendChild(x),x.click(),setTimeout((function(){document.body.removeChild(x),window.URL.revokeObjectURL(w)}),200)}}},20181:(s,o,i)=>{var u=/^\s+|\s+$/g,_=/^[-+]0x[0-9a-f]+$/i,w=/^0b[01]+$/i,x=/^0o[0-7]+$/i,C=parseInt,j="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,L="object"==typeof self&&self&&self.Object===Object&&self,B=j||L||Function("return this")(),$=Object.prototype.toString,V=Math.max,U=Math.min,now=function(){return B.Date.now()};function isObject(s){var o=typeof s;return!!s&&("object"==o||"function"==o)}function toNumber(s){if("number"==typeof s)return s;if(function isSymbol(s){return"symbol"==typeof s||function isObjectLike(s){return!!s&&"object"==typeof s}(s)&&"[object Symbol]"==$.call(s)}(s))return NaN;if(isObject(s)){var o="function"==typeof s.valueOf?s.valueOf():s;s=isObject(o)?o+"":o}if("string"!=typeof s)return 0===s?s:+s;s=s.replace(u,"");var i=w.test(s);return i||x.test(s)?C(s.slice(2),i?2:8):_.test(s)?NaN:+s}s.exports=function debounce(s,o,i){var u,_,w,x,C,j,L=0,B=!1,$=!1,z=!0;if("function"!=typeof s)throw new TypeError("Expected a function");function invokeFunc(o){var i=u,w=_;return u=_=void 0,L=o,x=s.apply(w,i)}function shouldInvoke(s){var i=s-j;return void 0===j||i>=o||i<0||$&&s-L>=w}function timerExpired(){var s=now();if(shouldInvoke(s))return trailingEdge(s);C=setTimeout(timerExpired,function remainingWait(s){var i=o-(s-j);return $?U(i,w-(s-L)):i}(s))}function trailingEdge(s){return C=void 0,z&&u?invokeFunc(s):(u=_=void 0,x)}function debounced(){var s=now(),i=shouldInvoke(s);if(u=arguments,_=this,j=s,i){if(void 0===C)return function leadingEdge(s){return L=s,C=setTimeout(timerExpired,o),B?invokeFunc(s):x}(j);if($)return C=setTimeout(timerExpired,o),invokeFunc(j)}return void 0===C&&(C=setTimeout(timerExpired,o)),x}return o=toNumber(o)||0,isObject(i)&&(B=!!i.leading,w=($="maxWait"in i)?V(toNumber(i.maxWait)||0,o):w,z="trailing"in i?!!i.trailing:z),debounced.cancel=function cancel(){void 0!==C&&clearTimeout(C),L=0,u=j=_=C=void 0},debounced.flush=function flush(){return void 0===C?x:trailingEdge(now())},debounced}},55580:(s,o,i)=>{var u=i(56110)(i(9325),"DataView");s.exports=u},21549:(s,o,i)=>{var u=i(22032),_=i(63862),w=i(66721),x=i(12749),C=i(35749);function Hash(s){var o=-1,i=null==s?0:s.length;for(this.clear();++o{var u=i(39344),_=i(94033);function LazyWrapper(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}LazyWrapper.prototype=u(_.prototype),LazyWrapper.prototype.constructor=LazyWrapper,s.exports=LazyWrapper},80079:(s,o,i)=>{var u=i(63702),_=i(70080),w=i(24739),x=i(48655),C=i(31175);function ListCache(s){var o=-1,i=null==s?0:s.length;for(this.clear();++o{var u=i(39344),_=i(94033);function LodashWrapper(s,o){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!o,this.__index__=0,this.__values__=void 0}LodashWrapper.prototype=u(_.prototype),LodashWrapper.prototype.constructor=LodashWrapper,s.exports=LodashWrapper},68223:(s,o,i)=>{var u=i(56110)(i(9325),"Map");s.exports=u},53661:(s,o,i)=>{var u=i(63040),_=i(17670),w=i(90289),x=i(4509),C=i(72949);function MapCache(s){var o=-1,i=null==s?0:s.length;for(this.clear();++o{var u=i(56110)(i(9325),"Promise");s.exports=u},76545:(s,o,i)=>{var u=i(56110)(i(9325),"Set");s.exports=u},38859:(s,o,i)=>{var u=i(53661),_=i(31380),w=i(51459);function SetCache(s){var o=-1,i=null==s?0:s.length;for(this.__data__=new u;++o{var u=i(80079),_=i(51420),w=i(90938),x=i(63605),C=i(29817),j=i(80945);function Stack(s){var o=this.__data__=new u(s);this.size=o.size}Stack.prototype.clear=_,Stack.prototype.delete=w,Stack.prototype.get=x,Stack.prototype.has=C,Stack.prototype.set=j,s.exports=Stack},51873:(s,o,i)=>{var u=i(9325).Symbol;s.exports=u},37828:(s,o,i)=>{var u=i(9325).Uint8Array;s.exports=u},28303:(s,o,i)=>{var u=i(56110)(i(9325),"WeakMap");s.exports=u},91033:s=>{s.exports=function apply(s,o,i){switch(i.length){case 0:return s.call(o);case 1:return s.call(o,i[0]);case 2:return s.call(o,i[0],i[1]);case 3:return s.call(o,i[0],i[1],i[2])}return s.apply(o,i)}},83729:s=>{s.exports=function arrayEach(s,o){for(var i=-1,u=null==s?0:s.length;++i{s.exports=function arrayFilter(s,o){for(var i=-1,u=null==s?0:s.length,_=0,w=[];++i{var u=i(96131);s.exports=function arrayIncludes(s,o){return!!(null==s?0:s.length)&&u(s,o,0)>-1}},70695:(s,o,i)=>{var u=i(78096),_=i(72428),w=i(56449),x=i(3656),C=i(30361),j=i(37167),L=Object.prototype.hasOwnProperty;s.exports=function arrayLikeKeys(s,o){var i=w(s),B=!i&&_(s),$=!i&&!B&&x(s),V=!i&&!B&&!$&&j(s),U=i||B||$||V,z=U?u(s.length,String):[],Y=z.length;for(var Z in s)!o&&!L.call(s,Z)||U&&("length"==Z||$&&("offset"==Z||"parent"==Z)||V&&("buffer"==Z||"byteLength"==Z||"byteOffset"==Z)||C(Z,Y))||z.push(Z);return z}},34932:s=>{s.exports=function arrayMap(s,o){for(var i=-1,u=null==s?0:s.length,_=Array(u);++i{s.exports=function arrayPush(s,o){for(var i=-1,u=o.length,_=s.length;++i{s.exports=function arrayReduce(s,o,i,u){var _=-1,w=null==s?0:s.length;for(u&&w&&(i=s[++_]);++_{s.exports=function arraySome(s,o){for(var i=-1,u=null==s?0:s.length;++i{s.exports=function asciiToArray(s){return s.split("")}},1733:s=>{var o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;s.exports=function asciiWords(s){return s.match(o)||[]}},87805:(s,o,i)=>{var u=i(43360),_=i(75288);s.exports=function assignMergeValue(s,o,i){(void 0!==i&&!_(s[o],i)||void 0===i&&!(o in s))&&u(s,o,i)}},16547:(s,o,i)=>{var u=i(43360),_=i(75288),w=Object.prototype.hasOwnProperty;s.exports=function assignValue(s,o,i){var x=s[o];w.call(s,o)&&_(x,i)&&(void 0!==i||o in s)||u(s,o,i)}},26025:(s,o,i)=>{var u=i(75288);s.exports=function assocIndexOf(s,o){for(var i=s.length;i--;)if(u(s[i][0],o))return i;return-1}},74733:(s,o,i)=>{var u=i(21791),_=i(95950);s.exports=function baseAssign(s,o){return s&&u(o,_(o),s)}},43838:(s,o,i)=>{var u=i(21791),_=i(37241);s.exports=function baseAssignIn(s,o){return s&&u(o,_(o),s)}},43360:(s,o,i)=>{var u=i(93243);s.exports=function baseAssignValue(s,o,i){"__proto__"==o&&u?u(s,o,{configurable:!0,enumerable:!0,value:i,writable:!0}):s[o]=i}},9999:(s,o,i)=>{var u=i(37217),_=i(83729),w=i(16547),x=i(74733),C=i(43838),j=i(93290),L=i(23007),B=i(92271),$=i(48948),V=i(50002),U=i(83349),z=i(5861),Y=i(76189),Z=i(77199),ee=i(35529),ie=i(56449),ae=i(3656),ce=i(87730),le=i(23805),pe=i(38440),de=i(95950),fe=i(37241),ye="[object Arguments]",be="[object Function]",_e="[object Object]",Se={};Se[ye]=Se["[object Array]"]=Se["[object ArrayBuffer]"]=Se["[object DataView]"]=Se["[object Boolean]"]=Se["[object Date]"]=Se["[object Float32Array]"]=Se["[object Float64Array]"]=Se["[object Int8Array]"]=Se["[object Int16Array]"]=Se["[object Int32Array]"]=Se["[object Map]"]=Se["[object Number]"]=Se[_e]=Se["[object RegExp]"]=Se["[object Set]"]=Se["[object String]"]=Se["[object Symbol]"]=Se["[object Uint8Array]"]=Se["[object Uint8ClampedArray]"]=Se["[object Uint16Array]"]=Se["[object Uint32Array]"]=!0,Se["[object Error]"]=Se[be]=Se["[object WeakMap]"]=!1,s.exports=function baseClone(s,o,i,we,xe,Pe){var Te,Re=1&o,qe=2&o,$e=4&o;if(i&&(Te=xe?i(s,we,xe,Pe):i(s)),void 0!==Te)return Te;if(!le(s))return s;var ze=ie(s);if(ze){if(Te=Y(s),!Re)return L(s,Te)}else{var We=z(s),He=We==be||"[object GeneratorFunction]"==We;if(ae(s))return j(s,Re);if(We==_e||We==ye||He&&!xe){if(Te=qe||He?{}:ee(s),!Re)return qe?$(s,C(Te,s)):B(s,x(Te,s))}else{if(!Se[We])return xe?s:{};Te=Z(s,We,Re)}}Pe||(Pe=new u);var Ye=Pe.get(s);if(Ye)return Ye;Pe.set(s,Te),pe(s)?s.forEach((function(u){Te.add(baseClone(u,o,i,u,s,Pe))})):ce(s)&&s.forEach((function(u,_){Te.set(_,baseClone(u,o,i,_,s,Pe))}));var Xe=ze?void 0:($e?qe?U:V:qe?fe:de)(s);return _(Xe||s,(function(u,_){Xe&&(u=s[_=u]),w(Te,_,baseClone(u,o,i,_,s,Pe))})),Te}},39344:(s,o,i)=>{var u=i(23805),_=Object.create,w=function(){function object(){}return function(s){if(!u(s))return{};if(_)return _(s);object.prototype=s;var o=new object;return object.prototype=void 0,o}}();s.exports=w},80909:(s,o,i)=>{var u=i(30641),_=i(38329)(u);s.exports=_},2523:s=>{s.exports=function baseFindIndex(s,o,i,u){for(var _=s.length,w=i+(u?1:-1);u?w--:++w<_;)if(o(s[w],w,s))return w;return-1}},83120:(s,o,i)=>{var u=i(14528),_=i(45891);s.exports=function baseFlatten(s,o,i,w,x){var C=-1,j=s.length;for(i||(i=_),x||(x=[]);++C0&&i(L)?o>1?baseFlatten(L,o-1,i,w,x):u(x,L):w||(x[x.length]=L)}return x}},86649:(s,o,i)=>{var u=i(83221)();s.exports=u},30641:(s,o,i)=>{var u=i(86649),_=i(95950);s.exports=function baseForOwn(s,o){return s&&u(s,o,_)}},47422:(s,o,i)=>{var u=i(31769),_=i(77797);s.exports=function baseGet(s,o){for(var i=0,w=(o=u(o,s)).length;null!=s&&i{var u=i(14528),_=i(56449);s.exports=function baseGetAllKeys(s,o,i){var w=o(s);return _(s)?w:u(w,i(s))}},72552:(s,o,i)=>{var u=i(51873),_=i(659),w=i(59350),x=u?u.toStringTag:void 0;s.exports=function baseGetTag(s){return null==s?void 0===s?"[object Undefined]":"[object Null]":x&&x in Object(s)?_(s):w(s)}},20426:s=>{var o=Object.prototype.hasOwnProperty;s.exports=function baseHas(s,i){return null!=s&&o.call(s,i)}},28077:s=>{s.exports=function baseHasIn(s,o){return null!=s&&o in Object(s)}},96131:(s,o,i)=>{var u=i(2523),_=i(85463),w=i(76959);s.exports=function baseIndexOf(s,o,i){return o==o?w(s,o,i):u(s,_,i)}},27534:(s,o,i)=>{var u=i(72552),_=i(40346);s.exports=function baseIsArguments(s){return _(s)&&"[object Arguments]"==u(s)}},60270:(s,o,i)=>{var u=i(87068),_=i(40346);s.exports=function baseIsEqual(s,o,i,w,x){return s===o||(null==s||null==o||!_(s)&&!_(o)?s!=s&&o!=o:u(s,o,i,w,baseIsEqual,x))}},87068:(s,o,i)=>{var u=i(37217),_=i(25911),w=i(21986),x=i(50689),C=i(5861),j=i(56449),L=i(3656),B=i(37167),$="[object Arguments]",V="[object Array]",U="[object Object]",z=Object.prototype.hasOwnProperty;s.exports=function baseIsEqualDeep(s,o,i,Y,Z,ee){var ie=j(s),ae=j(o),ce=ie?V:C(s),le=ae?V:C(o),pe=(ce=ce==$?U:ce)==U,de=(le=le==$?U:le)==U,fe=ce==le;if(fe&&L(s)){if(!L(o))return!1;ie=!0,pe=!1}if(fe&&!pe)return ee||(ee=new u),ie||B(s)?_(s,o,i,Y,Z,ee):w(s,o,ce,i,Y,Z,ee);if(!(1&i)){var ye=pe&&z.call(s,"__wrapped__"),be=de&&z.call(o,"__wrapped__");if(ye||be){var _e=ye?s.value():s,Se=be?o.value():o;return ee||(ee=new u),Z(_e,Se,i,Y,ee)}}return!!fe&&(ee||(ee=new u),x(s,o,i,Y,Z,ee))}},29172:(s,o,i)=>{var u=i(5861),_=i(40346);s.exports=function baseIsMap(s){return _(s)&&"[object Map]"==u(s)}},41799:(s,o,i)=>{var u=i(37217),_=i(60270);s.exports=function baseIsMatch(s,o,i,w){var x=i.length,C=x,j=!w;if(null==s)return!C;for(s=Object(s);x--;){var L=i[x];if(j&&L[2]?L[1]!==s[L[0]]:!(L[0]in s))return!1}for(;++x{s.exports=function baseIsNaN(s){return s!=s}},45083:(s,o,i)=>{var u=i(1882),_=i(87296),w=i(23805),x=i(47473),C=/^\[object .+?Constructor\]$/,j=Function.prototype,L=Object.prototype,B=j.toString,$=L.hasOwnProperty,V=RegExp("^"+B.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");s.exports=function baseIsNative(s){return!(!w(s)||_(s))&&(u(s)?V:C).test(x(s))}},16038:(s,o,i)=>{var u=i(5861),_=i(40346);s.exports=function baseIsSet(s){return _(s)&&"[object Set]"==u(s)}},4901:(s,o,i)=>{var u=i(72552),_=i(30294),w=i(40346),x={};x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x["[object Arguments]"]=x["[object Array]"]=x["[object ArrayBuffer]"]=x["[object Boolean]"]=x["[object DataView]"]=x["[object Date]"]=x["[object Error]"]=x["[object Function]"]=x["[object Map]"]=x["[object Number]"]=x["[object Object]"]=x["[object RegExp]"]=x["[object Set]"]=x["[object String]"]=x["[object WeakMap]"]=!1,s.exports=function baseIsTypedArray(s){return w(s)&&_(s.length)&&!!x[u(s)]}},15389:(s,o,i)=>{var u=i(93663),_=i(87978),w=i(83488),x=i(56449),C=i(50583);s.exports=function baseIteratee(s){return"function"==typeof s?s:null==s?w:"object"==typeof s?x(s)?_(s[0],s[1]):u(s):C(s)}},88984:(s,o,i)=>{var u=i(55527),_=i(3650),w=Object.prototype.hasOwnProperty;s.exports=function baseKeys(s){if(!u(s))return _(s);var o=[];for(var i in Object(s))w.call(s,i)&&"constructor"!=i&&o.push(i);return o}},72903:(s,o,i)=>{var u=i(23805),_=i(55527),w=i(90181),x=Object.prototype.hasOwnProperty;s.exports=function baseKeysIn(s){if(!u(s))return w(s);var o=_(s),i=[];for(var C in s)("constructor"!=C||!o&&x.call(s,C))&&i.push(C);return i}},94033:s=>{s.exports=function baseLodash(){}},93663:(s,o,i)=>{var u=i(41799),_=i(10776),w=i(67197);s.exports=function baseMatches(s){var o=_(s);return 1==o.length&&o[0][2]?w(o[0][0],o[0][1]):function(i){return i===s||u(i,s,o)}}},87978:(s,o,i)=>{var u=i(60270),_=i(58156),w=i(80631),x=i(28586),C=i(30756),j=i(67197),L=i(77797);s.exports=function baseMatchesProperty(s,o){return x(s)&&C(o)?j(L(s),o):function(i){var x=_(i,s);return void 0===x&&x===o?w(i,s):u(o,x,3)}}},85250:(s,o,i)=>{var u=i(37217),_=i(87805),w=i(86649),x=i(42824),C=i(23805),j=i(37241),L=i(14974);s.exports=function baseMerge(s,o,i,B,$){s!==o&&w(o,(function(w,j){if($||($=new u),C(w))x(s,o,j,i,baseMerge,B,$);else{var V=B?B(L(s,j),w,j+"",s,o,$):void 0;void 0===V&&(V=w),_(s,j,V)}}),j)}},42824:(s,o,i)=>{var u=i(87805),_=i(93290),w=i(71961),x=i(23007),C=i(35529),j=i(72428),L=i(56449),B=i(83693),$=i(3656),V=i(1882),U=i(23805),z=i(11331),Y=i(37167),Z=i(14974),ee=i(69884);s.exports=function baseMergeDeep(s,o,i,ie,ae,ce,le){var pe=Z(s,i),de=Z(o,i),fe=le.get(de);if(fe)u(s,i,fe);else{var ye=ce?ce(pe,de,i+"",s,o,le):void 0,be=void 0===ye;if(be){var _e=L(de),Se=!_e&&$(de),we=!_e&&!Se&&Y(de);ye=de,_e||Se||we?L(pe)?ye=pe:B(pe)?ye=x(pe):Se?(be=!1,ye=_(de,!0)):we?(be=!1,ye=w(de,!0)):ye=[]:z(de)||j(de)?(ye=pe,j(pe)?ye=ee(pe):U(pe)&&!V(pe)||(ye=C(de))):be=!1}be&&(le.set(de,ye),ae(ye,de,ie,ce,le),le.delete(de)),u(s,i,ye)}}},47237:s=>{s.exports=function baseProperty(s){return function(o){return null==o?void 0:o[s]}}},17255:(s,o,i)=>{var u=i(47422);s.exports=function basePropertyDeep(s){return function(o){return u(o,s)}}},54552:s=>{s.exports=function basePropertyOf(s){return function(o){return null==s?void 0:s[o]}}},85558:s=>{s.exports=function baseReduce(s,o,i,u,_){return _(s,(function(s,_,w){i=u?(u=!1,s):o(i,s,_,w)})),i}},69302:(s,o,i)=>{var u=i(83488),_=i(56757),w=i(32865);s.exports=function baseRest(s,o){return w(_(s,o,u),s+"")}},73170:(s,o,i)=>{var u=i(16547),_=i(31769),w=i(30361),x=i(23805),C=i(77797);s.exports=function baseSet(s,o,i,j){if(!x(s))return s;for(var L=-1,B=(o=_(o,s)).length,$=B-1,V=s;null!=V&&++L{var u=i(83488),_=i(48152),w=_?function(s,o){return _.set(s,o),s}:u;s.exports=w},19570:(s,o,i)=>{var u=i(37334),_=i(93243),w=i(83488),x=_?function(s,o){return _(s,"toString",{configurable:!0,enumerable:!1,value:u(o),writable:!0})}:w;s.exports=x},25160:s=>{s.exports=function baseSlice(s,o,i){var u=-1,_=s.length;o<0&&(o=-o>_?0:_+o),(i=i>_?_:i)<0&&(i+=_),_=o>i?0:i-o>>>0,o>>>=0;for(var w=Array(_);++u<_;)w[u]=s[u+o];return w}},90916:(s,o,i)=>{var u=i(80909);s.exports=function baseSome(s,o){var i;return u(s,(function(s,u,_){return!(i=o(s,u,_))})),!!i}},78096:s=>{s.exports=function baseTimes(s,o){for(var i=-1,u=Array(s);++i{var u=i(51873),_=i(34932),w=i(56449),x=i(44394),C=u?u.prototype:void 0,j=C?C.toString:void 0;s.exports=function baseToString(s){if("string"==typeof s)return s;if(w(s))return _(s,baseToString)+"";if(x(s))return j?j.call(s):"";var o=s+"";return"0"==o&&1/s==-1/0?"-0":o}},54128:(s,o,i)=>{var u=i(31800),_=/^\s+/;s.exports=function baseTrim(s){return s?s.slice(0,u(s)+1).replace(_,""):s}},27301:s=>{s.exports=function baseUnary(s){return function(o){return s(o)}}},19931:(s,o,i)=>{var u=i(31769),_=i(68090),w=i(68969),x=i(77797);s.exports=function baseUnset(s,o){return o=u(o,s),null==(s=w(s,o))||delete s[x(_(o))]}},51234:s=>{s.exports=function baseZipObject(s,o,i){for(var u=-1,_=s.length,w=o.length,x={};++u<_;){var C=u{s.exports=function cacheHas(s,o){return s.has(o)}},31769:(s,o,i)=>{var u=i(56449),_=i(28586),w=i(61802),x=i(13222);s.exports=function castPath(s,o){return u(s)?s:_(s,o)?[s]:w(x(s))}},28754:(s,o,i)=>{var u=i(25160);s.exports=function castSlice(s,o,i){var _=s.length;return i=void 0===i?_:i,!o&&i>=_?s:u(s,o,i)}},49653:(s,o,i)=>{var u=i(37828);s.exports=function cloneArrayBuffer(s){var o=new s.constructor(s.byteLength);return new u(o).set(new u(s)),o}},93290:(s,o,i)=>{s=i.nmd(s);var u=i(9325),_=o&&!o.nodeType&&o,w=_&&s&&!s.nodeType&&s,x=w&&w.exports===_?u.Buffer:void 0,C=x?x.allocUnsafe:void 0;s.exports=function cloneBuffer(s,o){if(o)return s.slice();var i=s.length,u=C?C(i):new s.constructor(i);return s.copy(u),u}},76169:(s,o,i)=>{var u=i(49653);s.exports=function cloneDataView(s,o){var i=o?u(s.buffer):s.buffer;return new s.constructor(i,s.byteOffset,s.byteLength)}},73201:s=>{var o=/\w*$/;s.exports=function cloneRegExp(s){var i=new s.constructor(s.source,o.exec(s));return i.lastIndex=s.lastIndex,i}},93736:(s,o,i)=>{var u=i(51873),_=u?u.prototype:void 0,w=_?_.valueOf:void 0;s.exports=function cloneSymbol(s){return w?Object(w.call(s)):{}}},71961:(s,o,i)=>{var u=i(49653);s.exports=function cloneTypedArray(s,o){var i=o?u(s.buffer):s.buffer;return new s.constructor(i,s.byteOffset,s.length)}},91596:s=>{var o=Math.max;s.exports=function composeArgs(s,i,u,_){for(var w=-1,x=s.length,C=u.length,j=-1,L=i.length,B=o(x-C,0),$=Array(L+B),V=!_;++j{var o=Math.max;s.exports=function composeArgsRight(s,i,u,_){for(var w=-1,x=s.length,C=-1,j=u.length,L=-1,B=i.length,$=o(x-j,0),V=Array($+B),U=!_;++w<$;)V[w]=s[w];for(var z=w;++L{s.exports=function copyArray(s,o){var i=-1,u=s.length;for(o||(o=Array(u));++i{var u=i(16547),_=i(43360);s.exports=function copyObject(s,o,i,w){var x=!i;i||(i={});for(var C=-1,j=o.length;++C{var u=i(21791),_=i(4664);s.exports=function copySymbols(s,o){return u(s,_(s),o)}},48948:(s,o,i)=>{var u=i(21791),_=i(86375);s.exports=function copySymbolsIn(s,o){return u(s,_(s),o)}},55481:(s,o,i)=>{var u=i(9325)["__core-js_shared__"];s.exports=u},58523:s=>{s.exports=function countHolders(s,o){for(var i=s.length,u=0;i--;)s[i]===o&&++u;return u}},20999:(s,o,i)=>{var u=i(69302),_=i(36800);s.exports=function createAssigner(s){return u((function(o,i){var u=-1,w=i.length,x=w>1?i[w-1]:void 0,C=w>2?i[2]:void 0;for(x=s.length>3&&"function"==typeof x?(w--,x):void 0,C&&_(i[0],i[1],C)&&(x=w<3?void 0:x,w=1),o=Object(o);++u{var u=i(64894);s.exports=function createBaseEach(s,o){return function(i,_){if(null==i)return i;if(!u(i))return s(i,_);for(var w=i.length,x=o?w:-1,C=Object(i);(o?x--:++x{s.exports=function createBaseFor(s){return function(o,i,u){for(var _=-1,w=Object(o),x=u(o),C=x.length;C--;){var j=x[s?C:++_];if(!1===i(w[j],j,w))break}return o}}},11842:(s,o,i)=>{var u=i(82819),_=i(9325);s.exports=function createBind(s,o,i){var w=1&o,x=u(s);return function wrapper(){return(this&&this!==_&&this instanceof wrapper?x:s).apply(w?i:this,arguments)}}},12507:(s,o,i)=>{var u=i(28754),_=i(49698),w=i(63912),x=i(13222);s.exports=function createCaseFirst(s){return function(o){o=x(o);var i=_(o)?w(o):void 0,C=i?i[0]:o.charAt(0),j=i?u(i,1).join(""):o.slice(1);return C[s]()+j}}},45539:(s,o,i)=>{var u=i(40882),_=i(50828),w=i(66645),x=RegExp("['’]","g");s.exports=function createCompounder(s){return function(o){return u(w(_(o).replace(x,"")),s,"")}}},82819:(s,o,i)=>{var u=i(39344),_=i(23805);s.exports=function createCtor(s){return function(){var o=arguments;switch(o.length){case 0:return new s;case 1:return new s(o[0]);case 2:return new s(o[0],o[1]);case 3:return new s(o[0],o[1],o[2]);case 4:return new s(o[0],o[1],o[2],o[3]);case 5:return new s(o[0],o[1],o[2],o[3],o[4]);case 6:return new s(o[0],o[1],o[2],o[3],o[4],o[5]);case 7:return new s(o[0],o[1],o[2],o[3],o[4],o[5],o[6])}var i=u(s.prototype),w=s.apply(i,o);return _(w)?w:i}}},77078:(s,o,i)=>{var u=i(91033),_=i(82819),w=i(37471),x=i(18073),C=i(11287),j=i(36306),L=i(9325);s.exports=function createCurry(s,o,i){var B=_(s);return function wrapper(){for(var _=arguments.length,$=Array(_),V=_,U=C(wrapper);V--;)$[V]=arguments[V];var z=_<3&&$[0]!==U&&$[_-1]!==U?[]:j($,U);return(_-=z.length){var u=i(15389),_=i(64894),w=i(95950);s.exports=function createFind(s){return function(o,i,x){var C=Object(o);if(!_(o)){var j=u(i,3);o=w(o),i=function(s){return j(C[s],s,C)}}var L=s(o,i,x);return L>-1?C[j?o[L]:L]:void 0}}},37471:(s,o,i)=>{var u=i(91596),_=i(53320),w=i(58523),x=i(82819),C=i(18073),j=i(11287),L=i(68294),B=i(36306),$=i(9325);s.exports=function createHybrid(s,o,i,V,U,z,Y,Z,ee,ie){var ae=128&o,ce=1&o,le=2&o,pe=24&o,de=512&o,fe=le?void 0:x(s);return function wrapper(){for(var ye=arguments.length,be=Array(ye),_e=ye;_e--;)be[_e]=arguments[_e];if(pe)var Se=j(wrapper),we=w(be,Se);if(V&&(be=u(be,V,U,pe)),z&&(be=_(be,z,Y,pe)),ye-=we,pe&&ye1&&be.reverse(),ae&&ee{var u=i(91033),_=i(82819),w=i(9325);s.exports=function createPartial(s,o,i,x){var C=1&o,j=_(s);return function wrapper(){for(var o=-1,_=arguments.length,L=-1,B=x.length,$=Array(B+_),V=this&&this!==w&&this instanceof wrapper?j:s;++L{var u=i(85087),_=i(54641),w=i(70981);s.exports=function createRecurry(s,o,i,x,C,j,L,B,$,V){var U=8&o;o|=U?32:64,4&(o&=~(U?64:32))||(o&=-4);var z=[s,o,C,U?j:void 0,U?L:void 0,U?void 0:j,U?void 0:L,B,$,V],Y=i.apply(void 0,z);return u(s)&&_(Y,z),Y.placeholder=x,w(Y,s,o)}},66977:(s,o,i)=>{var u=i(68882),_=i(11842),w=i(77078),x=i(37471),C=i(24168),j=i(37381),L=i(3209),B=i(54641),$=i(70981),V=i(61489),U=Math.max;s.exports=function createWrap(s,o,i,z,Y,Z,ee,ie){var ae=2&o;if(!ae&&"function"!=typeof s)throw new TypeError("Expected a function");var ce=z?z.length:0;if(ce||(o&=-97,z=Y=void 0),ee=void 0===ee?ee:U(V(ee),0),ie=void 0===ie?ie:V(ie),ce-=Y?Y.length:0,64&o){var le=z,pe=Y;z=Y=void 0}var de=ae?void 0:j(s),fe=[s,o,i,z,Y,le,pe,Z,ee,ie];if(de&&L(fe,de),s=fe[0],o=fe[1],i=fe[2],z=fe[3],Y=fe[4],!(ie=fe[9]=void 0===fe[9]?ae?0:s.length:U(fe[9]-ce,0))&&24&o&&(o&=-25),o&&1!=o)ye=8==o||16==o?w(s,o,ie):32!=o&&33!=o||Y.length?x.apply(void 0,fe):C(s,o,i,z);else var ye=_(s,o,i);return $((de?u:B)(ye,fe),s,o)}},53138:(s,o,i)=>{var u=i(11331);s.exports=function customOmitClone(s){return u(s)?void 0:s}},24647:(s,o,i)=>{var u=i(54552)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});s.exports=u},93243:(s,o,i)=>{var u=i(56110),_=function(){try{var s=u(Object,"defineProperty");return s({},"",{}),s}catch(s){}}();s.exports=_},25911:(s,o,i)=>{var u=i(38859),_=i(14248),w=i(19219);s.exports=function equalArrays(s,o,i,x,C,j){var L=1&i,B=s.length,$=o.length;if(B!=$&&!(L&&$>B))return!1;var V=j.get(s),U=j.get(o);if(V&&U)return V==o&&U==s;var z=-1,Y=!0,Z=2&i?new u:void 0;for(j.set(s,o),j.set(o,s);++z{var u=i(51873),_=i(37828),w=i(75288),x=i(25911),C=i(20317),j=i(84247),L=u?u.prototype:void 0,B=L?L.valueOf:void 0;s.exports=function equalByTag(s,o,i,u,L,$,V){switch(i){case"[object DataView]":if(s.byteLength!=o.byteLength||s.byteOffset!=o.byteOffset)return!1;s=s.buffer,o=o.buffer;case"[object ArrayBuffer]":return!(s.byteLength!=o.byteLength||!$(new _(s),new _(o)));case"[object Boolean]":case"[object Date]":case"[object Number]":return w(+s,+o);case"[object Error]":return s.name==o.name&&s.message==o.message;case"[object RegExp]":case"[object String]":return s==o+"";case"[object Map]":var U=C;case"[object Set]":var z=1&u;if(U||(U=j),s.size!=o.size&&!z)return!1;var Y=V.get(s);if(Y)return Y==o;u|=2,V.set(s,o);var Z=x(U(s),U(o),u,L,$,V);return V.delete(s),Z;case"[object Symbol]":if(B)return B.call(s)==B.call(o)}return!1}},50689:(s,o,i)=>{var u=i(50002),_=Object.prototype.hasOwnProperty;s.exports=function equalObjects(s,o,i,w,x,C){var j=1&i,L=u(s),B=L.length;if(B!=u(o).length&&!j)return!1;for(var $=B;$--;){var V=L[$];if(!(j?V in o:_.call(o,V)))return!1}var U=C.get(s),z=C.get(o);if(U&&z)return U==o&&z==s;var Y=!0;C.set(s,o),C.set(o,s);for(var Z=j;++${var u=i(35970),_=i(56757),w=i(32865);s.exports=function flatRest(s){return w(_(s,void 0,u),s+"")}},34840:(s,o,i)=>{var u="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g;s.exports=u},50002:(s,o,i)=>{var u=i(82199),_=i(4664),w=i(95950);s.exports=function getAllKeys(s){return u(s,w,_)}},83349:(s,o,i)=>{var u=i(82199),_=i(86375),w=i(37241);s.exports=function getAllKeysIn(s){return u(s,w,_)}},37381:(s,o,i)=>{var u=i(48152),_=i(63950),w=u?function(s){return u.get(s)}:_;s.exports=w},62284:(s,o,i)=>{var u=i(84629),_=Object.prototype.hasOwnProperty;s.exports=function getFuncName(s){for(var o=s.name+"",i=u[o],w=_.call(u,o)?i.length:0;w--;){var x=i[w],C=x.func;if(null==C||C==s)return x.name}return o}},11287:s=>{s.exports=function getHolder(s){return s.placeholder}},12651:(s,o,i)=>{var u=i(74218);s.exports=function getMapData(s,o){var i=s.__data__;return u(o)?i["string"==typeof o?"string":"hash"]:i.map}},10776:(s,o,i)=>{var u=i(30756),_=i(95950);s.exports=function getMatchData(s){for(var o=_(s),i=o.length;i--;){var w=o[i],x=s[w];o[i]=[w,x,u(x)]}return o}},56110:(s,o,i)=>{var u=i(45083),_=i(10392);s.exports=function getNative(s,o){var i=_(s,o);return u(i)?i:void 0}},28879:(s,o,i)=>{var u=i(74335)(Object.getPrototypeOf,Object);s.exports=u},659:(s,o,i)=>{var u=i(51873),_=Object.prototype,w=_.hasOwnProperty,x=_.toString,C=u?u.toStringTag:void 0;s.exports=function getRawTag(s){var o=w.call(s,C),i=s[C];try{s[C]=void 0;var u=!0}catch(s){}var _=x.call(s);return u&&(o?s[C]=i:delete s[C]),_}},4664:(s,o,i)=>{var u=i(79770),_=i(63345),w=Object.prototype.propertyIsEnumerable,x=Object.getOwnPropertySymbols,C=x?function(s){return null==s?[]:(s=Object(s),u(x(s),(function(o){return w.call(s,o)})))}:_;s.exports=C},86375:(s,o,i)=>{var u=i(14528),_=i(28879),w=i(4664),x=i(63345),C=Object.getOwnPropertySymbols?function(s){for(var o=[];s;)u(o,w(s)),s=_(s);return o}:x;s.exports=C},5861:(s,o,i)=>{var u=i(55580),_=i(68223),w=i(32804),x=i(76545),C=i(28303),j=i(72552),L=i(47473),B="[object Map]",$="[object Promise]",V="[object Set]",U="[object WeakMap]",z="[object DataView]",Y=L(u),Z=L(_),ee=L(w),ie=L(x),ae=L(C),ce=j;(u&&ce(new u(new ArrayBuffer(1)))!=z||_&&ce(new _)!=B||w&&ce(w.resolve())!=$||x&&ce(new x)!=V||C&&ce(new C)!=U)&&(ce=function(s){var o=j(s),i="[object Object]"==o?s.constructor:void 0,u=i?L(i):"";if(u)switch(u){case Y:return z;case Z:return B;case ee:return $;case ie:return V;case ae:return U}return o}),s.exports=ce},10392:s=>{s.exports=function getValue(s,o){return null==s?void 0:s[o]}},75251:s=>{var o=/\{\n\/\* \[wrapped with (.+)\] \*/,i=/,? & /;s.exports=function getWrapDetails(s){var u=s.match(o);return u?u[1].split(i):[]}},49326:(s,o,i)=>{var u=i(31769),_=i(72428),w=i(56449),x=i(30361),C=i(30294),j=i(77797);s.exports=function hasPath(s,o,i){for(var L=-1,B=(o=u(o,s)).length,$=!1;++L{var o=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");s.exports=function hasUnicode(s){return o.test(s)}},45434:s=>{var o=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;s.exports=function hasUnicodeWord(s){return o.test(s)}},22032:(s,o,i)=>{var u=i(81042);s.exports=function hashClear(){this.__data__=u?u(null):{},this.size=0}},63862:s=>{s.exports=function hashDelete(s){var o=this.has(s)&&delete this.__data__[s];return this.size-=o?1:0,o}},66721:(s,o,i)=>{var u=i(81042),_=Object.prototype.hasOwnProperty;s.exports=function hashGet(s){var o=this.__data__;if(u){var i=o[s];return"__lodash_hash_undefined__"===i?void 0:i}return _.call(o,s)?o[s]:void 0}},12749:(s,o,i)=>{var u=i(81042),_=Object.prototype.hasOwnProperty;s.exports=function hashHas(s){var o=this.__data__;return u?void 0!==o[s]:_.call(o,s)}},35749:(s,o,i)=>{var u=i(81042);s.exports=function hashSet(s,o){var i=this.__data__;return this.size+=this.has(s)?0:1,i[s]=u&&void 0===o?"__lodash_hash_undefined__":o,this}},76189:s=>{var o=Object.prototype.hasOwnProperty;s.exports=function initCloneArray(s){var i=s.length,u=new s.constructor(i);return i&&"string"==typeof s[0]&&o.call(s,"index")&&(u.index=s.index,u.input=s.input),u}},77199:(s,o,i)=>{var u=i(49653),_=i(76169),w=i(73201),x=i(93736),C=i(71961);s.exports=function initCloneByTag(s,o,i){var j=s.constructor;switch(o){case"[object ArrayBuffer]":return u(s);case"[object Boolean]":case"[object Date]":return new j(+s);case"[object DataView]":return _(s,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return C(s,i);case"[object Map]":case"[object Set]":return new j;case"[object Number]":case"[object String]":return new j(s);case"[object RegExp]":return w(s);case"[object Symbol]":return x(s)}}},35529:(s,o,i)=>{var u=i(39344),_=i(28879),w=i(55527);s.exports=function initCloneObject(s){return"function"!=typeof s.constructor||w(s)?{}:u(_(s))}},62060:s=>{var o=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;s.exports=function insertWrapDetails(s,i){var u=i.length;if(!u)return s;var _=u-1;return i[_]=(u>1?"& ":"")+i[_],i=i.join(u>2?", ":" "),s.replace(o,"{\n/* [wrapped with "+i+"] */\n")}},45891:(s,o,i)=>{var u=i(51873),_=i(72428),w=i(56449),x=u?u.isConcatSpreadable:void 0;s.exports=function isFlattenable(s){return w(s)||_(s)||!!(x&&s&&s[x])}},30361:s=>{var o=/^(?:0|[1-9]\d*)$/;s.exports=function isIndex(s,i){var u=typeof s;return!!(i=null==i?9007199254740991:i)&&("number"==u||"symbol"!=u&&o.test(s))&&s>-1&&s%1==0&&s{var u=i(75288),_=i(64894),w=i(30361),x=i(23805);s.exports=function isIterateeCall(s,o,i){if(!x(i))return!1;var C=typeof o;return!!("number"==C?_(i)&&w(o,i.length):"string"==C&&o in i)&&u(i[o],s)}},28586:(s,o,i)=>{var u=i(56449),_=i(44394),w=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/;s.exports=function isKey(s,o){if(u(s))return!1;var i=typeof s;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=s&&!_(s))||(x.test(s)||!w.test(s)||null!=o&&s in Object(o))}},74218:s=>{s.exports=function isKeyable(s){var o=typeof s;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==s:null===s}},85087:(s,o,i)=>{var u=i(30980),_=i(37381),w=i(62284),x=i(53758);s.exports=function isLaziable(s){var o=w(s),i=x[o];if("function"!=typeof i||!(o in u.prototype))return!1;if(s===i)return!0;var C=_(i);return!!C&&s===C[0]}},87296:(s,o,i)=>{var u,_=i(55481),w=(u=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"";s.exports=function isMasked(s){return!!w&&w in s}},55527:s=>{var o=Object.prototype;s.exports=function isPrototype(s){var i=s&&s.constructor;return s===("function"==typeof i&&i.prototype||o)}},30756:(s,o,i)=>{var u=i(23805);s.exports=function isStrictComparable(s){return s==s&&!u(s)}},63702:s=>{s.exports=function listCacheClear(){this.__data__=[],this.size=0}},70080:(s,o,i)=>{var u=i(26025),_=Array.prototype.splice;s.exports=function listCacheDelete(s){var o=this.__data__,i=u(o,s);return!(i<0)&&(i==o.length-1?o.pop():_.call(o,i,1),--this.size,!0)}},24739:(s,o,i)=>{var u=i(26025);s.exports=function listCacheGet(s){var o=this.__data__,i=u(o,s);return i<0?void 0:o[i][1]}},48655:(s,o,i)=>{var u=i(26025);s.exports=function listCacheHas(s){return u(this.__data__,s)>-1}},31175:(s,o,i)=>{var u=i(26025);s.exports=function listCacheSet(s,o){var i=this.__data__,_=u(i,s);return _<0?(++this.size,i.push([s,o])):i[_][1]=o,this}},63040:(s,o,i)=>{var u=i(21549),_=i(80079),w=i(68223);s.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new u,map:new(w||_),string:new u}}},17670:(s,o,i)=>{var u=i(12651);s.exports=function mapCacheDelete(s){var o=u(this,s).delete(s);return this.size-=o?1:0,o}},90289:(s,o,i)=>{var u=i(12651);s.exports=function mapCacheGet(s){return u(this,s).get(s)}},4509:(s,o,i)=>{var u=i(12651);s.exports=function mapCacheHas(s){return u(this,s).has(s)}},72949:(s,o,i)=>{var u=i(12651);s.exports=function mapCacheSet(s,o){var i=u(this,s),_=i.size;return i.set(s,o),this.size+=i.size==_?0:1,this}},20317:s=>{s.exports=function mapToArray(s){var o=-1,i=Array(s.size);return s.forEach((function(s,u){i[++o]=[u,s]})),i}},67197:s=>{s.exports=function matchesStrictComparable(s,o){return function(i){return null!=i&&(i[s]===o&&(void 0!==o||s in Object(i)))}}},62224:(s,o,i)=>{var u=i(50104);s.exports=function memoizeCapped(s){var o=u(s,(function(s){return 500===i.size&&i.clear(),s})),i=o.cache;return o}},3209:(s,o,i)=>{var u=i(91596),_=i(53320),w=i(36306),x="__lodash_placeholder__",C=128,j=Math.min;s.exports=function mergeData(s,o){var i=s[1],L=o[1],B=i|L,$=B<131,V=L==C&&8==i||L==C&&256==i&&s[7].length<=o[8]||384==L&&o[7].length<=o[8]&&8==i;if(!$&&!V)return s;1&L&&(s[2]=o[2],B|=1&i?0:4);var U=o[3];if(U){var z=s[3];s[3]=z?u(z,U,o[4]):U,s[4]=z?w(s[3],x):o[4]}return(U=o[5])&&(z=s[5],s[5]=z?_(z,U,o[6]):U,s[6]=z?w(s[5],x):o[6]),(U=o[7])&&(s[7]=U),L&C&&(s[8]=null==s[8]?o[8]:j(s[8],o[8])),null==s[9]&&(s[9]=o[9]),s[0]=o[0],s[1]=B,s}},48152:(s,o,i)=>{var u=i(28303),_=u&&new u;s.exports=_},81042:(s,o,i)=>{var u=i(56110)(Object,"create");s.exports=u},3650:(s,o,i)=>{var u=i(74335)(Object.keys,Object);s.exports=u},90181:s=>{s.exports=function nativeKeysIn(s){var o=[];if(null!=s)for(var i in Object(s))o.push(i);return o}},86009:(s,o,i)=>{s=i.nmd(s);var u=i(34840),_=o&&!o.nodeType&&o,w=_&&s&&!s.nodeType&&s,x=w&&w.exports===_&&u.process,C=function(){try{var s=w&&w.require&&w.require("util").types;return s||x&&x.binding&&x.binding("util")}catch(s){}}();s.exports=C},59350:s=>{var o=Object.prototype.toString;s.exports=function objectToString(s){return o.call(s)}},74335:s=>{s.exports=function overArg(s,o){return function(i){return s(o(i))}}},56757:(s,o,i)=>{var u=i(91033),_=Math.max;s.exports=function overRest(s,o,i){return o=_(void 0===o?s.length-1:o,0),function(){for(var w=arguments,x=-1,C=_(w.length-o,0),j=Array(C);++x{var u=i(47422),_=i(25160);s.exports=function parent(s,o){return o.length<2?s:u(s,_(o,0,-1))}},84629:s=>{s.exports={}},68294:(s,o,i)=>{var u=i(23007),_=i(30361),w=Math.min;s.exports=function reorder(s,o){for(var i=s.length,x=w(o.length,i),C=u(s);x--;){var j=o[x];s[x]=_(j,i)?C[j]:void 0}return s}},36306:s=>{var o="__lodash_placeholder__";s.exports=function replaceHolders(s,i){for(var u=-1,_=s.length,w=0,x=[];++u<_;){var C=s[u];C!==i&&C!==o||(s[u]=o,x[w++]=u)}return x}},9325:(s,o,i)=>{var u=i(34840),_="object"==typeof self&&self&&self.Object===Object&&self,w=u||_||Function("return this")();s.exports=w},14974:s=>{s.exports=function safeGet(s,o){if(("constructor"!==o||"function"!=typeof s[o])&&"__proto__"!=o)return s[o]}},31380:s=>{s.exports=function setCacheAdd(s){return this.__data__.set(s,"__lodash_hash_undefined__"),this}},51459:s=>{s.exports=function setCacheHas(s){return this.__data__.has(s)}},54641:(s,o,i)=>{var u=i(68882),_=i(51811)(u);s.exports=_},84247:s=>{s.exports=function setToArray(s){var o=-1,i=Array(s.size);return s.forEach((function(s){i[++o]=s})),i}},32865:(s,o,i)=>{var u=i(19570),_=i(51811)(u);s.exports=_},70981:(s,o,i)=>{var u=i(75251),_=i(62060),w=i(32865),x=i(75948);s.exports=function setWrapToString(s,o,i){var C=o+"";return w(s,_(C,x(u(C),i)))}},51811:s=>{var o=Date.now;s.exports=function shortOut(s){var i=0,u=0;return function(){var _=o(),w=16-(_-u);if(u=_,w>0){if(++i>=800)return arguments[0]}else i=0;return s.apply(void 0,arguments)}}},51420:(s,o,i)=>{var u=i(80079);s.exports=function stackClear(){this.__data__=new u,this.size=0}},90938:s=>{s.exports=function stackDelete(s){var o=this.__data__,i=o.delete(s);return this.size=o.size,i}},63605:s=>{s.exports=function stackGet(s){return this.__data__.get(s)}},29817:s=>{s.exports=function stackHas(s){return this.__data__.has(s)}},80945:(s,o,i)=>{var u=i(80079),_=i(68223),w=i(53661);s.exports=function stackSet(s,o){var i=this.__data__;if(i instanceof u){var x=i.__data__;if(!_||x.length<199)return x.push([s,o]),this.size=++i.size,this;i=this.__data__=new w(x)}return i.set(s,o),this.size=i.size,this}},76959:s=>{s.exports=function strictIndexOf(s,o,i){for(var u=i-1,_=s.length;++u<_;)if(s[u]===o)return u;return-1}},63912:(s,o,i)=>{var u=i(61074),_=i(49698),w=i(42054);s.exports=function stringToArray(s){return _(s)?w(s):u(s)}},61802:(s,o,i)=>{var u=i(62224),_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,w=/\\(\\)?/g,x=u((function(s){var o=[];return 46===s.charCodeAt(0)&&o.push(""),s.replace(_,(function(s,i,u,_){o.push(u?_.replace(w,"$1"):i||s)})),o}));s.exports=x},77797:(s,o,i)=>{var u=i(44394);s.exports=function toKey(s){if("string"==typeof s||u(s))return s;var o=s+"";return"0"==o&&1/s==-1/0?"-0":o}},47473:s=>{var o=Function.prototype.toString;s.exports=function toSource(s){if(null!=s){try{return o.call(s)}catch(s){}try{return s+""}catch(s){}}return""}},31800:s=>{var o=/\s/;s.exports=function trimmedEndIndex(s){for(var i=s.length;i--&&o.test(s.charAt(i)););return i}},42054:s=>{var o="\\ud800-\\udfff",i="["+o+"]",u="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",_="\\ud83c[\\udffb-\\udfff]",w="[^"+o+"]",x="(?:\\ud83c[\\udde6-\\uddff]){2}",C="[\\ud800-\\udbff][\\udc00-\\udfff]",j="(?:"+u+"|"+_+")"+"?",L="[\\ufe0e\\ufe0f]?",B=L+j+("(?:\\u200d(?:"+[w,x,C].join("|")+")"+L+j+")*"),$="(?:"+[w+u+"?",u,x,C,i].join("|")+")",V=RegExp(_+"(?="+_+")|"+$+B,"g");s.exports=function unicodeToArray(s){return s.match(V)||[]}},22225:s=>{var o="\\ud800-\\udfff",i="\\u2700-\\u27bf",u="a-z\\xdf-\\xf6\\xf8-\\xff",_="A-Z\\xc0-\\xd6\\xd8-\\xde",w="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",x="["+w+"]",C="\\d+",j="["+i+"]",L="["+u+"]",B="[^"+o+w+C+i+u+_+"]",$="(?:\\ud83c[\\udde6-\\uddff]){2}",V="[\\ud800-\\udbff][\\udc00-\\udfff]",U="["+_+"]",z="(?:"+L+"|"+B+")",Y="(?:"+U+"|"+B+")",Z="(?:['’](?:d|ll|m|re|s|t|ve))?",ee="(?:['’](?:D|LL|M|RE|S|T|VE))?",ie="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ae="[\\ufe0e\\ufe0f]?",ce=ae+ie+("(?:\\u200d(?:"+["[^"+o+"]",$,V].join("|")+")"+ae+ie+")*"),le="(?:"+[j,$,V].join("|")+")"+ce,pe=RegExp([U+"?"+L+"+"+Z+"(?="+[x,U,"$"].join("|")+")",Y+"+"+ee+"(?="+[x,U+z,"$"].join("|")+")",U+"?"+z+"+"+Z,U+"+"+ee,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",C,le].join("|"),"g");s.exports=function unicodeWords(s){return s.match(pe)||[]}},75948:(s,o,i)=>{var u=i(83729),_=i(15325),w=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];s.exports=function updateWrapDetails(s,o){return u(w,(function(i){var u="_."+i[0];o&i[1]&&!_(s,u)&&s.push(u)})),s.sort()}},80257:(s,o,i)=>{var u=i(30980),_=i(56017),w=i(23007);s.exports=function wrapperClone(s){if(s instanceof u)return s.clone();var o=new _(s.__wrapped__,s.__chain__);return o.__actions__=w(s.__actions__),o.__index__=s.__index__,o.__values__=s.__values__,o}},64626:(s,o,i)=>{var u=i(66977);s.exports=function ary(s,o,i){return o=i?void 0:o,o=s&&null==o?s.length:o,u(s,128,void 0,void 0,void 0,void 0,o)}},84058:(s,o,i)=>{var u=i(14792),_=i(45539)((function(s,o,i){return o=o.toLowerCase(),s+(i?u(o):o)}));s.exports=_},14792:(s,o,i)=>{var u=i(13222),_=i(55808);s.exports=function capitalize(s){return _(u(s).toLowerCase())}},32629:(s,o,i)=>{var u=i(9999);s.exports=function clone(s){return u(s,4)}},37334:s=>{s.exports=function constant(s){return function(){return s}}},49747:(s,o,i)=>{var u=i(66977);function curry(s,o,i){var _=u(s,8,void 0,void 0,void 0,void 0,void 0,o=i?void 0:o);return _.placeholder=curry.placeholder,_}curry.placeholder={},s.exports=curry},38221:(s,o,i)=>{var u=i(23805),_=i(10124),w=i(99374),x=Math.max,C=Math.min;s.exports=function debounce(s,o,i){var j,L,B,$,V,U,z=0,Y=!1,Z=!1,ee=!0;if("function"!=typeof s)throw new TypeError("Expected a function");function invokeFunc(o){var i=j,u=L;return j=L=void 0,z=o,$=s.apply(u,i)}function shouldInvoke(s){var i=s-U;return void 0===U||i>=o||i<0||Z&&s-z>=B}function timerExpired(){var s=_();if(shouldInvoke(s))return trailingEdge(s);V=setTimeout(timerExpired,function remainingWait(s){var i=o-(s-U);return Z?C(i,B-(s-z)):i}(s))}function trailingEdge(s){return V=void 0,ee&&j?invokeFunc(s):(j=L=void 0,$)}function debounced(){var s=_(),i=shouldInvoke(s);if(j=arguments,L=this,U=s,i){if(void 0===V)return function leadingEdge(s){return z=s,V=setTimeout(timerExpired,o),Y?invokeFunc(s):$}(U);if(Z)return clearTimeout(V),V=setTimeout(timerExpired,o),invokeFunc(U)}return void 0===V&&(V=setTimeout(timerExpired,o)),$}return o=w(o)||0,u(i)&&(Y=!!i.leading,B=(Z="maxWait"in i)?x(w(i.maxWait)||0,o):B,ee="trailing"in i?!!i.trailing:ee),debounced.cancel=function cancel(){void 0!==V&&clearTimeout(V),z=0,j=U=L=V=void 0},debounced.flush=function flush(){return void 0===V?$:trailingEdge(_())},debounced}},50828:(s,o,i)=>{var u=i(24647),_=i(13222),w=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,x=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");s.exports=function deburr(s){return(s=_(s))&&s.replace(w,u).replace(x,"")}},75288:s=>{s.exports=function eq(s,o){return s===o||s!=s&&o!=o}},60680:(s,o,i)=>{var u=i(13222),_=/[\\^$.*+?()[\]{}|]/g,w=RegExp(_.source);s.exports=function escapeRegExp(s){return(s=u(s))&&w.test(s)?s.replace(_,"\\$&"):s}},7309:(s,o,i)=>{var u=i(62006)(i(24713));s.exports=u},24713:(s,o,i)=>{var u=i(2523),_=i(15389),w=i(61489),x=Math.max;s.exports=function findIndex(s,o,i){var C=null==s?0:s.length;if(!C)return-1;var j=null==i?0:w(i);return j<0&&(j=x(C+j,0)),u(s,_(o,3),j)}},35970:(s,o,i)=>{var u=i(83120);s.exports=function flatten(s){return(null==s?0:s.length)?u(s,1):[]}},73424:(s,o,i)=>{var u=i(16962),_=i(2874),w=Array.prototype.push;function baseAry(s,o){return 2==o?function(o,i){return s(o,i)}:function(o){return s(o)}}function cloneArray(s){for(var o=s?s.length:0,i=Array(o);o--;)i[o]=s[o];return i}function wrapImmutable(s,o){return function(){var i=arguments.length;if(i){for(var u=Array(i);i--;)u[i]=arguments[i];var _=u[0]=o.apply(void 0,u);return s.apply(void 0,u),_}}}s.exports=function baseConvert(s,o,i,x){var C="function"==typeof o,j=o===Object(o);if(j&&(x=i,i=o,o=void 0),null==i)throw new TypeError;x||(x={});var L=!("cap"in x)||x.cap,B=!("curry"in x)||x.curry,$=!("fixed"in x)||x.fixed,V=!("immutable"in x)||x.immutable,U=!("rearg"in x)||x.rearg,z=C?i:_,Y="curry"in x&&x.curry,Z="fixed"in x&&x.fixed,ee="rearg"in x&&x.rearg,ie=C?i.runInContext():void 0,ae=C?i:{ary:s.ary,assign:s.assign,clone:s.clone,curry:s.curry,forEach:s.forEach,isArray:s.isArray,isError:s.isError,isFunction:s.isFunction,isWeakMap:s.isWeakMap,iteratee:s.iteratee,keys:s.keys,rearg:s.rearg,toInteger:s.toInteger,toPath:s.toPath},ce=ae.ary,le=ae.assign,pe=ae.clone,de=ae.curry,fe=ae.forEach,ye=ae.isArray,be=ae.isError,_e=ae.isFunction,Se=ae.isWeakMap,we=ae.keys,xe=ae.rearg,Pe=ae.toInteger,Te=ae.toPath,Re=we(u.aryMethod),qe={castArray:function(s){return function(){var o=arguments[0];return ye(o)?s(cloneArray(o)):s.apply(void 0,arguments)}},iteratee:function(s){return function(){var o=arguments[1],i=s(arguments[0],o),u=i.length;return L&&"number"==typeof o?(o=o>2?o-2:1,u&&u<=o?i:baseAry(i,o)):i}},mixin:function(s){return function(o){var i=this;if(!_e(i))return s(i,Object(o));var u=[];return fe(we(o),(function(s){_e(o[s])&&u.push([s,i.prototype[s]])})),s(i,Object(o)),fe(u,(function(s){var o=s[1];_e(o)?i.prototype[s[0]]=o:delete i.prototype[s[0]]})),i}},nthArg:function(s){return function(o){var i=o<0?1:Pe(o)+1;return de(s(o),i)}},rearg:function(s){return function(o,i){var u=i?i.length:0;return de(s(o,i),u)}},runInContext:function(o){return function(i){return baseConvert(s,o(i),x)}}};function castCap(s,o){if(L){var i=u.iterateeRearg[s];if(i)return function iterateeRearg(s,o){return overArg(s,(function(s){var i=o.length;return function baseArity(s,o){return 2==o?function(o,i){return s.apply(void 0,arguments)}:function(o){return s.apply(void 0,arguments)}}(xe(baseAry(s,i),o),i)}))}(o,i);var _=!C&&u.iterateeAry[s];if(_)return function iterateeAry(s,o){return overArg(s,(function(s){return"function"==typeof s?baseAry(s,o):s}))}(o,_)}return o}function castFixed(s,o,i){if($&&(Z||!u.skipFixed[s])){var _=u.methodSpread[s],x=_&&_.start;return void 0===x?ce(o,i):function flatSpread(s,o){return function(){for(var i=arguments.length,u=i-1,_=Array(i);i--;)_[i]=arguments[i];var x=_[o],C=_.slice(0,o);return x&&w.apply(C,x),o!=u&&w.apply(C,_.slice(o+1)),s.apply(this,C)}}(o,x)}return o}function castRearg(s,o,i){return U&&i>1&&(ee||!u.skipRearg[s])?xe(o,u.methodRearg[s]||u.aryRearg[i]):o}function cloneByPath(s,o){for(var i=-1,u=(o=Te(o)).length,_=u-1,w=pe(Object(s)),x=w;null!=x&&++i1?de(o,i):o}(0,_=castCap(w,_),s),!1}})),!_})),_||(_=x),_==o&&(_=Y?de(_,1):function(){return o.apply(this,arguments)}),_.convert=createConverter(w,o),_.placeholder=o.placeholder=i,_}if(!j)return wrap(o,i,z);var $e=i,ze=[];return fe(Re,(function(s){fe(u.aryMethod[s],(function(s){var o=$e[u.remap[s]||s];o&&ze.push([s,wrap(s,o,$e)])}))})),fe(we($e),(function(s){var o=$e[s];if("function"==typeof o){for(var i=ze.length;i--;)if(ze[i][0]==s)return;o.convert=createConverter(s,o),ze.push([s,o])}})),fe(ze,(function(s){$e[s[0]]=s[1]})),$e.convert=function convertLib(s){return $e.runInContext.convert(s)(void 0)},$e.placeholder=$e,fe(we($e),(function(s){fe(u.realToAlias[s]||[],(function(o){$e[o]=$e[s]}))})),$e}},16962:(s,o)=>{o.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},o.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},o.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},o.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},o.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},o.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},o.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},o.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},o.realToAlias=function(){var s=Object.prototype.hasOwnProperty,i=o.aliasToReal,u={};for(var _ in i){var w=i[_];s.call(u,w)?u[w].push(_):u[w]=[_]}return u}(),o.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},o.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},o.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},47934:(s,o,i)=>{s.exports={ary:i(64626),assign:i(74733),clone:i(32629),curry:i(49747),forEach:i(83729),isArray:i(56449),isError:i(23546),isFunction:i(1882),isWeakMap:i(47886),iteratee:i(33855),keys:i(88984),rearg:i(84195),toInteger:i(61489),toPath:i(42072)}},56367:(s,o,i)=>{s.exports=i(77731)},79920:(s,o,i)=>{var u=i(73424),_=i(47934);s.exports=function convert(s,o,i){return u(_,s,o,i)}},2874:s=>{s.exports={}},77731:(s,o,i)=>{var u=i(79920)("set",i(63560));u.placeholder=i(2874),s.exports=u},58156:(s,o,i)=>{var u=i(47422);s.exports=function get(s,o,i){var _=null==s?void 0:u(s,o);return void 0===_?i:_}},61448:(s,o,i)=>{var u=i(20426),_=i(49326);s.exports=function has(s,o){return null!=s&&_(s,o,u)}},80631:(s,o,i)=>{var u=i(28077),_=i(49326);s.exports=function hasIn(s,o){return null!=s&&_(s,o,u)}},83488:s=>{s.exports=function identity(s){return s}},72428:(s,o,i)=>{var u=i(27534),_=i(40346),w=Object.prototype,x=w.hasOwnProperty,C=w.propertyIsEnumerable,j=u(function(){return arguments}())?u:function(s){return _(s)&&x.call(s,"callee")&&!C.call(s,"callee")};s.exports=j},56449:s=>{var o=Array.isArray;s.exports=o},64894:(s,o,i)=>{var u=i(1882),_=i(30294);s.exports=function isArrayLike(s){return null!=s&&_(s.length)&&!u(s)}},83693:(s,o,i)=>{var u=i(64894),_=i(40346);s.exports=function isArrayLikeObject(s){return _(s)&&u(s)}},53812:(s,o,i)=>{var u=i(72552),_=i(40346);s.exports=function isBoolean(s){return!0===s||!1===s||_(s)&&"[object Boolean]"==u(s)}},3656:(s,o,i)=>{s=i.nmd(s);var u=i(9325),_=i(89935),w=o&&!o.nodeType&&o,x=w&&s&&!s.nodeType&&s,C=x&&x.exports===w?u.Buffer:void 0,j=(C?C.isBuffer:void 0)||_;s.exports=j},62193:(s,o,i)=>{var u=i(88984),_=i(5861),w=i(72428),x=i(56449),C=i(64894),j=i(3656),L=i(55527),B=i(37167),$=Object.prototype.hasOwnProperty;s.exports=function isEmpty(s){if(null==s)return!0;if(C(s)&&(x(s)||"string"==typeof s||"function"==typeof s.splice||j(s)||B(s)||w(s)))return!s.length;var o=_(s);if("[object Map]"==o||"[object Set]"==o)return!s.size;if(L(s))return!u(s).length;for(var i in s)if($.call(s,i))return!1;return!0}},2404:(s,o,i)=>{var u=i(60270);s.exports=function isEqual(s,o){return u(s,o)}},23546:(s,o,i)=>{var u=i(72552),_=i(40346),w=i(11331);s.exports=function isError(s){if(!_(s))return!1;var o=u(s);return"[object Error]"==o||"[object DOMException]"==o||"string"==typeof s.message&&"string"==typeof s.name&&!w(s)}},1882:(s,o,i)=>{var u=i(72552),_=i(23805);s.exports=function isFunction(s){if(!_(s))return!1;var o=u(s);return"[object Function]"==o||"[object GeneratorFunction]"==o||"[object AsyncFunction]"==o||"[object Proxy]"==o}},30294:s=>{s.exports=function isLength(s){return"number"==typeof s&&s>-1&&s%1==0&&s<=9007199254740991}},87730:(s,o,i)=>{var u=i(29172),_=i(27301),w=i(86009),x=w&&w.isMap,C=x?_(x):u;s.exports=C},5187:s=>{s.exports=function isNull(s){return null===s}},98023:(s,o,i)=>{var u=i(72552),_=i(40346);s.exports=function isNumber(s){return"number"==typeof s||_(s)&&"[object Number]"==u(s)}},23805:s=>{s.exports=function isObject(s){var o=typeof s;return null!=s&&("object"==o||"function"==o)}},40346:s=>{s.exports=function isObjectLike(s){return null!=s&&"object"==typeof s}},11331:(s,o,i)=>{var u=i(72552),_=i(28879),w=i(40346),x=Function.prototype,C=Object.prototype,j=x.toString,L=C.hasOwnProperty,B=j.call(Object);s.exports=function isPlainObject(s){if(!w(s)||"[object Object]"!=u(s))return!1;var o=_(s);if(null===o)return!0;var i=L.call(o,"constructor")&&o.constructor;return"function"==typeof i&&i instanceof i&&j.call(i)==B}},38440:(s,o,i)=>{var u=i(16038),_=i(27301),w=i(86009),x=w&&w.isSet,C=x?_(x):u;s.exports=C},85015:(s,o,i)=>{var u=i(72552),_=i(56449),w=i(40346);s.exports=function isString(s){return"string"==typeof s||!_(s)&&w(s)&&"[object String]"==u(s)}},44394:(s,o,i)=>{var u=i(72552),_=i(40346);s.exports=function isSymbol(s){return"symbol"==typeof s||_(s)&&"[object Symbol]"==u(s)}},37167:(s,o,i)=>{var u=i(4901),_=i(27301),w=i(86009),x=w&&w.isTypedArray,C=x?_(x):u;s.exports=C},47886:(s,o,i)=>{var u=i(5861),_=i(40346);s.exports=function isWeakMap(s){return _(s)&&"[object WeakMap]"==u(s)}},33855:(s,o,i)=>{var u=i(9999),_=i(15389);s.exports=function iteratee(s){return _("function"==typeof s?s:u(s,1))}},95950:(s,o,i)=>{var u=i(70695),_=i(88984),w=i(64894);s.exports=function keys(s){return w(s)?u(s):_(s)}},37241:(s,o,i)=>{var u=i(70695),_=i(72903),w=i(64894);s.exports=function keysIn(s){return w(s)?u(s,!0):_(s)}},68090:s=>{s.exports=function last(s){var o=null==s?0:s.length;return o?s[o-1]:void 0}},50104:(s,o,i)=>{var u=i(53661);function memoize(s,o){if("function"!=typeof s||null!=o&&"function"!=typeof o)throw new TypeError("Expected a function");var memoized=function(){var i=arguments,u=o?o.apply(this,i):i[0],_=memoized.cache;if(_.has(u))return _.get(u);var w=s.apply(this,i);return memoized.cache=_.set(u,w)||_,w};return memoized.cache=new(memoize.Cache||u),memoized}memoize.Cache=u,s.exports=memoize},55364:(s,o,i)=>{var u=i(85250),_=i(20999)((function(s,o,i){u(s,o,i)}));s.exports=_},6048:s=>{s.exports=function negate(s){if("function"!=typeof s)throw new TypeError("Expected a function");return function(){var o=arguments;switch(o.length){case 0:return!s.call(this);case 1:return!s.call(this,o[0]);case 2:return!s.call(this,o[0],o[1]);case 3:return!s.call(this,o[0],o[1],o[2])}return!s.apply(this,o)}}},63950:s=>{s.exports=function noop(){}},10124:(s,o,i)=>{var u=i(9325);s.exports=function(){return u.Date.now()}},90179:(s,o,i)=>{var u=i(34932),_=i(9999),w=i(19931),x=i(31769),C=i(21791),j=i(53138),L=i(38816),B=i(83349),$=L((function(s,o){var i={};if(null==s)return i;var L=!1;o=u(o,(function(o){return o=x(o,s),L||(L=o.length>1),o})),C(s,B(s),i),L&&(i=_(i,7,j));for(var $=o.length;$--;)w(i,o[$]);return i}));s.exports=$},50583:(s,o,i)=>{var u=i(47237),_=i(17255),w=i(28586),x=i(77797);s.exports=function property(s){return w(s)?u(x(s)):_(s)}},84195:(s,o,i)=>{var u=i(66977),_=i(38816),w=_((function(s,o){return u(s,256,void 0,void 0,void 0,o)}));s.exports=w},40860:(s,o,i)=>{var u=i(40882),_=i(80909),w=i(15389),x=i(85558),C=i(56449);s.exports=function reduce(s,o,i){var j=C(s)?u:x,L=arguments.length<3;return j(s,w(o,4),i,L,_)}},63560:(s,o,i)=>{var u=i(73170);s.exports=function set(s,o,i){return null==s?s:u(s,o,i)}},42426:(s,o,i)=>{var u=i(14248),_=i(15389),w=i(90916),x=i(56449),C=i(36800);s.exports=function some(s,o,i){var j=x(s)?u:w;return i&&C(s,o,i)&&(o=void 0),j(s,_(o,3))}},63345:s=>{s.exports=function stubArray(){return[]}},89935:s=>{s.exports=function stubFalse(){return!1}},17400:(s,o,i)=>{var u=i(99374),_=1/0;s.exports=function toFinite(s){return s?(s=u(s))===_||s===-1/0?17976931348623157e292*(s<0?-1:1):s==s?s:0:0===s?s:0}},61489:(s,o,i)=>{var u=i(17400);s.exports=function toInteger(s){var o=u(s),i=o%1;return o==o?i?o-i:o:0}},80218:(s,o,i)=>{var u=i(13222);s.exports=function toLower(s){return u(s).toLowerCase()}},99374:(s,o,i)=>{var u=i(54128),_=i(23805),w=i(44394),x=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,j=/^0o[0-7]+$/i,L=parseInt;s.exports=function toNumber(s){if("number"==typeof s)return s;if(w(s))return NaN;if(_(s)){var o="function"==typeof s.valueOf?s.valueOf():s;s=_(o)?o+"":o}if("string"!=typeof s)return 0===s?s:+s;s=u(s);var i=C.test(s);return i||j.test(s)?L(s.slice(2),i?2:8):x.test(s)?NaN:+s}},42072:(s,o,i)=>{var u=i(34932),_=i(23007),w=i(56449),x=i(44394),C=i(61802),j=i(77797),L=i(13222);s.exports=function toPath(s){return w(s)?u(s,j):x(s)?[s]:_(C(L(s)))}},69884:(s,o,i)=>{var u=i(21791),_=i(37241);s.exports=function toPlainObject(s){return u(s,_(s))}},13222:(s,o,i)=>{var u=i(77556);s.exports=function toString(s){return null==s?"":u(s)}},55808:(s,o,i)=>{var u=i(12507)("toUpperCase");s.exports=u},66645:(s,o,i)=>{var u=i(1733),_=i(45434),w=i(13222),x=i(22225);s.exports=function words(s,o,i){return s=w(s),void 0===(o=i?void 0:o)?_(s)?x(s):u(s):s.match(o)||[]}},53758:(s,o,i)=>{var u=i(30980),_=i(56017),w=i(94033),x=i(56449),C=i(40346),j=i(80257),L=Object.prototype.hasOwnProperty;function lodash(s){if(C(s)&&!x(s)&&!(s instanceof u)){if(s instanceof _)return s;if(L.call(s,"__wrapped__"))return j(s)}return new _(s)}lodash.prototype=w.prototype,lodash.prototype.constructor=lodash,s.exports=lodash},47248:(s,o,i)=>{var u=i(16547),_=i(51234);s.exports=function zipObject(s,o){return _(s||[],o||[],u)}},43768:(s,o,i)=>{"use strict";var u=i(45981),_=i(85587);o.highlight=highlight,o.highlightAuto=function highlightAuto(s,o){var i,x,C,j,L=o||{},B=L.subset||u.listLanguages(),$=L.prefix,V=B.length,U=-1;null==$&&($=w);if("string"!=typeof s)throw _("Expected `string` for value, got `%s`",s);x={relevance:0,language:null,value:[]},i={relevance:0,language:null,value:[]};for(;++Ux.relevance&&(x=C),C.relevance>i.relevance&&(x=i,i=C));x.language&&(i.secondBest=x);return i},o.registerLanguage=function registerLanguage(s,o){u.registerLanguage(s,o)},o.listLanguages=function listLanguages(){return u.listLanguages()},o.registerAlias=function registerAlias(s,o){var i,_=s;o&&((_={})[s]=o);for(i in _)u.registerAliases(_[i],{languageName:i})},Emitter.prototype.addText=function text(s){var o,i,u=this.stack;if(""===s)return;o=u[u.length-1],(i=o.children[o.children.length-1])&&"text"===i.type?i.value+=s:o.children.push({type:"text",value:s})},Emitter.prototype.addKeyword=function addKeyword(s,o){this.openNode(o),this.addText(s),this.closeNode()},Emitter.prototype.addSublanguage=function addSublanguage(s,o){var i=this.stack,u=i[i.length-1],_=s.rootNode.children,w=o?{type:"element",tagName:"span",properties:{className:[o]},children:_}:_;u.children=u.children.concat(w)},Emitter.prototype.openNode=function open(s){var o=this.stack,i=this.options.classPrefix+s,u=o[o.length-1],_={type:"element",tagName:"span",properties:{className:[i]},children:[]};u.children.push(_),o.push(_)},Emitter.prototype.closeNode=function close(){this.stack.pop()},Emitter.prototype.closeAllNodes=noop,Emitter.prototype.finalize=noop,Emitter.prototype.toHTML=function toHtmlNoop(){return""};var w="hljs-";function highlight(s,o,i){var x,C=u.configure({}),j=(i||{}).prefix;if("string"!=typeof s)throw _("Expected `string` for name, got `%s`",s);if(!u.getLanguage(s))throw _("Unknown language: `%s` is not registered",s);if("string"!=typeof o)throw _("Expected `string` for value, got `%s`",o);if(null==j&&(j=w),u.configure({__emitter:Emitter,classPrefix:j}),x=u.highlight(o,{language:s,ignoreIllegals:!0}),u.configure(C||{}),x.errorRaised)throw x.errorRaised;return{relevance:x.relevance,language:x.language,value:x.emitter.rootNode.children}}function Emitter(s){this.options=s,this.rootNode={children:[]},this.stack=[this.rootNode]}function noop(){}},92340:(s,o,i)=>{const u=i(6048);function coerceElementMatchingCallback(s){return"string"==typeof s?o=>o.element===s:s.constructor&&s.extend?o=>o instanceof s:s}class ArraySlice{constructor(s){this.elements=s||[]}toValue(){return this.elements.map((s=>s.toValue()))}map(s,o){return this.elements.map(s,o)}flatMap(s,o){return this.map(s,o).reduce(((s,o)=>s.concat(o)),[])}compactMap(s,o){const i=[];return this.forEach((u=>{const _=s.bind(o)(u);_&&i.push(_)})),i}filter(s,o){return s=coerceElementMatchingCallback(s),new ArraySlice(this.elements.filter(s,o))}reject(s,o){return s=coerceElementMatchingCallback(s),new ArraySlice(this.elements.filter(u(s),o))}find(s,o){return s=coerceElementMatchingCallback(s),this.elements.find(s,o)}forEach(s,o){this.elements.forEach(s,o)}reduce(s,o){return this.elements.reduce(s,o)}includes(s){return this.elements.some((o=>o.equals(s)))}shift(){return this.elements.shift()}unshift(s){this.elements.unshift(this.refract(s))}push(s){return this.elements.push(this.refract(s)),this}add(s){this.push(s)}get(s){return this.elements[s]}getValue(s){const o=this.elements[s];if(o)return o.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(ArraySlice.prototype[Symbol.iterator]=function symbol(){return this.elements[Symbol.iterator]()}),s.exports=ArraySlice},55973:s=>{class KeyValuePair{constructor(s,o){this.key=s,this.value=o}clone(){const s=new KeyValuePair;return this.key&&(s.key=this.key.clone()),this.value&&(s.value=this.value.clone()),s}}s.exports=KeyValuePair},3110:(s,o,i)=>{const u=i(5187),_=i(85015),w=i(98023),x=i(53812),C=i(23805),j=i(85105),L=i(86804);class Namespace{constructor(s){this.elementMap={},this.elementDetection=[],this.Element=L.Element,this.KeyValuePair=L.KeyValuePair,s&&s.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(s){return s.namespace&&s.namespace({base:this}),s.load&&s.load({base:this}),this}useDefault(){return this.register("null",L.NullElement).register("string",L.StringElement).register("number",L.NumberElement).register("boolean",L.BooleanElement).register("array",L.ArrayElement).register("object",L.ObjectElement).register("member",L.MemberElement).register("ref",L.RefElement).register("link",L.LinkElement),this.detect(u,L.NullElement,!1).detect(_,L.StringElement,!1).detect(w,L.NumberElement,!1).detect(x,L.BooleanElement,!1).detect(Array.isArray,L.ArrayElement,!1).detect(C,L.ObjectElement,!1),this}register(s,o){return this._elements=void 0,this.elementMap[s]=o,this}unregister(s){return this._elements=void 0,delete this.elementMap[s],this}detect(s,o,i){return void 0===i||i?this.elementDetection.unshift([s,o]):this.elementDetection.push([s,o]),this}toElement(s){if(s instanceof this.Element)return s;let o;for(let i=0;i{const o=s[0].toUpperCase()+s.substr(1);this._elements[o]=this.elementMap[s]}))),this._elements}get serialiser(){return new j(this)}}j.prototype.Namespace=Namespace,s.exports=Namespace},10866:(s,o,i)=>{const u=i(6048),_=i(92340);class ObjectSlice extends _{map(s,o){return this.elements.map((i=>s.bind(o)(i.value,i.key,i)))}filter(s,o){return new ObjectSlice(this.elements.filter((i=>s.bind(o)(i.value,i.key,i))))}reject(s,o){return this.filter(u(s.bind(o)))}forEach(s,o){return this.elements.forEach(((i,u)=>{s.bind(o)(i.value,i.key,i,u)}))}keys(){return this.map(((s,o)=>o.toValue()))}values(){return this.map((s=>s.toValue()))}}s.exports=ObjectSlice},86804:(s,o,i)=>{const u=i(10316),_=i(41067),w=i(71167),x=i(40239),C=i(12242),j=i(6233),L=i(87726),B=i(61045),$=i(86303),V=i(14540),U=i(92340),z=i(10866),Y=i(55973);function refract(s){if(s instanceof u)return s;if("string"==typeof s)return new w(s);if("number"==typeof s)return new x(s);if("boolean"==typeof s)return new C(s);if(null===s)return new _;if(Array.isArray(s))return new j(s.map(refract));if("object"==typeof s){return new B(s)}return s}u.prototype.ObjectElement=B,u.prototype.RefElement=V,u.prototype.MemberElement=L,u.prototype.refract=refract,U.prototype.refract=refract,s.exports={Element:u,NullElement:_,StringElement:w,NumberElement:x,BooleanElement:C,ArrayElement:j,MemberElement:L,ObjectElement:B,LinkElement:$,RefElement:V,refract,ArraySlice:U,ObjectSlice:z,KeyValuePair:Y}},86303:(s,o,i)=>{const u=i(10316);s.exports=class LinkElement extends u{constructor(s,o,i){super(s||[],o,i),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(s){this.attributes.set("relation",s)}get href(){return this.attributes.get("href")}set href(s){this.attributes.set("href",s)}}},14540:(s,o,i)=>{const u=i(10316);s.exports=class RefElement extends u{constructor(s,o,i){super(s||[],o,i),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(s){this.attributes.set("path",s)}}},34035:(s,o,i)=>{const u=i(3110),_=i(86804);o.g$=u,o.KeyValuePair=i(55973),o.G6=_.ArraySlice,o.ot=_.ObjectSlice,o.Hg=_.Element,o.Om=_.StringElement,o.kT=_.NumberElement,o.bd=_.BooleanElement,o.Os=_.NullElement,o.wE=_.ArrayElement,o.Sh=_.ObjectElement,o.Pr=_.MemberElement,o.sI=_.RefElement,o.Ft=_.LinkElement,o.e=_.refract,i(85105),i(75147)},6233:(s,o,i)=>{const u=i(6048),_=i(10316),w=i(92340);class ArrayElement extends _{constructor(s,o,i){super(s||[],o,i),this.element="array"}primitive(){return"array"}get(s){return this.content[s]}getValue(s){const o=this.get(s);if(o)return o.toValue()}getIndex(s){return this.content[s]}set(s,o){return this.content[s]=this.refract(o),this}remove(s){const o=this.content.splice(s,1);return o.length?o[0]:null}map(s,o){return this.content.map(s,o)}flatMap(s,o){return this.map(s,o).reduce(((s,o)=>s.concat(o)),[])}compactMap(s,o){const i=[];return this.forEach((u=>{const _=s.bind(o)(u);_&&i.push(_)})),i}filter(s,o){return new w(this.content.filter(s,o))}reject(s,o){return this.filter(u(s),o)}reduce(s,o){let i,u;void 0!==o?(i=0,u=this.refract(o)):(i=1,u="object"===this.primitive()?this.first.value:this.first);for(let o=i;o{s.bind(o)(i,this.refract(u))}))}shift(){return this.content.shift()}unshift(s){this.content.unshift(this.refract(s))}push(s){return this.content.push(this.refract(s)),this}add(s){this.push(s)}findElements(s,o){const i=o||{},u=!!i.recursive,_=void 0===i.results?[]:i.results;return this.forEach(((o,i,w)=>{u&&void 0!==o.findElements&&o.findElements(s,{results:_,recursive:u}),s(o,i,w)&&_.push(o)})),_}find(s){return new w(this.findElements(s,{recursive:!0}))}findByElement(s){return this.find((o=>o.element===s))}findByClass(s){return this.find((o=>o.classes.includes(s)))}getById(s){return this.find((o=>o.id.toValue()===s)).first}includes(s){return this.content.some((o=>o.equals(s)))}contains(s){return this.includes(s)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(s){return new this.constructor(this.content.concat(s.content))}"fantasy-land/concat"(s){return this.concat(s)}"fantasy-land/map"(s){return new this.constructor(this.map(s))}"fantasy-land/chain"(s){return this.map((o=>s(o)),this).reduce(((s,o)=>s.concat(o)),this.empty())}"fantasy-land/filter"(s){return new this.constructor(this.content.filter(s))}"fantasy-land/reduce"(s,o){return this.content.reduce(s,o)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}ArrayElement.empty=function empty(){return new this},ArrayElement["fantasy-land/empty"]=ArrayElement.empty,"undefined"!=typeof Symbol&&(ArrayElement.prototype[Symbol.iterator]=function symbol(){return this.content[Symbol.iterator]()}),s.exports=ArrayElement},12242:(s,o,i)=>{const u=i(10316);s.exports=class BooleanElement extends u{constructor(s,o,i){super(s,o,i),this.element="boolean"}primitive(){return"boolean"}}},10316:(s,o,i)=>{const u=i(2404),_=i(55973),w=i(92340);class Element{constructor(s,o,i){o&&(this.meta=o),i&&(this.attributes=i),this.content=s}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((s=>{s.parent=this,s.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const s=new this.constructor;return s.element=this.element,this.meta.length&&(s._meta=this.meta.clone()),this.attributes.length&&(s._attributes=this.attributes.clone()),this.content?this.content.clone?s.content=this.content.clone():Array.isArray(this.content)?s.content=this.content.map((s=>s.clone())):s.content=this.content:s.content=this.content,s}toValue(){return this.content instanceof Element?this.content.toValue():this.content instanceof _?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((s=>s.toValue()),this):this.content}toRef(s){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const o=new this.RefElement(this.id.toValue());return s&&(o.path=s),o}findRecursive(...s){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const o=s.pop();let i=new w;const append=(s,o)=>(s.push(o),s),checkElement=(s,i)=>{i.element===o&&s.push(i);const u=i.findRecursive(o);return u&&u.reduce(append,s),i.content instanceof _&&(i.content.key&&checkElement(s,i.content.key),i.content.value&&checkElement(s,i.content.value)),s};return this.content&&(this.content.element&&checkElement(i,this.content),Array.isArray(this.content)&&this.content.reduce(checkElement,i)),s.isEmpty||(i=i.filter((o=>{let i=o.parents.map((s=>s.element));for(const o in s){const u=s[o],_=i.indexOf(u);if(-1===_)return!1;i=i.splice(0,_)}return!0}))),i}set(s){return this.content=s,this}equals(s){return u(this.toValue(),s)}getMetaProperty(s,o){if(!this.meta.hasKey(s)){if(this.isFrozen){const s=this.refract(o);return s.freeze(),s}this.meta.set(s,o)}return this.meta.get(s)}setMetaProperty(s,o){this.meta.set(s,o)}get element(){return this._storedElement||"element"}set element(s){this._storedElement=s}get content(){return this._content}set content(s){if(s instanceof Element)this._content=s;else if(s instanceof w)this.content=s.elements;else if("string"==typeof s||"number"==typeof s||"boolean"==typeof s||"null"===s||null==s)this._content=s;else if(s instanceof _)this._content=s;else if(Array.isArray(s))this._content=s.map(this.refract);else{if("object"!=typeof s)throw new Error("Cannot set content to given value");this._content=Object.keys(s).map((o=>new this.MemberElement(o,s[o])))}}get meta(){if(!this._meta){if(this.isFrozen){const s=new this.ObjectElement;return s.freeze(),s}this._meta=new this.ObjectElement}return this._meta}set meta(s){s instanceof this.ObjectElement?this._meta=s:this.meta.set(s||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const s=new this.ObjectElement;return s.freeze(),s}this._attributes=new this.ObjectElement}return this._attributes}set attributes(s){s instanceof this.ObjectElement?this._attributes=s:this.attributes.set(s||{})}get id(){return this.getMetaProperty("id","")}set id(s){this.setMetaProperty("id",s)}get classes(){return this.getMetaProperty("classes",[])}set classes(s){this.setMetaProperty("classes",s)}get title(){return this.getMetaProperty("title","")}set title(s){this.setMetaProperty("title",s)}get description(){return this.getMetaProperty("description","")}set description(s){this.setMetaProperty("description",s)}get links(){return this.getMetaProperty("links",[])}set links(s){this.setMetaProperty("links",s)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:s}=this;const o=new w;for(;s;)o.push(s),s=s.parent;return o}get children(){if(Array.isArray(this.content))return new w(this.content);if(this.content instanceof _){const s=new w([this.content.key]);return this.content.value&&s.push(this.content.value),s}return this.content instanceof Element?new w([this.content]):new w}get recursiveChildren(){const s=new w;return this.children.forEach((o=>{s.push(o),o.recursiveChildren.forEach((o=>{s.push(o)}))})),s}}s.exports=Element},87726:(s,o,i)=>{const u=i(55973),_=i(10316);s.exports=class MemberElement extends _{constructor(s,o,i,_){super(new u,i,_),this.element="member",this.key=s,this.value=o}get key(){return this.content.key}set key(s){this.content.key=this.refract(s)}get value(){return this.content.value}set value(s){this.content.value=this.refract(s)}}},41067:(s,o,i)=>{const u=i(10316);s.exports=class NullElement extends u{constructor(s,o,i){super(s||null,o,i),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},40239:(s,o,i)=>{const u=i(10316);s.exports=class NumberElement extends u{constructor(s,o,i){super(s,o,i),this.element="number"}primitive(){return"number"}}},61045:(s,o,i)=>{const u=i(6048),_=i(23805),w=i(6233),x=i(87726),C=i(10866);s.exports=class ObjectElement extends w{constructor(s,o,i){super(s||[],o,i),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((s,o)=>(s[o.key.toValue()]=o.value?o.value.toValue():void 0,s)),{})}get(s){const o=this.getMember(s);if(o)return o.value}getMember(s){if(void 0!==s)return this.content.find((o=>o.key.toValue()===s))}remove(s){let o=null;return this.content=this.content.filter((i=>i.key.toValue()!==s||(o=i,!1))),o}getKey(s){const o=this.getMember(s);if(o)return o.key}set(s,o){if(_(s))return Object.keys(s).forEach((o=>{this.set(o,s[o])})),this;const i=s,u=this.getMember(i);return u?u.value=o:this.content.push(new x(i,o)),this}keys(){return this.content.map((s=>s.key.toValue()))}values(){return this.content.map((s=>s.value.toValue()))}hasKey(s){return this.content.some((o=>o.key.equals(s)))}items(){return this.content.map((s=>[s.key.toValue(),s.value.toValue()]))}map(s,o){return this.content.map((i=>s.bind(o)(i.value,i.key,i)))}compactMap(s,o){const i=[];return this.forEach(((u,_,w)=>{const x=s.bind(o)(u,_,w);x&&i.push(x)})),i}filter(s,o){return new C(this.content).filter(s,o)}reject(s,o){return this.filter(u(s),o)}forEach(s,o){return this.content.forEach((i=>s.bind(o)(i.value,i.key,i)))}}},71167:(s,o,i)=>{const u=i(10316);s.exports=class StringElement extends u{constructor(s,o,i){super(s,o,i),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},75147:(s,o,i)=>{const u=i(85105);s.exports=class JSON06Serialiser extends u{serialise(s){if(!(s instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${s}\` is not an Element instance`);let o;s._attributes&&s.attributes.get("variable")&&(o=s.attributes.get("variable"));const i={element:s.element};s._meta&&s._meta.length>0&&(i.meta=this.serialiseObject(s.meta));const u="enum"===s.element||-1!==s.attributes.keys().indexOf("enumerations");if(u){const o=this.enumSerialiseAttributes(s);o&&(i.attributes=o)}else if(s._attributes&&s._attributes.length>0){let{attributes:u}=s;u.get("metadata")&&(u=u.clone(),u.set("meta",u.get("metadata")),u.remove("metadata")),"member"===s.element&&o&&(u=u.clone(),u.remove("variable")),u.length>0&&(i.attributes=this.serialiseObject(u))}if(u)i.content=this.enumSerialiseContent(s,i);else if(this[`${s.element}SerialiseContent`])i.content=this[`${s.element}SerialiseContent`](s,i);else if(void 0!==s.content){let u;o&&s.content.key?(u=s.content.clone(),u.key.attributes.set("variable",o),u=this.serialiseContent(u)):u=this.serialiseContent(s.content),this.shouldSerialiseContent(s,u)&&(i.content=u)}else this.shouldSerialiseContent(s,s.content)&&s instanceof this.namespace.elements.Array&&(i.content=[]);return i}shouldSerialiseContent(s,o){return"parseResult"===s.element||"httpRequest"===s.element||"httpResponse"===s.element||"category"===s.element||"link"===s.element||void 0!==o&&(!Array.isArray(o)||0!==o.length)}refSerialiseContent(s,o){return delete o.attributes,{href:s.toValue(),path:s.path.toValue()}}sourceMapSerialiseContent(s){return s.toValue()}dataStructureSerialiseContent(s){return[this.serialiseContent(s.content)]}enumSerialiseAttributes(s){const o=s.attributes.clone(),i=o.remove("enumerations")||new this.namespace.elements.Array([]),u=o.get("default");let _=o.get("samples")||new this.namespace.elements.Array([]);if(u&&u.content&&(u.content.attributes&&u.content.attributes.remove("typeAttributes"),o.set("default",new this.namespace.elements.Array([u.content]))),_.forEach((s=>{s.content&&s.content.element&&s.content.attributes.remove("typeAttributes")})),s.content&&0!==i.length&&_.unshift(s.content),_=_.map((s=>s instanceof this.namespace.elements.Array?[s]:new this.namespace.elements.Array([s.content]))),_.length&&o.set("samples",_),o.length>0)return this.serialiseObject(o)}enumSerialiseContent(s){if(s._attributes){const o=s.attributes.get("enumerations");if(o&&o.length>0)return o.content.map((s=>{const o=s.clone();return o.attributes.remove("typeAttributes"),this.serialise(o)}))}if(s.content){const o=s.content.clone();return o.attributes.remove("typeAttributes"),[this.serialise(o)]}return[]}deserialise(s){if("string"==typeof s)return new this.namespace.elements.String(s);if("number"==typeof s)return new this.namespace.elements.Number(s);if("boolean"==typeof s)return new this.namespace.elements.Boolean(s);if(null===s)return new this.namespace.elements.Null;if(Array.isArray(s))return new this.namespace.elements.Array(s.map(this.deserialise,this));const o=this.namespace.getElementClass(s.element),i=new o;i.element!==s.element&&(i.element=s.element),s.meta&&this.deserialiseObject(s.meta,i.meta),s.attributes&&this.deserialiseObject(s.attributes,i.attributes);const u=this.deserialiseContent(s.content);if(void 0===u&&null!==i.content||(i.content=u),"enum"===i.element){i.content&&i.attributes.set("enumerations",i.content);let s=i.attributes.get("samples");if(i.attributes.remove("samples"),s){const u=s;s=new this.namespace.elements.Array,u.forEach((u=>{u.forEach((u=>{const _=new o(u);_.element=i.element,s.push(_)}))}));const _=s.shift();i.content=_?_.content:void 0,i.attributes.set("samples",s)}else i.content=void 0;let u=i.attributes.get("default");if(u&&u.length>0){u=u.get(0);const s=new o(u);s.element=i.element,i.attributes.set("default",s)}}else if("dataStructure"===i.element&&Array.isArray(i.content))[i.content]=i.content;else if("category"===i.element){const s=i.attributes.get("meta");s&&(i.attributes.set("metadata",s),i.attributes.remove("meta"))}else"member"===i.element&&i.key&&i.key._attributes&&i.key._attributes.getValue("variable")&&(i.attributes.set("variable",i.key.attributes.get("variable")),i.key.attributes.remove("variable"));return i}serialiseContent(s){if(s instanceof this.namespace.elements.Element)return this.serialise(s);if(s instanceof this.namespace.KeyValuePair){const o={key:this.serialise(s.key)};return s.value&&(o.value=this.serialise(s.value)),o}return s&&s.map?s.map(this.serialise,this):s}deserialiseContent(s){if(s){if(s.element)return this.deserialise(s);if(s.key){const o=new this.namespace.KeyValuePair(this.deserialise(s.key));return s.value&&(o.value=this.deserialise(s.value)),o}if(s.map)return s.map(this.deserialise,this)}return s}shouldRefract(s){return!!(s._attributes&&s.attributes.keys().length||s._meta&&s.meta.keys().length)||"enum"!==s.element&&(s.element!==s.primitive()||"member"===s.element)}convertKeyToRefract(s,o){return this.shouldRefract(o)?this.serialise(o):"enum"===o.element?this.serialiseEnum(o):"array"===o.element?o.map((o=>this.shouldRefract(o)||"default"===s?this.serialise(o):"array"===o.element||"object"===o.element||"enum"===o.element?o.children.map((s=>this.serialise(s))):o.toValue())):"object"===o.element?(o.content||[]).map(this.serialise,this):o.toValue()}serialiseEnum(s){return s.children.map((s=>this.serialise(s)))}serialiseObject(s){const o={};return s.forEach(((s,i)=>{if(s){const u=i.toValue();o[u]=this.convertKeyToRefract(u,s)}})),o}deserialiseObject(s,o){Object.keys(s).forEach((i=>{o.set(i,this.deserialise(s[i]))}))}}},85105:s=>{s.exports=class JSONSerialiser{constructor(s){this.namespace=s||new this.Namespace}serialise(s){if(!(s instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${s}\` is not an Element instance`);const o={element:s.element};s._meta&&s._meta.length>0&&(o.meta=this.serialiseObject(s.meta)),s._attributes&&s._attributes.length>0&&(o.attributes=this.serialiseObject(s.attributes));const i=this.serialiseContent(s.content);return void 0!==i&&(o.content=i),o}deserialise(s){if(!s.element)throw new Error("Given value is not an object containing an element name");const o=new(this.namespace.getElementClass(s.element));o.element!==s.element&&(o.element=s.element),s.meta&&this.deserialiseObject(s.meta,o.meta),s.attributes&&this.deserialiseObject(s.attributes,o.attributes);const i=this.deserialiseContent(s.content);return void 0===i&&null!==o.content||(o.content=i),o}serialiseContent(s){if(s instanceof this.namespace.elements.Element)return this.serialise(s);if(s instanceof this.namespace.KeyValuePair){const o={key:this.serialise(s.key)};return s.value&&(o.value=this.serialise(s.value)),o}if(s&&s.map){if(0===s.length)return;return s.map(this.serialise,this)}return s}deserialiseContent(s){if(s){if(s.element)return this.deserialise(s);if(s.key){const o=new this.namespace.KeyValuePair(this.deserialise(s.key));return s.value&&(o.value=this.deserialise(s.value)),o}if(s.map)return s.map(this.deserialise,this)}return s}serialiseObject(s){const o={};if(s.forEach(((s,i)=>{s&&(o[i.toValue()]=this.serialise(s))})),0!==Object.keys(o).length)return o}deserialiseObject(s,o){Object.keys(s).forEach((i=>{o.set(i,this.deserialise(s[i]))}))}}},65606:s=>{var o,i,u=s.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(s){if(o===setTimeout)return setTimeout(s,0);if((o===defaultSetTimout||!o)&&setTimeout)return o=setTimeout,setTimeout(s,0);try{return o(s,0)}catch(i){try{return o.call(null,s,0)}catch(i){return o.call(this,s,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(s){o=defaultSetTimout}try{i="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(s){i=defaultClearTimeout}}();var _,w=[],x=!1,C=-1;function cleanUpNextTick(){x&&_&&(x=!1,_.length?w=_.concat(w):C=-1,w.length&&drainQueue())}function drainQueue(){if(!x){var s=runTimeout(cleanUpNextTick);x=!0;for(var o=w.length;o;){for(_=w,w=[];++C1)for(var i=1;i{"use strict";var u=i(6925);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,s.exports=function(){function shim(s,o,i,_,w,x){if(x!==u){var C=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw C.name="Invariant Violation",C}}function getShim(){return shim}shim.isRequired=shim;var s={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return s.PropTypes=s,s}},5556:(s,o,i)=>{s.exports=i(2694)()},6925:s=>{"use strict";s.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},73992:(s,o)=>{"use strict";var i=Object.prototype.hasOwnProperty;function decode(s){try{return decodeURIComponent(s.replace(/\+/g," "))}catch(s){return null}}function encode(s){try{return encodeURIComponent(s)}catch(s){return null}}o.stringify=function querystringify(s,o){o=o||"";var u,_,w=[];for(_ in"string"!=typeof o&&(o="?"),s)if(i.call(s,_)){if((u=s[_])||null!=u&&!isNaN(u)||(u=""),_=encode(_),u=encode(u),null===_||null===u)continue;w.push(_+"="+u)}return w.length?o+w.join("&"):""},o.parse=function querystring(s){for(var o,i=/([^=?#&]+)=?([^&]*)/g,u={};o=i.exec(s);){var _=decode(o[1]),w=decode(o[2]);null===_||null===w||_ in u||(u[_]=w)}return u}},41859:(s,o,i)=>{const u=i(27096),_=i(78004),w=u.types;s.exports=class RandExp{constructor(s,o){if(this._setDefaults(s),s instanceof RegExp)this.ignoreCase=s.ignoreCase,this.multiline=s.multiline,s=s.source;else{if("string"!=typeof s)throw new Error("Expected a regexp or string");this.ignoreCase=o&&-1!==o.indexOf("i"),this.multiline=o&&-1!==o.indexOf("m")}this.tokens=u(s)}_setDefaults(s){this.max=null!=s.max?s.max:null!=RandExp.prototype.max?RandExp.prototype.max:100,this.defaultRange=s.defaultRange?s.defaultRange:this.defaultRange.clone(),s.randInt&&(this.randInt=s.randInt)}gen(){return this._gen(this.tokens,[])}_gen(s,o){var i,u,_,x,C;switch(s.type){case w.ROOT:case w.GROUP:if(s.followedBy||s.notFollowedBy)return"";for(s.remember&&void 0===s.groupNumber&&(s.groupNumber=o.push(null)-1),u="",x=0,C=(i=s.options?this._randSelect(s.options):s.stack).length;x{"use strict";var u=i(65606),_=65536,w=4294967295;var x=i(92861).Buffer,C=i.g.crypto||i.g.msCrypto;C&&C.getRandomValues?s.exports=function randomBytes(s,o){if(s>w)throw new RangeError("requested too many random bytes");var i=x.allocUnsafe(s);if(s>0)if(s>_)for(var j=0;j{"use strict";function _typeof(s){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},_typeof(s)}Object.defineProperty(o,"__esModule",{value:!0}),o.CopyToClipboard=void 0;var u=_interopRequireDefault(i(96540)),_=_interopRequireDefault(i(17965)),w=["text","onCopy","options","children"];function _interopRequireDefault(s){return s&&s.__esModule?s:{default:s}}function ownKeys(s,o){var i=Object.keys(s);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(s);o&&(u=u.filter((function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable}))),i.push.apply(i,u)}return i}function _objectSpread(s){for(var o=1;o=0||(_[i]=s[i]);return _}(s,o);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(s);for(u=0;u=0||Object.prototype.propertyIsEnumerable.call(s,i)&&(_[i]=s[i])}return _}function _defineProperties(s,o){for(var i=0;i{"use strict";var u=i(25264).CopyToClipboard;u.CopyToClipboard=u,s.exports=u},81214:(s,o,i)=>{"use strict";function _typeof(s){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},_typeof(s)}Object.defineProperty(o,"__esModule",{value:!0}),o.DebounceInput=void 0;var u=_interopRequireDefault(i(96540)),_=_interopRequireDefault(i(20181)),w=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function _interopRequireDefault(s){return s&&s.__esModule?s:{default:s}}function _objectWithoutProperties(s,o){if(null==s)return{};var i,u,_=function _objectWithoutPropertiesLoose(s,o){if(null==s)return{};var i,u,_={},w=Object.keys(s);for(u=0;u=0||(_[i]=s[i]);return _}(s,o);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(s);for(u=0;u=0||Object.prototype.propertyIsEnumerable.call(s,i)&&(_[i]=s[i])}return _}function ownKeys(s,o){var i=Object.keys(s);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(s);o&&(u=u.filter((function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable}))),i.push.apply(i,u)}return i}function _objectSpread(s){for(var o=1;o=u?i.notify(s):o.length>_.length&&i.notify(_objectSpread(_objectSpread({},s),{},{target:_objectSpread(_objectSpread({},s.target),{},{value:""})}))}))})),_defineProperty(_assertThisInitialized(i),"onKeyDown",(function(s){"Enter"===s.key&&i.forceNotify(s);var o=i.props.onKeyDown;o&&(s.persist(),o(s))})),_defineProperty(_assertThisInitialized(i),"onBlur",(function(s){i.forceNotify(s);var o=i.props.onBlur;o&&(s.persist(),o(s))})),_defineProperty(_assertThisInitialized(i),"createNotifier",(function(s){if(s<0)i.notify=function(){return null};else if(0===s)i.notify=i.doNotify;else{var o=(0,_.default)((function(s){i.isDebouncing=!1,i.doNotify(s)}),s);i.notify=function(s){i.isDebouncing=!0,o(s)},i.flush=function(){return o.flush()},i.cancel=function(){i.isDebouncing=!1,o.cancel()}}})),_defineProperty(_assertThisInitialized(i),"doNotify",(function(){i.props.onChange.apply(void 0,arguments)})),_defineProperty(_assertThisInitialized(i),"forceNotify",(function(s){var o=i.props.debounceTimeout;if(i.isDebouncing||!(o>0)){i.cancel&&i.cancel();var u=i.state.value,_=i.props.minLength;u.length>=_?i.doNotify(s):i.doNotify(_objectSpread(_objectSpread({},s),{},{target:_objectSpread(_objectSpread({},s.target),{},{value:u})}))}})),i.isDebouncing=!1,i.state={value:void 0===s.value||null===s.value?"":s.value};var u=i.props.debounceTimeout;return i.createNotifier(u),i}return function _createClass(s,o,i){return o&&_defineProperties(s.prototype,o),i&&_defineProperties(s,i),Object.defineProperty(s,"prototype",{writable:!1}),s}(DebounceInput,[{key:"componentDidUpdate",value:function componentDidUpdate(s){if(!this.isDebouncing){var o=this.props,i=o.value,u=o.debounceTimeout,_=s.debounceTimeout,w=s.value,x=this.state.value;void 0!==i&&w!==i&&x!==i&&this.setState({value:i}),u!==_&&this.createNotifier(u)}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.flush&&this.flush()}},{key:"render",value:function render(){var s,o,i=this.props,_=i.element,x=(i.onChange,i.value,i.minLength,i.debounceTimeout,i.forceNotifyByEnter),C=i.forceNotifyOnBlur,j=i.onKeyDown,L=i.onBlur,B=i.inputRef,$=_objectWithoutProperties(i,w),V=this.state.value;s=x?{onKeyDown:this.onKeyDown}:j?{onKeyDown:j}:{},o=C?{onBlur:this.onBlur}:L?{onBlur:L}:{};var U=B?{ref:B}:{};return u.default.createElement(_,_objectSpread(_objectSpread(_objectSpread(_objectSpread({},$),{},{onChange:this.onChange,value:V},s),o),U))}}]),DebounceInput}(u.default.PureComponent);o.DebounceInput=x,_defineProperty(x,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},24677:(s,o,i)=>{"use strict";var u=i(81214).DebounceInput;u.DebounceInput=u,s.exports=u},22551:(s,o,i)=>{"use strict";var u=i(96540),_=i(69982);function p(s){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+s,i=1;i